HaasOnline’s purpose is to help more people gain control of their financial freedom as the new age of finance evolves. As a trusted partner to investors and a leading provider of financial technology, our customers look to us for the solutions they need when designing and executing on their most important trading strategies.
Volume Weighted Average Price (VWAP) custom command.
This command stores the cumulative information as it goes and limits the amount of data returned to 250 ticks.
The first call for the command runs a warmup so you do not have to wait for a higher data count!
NOTE: If you need to store more or less than 250 ticks of results, change the value assigned for [dataLimit] variable.
UPDATE: Added [resetInterval] parameter. Set this to 1440 minutes and you will get daily resets. The reset is timed to exact minutes/hours/days etc.
This topic was modified 7 months ago by pshai. Reason: Added [resetInterval] parameter
Unlock your crypto trading potential
Create a free account and enjoy everything we have to offer.
HaasOnline®, HaasOnline Software®, HaasBot®, HaasScript, HaasWidgets, and the HaasOnline Software logo are registered trademarks and intellectual property of HaasOnline Limited or its affiliates.