Support Board
Date/Time: Wed, 15 Jan 2025 20:44:08 +0000
sc.GetRecentBidVolumeAtPrice() returning 0
View Count: 1165
[2017-09-03 16:02:13] |
@sstfrederik - Posts: 405 |
Hi, I am using sc.GetRecentBidVolumeAtPrice() in ACSIL but it always returns 0. I have the DOM setup as described in the documentation and see the DOM values just fine. I am using a replay to test this. I only see zero values for RecentBid/Ask. What am I missing here? Thanks, Frederik CurrentPrice = sc.BaseData[SC_LAST][sc.Index]; unsigned int RecentBidVolume = sc.GetRecentBidVolumeAtPrice(CurrentPrice); unsigned int RecentAskVolume = sc.GetRecentAskVolumeAtPrice(CurrentPrice); SCString noot; noot.Format("RecentBidVolume = %d, RecentAskVolume = %d, CurrentPrice = %f", RecentBidVolume, RecentAskVolume, CurrentPrice); sc.AddMessageToLog(noot,1); edit: The sc.UsesMarketDepthData variable is also set to 1. Date Time Of Last Edit: 2017-09-03 16:12:21
|
[2017-09-04 13:15:36] |
@sstfrederik - Posts: 405 |
It is working now on a live feed. Not working in the weekend apparently.
|
To post a message in this thread, you need to log in with your Sierra Chart account: