Why portfolio value is NAN even though the close price is calculated?
Shaoqing Wen last edited by
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