NiveshBuddy Learn
Using NiveshBuddyBeginner

Recording Your Real Trades in a Simulation

If you follow a simulation at your broker, your real fills will rarely match it exactly. Five tools let you record what you actually did, without placing orders or changing the strategy, so the simulation stays a faithful record of your portfolio.

9 min readUpdated

What You’ll Learn

By the end of this article, you’ll understand:

  • Why a simulation drifts from what you actually did at your broker
  • Which of the five actions fits each situation
  • How to record a different fill with Edit Position, and what it does to cash
  • Where to check that a correction was applied
  • How Edit Settings differs from recording a trade

Goal

A simulation records what your strategy would do, at each day's closing price, with virtual money. If you also follow the strategy in your own broker account, what actually happens there will drift from it: you paid a slightly different price, bought a few shares fewer, skipped a stock, or added one the strategy didn't pick.

The tools in this guide let you record what you actually did, so the simulation keeps matching your real portfolio. None of them places an order, and none of them changes the strategy. Each screen says so in one line: "This reconciles your actual broker execution. It does not change the strategy."

The goal of this walkthrough is to correct one holding to match a real fill, check that the correction landed, and know which of the five tools fits each other case.

Before you start

Open the simulation's Active Portfolio tab. Under Current Holdings, every holding has a ⋮ menu at the end of its row (on a phone, on its card), and the list has an Add Position button above it.

Current Holdings with the ⋮ menu open on the CUPID row, offering Edit Position, Replace Holding, Exit Position and Remove Position
Four actions per holding

Two things to know first:

  • Any open position can be adjusted, at any time. It doesn't matter which rebalance entered it. Adjustments are locked only when the simulation is Stopped or Completed, or while an earlier change is still being applied.
  • A pill marks where a holding came from. Manual means you added it yourself; Adjusted for split, Adjusted for bonus or Adjusted for demerger means a corporate action changed its quantity or price, and hovering over the pill shows what changed. A holding with no pill came from the strategy.

The five actions

ActionUse it when…What it records
Add PositionYou bought a stock the simulation doesn't holdA purchase you already made: the stock, quantity and entry price. It is blocked when the portfolio is full or there isn't enough cash
Edit PositionYour real fill differed from the simulated oneThe correct quantity and average price. Correcting the price moves cash by the difference
Exit PositionYou sold a holding the simulation still holdsAn exit from the whole holding, at your price
Replace HoldingYou swapped one stock for anotherAn exit from one holding and an entry into its replacement, in one step
Remove PositionA position was recorded by mistakeNothing: it erases the entry as if it never existed

Remove is not an exit

Remove Position is for a position logged in error. It doesn't record an exit and writes no trade to the log, so any gain or loss on it disappears from the record. The dialog says so: "This is for positions logged in error — it does not exit, and no trade is written to the log. To record an exit, use Exit Position instead."

The Remove Position confirmation: Erase the recorded position in CUPID? This is for positions logged in error — it does not exit, and no trade is written to the log. To record an exit, use Exit Position instead. Cancel and Remove Position buttons
Erasing is not exiting

Steps: recording a different fill with Edit Position

In a hypothetical demo, Broad Market Daily Momentum Simulation entered WELSPUNLIV with 301 shares at the close on 16 October, at ₹219.30. Suppose your own buy of the same 301 shares filled a little higher, at ₹219.85, as your broker's contract note shows. Here is how to record that.

  1. On Active Portfolio, open the ⋮ menu on the WELSPUNLIV row (or card) and choose Edit Position.
  2. Leave Quantity at 301, since you bought the same number of shares.
  3. In Avg Price, enter what you actually paid: 219.85.
  4. Optionally, add a Note that says where the figure came from, such as the contract note. It is kept with the trade.
  5. Check the summary before you save. It shows each change as before → after, the Cash effect and the Cash balance after.
  6. Press Save Changes.
The Edit Position dialog for WELSPUNLIV, CMP ₹219.3: Quantity 301, Avg Price 219.85 and the note Broker contract note: 301 @ ₹219.85, a summary reading Quantity 301 → 301 and Avg Price ₹219.3 → ₹219.85, Cash effect −₹165.55 and Cash balance after ₹2,863.35, and the line This reconciles your actual broker execution. It does not change the strategy. Correcting the price moves your cash by the difference; portfolio value and the equity curve update after the next end-of-day run
Paying ₹0.55 more on 301 shares costs ₹165.55 of cash

The cash effect is simple arithmetic: you paid ₹0.55 more per share on 301 shares, so ₹165.55 more left your cash. Had your fill been lower, the cash effect would be positive. Correcting the quantity works the same way in the dialog, and restates how many shares you hold.

What to review

Right after you save, the holding is marked Update submitted, and a banner at the top of the page says the change is being applied: "Recomputing. Your change has been accepted and is being applied to the portfolio. The figures below are from before the change." In the demo it was applied within a minute.

The WELSPUNLIV row on Active Portfolio, highlighted, with an Update submitted pill beside the stock name while its Avg Price still shows ₹219.3
Submitted, and being applied

