# Flattrade

### 🔗 Adding Static IP to Flattrade (Pi API v2)

Flattrade’s API management is handled through their Wall platform. Follow these steps to ensure your "Zero Brokerage" trading remains uninterrupted.<a class="button secondary"></a>

#### Step 1: Access the Developer Portal

1. Log in to the [Flattrade Wall Platform](https://wall.flattrade.in/).
2. In the top menu bar, locate and click on the Pi option (usually found on the right side).
3. This will open the Pi Connect API dashboard.

<figure><img src="/files/PjmfwImPPaGss7l1Vvgc" alt=""><figcaption></figcaption></figure>

#### Step 2: Create or Edit Your App

* Existing Users: Locate your current app and click the Edit icon.
  * *Note: Under Version 2, you are generally allowed only one active API key for retail trading.*
* New Users: Click on Create New API Key.

<figure><img src="/files/g62UiWcr4ynFMHvPBaU7" alt=""><figcaption></figcaption></figure>

#### 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>
3. URL Configuration:
   * App Name: Enter a name (e.g., *Arrownect\_Algo*).<a class="button secondary"></a>
   * Redirect URL: You must enter this exact URL for Algomojo:

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

<figure><img src="/files/RS7clKLvqTXTx0OZaluN" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1qCoV9vRowwkQ8oZKS7B" alt=""><figcaption></figcaption></figure>

#### Step 4: Review & Submit

* Review your configuration summary.
* Check the box to accept the Terms & Conditions.
* Click Create (or Submit). Your API Key and Secret Key will be generated immediately.


---

# 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/static-ip-integration/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.
