alpacahq / alpacahq/Alpaca-API

qqq vs QQQ gives different result for barset

Aperta
#132 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
documentation
Lingua principale
Nessun dato sulla lingua
Stelle
173
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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, …

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.