[golang] implement trading and contracting
This commit is contained in:
parent
a692a38d28
commit
312ef2eb57
12 changed files with 422 additions and 39 deletions
11
golang/pkg/model/trade_good.go
Normal file
11
golang/pkg/model/trade_good.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package model
|
||||
|
||||
type TradeGood struct {
|
||||
Activity string `json:"activity"`
|
||||
PurchasePrice int `json:"purchasePrice"`
|
||||
SellPrice int `json:"sellPrice"`
|
||||
Supply string `json:"supply"`
|
||||
Symbol string `json:"symbol"`
|
||||
TradeVolume int `json:"tradeVolume"`
|
||||
Type string `json:"type"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue