# Flattrade

### Guiding Principles for how to get api key and api secret

1. #### &#x20;Click here to Start:

   To start click on this  **Flattrade developer portal** link- [**https://wall.flattrade.in/login**](https://wall.flattrade.in/login)
2. &#x20;**Login to Developer Portal:**\
   \
   ![](https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2F8M9jA9hX7oRUUESf5D3U%2FScreenshot%202024-03-22%20131151.png?alt=media\&token=a3b3534b-05e9-4d88-b48e-6e721819c38d)

* &#x20;Click the **Login** button, then navigate to the developer portal website as shown in the image above.\
  ![](https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FWh8wgQ4t2US2hVr5dfOU%2FScreenshot%202024-03-22%20131219.png?alt=media\&token=58f03cb5-d981-405d-a5b6-dfe24bc83001)
* &#x20; Enter your credentials (username, password and totp) to log in.

3. **Create a New App:**

&#x20;        Click the pi button as per  given image below<br>

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FS7jzNcgS9HlZ5s0DGhJR%2FUntitled%20design%20(1).png?alt=media&#x26;token=b006688f-89e8-4e8b-84b1-9bb2e08c52a5" alt=""><figcaption></figcaption></figure>

* After clicking in, navigate to the section titled "Create New API Key" and click the button to proceed, as shown in the image below.<br>

  <figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FDtgZhIWU9AWhYFrEKU6D%2FScreenshot%202024-03-22%20131252.png?alt=media&#x26;token=19fd0b7b-8b74-4dfa-839d-ef67f8a97cf9" alt=""><figcaption></figcaption></figure>
* Once logged in, navigate to the section where you can create a new Api Key.
* Click on the option to create a new API KEY.

#### Step 3: Enter IP & App Details

1. Select Volume: Choose the option for "Less than 10 orders per second" (unless you have specific exchange approval for higher frequency).
2. IP Configuration: \* Primary IP: Copy your Static IP from Arrownect and paste it here.
   * Secondary IP: (Optional) You can add a backup IP if you have one.<a class="button secondary"></a>

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FuatrDQmCThSGUcO02SwM%2FScreenshot%202026-03-30%20143253.png?alt=media&#x26;token=99b8711f-4666-4550-a39f-b7857645a7f6" alt=""><figcaption></figcaption></figure>

1. URL Configuration:
   * App Name: Enter a name (e.g., *Arrownect\_Algo*).

&#x20;     **Redirect URL:**

```
https://ft.algomojo.com/arrow-connect/am/login-response/index.php
```

* Ensure accuracy and completeness of the information entered to avoid issues later on.

![](https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FtjzR8tivRk34QEsYC3Mh%2Fimage.png?alt=media\&token=3daad5b7-44cd-4136-bb6b-7bf04767ed60)

5.**CREATE  API KEY & API SECRET:**

* After entering all the necessary details, click the "Create" button to create the new API key and API secret successfully.

6 **.Copy API key and API Secret**

&#x20;       Copy the API key as shown in Figure 1.5 below, and click the eye button to copy the secret key per Figure 1.6 given below.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FXnoygEzxOsyoEVnd49Sc%2FUntitled%20design%20(2).png?alt=media&#x26;token=8aa7f27d-459d-4fe4-bfa4-e1f495aa9dda" alt=""><figcaption><p>Figure 1.5</p></figcaption></figure>

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FfQlPPrnGbCp01dUpA9aW%2Fimage.png?alt=media&#x26;token=5969e451-7a7e-4074-a3d0-f8d8eba493ea" alt=""><figcaption><p>Figure 1.6</p></figcaption></figure>

&#x37;**.To start algomojo click on this link**[**-**](https://www.kotaksecurities.com/trading-tools/kotak-neo-trading-platform/trading-api/)&#x20;

#### Step 1: Capture Your Credentials

From your WallTrade

1. Locate your newly created App.
2. Copy the API Key.
3. Copy the API Secret Key.
4. Note down your Flattrade Client ID (e.g., A123456).

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FHFB5bsScwUXEppnlQgeH%2FScreenshot%202026-04-02%20093241.png?alt=media&#x26;token=e430920e-853f-43fd-94f8-95a57c895127" alt=""><figcaption></figcaption></figure>

On the New User Registration page of your trading bridge:

1. Broker: Select "Flattrade" from the dropdown.
2. Client ID: Paste your Flattrade Client ID.
3. API Key: Paste the key you copied from WallTrade.
4. API Secret: Paste the secret key you copied from WallTrade.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2FSUCUic1MzWiPACjpBwf0%2Fimage.png?alt=media&#x26;token=d09fb67f-be4a-4950-ab39-f0f72a4f7848" alt=""><figcaption></figcaption></figure>

1. Server Code: Paste the secret key you copied from Arrownect.
2. Server Token: Paste the secret key you copied from Arrownect.
3. Select Verify after it's shows active then choose Submit.

<figure><img src="https://3325206621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVBwGEcLA1yP8wEVFrXXf%2Fuploads%2Fs7rI5gtqCvDYjC3fePMQ%2Fimage.png?alt=media&#x26;token=888e1b95-0ed5-42c4-b769-98e76c2e8cbe" alt=""><figcaption></figcaption></figure>

#### ⚠️ Final Reminder

> Without the Arrownect Static IP and the Server Code/Token, you will be unable to log in to your account. The system is designed to verify that the request is coming from your specific, authorized server before allowing any trades.

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.algomojo.com/algomojo/brokers/login-to-broker/flattrade.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
