binance / binance/binance-connector-ruby
new_oco_order not working with provided example
Open
- Dominant language
- Ruby
- Stars
- 50
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
On [binance-connector-ruby](https://github.com/binance/binance-connector-ruby/tree/master)/[examples](https://github.com/binance/binance-connector-ruby/tree/master/examples)/[spot](https://github.com/binance/binance-connector-ruby/tree/master/examples/spot)/[trade](https://github.com/binance/binance-connector-ruby/tree/master/examples/spot/trade)
/new_oco_order.rb there's an example of how to use new_oco_order, but it's not working, since Binance API requires price, but also there's something wrong using price with abovePrice and belowPrice
Contributor guide
Assessment
This issue has not been assessed yet.