Trading Articles
Article Categories
Article Tools
Easylanguage Contract info
Updated May 21, 2021
trending_up
2,943 views
thumb_up
2 thanks given
group
3 followers
forum
5 posts
attach_file
1 attachments
Welcome to futures io: the largest futures trading community on the planet, with well over 150,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)
Easylanguage Contract info
(login for full post details)
#1 (permalink )
Pennsylvania
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
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.
The following user says Thank You to ZachC for this post:
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,263 since Feb 2017
Thanks: 2,958 given,
2,843
received
ZachC
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: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.
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!
(login for full post details)
#3 (permalink )
Pennsylvania
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
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.
(login for full post details)
#4 (permalink )
Posts: 2,363 since Apr 2013
Thanks: 426 given,
1,579
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
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.
The following user says Thank You to ABCTG for this post:
(login for full post details)
#5 (permalink )
Pennsylvania
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
Posts: 17 since Jun 2019
Thanks: 13 given,
11
received
ABCTG
This is awesome thank you, I will be checking this out for sure.
(login for full post details)
#6 (permalink )
Pennsylvania
Experience: Intermediate
Platform: TradeStation
Broker: Tradestation
Trading: Micro ES and Micro YM
Posts: 17 since Jun 2019
Thanks: 13 given,
11
received
ABCTG
This worked exactly how I was hoping it would on the plat form thanks again.
Last Updated on May 21, 2021
Ongoing