I'm trying something like this:
ticker = 'AAPL'
today_s_data = data[ symbol( ticker ) ].price
And it gives me this error:
62 Error non-string argument given to symbol()
But clearly type( ticker ) is 'str'.
Why doesn't it recognize it as a string?
It only works with I type in symbol( 'AAPL' ). Weird.