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 JoMoon2024, Today, 06:56 AM
        0 responses
        6 views
        0 likes
        Last Post JoMoon2024  
        Started by Haiasi, 04-25-2024, 06:53 PM
        2 responses
        19 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        6 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Working...
        X