MyAlgoGuru Help
Education Glossary Open the app
Help/Reference/Reporting

Managed Accounts

Fund managers use MyAlgoGuru to trade on behalf of clients. A fund manager is an AP user (`is_ap`) or an Administrator. For every client account the fund manager manages, the platform must keep an auditable record of the trades the fund manager placed and report the resulting gross P&L, the brokerage the fund manager charges, GST, statutory transaction charges and net P&L — on screen with charts, and as Excel and PDF documents that can be shared with the client.

Where you will find this

Managed account P&L.

Purpose

Fund managers use MyAlgoGuru to trade on behalf of clients. A fund manager is an AP user (is_ap) or an Administrator. For every client account the fund manager manages, the platform must keep an auditable record of the trades the fund manager placed and report the resulting gross P&L, the brokerage the fund manager charges, GST, statutory transaction charges and net P&L — on screen with charts, and as Excel and PDF documents that can be shared with the client.

Actors

  • AP user — marks accounts they manage, configures brokerage, views and exports reports for

their own managed accounts.

  • Administrator — may do all of the above for any account and may assign the managing AP.

Functional Requirements

| ID | Requirement | |----|-------------| | FR-MACC-001 | An AP user or Administrator can mark a broker account as a managed account and record the managing AP. An AP marking an account becomes its managing AP; an Administrator selects the managing AP. Unmarking stops new reporting but preserves history. | | FR-MACC-002 | For each managed account, the managing AP or an Administrator configures brokerage: either *per order* (one rate per executed order) or *per lot* (a per-lot rate for F&O and a separate per-order rate for equity cash trades). | | FR-MACC-003 | Brokerage configuration is effective-dated: each change applies from its effective date forward; earlier periods keep the rate that was in force. | | FR-MACC-004 | List the managed accounts visible to the requester, with their managing AP and the brokerage in force. | | FR-MACC-005 | Compute the realised (closed) round trips of the managing AP's trades in a managed account by FIFO matching. | | FR-MACC-006 | Close positions held to contract expiry at the exchange settlement price, labelled "Settled at expiry". | | FR-MACC-007 | Compute brokerage per the configuration in force on each trade's date, and GST on it. | | FR-MACC-008 | Compute statutory transaction charges per segment — STT/CTT, exchange transaction charges, SEBI turnover fee, stamp duty, GST — for NSE equity (intraday, delivery), NSE F&O, BSE F&O and MCX, using effective-dated rates. | | FR-MACC-009 | Report, for a period, gross P&L, brokerage, GST, each statutory item, total charges and net P&L, with trade count and win rate; per-day, per-segment and per-instrument breakdowns; and the round-trip detail. | | FR-MACC-010 | The reporting period defaults to month-to-date (IST); start and end dates are configurable. | | FR-MACC-011 | Show the report on screen with charts: cumulative net P&L, daily net P&L, gross vs charges, P&L by segment. | | FR-MACC-012 | Download the report as an Excel workbook. | | FR-MACC-013 | Download the report as a PDF document. | | FR-MACC-014 | Show a period summary across all managed accounts visible to the requester. | | FR-MACC-015 | Record the instrument lot size on each fill at fill time, so per-lot brokerage on historical trades is not changed by later exchange lot-size revisions. |

Business Rules

| ID | Rule | |----|------| | BR-MACC-001 | Only trades placed by the managing AP count — orders whose placing user is the managing AP, including algos and webhooks the AP owns (those are placed as their owner). Trades placed by anyone else in the account are excluded. | | BR-MACC-002 | Only closed (realised) trades are reported. Open positions and live MTM are never included. | | BR-MACC-003 | Realised P&L is recognised on the close date (IST). A round trip is in the period iff its close date is within it, even if it opened earlier. | | BR-MACC-004 | Matching is FIFO per (instrument, product). | | BR-MACC-005 | *Per order*: the rate is charged per executed order, on both sides; an order filled in several parts is one order. *Per lot*: F&O pays the per-lot rate × lots on each side; equity cash pays the equity per-order rate per executed order. | | BR-MACC-006 | GST at 18% is charged on brokerage + exchange transaction charges + SEBI turnover fee. STT/CTT and stamp duty carry no GST. | | BR-MACC-007 | A brokerage change never rewrites a period before its effective date. | | BR-MACC-008 | Paper-trading and simulator fills are excluded. Only real broker executions count. | | BR-MACC-009 | Expiry settlement: futures at final settlement price; index options OTM at 0 and ITM at intrinsic value from the underlying's settlement close; stock options ITM at intrinsic value, labelled physically settled. A missing settlement price is flagged and excluded from totals — never estimated. Settlement legs carry statutory charges only (no brokerage). | | BR-MACC-010 | Statutory rates are taken from primary sources and cited. A segment whose rates are not confirmed is flagged in the report rather than computed silently. | | BR-MACC-011 | Only the managing AP and Administrators may configure a managed account or view/export its reports. | | BR-MACC-012 | Reports are computed estimates of charges; the report states that broker contract notes are authoritative. |

Audit Events

| Event | When | |-------|------| | managed_account.marked | An account is marked managed (account, managing AP, actor). | | managed_account.unmarked | An account is unmarked (account, actor). | | managed_account.brokerage_scheduled | A brokerage configuration is added (account, mode, rates, effective date, actor). | | managed_account.report_exported | A report is downloaded (account, format, period, actor). |

Out of Scope / Known Limitations

  • Trades placed directly on the broker's own app or website (outside MyAlgoGuru) are not in the

platform ledger and are not reported.

  • Fill timestamps are the platform's observation time; fills reported together are combined at their

volume-weighted price. Totals are unaffected; per-fill detail may differ from contract notes.

  • MCX contract price multipliers must be verified per contract before MCX P&L is relied on; until then

MCX rows are flagged.

  • Trades recorded before FR-MACC-015 use the instrument's current lot size, flagged where inconsistent.