Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why does System Trade Count go both up-and-down?

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

    Why does System Trade Count go both up-and-down?


    I do not understand why SystemPerformance.RealTimeTrades.LosingTrades.Coun t (and WinningTrades) can go both up and down?

    I'm running a strategy, real-time, against the live market. The script starts trading when the market opens, at 6 AM PST. I have a Print system, to print out:


    SystemPerformance.RealTimeTrades.LosingTrades.Coun t
    SystemPerformance.RealTimeTrades.WinningTrades.Cou nt


    Attached is a screen shot of that output. You can see at one point, Winning Traders = 4, and Losing Trades = 2. Then, Winning Trades = 1 and Losing Trades = 1. Of course, I'd expect these values to be the current count of winning and losing trades, which doesn't appear to be the case.

    I need to implement a circuit breaker where if I have three bad trades in a trading day, then I need to quit. But if LosingTrades.Count isn't accurate, then of course, my logic can fail.

    What's up? Thanks,

    Attached Files

    #2
    Hi timmbbo, thanks for posting. Are you running the script anywhere else on another instrument? Check for any other instances of your script running. Also, add the name of the strategy to the print to make sure it's coming from that strategy. I attached my test script that works fine when using SystemPerformance if you would like to test it out.

    Kind regards,
    -ChrisL
    Attached Files

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    48 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X