Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enabled Two Exact Same Strategy on Two Different Instruments, One Did Not Run

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

    Enabled Two Exact Same Strategy on Two Different Instruments, One Did Not Run

    On Friday, I enabled the same strategy on two different instruments (SPXL/SPXS) in two different charts. SPXS was enabled first. Then I enabled SPXL. Both strategies showed output on the simulated data. But when Friday came around the the strategies switch to real data, only the SPXS ran and showed output. The SPXL did not show any output and did not run.

    Why?​

    Click image for larger version  Name:	Screenshot 2023-11-11 162136.png Views:	9 Size:	229.0 KB ID:	1277511
    Click image for larger version  Name:	Screenshot 2023-11-11 162208.png Views:	11 Size:	78.8 KB ID:	1277510

    Both strategies are configured in the same manner, except, of course, quantity, because the share price differs. But based on the available fund in the TD Ameritrade account.

    The SPXL should also show the five 11/10/2023 lines in the output. Those output lines are in nested functions called by OnBarUpdate() for the PRIMARY_BAR, which is configured for 15 minutes. Those five lines should output for the first four bars of the day.

    I have ran this strategy on each of those instruments individually. And the strategy runs fine by itself. Why would enabling both prevent one from running?
    Last edited by gypsymoth; 11-13-2023, 03:52 AM.

    #2
    Hello,

    Thanks for posting.


    I'd like to review your log and trace files for this item, which should not be posted publicly on the forum. You can send me your log and trace files so that I may look into what occurred by going to the Control Center-> Help-> Email Support. Please ensure 'Log and Trace Files' is checked to include these files. This is checked by default.

    Please reference the following ticket number in the body of the email: 04136045 ATTN: Drew​

    Comment


      #3
      Thanks for your help, Drew. I will look into how to get the log and trace files to you during day time.

      Comment


        #4
        Hi Drew,

        I just followed your instruction to send you the log and trace files. Please take a look. I really appreciate your help.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        85 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        47 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        67 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X