tommiehansen / gab

Gekko Automated Backtests
57 stars 19 forks source link

feature: does it possible to set the exchange fees somewhere ? #18

Closed ghost closed 6 years ago

ghost commented 6 years ago

Does it possible to set the correct value fees of the exchange we use for the backtest ?

tommiehansen commented 6 years ago

Yes, if you hack it and edit gab.class.php under system/.

Currently though no -- but the Gekko defaults is fine enough. Gabby isn't about squeezing the most performance possible out of something.

Might be added in the future though.

ghost commented 6 years ago

ok

tommiehansen commented 6 years ago

I'll add this soon to the user config btw. The problem i had was writing totally new routines for this since it's something that people often tend to abuse more then make something worthwhile out of.

But just letting the user set it @ user config (for those that want that) would be very easy to implement.

tommiehansen commented 6 years ago

This is now an option in your user configuration file.

See updated user.config.sample.php for reference.