In one line. The live link between the app and your broker account after you sign in to the broker. Brokers ask for a fresh sign in every trading day, and a Live order needs an active session.

Broker session, explained

Brokers expose their trading systems to outside apps through APIs. To use one, the app needs permission from the account holder, who signs in at the broker, often with a password and a one time code. The broker returns a token for the session, and the app presents it with every request. The token is not the password, and it carries only the rights the holder granted.

Because tokens expire, often by the next morning, a session left over from yesterday cannot place an order today. This is a security feature: a leaked token stops working soon, and a lost phone does not give permanent access. For the user it means a daily step of signing in at the broker before a live action, and a form will name an expired session when it finds one.

A session says nothing about the account's health or balance, only that the link works. An active session can still meet a failed order for lack of funds, a price band or a closed market. Practice mode needs no session since it touches no account. If a session lapses mid day, orders already placed stay with the exchange, but new ones cannot be sent until the holder signs in again.

A worked example

Illustration: a holder signs in to the broker at 9:00 am on Monday and the session lasts for that trading day. A rebalance at 11:00 am can send orders. On Tuesday at 10:00 am the same link has expired, so the app reports it and asks for a new sign in. Over a 5 day week that means up to 5 sign ins, one per trading day, and none on weekends or market holidays, when no orders are placed anyway.

Common misreadings

  • An active session means the app can see your password, but it holds only a limited token.
  • One sign in lasts until you log out, but broker sessions are set to end each trading day.

In the RupeeCase app

Invest sheet broker list ("Only brokers with active sessions are shown for live mode"), Dashboard broker sign in. Shown in Basic and Advanced.

How the app works it out. When it has expired the sheet says "Your broker session has expired. Sign in again from the dashboard before placing a live investment."

Watch: Invest sheet, Resume a rebalance.