Live Streaming

Live Streaming — The Lifeline Between Vyapari and the Market

Live Streaming in Vyapari refers to the continuous data connection established with a Dalal — your data and trade gateway to the Exchange.
Through this connection, Vyapari receives multiple streams of live data and updates in real time.


Types of Live Data

Vyapari receives three distinct types of streaming data from the Dalal:

1. Price Tick Data

Live price updates from the Stock Exchange — every single trade that occurs in an Instrument.
Vyapari uses this tick-by-tick data to build and update the Bar Series for each instrument in real time.

2. Market Depth Data

Also known as Bid/Ask Data, this provides insight into the order book — current buy and sell orders pending at various price levels.
Useful for visualizing liquidity, momentum, and market sentiment.

3. Order Updates

Notifications from the Trade Engine about your own order activity —
order placements, modifications, fills, and cancellations — all streamed back instantly to keep your interface in sync.


Automatic Operation

The Live Streaming Service is built directly into Vyapari.
It starts automatically when the application launches — you don’t need to configure or trigger it manually.

Tip "Hands-Free Operation"

Vyapari handles connection management, reconnections, and data synchronization internally.  
You simply focus on trading, while Vyapari handles the data flow behind the scenes.

When Live Streaming Is Needed

Live Streaming must be running whenever you are:

  • Conducting Live Trading
  • Performing Forward Testing (real-time simulation)

Outside trading hours, however, the service becomes idle —
it consumes system resources but performs no useful work.


Resource Management

Vyapari includes a menu option to Start or Stop the Live Streaming Service manually.

It’s highly recommended to stop the service once trading hours are over, especially if:

  • You are backtesting historical data
  • You’re working on Strategies, Scanners, or Indicators after market hours

Stopping the service conserves both CPU and network resources.

Note "Best Practice"

Keep Live Streaming active only during live trading sessions.  
Disable it after hours to ensure your system stays responsive while you analyze or develop strategies.

Summary

Purpose Data Type Used For
Price Tick Data Trade-by-trade updates Building & updating Bar Series
Market Depth Bid/Ask information Analyzing liquidity & market structure
Order Updates Trade Engine notifications Tracking your live orders

Live Streaming is Vyapari’s heartbeat —
always pulsing during market hours, resting quietly when the session ends.