Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 23:25:48 +0000



ASCIL code for everytime best bid or best ask updates value?

View Count: 492

[2021-06-10 16:23:57]
User339484 - Posts: 71
In ninjatrader its called OnMarketDepth (bid/ask/dom update) instead of OnMarketData (time and sales)

I am looking for a code that will give me the:
Time, Best Bid, Best Ask, Bid Quantity, Ask Quantity

Basically every time the best bid or best ask change in value I need to capture that data.
[2021-06-12 16:41:40]
User907968 - Posts: 802
Try looking through the available acsil functions you might find what you need.
For eaxmple sc.GetTimeAndSales()

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

Login

Login Page - Create Account