askmike / gekko

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

[request] smaller candle size (smaller than 1min) #1930

Closed JThobbyist closed 6 years ago

JThobbyist commented 6 years ago

Note: for support questions, please join our Discord server

I would suggest if someone is familiar with the gekko's internals, that they re-code the candleCreator to operate using a candle size that can be set either from a config file, or even set in just one variable at the top of the page. Maybe using a switch(minCandleSize) statement to determine some of the syntax for the candle start dates and such

ortschun commented 6 years ago

I'm guessing this was for performance reasons? How difficult/valuable would it be to support this

askmike commented 6 years ago

Hey! There are a few different reasons why the candle is limited to 1 minute, the short story is here. The longer story:

The biggest thing though:

Gekko is a platform to create trend watching trading bots, this involves looking at how the price has historically developed and trying to base predicitons of of that. But the smaller your timeframe the more noise and the less reliable the concept of candles work. You can definitely build strategies that trade on shorter timeframes, but you wouldn't use candles:

Even though it sounds similar, it's a very different problem space. And when building strategies that trade on short timeframes you'd build a completely different system in all aspects. (Gekko is 100% based on candles).