NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 06-14-2012, 09:44 AM   #1
ishaolin
Junior Member
 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default Real-Time Portfolio Analysis and Allocation

Hi,
I trade multiple strategies using multiple symbols in Tradestation.

I was wondering if there is a mechanism within NinjaTrader or NinjaTrader products that allows real-time portfolio oversight of these indvidiual strategies across symbols. I am looking for the ability to:

1. Monitor net position per market
2. Monitor strategy equity per market
3. Adjust individual market positions using aggregate portfolio information and NOT just individual market information.

Thanks.
ishaolin is offline  
Reply With Quote
Old 06-14-2012, 09:49 AM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello ishaolin,

Welcome to the NinjaTrader forums! Generally our strategies are instance-based, and there is no built in communication possible. However, you can use C# features like writing to a file or static variables to share information among different instances. You can see this reference sample for help writing to a file:
http://www.ninjatrader.com/support/f...ead.php?t=3220
Use of global variables is beyond our scope of support but you could check MSDN for more information:
http://msdn.microsoft.com/en-us/library/98f28cdx.aspx
NinjaTrader_RyanM is offline  
Reply With Quote
Old 05-07-2013, 01:51 AM   #3
Master.Aurora
Member
 
Join Date: Nov 2011
Posts: 43
Thanks: 6
Thanked 2 times in 2 posts
Default

Quote:
Originally Posted by ishaolin View Post
Hi,
I trade multiple strategies using multiple symbols in Tradestation.

I was wondering if there is a mechanism within NinjaTrader or NinjaTrader products that allows real-time portfolio oversight of these indvidiual strategies across symbols. I am looking for the ability to:

1. Monitor net position per market
2. Monitor strategy equity per market
3. Adjust individual market positions using aggregate portfolio information and NOT just individual market information.

Thanks.
Hello,

I was having the same problem with the lack of inter-strategy communication that NinjaTrader offers. So, we went out of the bos to create a small algorithm to workaround this issue. Please read this article:

http://www.aurorasolutions.org/inter...n-ninjatrader/

Feel free to contact us if you need this implemented in your strategies.

Thanks
Umer
Master.Aurora 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
OnBarUpdate Time[0] is not updated real time with minute bars cunparis Indicator Development 1 12-23-2010 06:29 AM
how to use weekly, monthly, yearly time frames in real time charting using 6.5 versi qwert12 Charting 2 10-05-2010 04:35 PM
Multi-time frame strategy - Longer-term real-time calculations Shansen Strategy Development 1 04-19-2009 06:36 AM
Market Replay vs. Real-world/Real-time ctrlbrk Strategy Development 14 12-01-2008 03:16 PM
How real real-time DOM and TS ? maxima General Programming 5 05-01-2008 02:54 PM


All times are GMT -6. The time now is 02:00 AM.