3 ms·
I quickly glanced through the code, couldn't find anything related to fees, do you take it into account?
by andreygrehov 7y ago
I quickly glanced through the code, couldn't find anything related to fees, do you take it into account?
- klhugo 7y agoHi, thanks for having a look at the code! I did not put lots of effort in developing the trading strategy itself. So you need to make sure you provide a `proft` param to the function `bd_insert_buy` which is large enough so you don't loose money. Currently, the `maestro` function sets the `DTHR` variable which is used both as dip threshold for buying, and as profit value.