Gekko Forum
Preload History - Printable Version

+- Gekko Forum (https://forum.gekko.wizb.it)
+-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html)
+--- Forum: Technical Discussion (https://forum.gekko.wizb.it/forum-23.html)
+--- Thread: Preload History (/thread-1445.html)



Preload History - 0mathew0 - 02-07-2018

Hi all,

whats the right process to let gekko livetrader use as much local history (from an import) as possible? I have a strat that uses a very slow sma and it would take days to wait until it fetches enough data to start.

Thanks!

BR,
Mathias


RE: Preload History - susitronix - 02-08-2018

Mike answerd me:
Only the --ui version dos not load local data to use as history.
The CLI-cmd version fetches some data but mine could not find the local data.
Instead it loaded the required data from Binance/exchange !nice
//After starting it only says:
trading at binance ACTIVE
I startet 4 gekkos to see if it trades (win7) 3 days each.
Indeed it dos and if the Strat is good and testet, it works at the expected Buy/Sell Levels.


RE: Preload History - askmike - 02-08-2018

> Only the --ui version dos not load local data to use as history.

The note that the next major version of Gekko will properly support this Smile


RE: Preload History - 0mathew0 - 02-08-2018

Thanks Guys, will try it in terminal mode


RE: Preload History - 0mathew0 - 02-08-2018

Works!

One thing, I found out - I bet you already know this, but just in case another person is asking:
It didn't find local data when importing via CLI before starting the trader (no usable data found), only importing via the UI worked and the trader found all the data it needed.

One more question: How can I activate logging into a corresponding log file under ../logs, like it does when using the UI ?