How can broker.get_value() be negative after a run
Kjiessar last edited by
sorry if this is noob question but I'm struggeling with getting the value (is that called portfolio value?) after a run.
I'm currently using
cerebro.broker.get_value()as I can also see it my plots
The small values are because cryptotrading data is used.
So my issue here is:
I'm starting with 0.0019 BTC here and buy some other crypto.
Even if this other crypto drops to nearly 0, lets just say the remaing complete value of my portfolio is 0.000000001BTC.
If I sell it (so adding the remaining value), it should still have remaining cash +0.000000001BTC
It seems that I'm still missinterpreting something here.
Another topic: why is my plot so damn ugly compared to the on in the docs? (can create another thread if it isn't a short answer)