Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using OrderFlowVWAP in Strategy

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

    #16
    Originally posted by GauthamK View Post
    Hi,

    The below post sums up my issue perfectly, and looks like there is an issue with this API when getting used in a strategy. onBarUpdate vs OnEachTick.

    Is there an ETA for the resolution?

    I am trying to use OrderFlowVWAP in a strategy, but the VWAP value I get in the strategy is different than what I see on the chart. I created a simple test strategy that just prints out the VWAP Value in OnBarUpdate. I have also attached screenshots of the TestStrategy parameters and the OrderFlowVWAP indicator properties. I do

    I will look into what you have referenced.

    In the meantime, what Calculate setting are you using in the strategy?

    Regarding, "Thank you will check again and post the results. Will have to wait until Tomm." Do you have results to share?

    Comment


      #17
      Hello GauthamK,

      I've had a chance to review the referenced thread and the QA review.

      In the case of the thread the issue was caused by using if (State != State.RealTime) return; By removing this line the results were as expected.

      Are you using such a code line?

      What Calculate setting are you using for the strategy?



      ​​​​​​​

      Comment


        #18
        No I dont have that line.

        My strategy runs on EACHTICK, but am using standard VWAP (not tick) calculation.

        Comment


          #19
          Hello GauthamK,

          Thanks for your reply.

          With Standard resolution and using Calculate.OnEachTick, during historical data the bar is calculated using the "Typical" price type as the input, it is only when the strategy reaches real-time that the Close price is used. So in this case you could expect to see differences.

          The recommendations are, use Tick Replay and you will need tick historical data to support that for the duration of your chart.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Yesterday, 05:17 AM
          0 responses
          55 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          132 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          73 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          45 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          49 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X