Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Using "Available Trading Funds" INSTEAD OF. "Cash balance" to determine risk - IB
Collapse
X
-
Using "Available Trading Funds" INSTEAD OF. "Cash balance" to determine risk - IB
I'm having an Issue with my bot using the "available cash" instead of "available to trade funds " figure to determine risk. I have a margin account and I have to have so much cash on hand to have open margin positions. So the bot needs to use the other figure from available to trade funds. Does anybody know how to get ninja to get access to that figure from my IB account? (see figures for clarification)2 PhotosTags: None
-
Hello coingiant,
Thanks for your post.
You can use Account.Get() method and pull various account items. I am not sure what would match up with "Current available funds" so it may be a matter of pulling multiple items and performing math to determine what that IB value is.
Here is a link to Account.Get(): https://ninjatrader.com/support/helpGuides/nt8/?get.htm
Here is a link to what AccountItems you can pull: https://ninjatrader.com/support/help...ccountitem.htm
Here is a link to what information you can pull by provider: https://ninjatrader.com/support/help...TheAccountsTab
Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by FrancisMorro, Today, 03:24 AM
|
0 responses
1 view
0 likes
|
Last Post
by FrancisMorro
Today, 03:24 AM
|
||
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,770 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
31 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
944 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
11 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
Comment