Easylanguage Contract info - futures io
futures io



Easylanguage Contract info


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,116 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 1 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
 

Easylanguage Contract info

(login for full post details)
  #1 (permalink)
 ZachC 
Pennsylvania
 
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
 
ZachC's Avatar
 
Posts: 17 since Jun 2019
Thanks: 13 given, 11 received

I am stuck is there a way to get the updated margin requirements for a specific contract via easylanguage?

I can not find a function to request that information anywhere. Please help my eyes hurt from looking.

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
The following user says Thank You to ZachC for this post:

Can you help answer these questions
from other members on futures io?
EMA as a trailing stop
Traders Hideout
AUSuperTrend in the NT strategy builder
NinjaTrader
Price Action Swing Pro NT8
NinjaTrader
ID Indicator ?
ThinkOrSwim
Deleting Custom script for the watchlist
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Beast Slayer, Lances NQ Trading Journal
31 thanks
Michael Burry warns the Mother of All Crashes is coming
21 thanks
Spoo-nalysis ES e-mini futures S&P 500
18 thanks
FairX is launching soon
17 thanks
Chart Trader Alternatives ?
14 thanks
 
(login for full post details)
  #2 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,085 since Feb 2017
Thanks: 2,420 given, 2,281 received


ZachC View Post
I am stuck is there a way to get the updated margin requirements for a specific contract via easylanguage?

I can not find a function to request that information anywhere. Please help my eyes hurt from looking.

This is probably your best bet, but you have to know how to use EL Objects (I only know enough OOEL to be dangerous):


Note, there are two limitations here:
  1. It is processor intensive, so you don't want to get margin every single bar if you are running intraday charts. Code it to only get margin once per day.
  2. It does not reference historical data, so you cannot use that value for back testing.
I think that is the only way to get margin for an individual instrument/symbol. If you cannot puzzle this out, you may also try asking this question over at the TradeStation community forums.

I hope this helps a little.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
 ZachC 
Pennsylvania
 
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
 
ZachC's Avatar
 
Posts: 17 since Jun 2019
Thanks: 13 given, 11 received


Thank you very much for your reply, I was afraid it was going to require use of the EL Objects. I also struggle with them. Although what better time then now to learn how they work.

I also try on the TS Community forums as well maybe someone has already coded it out, thanks again.

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,253 since Apr 2013
Thanks: 417 given, 1,501 received

ZachC,

there is a TradingApp posted in the official TS forum that shows how you can scrape margin information from a website: https://community.tradestation.com/Discussions/Topic.aspx?Topic_ID=140235
It creates a file with the margin information and provides functions to access the information.

Regards,

ABCTG


ZachC View Post
Thank you very much for your reply, I was afraid it was going to require use of the EL Objects. I also struggle with them. Although what better time then now to learn how they work.

I also try on the TS Community forums as well maybe someone has already coded it out, thanks again.


Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:
 
(login for full post details)
  #5 (permalink)
 ZachC 
Pennsylvania
 
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
 
ZachC's Avatar
 
Posts: 17 since Jun 2019
Thanks: 13 given, 11 received


ABCTG View Post
ZachC,

there is a TradingApp posted in the official TS forum that shows how you can scrape margin information from a website: https://community.tradestation.com/Discussions/Topic.aspx?Topic_ID=140235
It creates a file with the margin information and provides functions to access the information.

Regards,

ABCTG

This is awesome thank you, I will be checking this out for sure.

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
 ZachC 
Pennsylvania
 
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
 
ZachC's Avatar
 
Posts: 17 since Jun 2019
Thanks: 13 given, 11 received


ABCTG View Post
ZachC,

there is a TradingApp posted in the official TS forum that shows how you can scrape margin information from a website: https://community.tradestation.com/Discussions/Topic.aspx?Topic_ID=140235
It creates a file with the margin information and provides functions to access the information.

Regards,

ABCTG

This worked exactly how I was hoping it would on the plat form thanks again.

Follow me on Twitter Visit my futures io Trade Journal Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Easylanguage Contract info


Last Updated on May 21, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



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