adshao / go-binance

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

changed reduceOnly to string #503

Closed size12 closed 10 months ago

size12 commented 10 months ago

Binance requires STRING type for reduceOnly parameter.

image

Previous version (with bool value) works well with single orders, but not with batch order.

size12 commented 10 months ago

oops, don't accept last 3 commits ;)

size12 commented 10 months ago

Btw, please check priceProtect and closePosition. I think there is similar problem.

adshao commented 10 months ago

@size12 thank you, please make sure that only the necessary codes are submitted.