KANA Capital

The bots trade.Nandan goes to work.

Nandan Adhikari is a banker with a full-time job. The trading bots he built place and manage his trades in Indian stocks and options while he is at his desk. KANA Capital is where he writes down how that works.

This site is for learning only. Nandan is not a SEBI-registered adviser, and nothing here is investment advice. Read the full disclaimer

One trading day, two schedules

The Indian market is open from 9:15 am to 3:30 pm, which is exactly when a salaried person cannot watch a screen. This is how the day is split between the bot and its builder.

8:45 am
The bot

Logs in to the broker, refreshes its access, and loads the instruments it will trade today.

Nandan

On the way to the bank.

9:15 am
The bot

The market opens. It starts reading live prices and marks out the opening range.

Nandan

At his desk, starting his actual job.

9:30 am
The bot

Looks for entries: a break out of the opening range, confirmed by trend and momentum indicators. Every order goes in with a stop-loss.

Nandan

In meetings.

11:00 am
The bot

Manages open positions. It trails stops, books targets, and stays out when its signals disagree.

Nandan

Still at work. The phone stays in his pocket.

3:15 pm
The bot

Closes intraday positions before the bell.

Nandan

Wrapping up the day's files.

3:30 pm
The bot

The market closes. It writes every order, fill and price to the day's log.

Nandan

Heading home.

Evening
The bot

Idle.

Nandan

Reads the log. What fired, what didn't, and what went wrong.

After midnight
The bot

Re-runs its backtests on the latest data so the next change is based on evidence.

Nandan

Asleep.

The bots

Two programs, built separately so that a problem in one never touches the other.

Index options bot

Trades index options intraday. This is the fast one: options move quickly, so entries, stops and exits all have to happen without a human in the loop.

  • Works on Nifty, Bank Nifty and Sensex options
  • Enters on opening range breakouts with indicator confirmation
  • Records live prices tick by tick so results can be checked later
  • Runs in paper mode first, then live

Stocks bot

Trades shares in the cash market. Stocks move less in a day than options, so its targets are set from what a stock usually gives on an average day.

  • Takes both long and short trades
  • Mostly intraday, with the option to carry a position forward
  • Backtests itself every night and on weekends
  • Keeps its data fully separate from the options bot

How a bot decides

A trading bot is a set of written rules followed without exception. Each trade goes through the same five steps.

  1. Read the market

    Live prices arrive from the broker's data feed, and the bot builds candles and indicators from them.

  2. Check the rules

    A signal counts only when several conditions agree. One indicator on its own is not enough.

  3. Size the risk

    Before any order, the bot knows how much it can lose on this trade and how much it has already lost today.

  4. Place and manage the order

    The order goes to the broker through its API. From then on the bot watches the stop-loss and the target.

  5. Exit and log

    The bot exits by rule, then records the real fill prices so the profit and loss figure is one you can trust.

What building them has taught

A bot removes emotion, not risk

It will follow a bad rule just as faithfully as a good one. The discipline is in the rules you write.

Your P&L is only as honest as your prices

If exits are calculated from assumed prices instead of real fills, the results look better than they are. Record what actually traded.

Backtests flatter you

History has no slippage, no delayed orders and no outages. Treat a backtest as a filter for bad ideas, not proof of a good one.

Paper trade before real money

Run the bot on live prices with pretend orders for weeks. Most bugs show up here for free.

Broker APIs fail

Logins expire, feeds drop and rate limits bite. A bot needs a plan for each of these before it holds an open position.

Read the log every day

Automation does the trading. It does not do the reviewing, and that part still takes a person.

About Nandan

A banker during market hours, a trader because of the bots.

Nandan Adhikari works full time in banking and trades the Indian stock and options markets. Since he cannot sit in front of a screen from 9:15 to 3:30, he built bots that do the day-to-day trading for him.

KANA Capital is the name he trades and builds under. This site shares how the bots work and what he has learned, for anyone curious about automated trading.

Disclaimer

  • Everything on this site is for education and learning only.
  • Nandan Adhikari and KANA Capital are not registered with SEBI as an investment adviser, research analyst or portfolio manager.
  • Nothing here is investment advice, a recommendation, or a tip to buy or sell any security.
  • KANA Capital does not manage money for others, sell signals, or promise returns.
  • Trading stocks and derivatives carries a high risk of loss, and most individual traders in futures and options lose money. Past results do not predict future results.
  • Speak to a SEBI-registered adviser before making any investment decision.

Ask about the bots

Questions about how something was built are welcome. Requests for tips or trade calls will not get a reply.

Email shrikanacapital@gmail.com