For the complete documentation index, see llms.txt. This page is also available as Markdown.

Arrow

Arrow

Arrow (arrow.trade) is an ultra-low latency, speed-first retail brokerage and API platform built by iRage Broking (one of India's leading algorithmic and High-Frequency Trading firms). It provides ultra-fast APIs, zero intraday/F&O brokerage, and institutional-grade tools to retail investors, regulated by NSE, BSE, and MCX. This API, used in the context of OpenAlgo integration, enables automated trading strategies, real-time market data access, order management, and more.

The integration process involves creating an app in the Trading API section, capturing the generated credentials, and configuring them in OpenAlgo's environmental variables.

Prerequisites

Before proceeding with authentication, please make sure you have:

1)Valid Arrow user credentials

2)Registered your redirect URL in the developer apps section (click on the profile icon and then click on Trading API's on the dropdown menu) of the main Trading App

3)Filled in the form with the required data (static IP is now mandatory as per the latest SEBI Circular)

4)Your application credentials, appID and appSecret, handy (click on the +Create New button in the Trading API section)

App Registration

Goto the main Trading App and login with your credentials. Sign up if you are a new user.

Step 1: Click on the profile icon and select Trading API's from the dropdown menu.

Step 2: Click the +Create New button to open the Create Trading API form.

Step 3: Fill in the form with the required details.

  • App name: a name to identify your app, for example openalgo

  • App Icon: an optional icon for your app

  • Redirect URL: http://127.0.0.1:5000/arrow/callback

  • Postback URL: a valid URL for order postback notifications (a dummy url such as https://google.com can be used)

  • Description: a short description of your app, for example openalgo

  • Static IP Address: your static IP, now mandatory as per the SEBI circular, for example 103.227.96.122

Step 4: Click Create key.

Step 5: On the App Created Successfully! screen you will see your App ID and App Secret. Copy both and keep the App Secret secure.

Save the generated appID and appSecret. Later we will be adding them in the environmental variable.

Here is a sample of how the details would appear in a .env file for reference:

Integrating OpenAlgo with Arrow's Trading API opens up possibilities for automated trading strategies, providing a powerful tool for traders and developers to act on market opportunities efficiently. It's essential to follow best practices for API integration, including handling rate limits, managing credentials securely, and ensuring robust error handling and logging mechanisms are in place.

Last updated