Friday, May 23, 2025

Amibroker Datafeed - Flattrade


FlatTrade Account

If you want to open account with Flattrade kindly use this link https://openaccount.flattrade.in/O_FT038256 

Donate

If you like my codes, consider for a donation. UPI details given in right side tab and in my telegram channel

Instructions

Amibroker API Integration read this post and follow the instructions.

Live Updates/instructions will be given in the telegram channel EasySimpleTradeUpdates

Join falttrade official telegram group @FlattradeAPISupport to get offical support

FlatTrade API

Get API from from Flattrade . Watch this video . Only for API . For Login and Orders new AFL available.


Login Script

From C:\API\Scripts folder, open Flattrade Login 1.py file in IDE or in notepad.


Change your credentials with in the quotes. Change User ID, Password, TOTP Key, API Ket and API Secret . It can run by from IDLE run module or double click to Execute. In Limits file no need to change anything. Limits file can run from Amibroker only.

Flattrade Dashaboard




Apply Flattrade Dasboard.afl on chart. You can apply on background sheet also like Sheet 2, Sheet 8 etc.

Login not work in morning between 5 to 7. Today login/token work upto tomorrow 5AM. If login in one pc, you can use the login response file in Primay and Secondary IP and use for back fill and order place. but use datafeed in one PC only.

For historical data, download 1 minute data frame . Higher time frame have some issues , particularly split days. So download in one minute, then resample.

Make seperate list EODList.csv for EOD data. For EOD data we need to send name only not token.