mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
ftxapi: use order types
This commit is contained in:
parent
03f0305b3d
commit
84bc170a2e
|
@ -22,9 +22,9 @@ type Order struct {
|
|||
Size fixedpoint.Value `json:"size"`
|
||||
RemainingSize fixedpoint.Value `json:"remainingSize"`
|
||||
FilledSize fixedpoint.Value `json:"filledSize"`
|
||||
Side string `json:"side"`
|
||||
Status string `json:"status"`
|
||||
Type string `json:"type"`
|
||||
Side Side `json:"side"`
|
||||
Status OrderStatus `json:"status"`
|
||||
Type OrderType `json:"type"`
|
||||
ReduceOnly bool `json:"reduceOnly"`
|
||||
Ioc bool `json:"ioc"`
|
||||
PostOnly bool `json:"postOnly"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user