I was able to successfully create my index table and it shows the Name and Price correctly. However, it only shows [] for the values of Symbol, Shares, and Total.
Here is my code:
// edited out
I've looked at other questions and I know that execute
returns a list, so I should do own[0]['num_of_stocks']
. However, when I do this, I get a List Index Out Of Range
error. Is there an issue with my execute
statements that is causing this? Thanks in advance.