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

Internal strategy performance collection

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

    Internal strategy performance collection

    Hi support,

    I'm trying to build a genetic algorithm, where the strongest logics win and poor logics lose. I'm building a strategy where I'm adding weights to certain logics based on performance. As a results, if logic 1 is outperforming logic2/3/4/5/6 more fund allocation to logic 1. Now suppose, logic 4:6, because it did not get any fund allocation, internally, within the strategy, for a certain time frame, the trades generated from those logics were ignored. Hence, for that time frame, those logics did not generated any trade performance. Hence, through time, bc those logics did not attribute to performance, will theoretically be ignored forever because they have no zero performance.

    How can I build a strategy where, even though those logics ignored, the trades generated from those logics are still adding to a "simulated" trade performance, in that way, all of my logics are always contributing to a "simulated" trade performance, and from that trade performance I can attribute funds appropriately.

    Any advice or direction would be helpful. Right now the only idea I have is to generate actual trades with a micro quantity for all logics each day and then use those trades to keep track of performance, and then take the best performers for the actual trading within the strategy.

    Thanks.
    Last edited by staycool3_a; 12-15-2017, 07:34 AM.

    #2
    Hello calhawk01,

    Thank you for your post.

    You would have to internally simulate executions and track performance through your own logic and variables. Then based on your internally tracked performance submit the real orders.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by geddyisodin, Today, 05:20 AM
    5 responses
    32 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by bmartz, Today, 09:30 AM
    2 responses
    12 views
    0 likes
    Last Post bltdavid  
    Started by f.saeidi, Today, 11:02 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by geotrades1, Today, 10:02 AM
    4 responses
    12 views
    0 likes
    Last Post geotrades1  
    Started by rajendrasubedi2023, Today, 09:50 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X