Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
EL Strategy with auto buy (Call/Put) ITM option strike
Evening, All. It's now been 3yrs since i've posted this and still wondering if it's possible.
I'm 'still' a beginner to EasyLanguage and have been running a Strategy (Algorithm) and looking to take it to the next level: auto selection of ITM Calls/Puts that are 1 strike from the current underlying price.
My current Strategy uses the Price Series Provider function (and 10 windows: 5 calls/5puts) where I have to open the TradeStation: Option Station Pro window...find my strike price of choice...right click it (copy symbol)...and then go back to each chart and paste that symbol (example: SPY 180209C267) into the "Type a Symbol/Command" and hit enter. Not difficult by any means. But if the price of the underlying really starts to move, then I have to repeat that process over and over.
I've been reading the EasyLanguage reference guide...watching MarkPlex videos....and I can't come up with the "how to" to connect the dots.
So I guess my first question is:
Can the automation of selecting an ITM contract be possible within a Strategy/Indicator?
...and then the follow up...
If yes, could someone kindly toss me a bone (link/manual/keywords/example) of how to code this?
Appreciate your time in reading and providing comments.
Can you help answer these questions from other members on NexusFi?
I successfully imported the ELD, but I'm stuck after that. Are there any samples of using OptionChainProvider? I am a newbie with EL, and I'm not even sure how to instantiate it.
"find my strike price of choice..."
If there are 'programmable' rules to find rules to find the strike price of your choice, the same can be programmed in the strategy. After selecting the strike price, the next step is 'synthesizing' or getting the the option symbol name from OptionChainProvider class, and subscribing a PSP to same, and further on opening orders on this symbol.