Cash management and analyzers
I try so simulate some basic cash management, by making calling buy() with different amount on different conditions buy(amount = <amount>).
While debugging I can see that buy is indeed called with the correct amount.
When I run the analyzer though:
result = cerebro.run()
I get the exact same results as if I always called buy() without any amount. Any thoughts on this?
vladisld last edited by
@vladisld Thanks for the quick response! That solved my issue.