How to create a real-time watchlist
Updated on 2019-12-12 10:24:26
|
To create a real time watchlist, you first need to have access to the premium version of QuantShare. You also need to have access to a real time data provider or you can use the free IEX or Live Forex feeds.
Here are the different steps:
- Create a dynamic watchlist (instructions can be found here: Create a watchlist)
- In the second screen (where you need to input the watchlist formula), select an intraday time frame (Example: 1m) next to "Select a time frame"
- Check the "Real Time" field and select a data source (If the list is empty then this means that you do not have any data provider connected, Check here to learn how to connect a data feed)
- Check the "Analyze on each incoming tick" if you want the watchlist formula to be analyzed on each incoming tick. Otherwise, it will be analyzed on the end of the specified time frame bar. This means that if you select a one minute time frame, the formula will be analyzed once a minute.
Note that you can use these four variables (bid, ask, bidsize, asksize) to get the last bid price, last ask price as well as the last bid and ask size
For example, you can add a column in your watchlist to display in real time the bid/ask spread.
sp = ask - bid;
AddColumn("Spread", sp);
Note that you can also sort by the spread just by clicking on the "Spread" column. The watchlist will be sorted automatically when the spread values change.
|