• Home
  • Products
    • Login
    • Product Info
    • User Guide
    • Pricing
  • Services
    • Stock Brokers
    • Freelancers
  • Help
    • Documentation
    • Knowledge Base
    • FAQ
  • Company
    • About Us
    • Contact Us
    • Terms & Conditions
  • Home
  • Products
    • Login
    • Product Info
    • User Guide
    • Pricing
  • Services
    • Stock Brokers
    • Freelancers
  • Help
    • Documentation
    • Knowledge Base
    • FAQ
  • Company
    • About Us
    • Contact Us
    • Terms & Conditions

AutoTrader Web

home/Documentation/AutoTrader Web
Expand All Collapse All
  • Index
  • Getting Started
  • Portfolio Management System (PMS)
  •  Copy Trading (Master-Child Auto-Copy)
    • Master-Child Copy - Performance
  • PMS vs Master-Child
  • Trading View
  •  Supported Brokers
    • Symphony XTS
    • Zerodha
    • Angel Broking
    • Dhan
    • Aliceblue
    • Fyers
    • Nuvama
    • IIFL
    • Zebu
    • Finvasia
    • Motilal Oswal
    • Kotak
    • Mastertrust
    • Five Paisa
    • Choice Broking
    • FlatTrade
    • Tradejini
    • Upstox
    • SAS Online
    • Profitmart
  •  Client Setup
    • Desktop Client
    • AmiBroker Library
    • Excel Library or Tools
    • Java Library
    • MetaTrader Library
    • C# Library
    • Python Library
    • HTTP REST
  •  User Interface
    • User Registration
    •   Settings
      • General
      • Trading Accounts
      • Pseudo Accounts
      • Group Accounts
      • API Key
    •   AutoTrader
      • Activity
      • Instruments
    •   Trading
      • Summary
      • Positions
      • Orders
      • Margins
      • Holdings
      • Trade
    •   User
      • Account
      • Profile
  •  API (Application Programming Interface)
    • Place Regular Order
    • Place Cover Order
    • Place Bracket Order
    • Place Advanced Order
    • Cancel Order
    • Cancel Child Orders
    • Cancel All Orders
    • Modify Order
    • Modify Order Price
    • Modify Order Quantity
    • Square-off Position
    • Square-off Portfolio
    • Read Orders
    • Read Positions
    • Read Margins
    • Read Holdings
    • Read Portfolio Summary
    • Fetch All Trading Accounts
    • Create or Update Trading Account
    • Validate Trading Account Credentials
    • API Parameters
    • API Rate Limits
    • Email Limits
    • Postman
  • Pricing
  • Precautions
  •  Broker Independence
    • API Functions
    • Pseudo Account
    • Instruments (Trading Symbols)
  • Quantity Multiplier
  • Architecture

API Functions

4288 views August 16, 2020 Pritesh 5

In order to make API functions independent, we hide the implementation details of each broker from our API users. In other words, our API users use functions that do not contain anything broker specific. The API implementation which is provided by us, internally checks for the trading platform from trading account settings. Once a trading platform is identified, that specific implementation is used. It can be best explained with an example.

The detailed documentation for each of the API function is here.

Example

Broker Independent API Function

placeOrder("PSEUDO_ACC_ID", "NSE", "BANKNIFTY_28-MAY-2020_CE_25000", "BUY", "LIMIT", "INTRADAY", 20, 230.55, 0);

If you look at above function, it does not use anything which is broker specific. It is obvious that the code above is going to place an order as per the parameters passed. Some parameters mentioned below may appear to be broker specific, but they are not. See details below,

  • “PSEUDO_ACC_ID” – It is not the id of actual trading account. It is more of a dummy or pseudo account, which is internally mapped in settings to the actual trading account. If you want to change stock broker, simply map it to another trading account. More details of broker independent accounts are provided in next chapter.
  • “BANKNIFTY_28-MAY-2020_CE_25000” – The symbols differ across brokers mainly for derivative contracts. This symbol is also not specific to a broker. It is a broker independent symbol, which the system automatically maps to the broker specific symbol when placing an order. Using this independent format means, even if you change the trading account from one broker to another; there is no need to change symbols in your strategy code. More details of broker independent symbols/instruments are provided in next chapter.

Was this helpful?

5 Yes  No
Related Articles
  • Master-Child Copy – Performance
  • Tradejini
  • Dhan
  • FlatTrade
  • Supported Brokers
  • Symphony XTS

© 2025 Stocks Developer. All Rights Reserved.