How to Buy and Sell Shares Online: Step by Step

In this article
    A two-day timeline from placing an order on day T to shares reaching the demat account on day T+1
    Buy on a trading day and the shares reach your demat account the next trading day.

    Arjun's accounts are open, ₹10,000 sits in his trading account, and he has picked a share trading at about ₹820. He opens the app and finds an order window full of fields. To buy and sell shares online you use your broker's app or website. To buy, you search for the share, choose the exchange, delivery or intraday, the quantity, the order type and price, and confirm; on T+1 settlement the shares reach your demat account the next trading day. To sell, you place a sell order and authorise the shares to leave your demat account, either through a DDPI you've signed or a one-time e-DIS approval from your depository. The sale money reaches your trading account the next trading day too.

    What do you need before your first order?

    • Active accounts: a demat and a trading account with KYC complete and your bank account linked. The lesson on what a trading account is explains how the three fit together.
    • Money available: added to your trading account from your linked bank account, or blocked in your bank through a 3-in-1 account or UPI.
    • The genuine app: your broker's official app or website, not a link from a message. The lesson on trading app safety shows how to check.
    • Market hours: normal trading runs from 9:15 am to 3:30 pm on trading days. An order placed outside those hours waits as an after-market order.

    How do you place a buy order?

    Every broker's screen looks a little different, but the fields are the same. Here's what Arjun fills in for a long-term purchase.

    The fields in a buy order window, with a delivery purchase as the example
    FieldWhat it meansArjun's choice
    Share and exchangeThe company, and NSE or BSE. Check the series too: EQ is normal trading on NSE.The company's EQ series on NSE
    ProductDelivery (often called CNC) to keep the shares; intraday (often MIS) for a position you'll close the same day; MTF to buy with the broker's fundingDelivery
    QuantityNumber of shares (one share is the smallest lot in the cash market)12
    Order typeMarket, limit, or stop-lossLimit
    PriceThe most you'll pay, in steps of the tick size₹820
    ValidityDay (waits until the close) or IOC (fills at once or cancels)Day

    Before confirming, the app shows how much money the order needs and usually an estimate of charges. Twelve shares at ₹820 need ₹9,840 plus charges. Read every field once more, then confirm. The lesson on order types explains the market, limit and stop-loss choices in detail.

    After you confirm, the order book in your app shows its status:

    • Open or pending: it's at the exchange, waiting for a seller at ₹820 or less. You can still change or cancel it.
    • Partly executed: some shares have been bought; the rest are still waiting.
    • Executed or complete: all 12 shares are bought. A trade can't be cancelled.
    • Rejected: the broker or exchange refused it, with a reason, such as not enough funds or a price outside the day's band.
    • Cancelled: you cancelled it, or a day order lapsed at the close unfilled.

    What happens after the trade?

    Suppose Arjun's order fills at 10:42 am on a Monday. That's trade day T, and settlement follows on T+1.

    What happens after a delivery purchase on T+1 settlement Two columns. Trade day T: the order is executed at 10:42 am, and by the end of the day the exchange sends an SMS and email of the trade; the broker sends the contract note within 24 hours. Next trading day, T+1: money is paid in by 11 am, and the shares are paid out directly to the demat account by about 3:30 pm. Trade day (T) Next trading day (T+1) 10:42 am Order executed End of day Exchange SMS and email Contract note within 24 hours By 11 am Money paid in By about 3:30 pm Shares in your demat
    A Monday purchase reaches the demat account on Tuesday afternoon; holidays push T+1 back.
    • The same evening: the exchange sends an SMS and an email of the day's trades to the mobile number and email your broker registered for you. The trade isn't just your broker's word.
    • Within 24 hours: your broker sends the contract note, the formal record of the trade and every charge. Here's how to read a contract note and check it.
    • On T+1: money is paid in to the clearing corporation by 11 am, and the shares are paid out directly to your demat account by about 3:30 pm. You can check them in your depository's statement as well as in the app. The lesson on clearing and settlement follows the whole chain.

    If you haven't paid for the shares in full, they still arrive in your demat account but are pledged automatically to your broker as unpaid securities. They're released once you pay within your broker's window, which can't be longer than five trading days; the lesson on whether your money is safe with your broker explains the rule.

    How do you sell shares?

    Selling starts from your holdings: pick the share, choose sell, and fill in quantity, order type, price and validity as before. The extra step is authorising the shares to leave your demat account.

    • With a DDPI: if you signed a demat debit and pledge instruction, your broker can deliver the shares you've sold without asking each time. SEBI's rules limit what a DDPI can be used for, such as delivering shares you've sold and pledging for margin, and say it isn't mandatory.
    • Without a DDPI: you approve each sale yourself through your depository's electronic instruction, called e-DIS. The app takes you to a depository page where you confirm, usually with a PIN and a one-time password sent to your registered mobile.

    Shares you sell aren't parked with your broker on the way. When they're delivered early, as they are when you approve a sale through e-DIS, SEBI has required since 14 November 2022 that they be blocked in your own demat account in favour of the clearing corporation, moving only at settlement. If the sale doesn't happen, the block is released and the shares stay yours.

    The sale money is paid out on T+1 and appears in your trading account. From there you withdraw it to your bank, or it comes back automatically when your broker settles your running account. Your depository participant charges its flat DP fee for each company on each day you sell, as the lesson on brokerage and trading charges explains.

    Can you sell shares you bought yesterday?

    Many brokers let you sell shares on T+1 before they've reached your demat account, sometimes called BTST (buy today, sell tomorrow). The risk is small but real: if the seller who owed you those shares fails to deliver, you can't deliver to your own buyer either. The clearing corporation then holds an auction, and if that fails, the trade is closed out at a penalty price that can be well above the market. Shares already sitting in your demat account carry no such risk.

    What's different about intraday orders?

    An intraday (MIS) position must be closed the same day. If you don't close it, the broker squares it off automatically near the close, at whatever the price is then, and some brokers add a fee for it. Charges differ too: securities transaction tax on an intraday trade is 0.025% on the sale only, against 0.1% on both sides for delivery.

    That's why the product field matters so much. Choose intraday by mistake for a long-term purchase and the shares are sold the same afternoon. Intraday trading has its own lesson later in this module.

    Which first-order slips are most common?

    • Choosing intraday instead of delivery, or the other way round.
    • An extra zero in the quantity. Read the order value before you confirm.
    • A market order in a thinly traded share, filled well above the price on the screen.
    • The wrong share or series: two companies with similar names, or a share in a trade-for-trade series.
    • Selling without approving the e-DIS request in time, so the sale can't be delivered.

    As of December 2026. T+1 settlement timings (pay-in by 11 am, securities pay-out by about 3:30 pm) from SEBI's master circular for stock exchanges and clearing corporations, as summarised in the clearing and settlement lesson; block mechanism mandatory for early pay-in from 14 November 2022 (SEBI circular of 18 August 2022); DDPI from SEBI's circular of 4 April 2022; unpaid securities rules from SEBI's circular of 3 July 2026. Check the current rules on the SEBI website.

    Key takeaways

    • To buy, you choose the exchange, delivery or intraday, quantity, order type, price and validity; check every field before you confirm.
    • On T+1 settlement, shares bought on a trading day reach your demat account the next trading day, and sale money is paid out the same day.
    • Selling needs your authority to debit the shares: a DDPI (optional under SEBI's rules) or an e-DIS approval from the depository for each sale.
    • An intraday (MIS) position is squared off the same day, so choosing it by mistake for a long-term purchase is a common and costly slip.

    Quick quiz

    3 quick questions on this lesson. Choose your answers, then press Check answers.

    1. Arjun buys shares on a Monday. Monday and Tuesday are both trading days. When should the shares reach his demat account?

    Choose one answer.

    Show answer

    Answer: Tuesday, by about 3:30 pm. Equity trades settle on T+1: money is paid in by 11 am on the next trading day and shares are paid out directly to the buyer's demat account by about 3:30 pm. A holiday on Tuesday would push it to the next trading day.

    2. Which of these are proper ways to authorise shares leaving your demat account when you sell?

    Choose all that apply.

    Show answer

    Answer: A DDPI that you chose to sign with your broker; An e-DIS approval on the depository's page for that sale. A DDPI, which is optional, or an e-DIS approval for each sale are the routes SEBI's rules provide. Sharing logins or blank signed slips hands someone else control of your shares.

    3. If you choose intraday (MIS) instead of delivery for a long-term purchase, the position can be squared off automatically the same day.

    True or false?

    Show answer

    Answer: True. An intraday position must be closed the same day, so if you don't close it the broker squares it off near the close. That's why the product field matters as much as the price.

    Facts checked: 4 December 2026.

    Official sources:

    Disclaimer: This lesson is for educational purposes only. It is not investment, tax or legal advice and does not recommend buying or selling any security, fund or other product. The author is not registered with SEBI as an investment adviser or research analyst. Companies, people and figures in the examples are hypothetical unless stated otherwise. Investments in the securities market are subject to market risks. Rules and rates change, so check the official sources before you act, and consult a SEBI-registered investment adviser for advice on your own situation.