Closed DVenerM closed 6 years ago
Same Error
Buy order created id:3610615, q:950.00000000, p:0.00003614
Buy order partially filled... Wait 1 more second...
Order still partially filled...
Traceback (most recent call last):
File "trader.py", line 46, in
me i have this error : Profit loss, called order, 4037658 Buy order fail (Not filled) Cancel order... price:0.00013724 buyp:0.00013721 sellp:0.00013926-bid:0.00013720 ask:0.00013750 spread:0.22 price:0.00031809 buyp:0.00031791 sellp:0.00032267-bid:0.00031790 ask:0.00031809 spread:0.06 Exception in thread Thread-21: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 765, in run self.target(*self.args, **self.__kwargs) File "./app/Trading.py", line 141, in sell if self.stop(symbol, quantity, sell_id, last_price): File "./app/Trading.py", line 206, in stop self.cancel(symbol, sell_id) UnboundLocalError: local variable 'sell_id' referenced before assignment
but all the rest is so nice!!!! thank you!
Same here !
Using the forked version. Got the same error.
price:11366.29000000 buyp:11352.10000000 sellp:11374.76412000-bid:11352.06000000 ask:11374.91000000
Buy order created id:28168085, q:0.00200000, p:11352.10000000
Buy order partially filled... Wait 1 more second...
Order still partially filled...
Traceback (most recent call last):
File "trader.py", line 46, in
Yes, i try all night trade with stop loss. Bot buy and error quit, no stop loss set. Lose some BTC :) waiting fix it..
replace 'def check_partial_order(self, symbol, orderId, price):' on 'def check_partial_order(self, symbol, orderId, sell_price):'
@DVenerM , still get error:
Buy order created id:5512723, q:20.00000000, p:0.00071000
m: UNKNOWN_ORDER
Profit loss, called order, 5512723
Buy order fail (Not filled) Cancel order...
Binance server delayed! Try sell...
Sell order create id: 5512847
Not sold after 5 seconds, wait 5 more seconds...
Profit loss, called order, 5512847
m: Filter failure: PRICE_FILTER
Traceback (most recent call last):
File "trader.py", line 46, in
@walruzperil this is another error
@DVenerM Tested on my side, doesn't have any error atm
@DVenerM , maybe you know what tihs error?
@walruzperil Are you on master branch ? Which parameters are you using ?
@AxelDeneu, i use @WeSpeakCrypto version, parameters like: python trader.py --symbol ICXBTC --quantity 20 --profit 0.7 --wait_time 0.5 --increasing 0.00000005 --decreasing 0.00000031 --stop_loss 1.5
@walruzperil Is it occuring each time you have a buy order ?
@AxelDeneu Nope, sometimes, maybe 1 from 10. Order buyed, then try set sell order or stoplose(?), and error...
@walruzperil This is strange, open a new issue, because you doesn't have the same issue as @DVenerM
@walruzperil I don't know
This worked:
replace 'def check_partial_order(self, symbol, orderId, price):' on 'def check_partial_order(self, symbol, orderId, sell_price):'
Thanks @rickdeaconx - created a new PR with this fix.
Nevermind - someone else already has a PR in to be merged to fix this. You can track the fix for this problem here:
@faztecnyk Hey what did you do to resolve that error? I'm getting the same thing.