mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 07:26:47 +00:00
binance_cfutures: TimeOnForce is an optional order submission field (#867)
Do not add it to the request unless filled out as the API will deny the request otherwise.
This commit is contained in:
@@ -923,7 +923,7 @@ func TestFuturesNewOrder(t *testing.T) {
|
||||
Symbol: currency.NewPairWithDelimiter("BTCUSD", "PERP", "_"),
|
||||
Side: "BUY",
|
||||
OrderType: "LIMIT",
|
||||
TimeInForce: "GTC",
|
||||
TimeInForce: BinanceRequestParamsTimeGTC,
|
||||
Quantity: 1,
|
||||
Price: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user