binance-connector-ruby
binance-connector-ruby copied to clipboard
new_oco_order not working with provided example
On binance-connector-ruby/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
Did you look at this? https://github.com/binance/binance-connector-ruby/blob/master/lib/binance/spot/trade.rb#L156-L202
I use my own api proxy for signed requests so I'm only using this connector for the web sockets but there should be enough details for you to get it sorted.