Perfect! so the BUY/SELL show the underlying single unit asset price whereas the PROFIT is the delta times the stake size (minus commission). It adds up. Thank you Rajanprabu!
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
J
Best posts made by joeyy
-
RE: notify_order shows wrong calculations
-
cerebro.optstrategy slow AF on mac and really fast on Windows ?
Hi All!
This is such an esoteric problem and I don't suppose others have encountered it, but I figured it might be worth a shot.
I have a strategy which I want to test across thousands and thousands of permutations via cerebro.optstrategy.
When I run it on my macbook pro it's ridiculously slow and is able to compute about 5-6 results per minute, which basically makes it unusable.
Then if I run the same code on a mediocre windows machine it generates hundreds of results per minute.
Has anyone experienced anything similar ? Is there a config somewhere where I can make it more CPU intensive / add threads ?Thanks in advance!