NexusFi: Find Your Edge


Home Menu

 





Money Management - assistance or guidance


Discussion in NinjaTrader

Updated
    1. trending_up 2,243 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
poorhatsoap
Queanbeyan
 
Posts: 2 since Jul 2016
Thanks Given: 2
Thanks Received: 0

Hi all. First post, but let me just first say that the wealth of information to be found on this forum has been a life-saver many times over the past couple of years.

I'm sure many of you are familiar with the Capstone Trading Systems Money Management algorithms - if not, here is a link to some information about the latest Ninjatrader version released: hxxps://capstonetradingsystems.com/blogs/ninjatrader-money-management-algorithm-examples/version-7-release-for-ninjatrader-money-management-algorithms

The Capstone stuff is very similar to a project that I'm looking to work on over the next few months with money management and turning live trading on and off based on a number of portfolio performance criteria.

Most of my experience in coding for NT7/8 so far has been in regular indicator and strategy development so I'm fairly comfortable in those spaces.

Does anyone have any experience either with the Capstone product, or with doing anything that is conceptually similar?

At the moment the logic I'm thinking of is something along the lines of: Base strategy executes every trade against the sim account only so that performance can be reviewed. Based on the trade-to-trade performance against the sim account, live trading is either turned on or off. If live trading is on, then the same strategy rules are applied to the live trades. The sim account performance continues to be reviewed to determine if we stay live or if we turn live trading off again.

I'm struggling with figuring out just how to pull this together within NT.

Has anyone got any examples or experience of using a strategy that has visibility of trades from multiple accounts? I know individual strategies can be programmed to use either the live account or the sim account, but how to bring both of those together to be managed or controlled from a strategy that has visibility of both?

I'm aware of NT having a "shadow strategy" feature, which also sounds conceptually similar to what I'd like to achieve, but to my knowledge Shadow Strategies are only available via the ATM and not necessarily available to be coded via Ninjascript.

Open to any questions, discussions, comments etc.

Thanks in advance!

Matt


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Kharg Island at 6%, Regime Fall at 1.5% -- The Black Swa …
Prediction Markets & Event Contracts
Ripple Prime Joins Nodal Clear as Clearing Member -- $3 …
Cryptocurrency
Thursday May 28: GDP + Core PCE + Jobless Claims All at …
Traders Hideout
Ceasefire in Name Only: Three Numbers That Define the Ir …
Prediction Markets & Event Contracts
Prop Firm Tracked Payouts Hit $115M in Q1 but Growth Fla …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860

I worked on a risk module api, but that works alongside NT and not inside NT.
It does read the database files of NT directly in order to keep track of open positions on multiple accounts.


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
poorhatsoap
Queanbeyan
 
Posts: 2 since Jul 2016
Thanks Given: 2
Thanks Received: 0



rleplae View Post
I worked on a risk module api, but that works alongside NT and not inside NT.
It does read the database files of NT directly in order to keep track of open positions on multiple accounts.

Thank you for your reply - would it be safe to assume that this method is not necessarily considered supported? There is no API to interface with the database externally to NT is there? Or have I maybe overlooked something?


Reply With Quote
  #4 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860


poorhatsoap View Post
Thank you for your reply - would it be safe to assume that this method is not necessarily considered supported? There is no API to interface with the database externally to NT is there? Or have I maybe overlooked something?

You are right, but advanced risk management is not supported in any way...
staying in the documented boundaries will not make it possible to build what you have in mind.


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 12, 2018


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts