NexusFi: Find Your Edge


Home Menu

 





How to download margin values from Intaractive Brokers website


Discussion in NinjaTrader

Updated
    1. trending_up 1,346 views
    2. thumb_up 7 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 2 attachments




 
Search this Thread

How to download margin values from Intaractive Brokers website

  #1 (permalink)
 asfax 
Prague, Czech Republic
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: NQ
Posts: 57 since Sep 2009
Thanks Given: 34
Thanks Received: 79

Some time ago I needed to find out the current futures margin values for my broker Interactive Brokers (for some position size and risk management purpose).

If someone is interested how to use NinjaTrader to read information from a web page, look at the attached indicator.

The indicator downloads the current margin values and prints them into the output window. Everything is commented, so you can simply change the code for your own purposes and insert the code as a part of your indicator. I hope it will be useful to someone (at least part of the code) and save him some time .

Attached Files
Elite Membership required to download: DownloadMarginsFromInteractiveBrokersWeb.zip
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #3 (permalink)
 emun 
prague, czech republic
 
Experience: Advanced
Platform: NinjaTrader
Trading: NQ
Posts: 165 since May 2012
Thanks Given: 49
Thanks Received: 74



asfax View Post
Some time ago I needed to find out the current futures margin values for my broker Interactive Brokers (for some position size and risk management purpose).

If someone is interested how to use NinjaTrader to read information from a web page, look at the attached indicator.

The indicator downloads the current margin values and prints them into the output window. Everything is commented, so you can simply change the code for your own purposes and insert the code as a part of your indicator. I hope it will be useful to someone (at least part of the code) and save him some time .


Ahoj asfaxi,

tohle je přesně ten indikátor, který jsem hledal. Díky moc za sdílení. Jen by mě zajímalo, zda ho nemáš i ve verzi pro NT8. Díky moc

...and now in the English version...

Hello asfax,

this is exactly the indicator I was looking for. Thanks so much for sharing. I was just wondering if you have it in the NT8 version as well. Thanks a lot

Alternatively, if someone has already converted it, would you mind sharing.

Reply With Quote
  #4 (permalink)
 asfax 
Prague, Czech Republic
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: NQ
Posts: 57 since Sep 2009
Thanks Given: 34
Thanks Received: 79

Hi Emun,
here is the required version for NT8. I have changed the IB website address with margins and one small adjustment, because searched symbol is now also found at the bottom of the web page in the "Futures - Intraday Margin Requirements" section.
Good luck

Attached Files
Elite Membership required to download: MarginsFromWebInteractiveBrokersNT8.zip
Started this thread Reply With Quote
Thanked by:




Last Updated on March 29, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts