India's Fastest Realtime Data — Try 5 Days Free Now
[email protected] +91 990 999 3349 Mon–Fri 8:30 AM – 6:00 PM  ·  Sat 10:00 AM – 5:00 PM IST Mon–Fri 8:30–6 · Sat 10–5 IST Mon–Fri 8:30–6

Blog · Exchanges

Stocks, crypto and forex: how the data differs, and what changes in your code

Three markets, three clocks, three ideas of what “volume” means. If you build or trade across them, these differences decide whether your charts can be trusted.

Exchanges Beginner 29 September 2026 8 min read

A candle is a candle, until you put a stock chart, a crypto chart and a forex chart side by side. They open at different times, some never close, and the volume bar under each one measures something different. Traders and developers who move between markets get caught by the same handful of differences.

Three markets, three clocks

A weekday in Indian Standard Time 00:0006:0012:0018:0024:00 Equity (NSE)09:15–15:30 Commodities (MCX)09:00 to late evening Crypto24 × 7, weekends included Global forex24 × 5, Monday to Friday
Equity and commodity sessions are exchange-defined; the MCX evening session shifts with US daylight saving. Crypto never closes; global forex closes only at the weekend. Details in our trading hours guide.

What actually differs in the data

Stocks & F&OCryptoForex (spot)
VenueCentral exchangeMany exchanges, prices differOver the counter, no central venue
HoursFixed sessions, holidaysAlways openWeekdays, around the clock
VolumeReal traded quantityPer-exchange; quality variesUsually tick volume (price changes)
Daily candleSession open to closeDepends on the chosen time zoneCommonly the New York 5 pm close
GapsOvernight and weekend gapsAlmost noneWeekend gap only
Open interestPublished for derivativesPer-exchange for perpetualsNot for spot

What changes in your code

  1. Always store UTC, display local. A crypto daily candle computed in UTC and one in IST are different candles.
  2. Define “daily” explicitly per market. Session-based for equities; a chosen cut-off for 24-hour markets.
  3. Never compare volume across markets. Exchange quantity, per-venue crypto volume and forex tick volume are different quantities.
  4. Handle the calendar. Holidays matter for equities, weekends for forex, nothing for crypto — and your indicators must know which. The market data glossary defines the terms.
For Indian markets specifically: exchange-traded equities, F&O, commodities and currency derivatives all come from a central exchange with real volume and open interest — the cleanest data of the three worlds. Pix APIs and Pix Connect deliver it tick by tick; if you need a multi-market application built, our engineering team builds trading software across data sources.

Rules Indian traders must know

  • Forex: resident Indians may trade currency derivatives on recognised Indian exchanges in INR pairs and a few permitted crosses. RBI publishes an alert list of unauthorised forex trading platforms; trading on them is not permitted.
  • Crypto: gains on virtual digital assets are taxed at a flat 30% (section 115BBH), 1% TDS applies on transfers above the threshold (section 194S), and losses cannot be set off against other income.
Not tax or legal advice: rules change with each budget and circular. Confirm current positions with a qualified adviser before you trade.

A worked example: one day, three different candles

Take a single calendar day and ask each market for its “daily candle”:

  • An NSE stock returns one candle for the session, 09:15 to 15:30 IST. Everything outside the session belongs to no candle at all.
  • A crypto pair returns a candle from midnight to midnight — but whose midnight? A UTC candle runs 05:30 to 05:30 IST, so an Indian trader’s “today” is split across two of them.
  • A forex pair usually closes its day at 5 pm New York time, which falls at 02:30 or 03:30 IST depending on US daylight saving — so the forex day also shifts twice a year.

Put indicators with a daily lookback on all three and they are measuring three different windows. For comparisons across markets, resample everything to the same UTC boundaries first.

Symbols and contracts: three naming systems

MarketExampleWhat to handle
Indian equityRELIANCESeries, corporate actions, index membership over time
Indian F&ONIFTY futures, weekly and monthly optionsExpiry dates, strikes, lot sizes that change
Indian currency derivativesUSD-INR futures and optionsExchange sessions, expiry cycle, contract size
CryptoBTC/USDT on a given exchangeVenue as part of the symbol; quote currency
Global forexEUR/USDBase versus quote; broker-specific suffixes

Building one application across all three

A multi-market app needs one internal model that every feed maps into: a symbol record that includes the venue, a timestamp in UTC, a session calendar per market, and a clear flag for what “volume” means in each source. Get that model right first and adding a market is a connector; get it wrong and every new market is a rewrite. It is the first thing our engineering team designs when it builds trading applications.

Key takeaways
  • Equities trade in sessions, crypto never stops, forex closes only at weekends.
  • “Volume” and “daily candle” mean different things in each market.
  • Store UTC, define sessions explicitly, never compare volume across markets.
  • In India, forex is exchange-traded and INR-based; crypto gains face a flat 30% tax.

Sources: Income-tax Act, 1961, sections 115BBH and 194S. Reserve Bank of India, Alert List of unauthorised forex trading platforms. Exchange circulars on trading hours and currency derivatives.

Questions traders ask

Is forex trading legal in India?

Resident Indians may trade currency derivatives on recognised Indian exchanges, in INR pairs and a few permitted cross pairs. RBI maintains an alert list of unauthorised forex platforms that residents should not use.

How is crypto taxed in India?

Gains on virtual digital assets are taxed at a flat 30% under section 115BBH, with 1% TDS on transfers above the threshold under section 194S, and losses cannot be set off against other income.

Why does forex volume differ between data providers?

Spot forex trades over the counter with no central exchange, so there is no single consolidated volume. Most feeds report tick volume, a count of price changes, which differs by provider.

Test it on your own symbols

Five days of full realtime and historical access, on your platform or through the API. No card, no auto-charge.

Start your 5-day free trial