Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

position sizing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    position sizing

    I have 1 strategy trading 5 instrument pairs. Assuming I want my total capital invested is 10k and I have different leverages across the pairs. how do I determine position sizing?
    Total capital invested=10k
    investment per trade = 20%
    usd/cad =2.2 % leverage
    aud/usd=3% leverage.

    How do I calculate the position size for entry? If someone can share the logic, I can try to code it accordingly

    #2
    Hello junkone,

    Thank you for your note.

    I have attached a sample strategy which contains several strategies which will dynamically adjust trade size based on account size so that each trade is 20% of capital.

    These samples only take into account size.

    Taking this further and applying the leverage aspect would be a more advanced portfolio trading concept for which I would suggest doing a web search on.

    Please let us know if you need further assistance.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by FrazMann, Today, 11:21 AM
    0 responses
    3 views
    0 likes
    Last Post FrazMann  
    Started by geddyisodin, Yesterday, 05:20 AM
    8 responses
    52 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    10 responses
    37 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by DayTradingDEMON, Today, 09:28 AM
    4 responses
    24 views
    0 likes
    Last Post DayTradingDEMON  
    Started by George21, Today, 10:07 AM
    1 response
    21 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X