askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.08k stars 3.93k forks source link

FATAL ERROR' 'Trades not found' #2796

Closed medozero closed 5 years ago

medozero commented 5 years ago

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.

I'm submitting a ... [*] bug report [ ] question about the decisions made in the repository

Action taken (what you did) being sure that there is enough funds but still no success to fix it

Expected result (what you hoped would happen)

Actual result (unexpected outcome)

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

2019-06-17 11:31:00 (INFO): Send advice via email. 2019-06-17 11:31:00 (INFO): Send advice via email. 2019-06-17T10:31:04.499Z 'sticky create' 'buy' 2019-06-17 11:31:04 (DEBUG): [ORDER] statusChange: SUBMITTED 2019-06-17 11:31:05 (DEBUG): [ORDER] statusChange: OPEN 2019-06-17 11:31:07 (DEBUG): [ORDER] statusChange: MOVING 2019-06-17 11:31:08 (DEBUG): [ORDER] statusChange: OPEN 2019-06-17 11:31:10 (DEBUG): [ORDER] statusChange: MOVING 2019-06-17 11:31:12 (DEBUG): [ORDER] statusChange: OPEN 2019-06-17 11:31:14 (DEBUG): [ORDER] statusChange: MOVING 2019-06-17 11:31:15 (DEBUG): [ORDER] statusChange: OPEN 2019-06-17 11:31:18 (DEBUG): [ORDER] statusChange: MOVING 2019-06-17 11:31:18 (DEBUG): Requested BNB/USDT trade data from Binance ... 2019-06-17 11:31:18 (DEBUG): Processing 67 new trades. From 2019-06-17 10:30:18 UTC to 2019-06-17 10:30:38 UTC. (a few seconds). Last price: 33.1818 2019-06-17 11:31:19 (DEBUG): [ORDER] statusChange: OPEN 2019-06-17 11:31:21 (INFO): [ORDER] partial buy fill, total filled: 1.46 2019-06-17 11:31:21 (DEBUG): [ORDER] statusChange: MOVING 2019-06-17 11:31:23 (DEBUG): [ORDER] statusChange: OPEN 2019-06-17 11:31:26 (DEBUG): [ORDER] statusChange: MOVING 2019-06-17T10:31:27.773Z 'insufficientFunds' 2019-06-17T10:31:27.773Z 'Error -2010: Account has insufficient balance for requested action.' cannot find trades! { order: 166559172, list: [ 166559120, 141303138, 136101754, 134824847, 134638328, 134127727, 134127727, 133873999, 133873999, 133873999, 133873999, 133873999, 133873999, 133780581, 133568011, 133568011, 133508984, 133372904, 133372904, 133367626, 133367626, 133367626, 131041903, 131041903, 131041903, 131041903, 131041903, 131041903, 128452996, 128452996, 128398816, 128398816, 128398816, 128398816, 128398816, 128398816, 128398816, 127196030, 127196030, 126501093, 126501093, 126501093, 126501093, 126501093, 126501093, 126501093, 126501093, 126501093, 126501093, 125866373, 125844522, 125844522, 125783973, 125783973, 125775475, 125625764, 125625764, 125625764, 125625055, 125622372, 125622372, 125622372, 125622372, 125622372, 125622372, 125622372, 125622372, 125622372, 125622372, 125622372, 125135246, 125135246, 125135246, 125135246, 125135246, 123893652, 123893652, 123893652, 123893652, 123893652, 123252115, 123252115, 123252115, 123252115, 123241709, 123241709, 123241709, 123241709, 123241709, 123241709, 123241709, 123241709, 119227720, 119202382, 119202382, 119202382, 119202382, 119202382, 119175620, 119175620, ... 114 more items ] } couldnt find any trade for order, here is order: { err: null, resp: { symbol: 'BNBUSDT', orderId: 166559172, clientOrderId: 'fghgfhgfhgfhgfhhgf', price: '33.17040000', origQty: '5.22000000', executedQty: '0.00000000', cummulativeQuoteQty: '0.00000000', status: 'CANCELED', timeInForce: 'GTC', type: 'LIMIT', side: 'BUY', stopPrice: '0.00000000', icebergQty: '0.00000000', time: 1560767443204, updateTime: 1560767446262, isWorking: true } } 2019-06-17T10:31:30.335Z '[sticky order] FATAL ERROR' 'Trades not found' 2019-06-17T10:31:30.335Z Error: Trades not found at binance.queryOrder (/root/Gekko/gekkoV5/gekko/exchange/wrappers/binance.js:365:19) at Request.request [as _callback] (/root/Gekko/gekkoV5/gekko/exchange/node_modules/binance/lib/rest.js:100:21) at Request.self.callback (/root/Gekko/gekkoV5/gekko/exchange/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.<anonymous> (/root/Gekko/gekkoV5/gekko/exchange/node_modules/request/request.js:1157:10) at Request.emit (events.js:198:13) at IncomingMessage.<anonymous> (/root/Gekko/gekkoV5/gekko/exchange/node_modules/request/request.js:1079:12) at Object.onceWrapper (events.js:286:20) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19) 2019-06-17 11:31:30 (DEBUG): [ORDER] statusChange: ERROR 2019-06-17 11:31:30 (ERROR): [ORDER] Gekko received error from GB: Trades not found 2019-06-17 11:31:30 (DEBUG): Error: Trades not found at binance.queryOrder (/root/Gekko/gekkoV5/gekko/exchange/wrappers/binance.js:365:19) at Request.request [as _callback] (/root/Gekko/gekkoV5/gekko/exchange/node_modules/binance/lib/rest.js:100:21) at Request.self.callback (/root/Gekko/gekkoV5/gekko/exchange/node_modules/request/request.js:185:22) at Request.emit (events.js:198:13) at Request.<anonymous> (/root/Gekko/gekkoV5/gekko/exchange/node_modules/request/request.js:1157:10) at Request.emit (events.js:198:13) at IncomingMessage.<anonymous> (/root/Gekko/gekkoV5/gekko/exchange/node_modules/request/request.js:1079:12) at Object.onceWrapper (events.js:286:20) at IncomingMessage.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19)

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.