A video explaining this process is available on YouTube
We are proud to announce that we have registered as partner with AliceBlue. They are one of the leading discount broker in India. They have lowest brokerage changes & they provide quite attractive margins as well. Click here to open an account with AliceBlue & get one month AutoTrader license free.
You can find more details on their website.
You need to install AutoTrader software.
You must have a trading account with AliceBlue.
NO need to subscribe to AliceBlue API.
Step 1 – Link AutoTrader with AliceBlue
- On aliceblue Trading Platform, You must set same answer to all security questions
- Example, set answer of all security question to secret (or any other answer)
- You can take aliceblue customer care help to change answers of security questions
New AutoTrader Users:
Install AutoTrader as per instructions given in Installation section of the user guide & then please enter following things on registration page:
- Platform: ALICEBLUE
- Trading Account id: Your aliceblue login id
- Trading Account Password: Your aliceblue login password
- Transaction Password: Your aliceblue transaction password
- 2fa Answer: Common answer to your security questions
Existing AutoTrader Users:
Enter following values in AutoTrader Settings -> Trading Platform :
- DEFAULT_CLIENT_ID: Your aliceblue login id
- LOGIN_PASSWORD: Your aliceblue login password
- LOGIN_2FA_ANSWER: Common answer to your security questions
- TRANSACTION_PWD: Your aliceblue transaction password
- PLATFORM_NAME: ALICEBLUE
- It is recommended to restart AutoTrader after changing settings
NOTE: Your trading account login id and/or password are stored on your local PC. Hence it is safe & Stocksdeveloper does not have access to your trading account by any means.
Step 2: Use correct instruments
Alice Blue instrument symbols differ a lot from other brokers like Zerodha or Upstox. Please use RTD screen to search for your desired symbols & then use correct Exchange & Trading Symbol in your placeOrder() functions or excel sheets.
Once AutoTrader is setup with correct credentials & AliceBlue platform, next step is to automate your trading. AutoTrader has built-in support for following software:
Now if you run your strategy in any other software, then please read Connecting AutoTrader with other softwares.
AutoTrader provides you a set of functions that you can use in your strategy code for automation. Please refer to the user guide for details about integrating AutoTrader with your strategy execution/charting software. The integration process depends on your software which executes strategies.
We will show some examples of integrating with AmiBroker. To understand the workflow, please refer AmiBroker AutoTrader workflow. AutoTrader comes bundled with some sample AFLs, you can find details in the user guide.
For a list of available functions, please refer AutoTrader Functions.
You can find correct instrument/stock symbol on instrument search page on AutoTrader menu (RTD -> Instruments).
Regular limit orders:
placeOrderUsingParams(“NSE”, “SBIN”, “BUY”, “LIMIT”, 1, 330, defaultTriggerPrice(), 1);
placeOrderUsingParams(“NFO”, “NIFTY JUL FUT”, “SELL”, “LIMIT”, 75, 11950, defaultTriggerPrice(), 1);
placeOrderUsingParams(“MCX”, “CRUDEOILM JUL FUT”, “BUY”, “LIMIT”, 1, 4050, defaultTriggerPrice(), 1);
Regular market orders:
placeOrderUsingParams(“NSE”, “SBIN”, “BUY”, “MARKET”, 1, 0, defaultTriggerPrice(), 1);
Regular stoploss orders:
placeOrderUsingParams(“NSE”, “SBIN”, “BUY”, “STOP_LOSS”, 1, 360, 358, 1);
placeOrderUsingParams(“NSE”, “SBIN”, “BUY”, “SL_MARKET”, 1, 0, 358, 1);
Note: We recommend you to look at actual samples available under AutoTrader installation at (C:\autotrader\scripts).