I'm 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 so all I have to do is open the TradeStation: Option Station Pro window...find my strike price of choice...right click it (copy symbol)...and then go back to my 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 toove, then I have to repeat that process over and over.
I've been reading the EasyLanguage reference guide...using my Google-fu....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?
...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 futures io?
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.