Open peterfabakker opened 3 years ago
get_barset should not make a difference between capitalisation or not. Below and example via Ipython
In [8]: barset = api.get_barset('qqq', 'day', limit=5) In [9]: barset Out[9]: {'qqq': []} In [10]: barset = api.get_barset('QQQ', 'day', limit=5) In [11]: barset Out[11]: {'QQQ': [Bar({ 'c': 275.86, 'h': 277.71, 'l': 275.3719, 'o': 276.72, 't': 1601352000, …
Generally, all the ticker values in the Alpaca API are case sensitive. QQQ returns values while qqq does not. Not sure this is a bug but it is something that should be highlighted in the documentation.
get_barset should not make a difference between capitalisation or not. Below and example via Ipython