Login Page - Create Account

Support Board


Date/Time: Fri, 18 Oct 2024 06:40:31 +0000



Reset pulling and stacking data programmatically

View Count: 236

[2024-07-19 08:56:20]
User745789 - Posts: 269
Is it possible to do this, every N units of time?
[2024-08-16 18:24:59]
Sierra_Chart Engineering - Posts: 16656
The only way to do this is to reconnect to the data feed.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-08-16 20:40:09]
User719512 - Posts: 248
Doesn't the
ClearMarketDepthPullingStackingData
API introduced in v2513 do this programmatically? Or does "reset" mean something different for this question?
[2024-08-17 02:29:48]
User745789 - Posts: 269
ClearMarketDepthPullingStackingData

It sound like it is what I need. But I was looking here and didnt find it. https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html

Indeed, a search of that term in google only produces this thread as a hit. Where does it come from?

The only way to do this is to reconnect to the data feed.

Thank you. I searched but so far have not found an ACSIL function to disconnect/connect to the feed. Also, that process might be a bit slow. I need to clear pulling and stacking at an exact second time stamp. It has to be done within a second.

At the OS level, I created macro that gives cursor focuses on a DOM, and then click the Clear Pulling/Stacking button. And is executed using Windows Task Scheduler. But it is SLOW. And also I am not sure my OS clock is exactly the same as my SC exchange time. This task is very time specific.


...........

I inadvertently posted this in a duplicate thread of mine on the topic, and repost it here....

I see I can get the pulling/stacking values.
sc.GetAskMarketDepthStackPullSum()
sc.GetBidMarketDepthStackPullSum()

But I don't see where I can clear them with a function?

I note that there is a function to clear recent bid/ask volume for all symbols.
sc.ClearRecentBidAskVolumeAllSymbols()

Is it possible to have a similar function for pulling and stacking, all symbols clear?
Date Time Of Last Edit: 2024-08-17 02:34:16
[2024-08-17 02:36:30]
User719512 - Posts: 248
Not everything is documented as Sierra releases new functionality in the header files without documentation at the same time.
[2024-08-19 00:57:00]
Sierra_Chart Engineering - Posts: 16656
Yes we forgot about this ACSIL function:
sc.ClearRecentBidAskVolumeAllSymbols()

Also, there is a command when you right-click on the Values Scale, to clear the pulling and stacking data. We had forgotten about that. It was not on one of the main menus when we looked. And there is also a corresponding Control Bar button and keyboard shortcut.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-08-19 00:57:09

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account