Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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.
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.