Angel One Holdings and Positions in Excel

In this article

Connect Angel One to MarketXLS India, then enter AngelOneHoldings for your holdings and AngelOnePositions for open positions in Excel. Each function returns account data into a worksheet table.

See it in actionMarketXLS video
View current plans

Try it in your own spreadsheet

Get the free MarketXLS sample workbook (.xlsx).

No account needed. MarketXLS live data requires a paid plan. Preview workbook

Angel One Holdings and Positions in Excel - MarketXLS

Get MarketXLS India: plans and subscription · See the India Excel add-in

Start with this formula

After connecting the required broker in the India add-in, enter:

=MXLSIN.AngelOneHoldings()

Use the example as a starting point and replace its instrument, date range or cell references with your own inputs. Historical dates in examples are sample periods; expiry-specific symbols must refer to a valid contract.

Set up the worksheet

  1. Open Excel and install MarketXLS India from the add-in marketplace.
  2. Sign in with your MarketXLS India account. For broker data, connect Zerodha or Angel One using the add-in panel. Use the broker named by a broker-specific formula.
  3. Enter the formula in an empty area. Leave adjacent cells clear for any table or multi-cell output.
  4. Confirm the instrument and settings before extending the worksheet.

Install the India add-in, sign in to MarketXLS, and complete the Angel One connection in its panel. Put holdings on one sheet and positions on another so each result has room to expand. Keep your own notes and calculations outside those output ranges.

Build the working example

Inspect the returned fields before building totals. Holdings and positions answer different questions and should not be added together blindly. If you add a separate live price column, match it to the correct instrument rather than assuming every account row is an ordinary stock holding.

Functions and syntax

These examples use the India namespace, MXLSIN.. Square brackets in a syntax line indicate optional arguments; do not type the brackets into Excel. Keep text arguments in quotation marks and use cell references when you want editable inputs.

AngelOneHoldings

Lists the holdings in your connected Angel One account.

Syntax:

MXLSIN.AngelOneHoldings()

Example:

=MXLSIN.AngelOneHoldings()

AngelOnePositions

Lists the open positions in your connected Angel One account.

Syntax:

MXLSIN.AngelOnePositions()

Example:

=MXLSIN.AngelOnePositions()

AngelOneOrders

Lists the orders in your connected Angel One account.

Syntax:

MXLSIN.AngelOneOrders()

Example:

=MXLSIN.AngelOneOrders()

Check the result

These are account views, not a guarantee of a full historical tax ledger or transaction statement. Refresh behaviour depends on the function and broker session. Protect the workbook as account information; it can contain private positions and values.

If Excel reports #NAME?, confirm the India add-in is loaded and the function name is spelled correctly. If a table reports #SPILL!, clear the cells in its output area. For missing broker data, check the connection in the add-in panel, verify the symbol, and test one request before expanding the sheet. Do not replace an error with zero when zero would change your analysis.

Can I place orders from these formulas?

No. Holdings and positions functions read account information. Do not treat an account-data function as permission or functionality to submit trades.

Get this working in your Excel

Choose a MarketXLS India subscription, install the India add-in, and follow the steps above. The pricing page lists the current subscription options; broker access requirements are separate from the spreadsheet formulas.

Use the India function library for the complete parameter reference, or contact the India team with the formula, instrument and error message if you need setup help. Never send broker passwords or access tokens.

Continue with the India Excel workflow series for related guides.

About the authors
Robin

About Robin

Co-Founder & COO, MarketXLS

Robin is a co-founder and the COO of MarketXLS. He works with Ankur and Anagh on the MarketXLS blog, creating articles together about market data and spreadsheet workflows.

Written collaboratively by Robin, Ankur and Anagh.

Important Disclaimer

The information provided in this article is for educational and informational purposes only and should not be construed as investment advice, a recommendation, or an offer to buy or sell any securities. MarketXLS is a financial data platform and is not a registered investment advisor, broker-dealer, or financial planner. Always conduct your own research and consult with a qualified financial professional before making any investment decisions. Past performance is not indicative of future results. Trading and investing involve substantial risk of loss.

See MarketXLS in action

Bring this workflow into Excel.

Book a demo with our team to see how MarketXLS supports your market research.

Ankur
AnkurFounder & CEO, MarketXLS