For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Why portfolio value is NAN even though the close price is calculated?
-
Hi, Everyone:
I have a question regarding the portfolio value (broker.get_value).
As the graph shows, I'm trying to long the stock and I checked the data information is all filled for closed price given the time horizon. (See the Present Price has the value) Why the portfolio value is Nan?
Below is the code I wrote in the next