askmike / gekko

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

Dev Branch Trader not trading #642

Closed decoye closed 6 years ago

decoye commented 7 years ago

Hello,

like with the stable version, trader gets advice to trade backtester notices as well. but no trade happens.

exchange is poloniex strategy is cci.

here the log:

2017-03-22 19:36:05 (INFO): Trader Received advice to go long. Buying ETH

2017-03-22 19:36:05 (INFO): We have new trading advice! 2017-03-22 19:36:05 (INFO): Position: long 2017-03-22 19:36:05 (INFO): Market price: 0.03968007 2017-03-22 19:36:05 (INFO): Based on market time: 2017-03-22 18:35:00

2017-03-22 19:36:05 (INFO): (PROFIT REPORT) original simulated balance: 1.40890 BTC 2017-03-22 19:36:05 (INFO): (PROFIT REPORT) current simulated balance: 1.40557 BTC 2017-03-22 19:36:05 (INFO): (PROFIT REPORT) simulated profit: -0.00333 BTC (-0.23635%) 2017-03-22 19:36:09 (INFO): Attempting to BUY 5.901248548836335 ETH at Poloniex 2017-03-22 19:36:24 (DEBUG): Requested / trade data from Poloniex ... 2017-03-22 19:36:25 (DEBUG): Processing 17 new trades. From 2017-03-22 18:36:05 UTC to 2017-03-22 18:36:18 UTC. (a few seconds) 2017-03-22 19:36:44 (DEBUG): Requested / trade data from Poloniex ... 2017-03-22 19:36:44 (DEBUG): Processing 5 new trades. From 2017-03-22 18:36:25 UTC to 2017-03-22 18:36:36 UTC. (a few seconds) 2017-03-22 19:37:04 (DEBUG): Requested / trade data from Poloniex ... 2017-03-22 19:37:04 (DEBUG): Processing 9 new trades. From 2017-03-22 18:36:42 UTC to 2017-03-22 18:37:01 UTC. (a few seconds) 2017-03-22 19:37:13 (INFO): BUY order was not (fully) filled, cancelling and creating new order 2017-03-22 19:37:18 (INFO): Wanted to buy ETH but the amount is too small (0.000008534353) at Poloniex

Interesting is that the trader thinks that the amount is too small after the "2017-03-22 19:37:13 (INFO): BUY order was not (fully) filled, cancelling and creating new order"

greenbigfrog commented 6 years ago

@askmike can most likely be closed

askmike commented 6 years ago

This has since been fixed!