alpacahq / alpacahq/Alpaca-API
Invalid Option Symbol Returned from Option Snapshot Endpoint
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 173
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Describe the bug**
An option snapshot like the one below was returned from the endpoint. The option symbol appears incorrect.
"XOM2241220P00280000": {
"latestQuote": {
"ap": 9.5,
"as": 82,
"ax": "N",
"bp": 7,
"bs": 86,
"bx": "X",
"c": " ",
"t": "2024-11-26T20:59:59.956962048Z"
},
"latestTrade": {
"c": "f",
"p": 15.79,
"s": 5,
"t": "2024-08-26T14:37:34.549471232Z",
"x": "C"
}
},
**To Reproduce**
Use this query:
https://data.alpaca.markets/v1beta1/options/snapshots/XOM?expiration_date_gte=2024-11-27&expiration_date_lte=2024-12-27&limit=1000
**Expected behavior**
The symbol should probably be XOM241220P00280000. I didn't know how come this was returned to me and it made me doubt if this is really a production-ready API.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
This is not the first time I found invalid option symbols being returned from this endpoint. Hopefully someone can explain the reason to me.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.