If strategy is the brain of an algo, then data is the fuel. Without data, your algo is just sitting there — clueless.
In this chapter, we’ll understand what kind of data algos use, where it comes from, and how it helps in making trading decisions.
In trading, data simply means information about what’s happening in the market.
The most common data points are:
Your algo looks at these data points and checks:
“Do they match the conditions I’ve set? If yes, take action.”
Note: Make sure historical data is adjusted for splits/dividends and has no missing timestamps—otherwise indicators and backtests will be wrong.
a.	This is near real-time market data (often 1-minute bars, sometimes tick-by-tick). Retail feeds may lag 1–15 minutes, so use a real-time source for live trades. 
b.	Algos use this to make decisions on the fly. 
c.	Helps answer: “Should I enter or exit this trade now?” 
Example: Using Data in a Simple Strategy
Let’s say your rule is:
Buy a stock if its 5-day moving average crosses above the 20-day moving average.
To check this, your algo needs:
This data feeds into your logic and tells the system:
“Yes, crossover happened. Time to buy!” 
Timeframes Matter
Data can come in different timeframes: 
The same stock can look totally different in different timeframes. So you need to choose a timeframe that matches your trading style.
The better your data, the better your decisions.
In the next chapter, we’ll explore the platforms and tools that help you run algos in India — no coding required. Let’s go!
Disclaimer: This article is for informational purposes only and does not constitute financial advice. It is not produced by the desk of the Kotak Securities Research Team, nor is it a report published by the Kotak Securities Research Team. The information presented is compiled from several secondary sources available on the internet and may change over time. Investors should conduct their own research and consult with financial professionals before making any investment decisions. Read the full disclaimer here.
Investments in securities market are subject to market risks, read all the related documents carefully before investing. Brokerage will not exceed SEBI prescribed limit. The securities are quoted as an example and not as a recommendation. SEBI Registration No-INZ000200137 Member Id NSE-08081; BSE-673; MSE-1024, MCX-56285, NCDEX-1262.
Disclaimer: This article is for informational purposes only and does not constitute financial advice. It is not produced by the desk of the Kotak Securities Research Team, nor is it a report published by the Kotak Securities Research Team. The information presented is compiled from several secondary sources available on the internet and may change over time. Investors should conduct their own research and consult with financial professionals before making any investment decisions. Read the full disclaimer here.
Investments in securities market are subject to market risks, read all the related documents carefully before investing. Brokerage will not exceed SEBI prescribed limit. The securities are quoted as an example and not as a recommendation. SEBI Registration No-INZ000200137 Member Id NSE-08081; BSE-673; MSE-1024, MCX-56285, NCDEX-1262.
Explore our comprehensive video library that blends expert market insights with Kotak's innovative financial solutions to support your goals.