EL Strategy with auto buy (Call/Put) ITM option strike - futures io
futures io



EL Strategy with auto buy (Call/Put) ITM option strike


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one DirtyGoats with 3 posts (0 thanks)
    2. looks_two ABCTG with 2 posts (0 thanks)
    3. looks_3 Anka Software with 1 posts (0 thanks)
    4. looks_4 greymatter with 1 posts (0 thanks)
    1. trending_up 2,638 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

EL Strategy with auto buy (Call/Put) ITM option strike

(login for full post details)
  #1 (permalink)
DirtyGoats
Lakeville
 
 
Posts: 7 since Dec 2017
Thanks: 1 given, 1 received

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.

Reply With Quote

Can you help answer these questions
from other members on futures io?
RangeRider for NT8 V10
The Elite Circle
How to Register my Company in this Platform
Stocks and ETFs
Alternative to Mcginley Dynamic MA
Sierra Chart
Simple code to end my indicator
NinjaTrader
Tradestation 10 work offline
TradeStation
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Vinny E-Mini & Algobox Review TRADE ROOM
284 thanks
Would you share your Holy Grail?
89 thanks
EURUSD M6E/6E Euro
63 thanks
Spoo-nalysis ES e-mini futures S&P 500
47 thanks
TST/OneUp/LeeLoo/Earn2Trade
17 thanks
 
(login for full post details)
  #3 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,296 since Apr 2013
Thanks: 419 given, 1,531 received


DirtyGoats,

you might find the OptionChainProvider Class useful: https://community.tradestation.com/Discussions/Topic.aspx?Topic_ID=153143.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #4 (permalink)
DirtyGoats
Lakeville
 
 
Posts: 7 since Dec 2017
Thanks: 1 given, 1 received

Skimming it briefly, looks like a promising avenue. I appreciate the quick response.

Thank you.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 greymatter 
Johns Creek GA/USA
 
Experience: Intermediate
Platform: ThinkorSwim, IB
Trading: Emini ES
 
Posts: 6 since Aug 2016
Thanks: 33 given, 0 received

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.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,296 since Apr 2013
Thanks: 419 given, 1,531 received

greymatter,

I am not sure there are any besides the demo posted in the forum thread, but you might want to take a look in the official TS forum.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #7 (permalink)
DirtyGoats
Lakeville
 
 
Posts: 7 since Dec 2017
Thanks: 1 given, 1 received

It's been 3yrs and wondering if anyone has produced a better way/answer to my quest.

Reply With Quote
 
(login for full post details)
  #8 (permalink)
 Anka Software 
Bangalore India
 
Experience: Intermediate
Platform: NinjaTrader, TradeStation
Trading: EUR/USD
 
Posts: 11 since Jan 2013
Thanks: 0 given, 5 received

"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.

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > EL Strategy with auto buy (Call/Put) ITM option strike


Last Updated on September 22, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts