Features
Now, let’s take a look at how to add Finvasia account in Stocks Developer.
Demo
Steps 1 – Setup API Key
- login to prism.shoonya.com
- Click on API key Button available on the top right
- Click on the API Key then click at generate & Copy it from there
Steps 2 – Setup TOTP
- Install Google Authenticator app on your phone
- We need the secret key that is provided by Shoonya when you enable the TOTP
- Login to Shoonya website
- Click on you login id on top right corner
- Click security (see screenshot 1 below)
- Click TOTP
- You’ll be shown your secret totp key; we need to enter this in autotrader web (see screenshot 2 below)
Steps 3 – Add your account
- Go to AutoTrader Web create account menu (Settings -> Trading Accounts)
- Select you broker as Finvasia
- Select platform KAMBALA_FIN_IPV4
- Enter trading platform login id & password
- Enter TOTP Key
- Enter API Key
- Enter Vendor Code
- Click Validate button
- On successful validation & save the account.
- Thatβs it, you have successfully added your Finvasia account. Do not forget to read these known limitations.
Screenshots
Static IP Setup
This is a 2 step process:
1. Create Broker API using any Dummy IP address
- If IP address is optional during API creation, then keep it blank.
- Otherwise, use a dummy IP address during API creation.
- IP Type: IPv4
- Primary Static IP:
- You can use this dummy IP generator website. OR
- You can just google “what is my ip” & enter your IP
- Note: we will update this later, in the next step
- Algo Registration Type: Non-Registered
- API/Algo Category: “Below” or “Less than” 10 orders per second
- Now add your account in our system (as explained above) & then come back to Step 2 given below.
2. Add your trading account in our system & then get Static IP
Once your account is successfully added in our system, then do the following:
- Get Static IP
- In our system, go to menu (Settings -> Trading Account)
- Click the “Pencil icon” next to your account to EDIT it
- Click “Get Static IP” button
- Depending on your broker, system will give either an IPv4 or IPv6 static IP
- IPv4 => Only one primary IP is provided
- IPv6 => Both primary & secondary IPs are provided
- Assign Static IP in our newly created API on broker’s API screen
- IP Type: IPv6 or IPv4
- Primary Static IP: (You will be shown in the EDIT screen)
- Secondary Static IP: (You will be shown in the EDIT screen – only for IPv6)
- Algo Registration Type: Non-Registered (less than 10 orders / second)
For further help, check this YouTube video showing “How to map Static IP?“