thrasher-corp / gocryptotrader

A cryptocurrency trading bot and framework supporting multiple exchanges written in Golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binance USDTMarginedFutures SubmitOrder Bug

idoall opened this issue · comments

New Issue

When binance places an order now, it will uniformly use submitorder. When submitorder enters, it will be verified by s.validate().

binance the currency security u standard contract, if the market has a price field, it will prompt {"code": - 1106, "MSG": "parameter 'price' send when not required.}"

If there is no price field, it cannot be verified by s.validate()

Hey @idoall, what order type were you using? A limit order without a price set should only throw the validation error. UFuturesNewOrder will set a price however if it's != 0

Closed due to inactivity but please feel free to re-open to continue troubleshooting further

STOP_MARKET or TAKE_PROFIT_MARKET