Predict Posted April 8 Report Posted April 8 The calculation of levels looks like is wrong I compared with others. Kimsam can you confirm that?
Predict Posted April 16 Report Posted April 16 It appears that it is not possible to load options chain data daily via the Schwab API. Schwab doesn’t support that. Main question is which expires does it support?
jetstrade Posted April 16 Report Posted April 16 58 minutes ago, Predict said: It appears that it is not possible to load options chain data daily via the Schwab API. Schwab doesn’t support that. Main question is which expires does it support? so for ES I call as I found that if I passed everything it worked out better. resp = client.get_option_chain( $SPX, contract_type=client.Options.ContractType.ALL, # both calls and puts strike_count=50, #if I make it bigger, I get a 501 error include_underlying_quote=True, # returns underlyingPrice for spot strategy=client.Options.Strategy.SINGLE, # single-leg only, no spreads ) Predict 1
jetstrade Posted April 16 Report Posted April 16 Also, to add on to this, if you look at the description of the option being returned. You can check and see if it SPXW or just SPX. to get the weekly / daily options. desc = opt.get('description', '') sym_field = opt.get('symbol', '') is_weekly = 'SPXW' in desc or 'SPXW' in sym_field
MaxNguni Posted yesterday at 07:45 AM Report Posted yesterday at 07:45 AM For anyone on interactive brokers, I ported @kimsams work to IB Gateway. Short of it is that it sucks. API rate limits, slow responses, symbol confusion. May well be user error but its probably easier to open a Scwab account and put a little bit of cash into it. ⭐ osijek1289 1
axsx Posted 1 hour ago Report Posted 1 hour ago On 4/29/2026 at 2:45 AM, MaxNguni said: For anyone on interactive brokers, I ported @kimsams work to IB Gateway. Short of it is that it sucks. API rate limits, slow responses, symbol confusion. May well be user error but its probably easier to open a Scwab account and put a little bit of cash into it. do you want to post your changes here that work with IB gateway, we can see if that can be improved ?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now