ftx: remove legacy PlaceOrderPayload

This commit is contained in:
c9s 2022-03-03 11:42:57 +08:00
parent 2510f14d53
commit 270ae51c9b

View File

@ -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
}