Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Eliminating overnight trading

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

    Eliminating overnight trading

    I have been searching around and have not been able to figure out how to eliminate after hours trading.

    I know that I can set the times for entry and exit, but the problem is, my calculations are still being done on overnight data, which doesn't seem to work with my model.

    I am looking at futures and only have 4 variables. Any assistance would be appreciated.

    #2
    Originally posted by cfp462 View Post
    I have been searching around and have not been able to figure out how to eliminate after hours trading.

    I know that I can set the times for entry and exit, but the problem is, my calculations are still being done on overnight data, which doesn't seem to work with my model.

    I am looking at futures and only have 4 variables. Any assistance would be appreciated.
    You are talking about a strategy that you wrote or can modify?

    Put the time check on your strategies order entries, and not the rest of it?

    Comment


      #3
      I did that but it still wont help, because when the market opens the order entries will be calculated off of the overnight data.

      Comment


        #4
        Just filter for the times you don't want to calculate on, and return before your values calculate:

        if (noCalcTime == true) return;

        //value calculations down here

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rhyminkevin, Today, 04:58 PM
        3 responses
        48 views
        0 likes
        Last Post Anfedport  
        Started by iceman2018, Today, 05:07 PM
        0 responses
        5 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        7 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        14 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        50 views
        0 likes
        Last Post futtrader  
        Working...
        X