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 yertle, Yesterday, 08:38 AM
    7 responses
    28 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by bmartz, 03-12-2024, 06:12 AM
    2 responses
    20 views
    0 likes
    Last Post bmartz
    by bmartz
     
    Started by funk10101, Today, 12:02 AM
    0 responses
    4 views
    0 likes
    Last Post funk10101  
    Started by gravdigaz6, Yesterday, 11:40 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by MarianApalaghiei, Yesterday, 10:49 PM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X