Once it has been applied, check three places:

  • Active Portfolio: the holding's Avg Price now reads ₹219.85, and its Unrealized P&L reflects the higher cost. The Cash Balance card has fallen by the cash effect.

  • Trade Log: the trade's Entry Price is corrected, your note appears as its User Remark, and Modified reads Yes, so it is always clear which rows you have changed.

    The Trade Log, scrolled across, with WELSPUNLIV at the top: Exit Price ₹219.3 marked CMP, a return of −₹165.55, Status Open, Entry Source System, User Remark Broker contract note: 301 @ ₹219.85 and Modified Yes, above unmodified rows marked No
    Your note travels with the trade
  • Logs: the change is recorded in plain words, with your note.

    Activity Logs with a Trade Price Corrected entry at the top: WELSPUNLIV: entry price ₹219.30 → ₹219.85. Remark: Broker contract note: 301 @ ₹219.85, dated 16 Oct 2026, above the day's Daily Update Completed and Portfolio Rebalanced entries
    What changed, from what, to what

In the Cash Ledger, the line for the original entry now shows the corrected amount; the correction doesn't add a separate line. As the dialog says, Portfolio Value and the equity curve catch up after the next end-of-day run.

The other four, briefly

Add Position opens on the strategy's Latest Strategy Rankings, dated as of the latest market update, with All Universe beside it for any other stock. Pick the stock, enter the quantity and Entry Price, and check the cash summary underneath before you add it.

The Add Position dialog: tabs Latest Strategy Rankings and All Universe, as of 15 Oct 2026, the note Rankings are for transparency, not recommendations, a search box and a ranked list where held stocks read In portfolio, then Quantity, Entry Price and an optional Note, a summary of Available cash, Estimated cost and Balance after, and the line This records a purchase you already made at your broker. It does not place an order, and it does not change the strategy
Rankings for transparency, not recommendations

The rankings are there so you can see where a stock stands under your own rules. As the dialog puts it, they are "for transparency, not recommendations".

Exit Position records an exit from the whole holding. Partial exits aren't supported: changing the quantity there restates how many shares you held, rather than exiting only some.

The Exit Position dialog for CUPID, CMP ₹314.55, with Quantity 175, Exit Price ₹314.55, an optional Note recorded in the activity log, Proceeds to cash ₹55,046.25 before transaction costs, and a note that the whole holding is exited because partial exits are not supported
The whole holding, at your price

Replace Holding records an exit and an entry together: it shows the holding being swapped out, then the same rankings to pick its replacement from.

The Replace Holding panel, Swapping out CUPID: the current holding, 175 at ₹314.55, then Latest Strategy Rankings and All Universe tabs as of 28 Oct 2026 with a search box and a ranked list, and a Replace Holding button that waits for a replacement to be selected
Out with one, in with another, in one step

Changing the rules: Edit Settings

Recording trades fixes the record. Changing what the strategy does next is a different tool: Edit Settings, on the Configuration tab.

The Edit Settings panel for Balanced Momentum Simulation: a note that changes take effect from the next daily update (stop losses from then, and which stocks are entered or exited from the next rebalance), that trades already scheduled still fill and that past trades and the cash ledger are not rewritten, a locked section Fixed for the life of this simulation listing Start Date, Starting Capital and Portfolio Size, then editable Universe & Filters and Technical Rules, and Cancel and Save Configuration buttons
New rules from the next daily update; the past stays as it was

Start Date, Starting Capital and Portfolio Size stay fixed; the rest of the rule set can change. A change takes effect from the next daily update, and which stocks are entered or exited from the next rebalance; past trades and the cash ledger aren't rewritten. What can change, and when.

Expected outcome

The simulation now holds what you hold, at the prices you paid. Every later rebalance works from that corrected portfolio, and the record shows plainly which trades were the strategy's and which were yours.

Keep the line between them clear. A strategy-generated trade is the rules at work; a recorded adjustment is you, reporting what happened elsewhere. Record your real trades faithfully, and the simulation stays useful as a companion to your own portfolio. Whatever you do at your broker remains your decision.

Common questions

Does recording a trade place an order?

No. These tools only record what you already did at your broker. NiveshBuddy places no orders, and nothing here changes the strategy.

Can I exit only part of a holding?

No. Exit Position exits the whole holding. Changing the quantity there restates how many shares you held, rather than exiting only some of them.

What's the difference between Remove Position and Exit Position?

Exit Position records an exit at your price, with its gain or loss. Remove Position erases a position that was logged by mistake: no exit, and no trade in the log.

Can I adjust a holding from an earlier rebalance?

Yes. Any open position can be adjusted at any time. Adjustments are locked only when the simulation is Stopped or Completed, or while another change is still being applied.

Key takeaways

  • These tools record what you actually did at your broker; they place no orders and don't change the strategy.
  • Edit Position corrects quantity and average price; correcting the price moves cash by the difference.
  • Exit Position exits the whole holding; Replace Holding exits one and enters another in one step.
  • Remove Position erases a position logged in error — it is not an exit.
  • Any open position can be adjusted at any time, until the simulation is Stopped or Completed.
  • Edit Settings changes the rules from the next daily update, and which stocks are entered or exited from the next rebalance; Start Date, Starting Capital and Portfolio Size stay fixed.