adshao / go-binance

A Go SDK for Binance API
MIT License
1.48k stars 664 forks source link

set futures create order parameter quantity as optional #498

Closed wayne163 closed 11 months ago

wayne163 commented 11 months ago

As /fapi/v1/order api says, parameter quantity is optional, it cannot be sent with closePosition=true(Close-All).

So we should check its value before set it.