![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
|
How can I write the result of every trade in a text file or similar? When a trade is finished I need that the result was writed in a file for to be analyzed
Thank you and I hope you understand me (I'm from Spain). Jesus. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Jesus, you can work with the Performance / TradeCollection classes for this task -
http://www.ninjatrader-support.com/H...rformance.html To write to a txt files, please see those two reference samples here - http://www.ninjatrader.com/support/f...ead.php?t=3477 http://www.ninjatrader.com/support/f...ead.php?t=3475
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2009
Posts: 125
Thanks: 5
Thanked 0 times in 0 posts
|
Ok, thanks Bertrand.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| binary file: how to Read and Write | fx.practic | General Programming | 7 | 02-08-2010 01:17 PM |
| Strange File write behavor?! | mktrend | General Programming | 0 | 10-28-2008 08:43 PM |
| 6.5 install cannot write trace file | webber | Installation and Licensing | 4 | 09-06-2008 06:34 PM |
| Historical interferes with file write? | Burga1 | Miscellaneous Support | 4 | 05-14-2008 01:43 PM |
| Indicator: Using System.IO File properties to write to and read from a text file | NinjaTrader_Josh | Reference Samples | 0 | 09-30-2007 10:48 PM |