mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
ftx: remove legacy PlaceOrderPayload
This commit is contained in:
parent
2510f14d53
commit
270ae51c9b
|
@ -1,35 +1,6 @@
|
|||
package ftx
|
||||
|
||||
import (
|
||||
"github.com/c9s/bbgo/pkg/fixedpoint"
|
||||
)
|
||||
|
||||
type orderRequest struct {
|
||||
*restRequest
|
||||
}
|
||||
|
||||
/*
|
||||
{
|
||||
"market": "XRP-PERP",
|
||||
"side": "sell",
|
||||
"price": 0.306525,
|
||||
"type": "limit",
|
||||
"size": 31431.0,
|
||||
"reduceOnly": false,
|
||||
"ioc": false,
|
||||
"postOnly": false,
|
||||
"clientId": null
|
||||
}
|
||||
*/
|
||||
type PlaceOrderPayload struct {
|
||||
Market string
|
||||
Side string
|
||||
Price fixedpoint.Value
|
||||
Type string
|
||||
Size fixedpoint.Value
|
||||
ReduceOnly bool
|
||||
IOC bool
|
||||
PostOnly bool
|
||||
ClientID string
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user