Easylanguage Contract info - futures io
futures io



Easylanguage Contract info


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,943 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 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)

 
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?
Market on Close data within IB
Platforms and Indicators
Big Mo Indicator for NT8
NinjaTrader
in depth understanding of last, bid, and ask volume in c …
NinjaTrader
Anyone ever use "Seasonax" website?
Trading Reviews and Vendors
NT8 Order Management Strategy
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
52 thanks
An embarrassing, honest confession
37 thanks
Sierra vs. Ninja : why I chose .....
8 thanks
Machine Learning Journal
5 thanks
Institutional Grade Massive Data Dump for Quant Research …
5 thanks
 
(login for full post details)
  #2 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
 
vmodus's Avatar
 
Posts: 1,263 since Feb 2017
Thanks: 2,958 given, 2,843 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,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 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
     



Copyright © 2023 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