-
Notifications
You must be signed in to change notification settings - Fork 3.9k
BTCe.com nonce issues when order not filled. #780
Comments
Thanks! Will look at it asap :) |
This does happen 100% of the time? |
Yes. |
I will pick this up when going over BTCe as part of #737. |
This was not fixed in f775c1d yet:
|
2017-06-08 21:48:03 (INFO): Attempting to BUY 3.1398476313056083 ETH at BTC-E
2017-06-08 21:49:05 (INFO): BUY order was not (fully) filled, cancelling and creating new order
/Users/freefall/gekkoinstalls/gekko/node_modules/btc-e/btc-e.js:46
params.nonce = Math.round((new Date()).getTime() / 1000);
^
TypeError: Cannot create property 'nonce' on number '1832535087'
at BTCE.makeRequest (/Users/freefall/gekkoinstalls/gekko/node_modules/btc-e/btc-e.js:46:18)
at BTCE.orderList (/Users/freefall/gekkoinstalls/gekko/node_modules/btc-e/btc-e.js:126:8)
at BTCE.bound [as orderList] (/Users/freefall/gekkoinstalls/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Trader.cancelOrder (/Users/freefall/gekkoinstalls/gekko/exchanges/btce.js:146:13)
at Trader.bound [as cancelOrder] (/Users/freefall/gekkoinstalls/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Manager.finish (/Users/freefall/gekkoinstalls/gekko/plugins/trader/portfolioManager.js:291:21)
at bound (/Users/freefall/gekkoinstalls/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Trader.check (/Users/freefall/gekkoinstalls/gekko/exchanges/btce.js:137:7)
at bound (/Users/freefall/gekkoinstalls/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Request._callback (/Users/freefall/gekkoinstalls/gekko/node_modules/btc-e/btc-e.js:82:5)
The text was updated successfully, but these errors were encountered: