NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-21-2012, 10:42 AM   #1
daglas
Senior Member
 
Join Date: Mar 2011
Location: Ukraine
Posts: 146
Thanks: 19
Thanked 2 times in 2 posts
Default troubles with saving opened orders and perfomance data

Dear friends.
I have download strategy PnLTest.
And I have modify it. I have include code for saving data to files.
But all data about opened position and history off trading is empty.
I have attached zip file
Attached Files
File Type: zip pnltestcheck.zip (4.3 KB, 2 views)
daglas is offline  
Reply With Quote
Old 06-21-2012, 11:07 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello daglas,
Unfortunately it is beyond what we could support however you can refer to this sample code which demonstrates how to write data to a file using the StreamWriter class http://ninjatrader.com/support/forum...ead.php?t=3475
NinjaTrader_Joydeep is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubles with instruments Emanuele67 Connecting 3 05-16-2012 09:40 AM
Troubles with intraday data jimmy.jared Connecting 3 04-18-2011 03:52 AM
troubles DataSeries Nikoli Indicator Development 15 04-06-2010 10:19 AM
Suggestion for Data Series - remember previously opened Instrument List jdfagan Version 7 Beta General Questions & Bug Reports 2 10-21-2009 07:57 AM
Storing data when position is opened verge Strategy Development 4 10-08-2009 09:20 AM


All times are GMT -6. The time now is 05:12 AM.