- ago
Today I am not able to get history or Greeks on a specific, valid symbol from Tradier. This is causing a RT error In my code (yes, @Cone I know I have to add some test for this ;) I tested with a chart and the data workbench and confirmed WL could not get the history. (Other symbols are fine.

I reached out to Tradier support and got the following back. I don't know how to respond to the question support asked me.

QUOTE:

Could you specify what endpoint(s) you are using to get data on this option? I am seeing good data from quotes with Greeks from the quotes endpoint and good historical candles from the historical quotes endpoint:

curl -X GET "https://api.tradier.com/v1/markets/quotes?symbols=SPY240416C00517000&greeks=true" \
-H 'Authorization: Bearer <TOKEN HERE>' \
-H 'Accept: application/json'
{"quotes":{"quote":{"symbol":"SPY240416C00517000","description":"SPY Apr 16 2024 $517.00 Call","exch":"Z","type":"option","last":2.45,"change":0.16,"volume":2499,"open":2.96,"high":2.96,"low":1.74,"close":null,"bid":2.44,"ask":2.45,"underlying":"SPY","strike":517.0,"greeks":{"delta":0.350311483450318,"gamma":0.04423223203369019,"theta":-0.31864162470588075,"vega":0.2270905591117379,"rho":0.02585612997446681,"phi":-0.0261461223153332,"bid_iv":0.13792,"mid_iv":0.13835,"ask_iv":0.13878,"smv_vol":0.138,"updated_at":"2024-04-11 14:58:52"},"change_percentage":6.99,"average_volume":0,"last_volume":2,"trade_date":1712851521645,"prevclose":2.29,"week_52_high":0.0,"week_52_low":0.0,"bidsize":100,"bidexch":"N","bid_date":1712851524000,"asksize":46,"askexch":"T","ask_date":1712851524000,"open_interest":1737,"contract_size":100,"expiration_date":"2024-04-16","expiration_type":"weeklys","option_type":"call","root_symbol":"SPY"}}}%

curl -X GET "https://api.tradier.com/v1/markets/history?symbol=SPY240416C00517000&interval=daily&start=2024-04-01&end=2024-04-11&session_filter=all" \
-H 'Authorization: Bearer <TOKEN HERE>' \
-H 'Accept: application/json'

{"history":{"day":[{"date":"2024-04-02","open":6.05,"high":6.47,"low":5.47,"close":6.47,"volume":367},{"date":"2024-04-03","open":6.0,"high":7.48,"low":6.0,"close":6.66,"volume":154},{"date":"2024-04-04","open":8.99,"high":9.18,"low":3.65,"close":3.77,"volume":286},{"date":"2024-04-05","open":3.85,"high":6.66,"low":3.85,"close":6.14,"volume":249},{"date":"2024-04-08","open":5.93,"high":6.37,"low":5.23,"close":5.46,"volume":164},{"date":"2024-04-09","open":6.29,"high":6.34,"low":3.5,"close":5.99,"volume":5806},{"date":"2024-04-10","open":2.4,"high":3.4,"low":1.91,"close":2.29,"volume":4844},{"date":"2024-04-11","open":2.96,"high":2.96,"low":1.74,"close":2.54,"volume":2440}]}}
0
425
2 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.17% )
- ago
#1
We use the Tradier API endpoints. There's no difference for "this option".
https://documentation.tradier.com/brokerage-api

Oh, I see, that was Tradier support talking. I guess they want the specific request.

Anyway, since it's only one symbol (odd), I can only suggest to right click the Historical Provider and "Clear Internal Tracking Info".
If that doesn't do it, try restarting WealthLab to reset everything.

p.s., That symbol works for me too (from Tradier)
0
- ago
#2
Tradier tech support informed me that GLD240517C00221000 *is* in their Web option chain. All values for this strike are zero. This sheds a slightly different light on this issue since the symbol is theoretically value but has no interest or history.
0

Reply

Bookmark

Sort