mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-21 07:26:48 +00:00
* exchanges/binance: proper arguments order when calling Binance.FuturesNewOrder * exchanges/binance: adapt FuturesOrderPlaceData (+ unmarshaling) to latest coin/delivery futures API * exchanges/binance: introduce futuresNewOrderRequest and use it to pass order parameters for coin margined futures * exchanges/binance: test json unmarshaling of FuturesOrderPlaceData * exchanges/binance: reorder fields as per docs, include missing fields (also in tests) * exchanges/binance/coinm: use constants instead of hard coded strings (also fixes linting) * exchanges/binance/coinm: pass futuresNewOrderRequest by reference * exchanges/binance/coinm: expose FuturesNewOrderRequest * exchanges/binance/coinm: do not explicitly assign default values fields of FuturesNewOrderRequest * exchanges/binance/coinm: document FuturesNewOrderRequest * exchanges/binance/coinm: expose all fields of FuturesNewOrderRequest * exchanges/binance/coinm: expose fields of FuturesNewOrderRequest * exchange/binance/coin: order submission: add support for priceProtect Co-authored-by: Yordan Miladinov <jordanmiladinov@gmail.bg>
52 KiB
52 KiB