Just making a request for feature (even if paid extension). Is there any interest in creation of building blocks for Options trading?
I'm a "hobbyist" c# programmer (I actually learn a lot coding building blocks then converting to C# code), so I think it would help my potential options (pun intended) if there were some basic building blocks for fetching options chains, calculating a "best buy", incorporating the "expected turn" of the market for the underlying security (and deciding which type of strategy to employ [covered call/etc]), fetching Greeks (including from IQFeed, Schwab (when it goes live), Fidelity), and executing at various price points (limit/mid/bid/ask).
Thanks!
I'm a "hobbyist" c# programmer (I actually learn a lot coding building blocks then converting to C# code), so I think it would help my potential options (pun intended) if there were some basic building blocks for fetching options chains, calculating a "best buy", incorporating the "expected turn" of the market for the underlying security (and deciding which type of strategy to employ [covered call/etc]), fetching Greeks (including from IQFeed, Schwab (when it goes live), Fidelity), and executing at various price points (limit/mid/bid/ask).
Thanks!
Rename
Options and strategies that use them are complicated. Generally, you can't backtest them except when using the Synthetic contracts. Greeks and IV are not available historically. Don't get your hopes up for this one.
Also, IQFeed doesn't supply the greeks on the API - you have to invent them yourself.
Also, IQFeed doesn't supply the greeks on the API - you have to invent them yourself.
Got it. Thanks for the response, Cone.
Hopefully Schwab will have the Greeks (supposedly they should), whenever their API comes live.
I will continue trying to trudge through learning the coding for Options via the examples available thus far. (And please post up more, if/as they become available!)
Thanks again.
Hopefully Schwab will have the Greeks (supposedly they should), whenever their API comes live.
I will continue trying to trudge through learning the coding for Options via the examples available thus far. (And please post up more, if/as they become available!)
Thanks again.
@cone
I was able to successfully use the OptionSynthetics example code in your article Back Test and Auto-Trade Options. Could you please tell me how to modify the code to run the live trade examples using Schwab instead of Interactive Brokers?
Thank you.
I was able to successfully use the OptionSynthetics example code in your article Back Test and Auto-Trade Options. Could you please tell me how to modify the code to run the live trade examples using Schwab instead of Interactive Brokers?
Thank you.
Depending on what you need, there are several examples in the User Guide > Extensions > Schwab, but probably for any IB example just search "InteractiveBrokers" and replace it with "Schwab", that will do the trick. Also, replace "IBHistorical" with "SchwabHistorical", for example.
Cone,
It appears that: string optSym = SchwabHistorical.Instance.GetOptionsSymbol() is not returning the option symbol in the Schwab option format in the GetGreeks() example.
Log Viewer
Timestamp Source Message
"5/22/2025 14:41:55:921" "Schwab" "GetGreeks converted AMD 250620C00112000 to AMD 250620C00112000"
"5/22/2025 14:41:55:921" "Schwab" "AMD 250620C00112000 is not a Schwab-formatted option symbol."
Schwab option format:
XYZ MM/DD/YYYY 00.00 C
AMD 06/20/2025 112.00 C
Thank you.
It appears that: string optSym = SchwabHistorical.Instance.GetOptionsSymbol() is not returning the option symbol in the Schwab option format in the GetGreeks() example.
Log Viewer
Timestamp Source Message
"5/22/2025 14:41:55:921" "Schwab" "GetGreeks converted AMD 250620C00112000 to AMD 250620C00112000"
"5/22/2025 14:41:55:921" "Schwab" "AMD 250620C00112000 is not a Schwab-formatted option symbol."
Schwab option format:
XYZ MM/DD/YYYY 00.00 C
AMD 06/20/2025 112.00 C
Thank you.
It's correct for the API programming. See the Help Guide (F1) > Extensions > Schwab.
Really, there's a lot of information there about Schwab options, including details about the option symbol format.
Really, there's a lot of information there about Schwab options, including details about the option symbol format.
Cone,
Thanks for all your help. The information and examples in the Help Guide for the Schwab Extension was very useful. All of the examples were fully functional with Schwab account access.
If possible i would like to request an added feature to the OptionSynthetic. GetOptionsSymbol() method to override the default strike price increment to better match the strike increment of the higher volume options. These options are often quoted in $1 increments, sometimes with higher volumes close to the ATM price.
Thanks again.
Thanks for all your help. The information and examples in the Help Guide for the Schwab Extension was very useful. All of the examples were fully functional with Schwab account access.
If possible i would like to request an added feature to the OptionSynthetic. GetOptionsSymbol() method to override the default strike price increment to better match the strike increment of the higher volume options. These options are often quoted in $1 increments, sometimes with higher volumes close to the ATM price.
Thanks again.
That already exists for OptionSynthetic.GetOptionsSymbol().
The very last parameter is [bool priceIsStrike = false]. Just set priceIsStrike:true and the price parameter is used as the strike.
The very last parameter is [bool priceIsStrike = false]. Just set priceIsStrike:true and the price parameter is used as the strike.
Great! Thanks.
Your Response
Post
Edit Post
Login is required