Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

New Algomojo API Functions GetQuote and FetchToken

1 min read

New Algomojo API functionalities added to support the user’s requirements to automate their trading requirements and the same can be accessed via Amibroker, Metatrader, Python, c# based platforms, Excel.

For Detailed Algomojo API Documentation visit here.

Supported Brokers : Aliceblue, Tradejini, Zebu

New API Functions

1)GetQuote

This API function retrieves the Todays Open, Todays High, Todays Low, Last Traded Price , Prev Day Close, Change,52 Week High and 52 week low etc.

API End Point

Aliceblue -  https://abapi.algomojo.com/1.0/GetQuote
Tradejini -  https://tjapi.algomojo.com/1.0/GetQuote
Zebu        -   https://zbapi.algomojo.com/1.0/GetQuote

Sample API Request

{
    "api_key":"c1997d92a3bb556a67dca7d1446b7087",
    "api_secret":"5306433329e81ba41203653417063c71",
    "data":
      {
         "Exchange": "NFO",
         "Symbol": "RELIANCE-EQ"
      }
}

Sample API Response

{
    "DecimalPrecision": 2,
    "Low": "2035.15",
    "SQty": 0,
    "openPrice": "2111.00",
    "TSymbl": "RELIANCE-EQ",
    "TotalSell": "NA",
    "yearlyLowPrice": "875.65",
    "Exp": "NA",
    "PrvClose": "2049.60",
    "vwapAveragePrice": "NA",
    "LTD": "NA",
    "yearlyHighPrice": "2369.35",
    "exchFeedTime": "0",
    "TickSize": "5",
    "Multiplier": 1,
    "optiontype": "XX",
    "TradeVolume": "0",
    "strikeprice": "00.00",
    "BRate": "00.00",
    "Change": "00.00",
    "LTP": "2049.60",
    "LTQ": "5",
    "PerChange": "00.00",
    "TotalBuy": "NA",
    "LTT": "NA",
    "companyname": "RELIANCE INDUSTRIES LTD",
    "stat": "Ok",
    "Ltp": "2049.60",
    "SRate": "00.00",
    "BQty": 0,
    "BodLotQty": 1,
    "Series": "EQ",
    "High": "2115.35"
}

2)Get Token

This API Function retrieves the trading symbol token value which helps user to access the token in order to send Bracket order and Modify Pending Limit Orders/Stop Orders

API End Point

Aliceblue -  https://abapi.algomojo.com/1.0/GetQuote
Tradejini -  https://tjapi.algomojo.com/1.0/GetQuote
Zebu         -  https://zbapi.algomojo.com/1.0/GetQuote

Sample API Request

{
    "api_key":"c1997d92a3bb556a67dca7d1446b7087",
    "api_secret":"5306433329e81ba41203653417063c71",
    "data":
       {
           "s": "USDINR21JANFUT"
      }
}

Sample API Response

{
    "stat": "Ok",
    "token": "1814",
    "symbol": "USDINR",
    "trading_symbol": "USDINR21JANFUT"
}

Let me know in comments if in case any specific API is required for automating your trades using Algomojo.

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

Algomojo Platform Now Open to Finvasia (Shoonya) Users

Algomojo, a leading Algotrading platform for DIY traders, is excited to announce that it is now open to Finvasia (Shoonya) users. This partnership aims...
Rajandran R
5 min read

Algomojo Platform Now Open to 5Paisa Users

Algomojo, a leading Algotrading platform for DIY traders, is excited to announce that it is now open to 5Paisa users. This partnership aims to...
Rajandran R
5 min read

Algomojo Platform Now Open to Goodwill Commodities Users

Algomojo, a leading Algotrading platform for DIY traders, is excited to announce that it is now open to Goodwill Commodities users. This partnership aims...
Rajandran R
5 min read

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More