daroczig / binancer

An R client to the Public Rest API for Binance.
https://daroczig.github.io/binancer
53 stars 57 forks source link

New_order error #20

Closed 1tomdawson closed 1 year ago

1tomdawson commented 2 years ago

When submitting a new order

binance_new_order("CHRUSDT", side = "BUY", type = "LIMIT", quantity = 40,     price = bidask$bid_price, time_in_force = 'GTC') 

I get this back


TEST
   ord
1:  OK

It does not complete the order and I dont understand why? Thanks for any advise.

nguyenngocbinh commented 2 years ago

I also meet this error. Test result is still ok, but dont have any orders.

untdacca commented 1 year ago

You need to specify test = F

binance_new_order(symbol = symbol, side = 'BUY', type = 'LIMIT', time_in_force = 'GTC', price = lastPrice, quantity = quantity, test = F)