Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Export Data Grid Programatically?
Collapse
X
-
Yes, you would have to export data from the grid via the right mouse button click.Originally posted by mktrend View PostHow can one programatically export the Filled Order prices and if not possible then could the same be achieved by exporting a Grid to a say text file?RayNinjaTrader Customer Service
Comment
-
Well that's good news at least, presuming the registration is immediate? Thenwe could have other programs extract the data from the txt files since it appears there are no other ways or means to programatically access your fills and correctly calculate the PL since NT sometimes goes way off in that dept by the order of Millions!Originally posted by NinjaTrader_Ray View PostAll positions for an account regardless of where the orders were submitted will registered in a Position Update File.
Comment
-
Hello,
Well that's good news at least, presuming the registration is immediate? Thenwe could have other programs extract the data from the txt files since it appears there are no other ways or means to programatically access your fills and correctly calculate the PL since NT sometimes goes way off in that dept by the order of Millions!
>> If they are updated it will be immediate. Please provide steps so we can reproduce the PL calcuation issue you speack of.
In either case I meant programatically? Can it?
>> You can access fill prices. This link shows one way to access the fill price (also click on the IExecution link):
DenNinjaTrader Customer Service
Comment
-
These seem to resolve my problem but just 1 question before I try them. Do these help retrieve fill prices for orders placed by the DOME?Originally posted by NinjaTrader_Ben View PostHello,
Well that's good news at least, presuming the registration is immediate? Thenwe could have other programs extract the data from the txt files since it appears there are no other ways or means to programatically access your fills and correctly calculate the PL since NT sometimes goes way off in that dept by the order of Millions!
>> If they are updated it will be immediate. Please provide steps so we can reproduce the PL calcuation issue you speack of.
In either case I meant programatically? Can it?
>> You can access fill prices. This link shows one way to access the fill price (also click on the IExecution link):
http://www.ninjatrader-support.com/H...radeClass.html
My problem is that during real time none simulated trading when I scalp heavily the RT PnL shown by the Dome gets confused and shows me as being a couple of thousand contracts short for example!!!!! Very scary!
So I am looking for a way of not relying on the Dome to obtain my true live PnL.
Now, if these do not show the Dome trades then what is my alternative?
The fact that a txt file entry is generated every time a trade is filled, it confirms an event is raised and so how can we subscribe to that event???
Definition
Performance is the parent object that holds all trades and trade performance data generated by a strategy.Last edited by mktrend; 01-05-2009, 02:25 AM.
Comment
-
mktrend,
You cannot programmatically access information on manually placed trades. At least not from the NinjaScript traditional methods. You could try reading from a file? http://www.ninjatrader-support2.com/...ead.php?t=3476Josh P.NinjaTrader Customer Service
Comment
-
OK thanks.Originally posted by NinjaTrader_Josh View Postmktrend,
You cannot programmatically access information on manually placed trades. At least not from the NinjaScript traditional methods. You could try reading from a file? http://www.ninjatrader-support2.com/...ead.php?t=3476
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
612 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
355 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
561 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
564 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment