NexusFi: Find Your Edge


Home Menu

 





Money Management - assistance or guidance


Discussion in NinjaTrader

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




 
Search this Thread

Money Management - assistance or guidance

  #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?
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
What broker to use for trading palladium futures
Commodities
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
  #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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863

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 Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


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 Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on March 12, 2018


© 2024 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 - Privacy Policy - Downloads - Top
no new posts