Need python/php automated trading on Zerodha API (Please respond ONLY if you understand full requirements)

Solution to be hosted on bigrock linux shared web server with cPanel

High-level Requirements

• Login to Zerodha

• Place Bracket Orders

• Exit Positions

• Status updates on Telegram bot

• Web Interface

Detailed Requirements


1. Login to Zerodha Account, generate access token, save in database.

2. Page to manage "Primary Settings", "Trade Settings" & "Stock Settings" (check attachments)

3. Manage = Add + Edit + Delete, or just upload csv files at once to update all settings

4. Create bot (1) in my telegram account and push proper error message whenever it encounters

5. bot (2) to push status updates for; Login Status, Advanced Orders Placed, Opening Orders Places, M2M by strategy at frequency set, M2M hit Stop Loss with net loss incurred, M2M hit Target Profit with net profit, final status of positions at 2:55 PM

6. bot (3) to push end of day net M2M by Strategy and Funds available in account, Margin Utilized

7. Log every details and events in mysql database (option to disable once the program is running successfully, should be able to re enabled if any error occurs in future)

8. Access to python script shall be restricted by login id and password

9. At 6PM fetch the Trade Log and update in database for future analysis.


10. Fetch strategy wise settings from "Trade Settings"

11. Schedule to run the program by Strategy defined in “Trade Settings”

12. Fetch the list of stocks “StockSettings” for scheduled strategy where Date column = Daily or Current Date

13. Fetch OHLC for the stocks listed (previous step)

14. If for the list of stocks fetched; Entry_Type, Entry_Price & Quantity is NOT mentioned

a. Check for list of stocks where Open Price = Today High and Open Price = Today Low

b. Shortlist stocks based on % change (stocks whose % change is greater than defined % and less than defined %), if total shortlisted stocks are greater than “Max_Positions” defined in Trade settings, sort the list by absolute % change (ASC Order) to short list again.

15. If for the list of stocks fetched; Entry_Type, Entry_Price & Quantity is mentioned

a. For the list of stocks if Entry_Type = BUY; check Current Market Price is Less than Entry Price and Day High is Less than Entry Price. if Entry_Type = SELL; check Current Market Price is Greater than Entry Price and Day Low is Greater than Entry Price

16. Divide capital to selected stocks

17. If Nifty_Index_Check = TRUE for the strategy, check if % Change is >= Nifty_Index_Min_Change, proceed with placing order if condition is satisfied, else ABORT

18. Place Bracket Order with entry price, stop loss and target profit, trailing stop loss

a. BUY if Open Price = Today Low : Entry Price = Today High + Trigger_Price_Addon

b. SELL if Open Price = Today High : Entry Price = Today Low - Trigger_Price_Addon


19. Exit all stocks by strategy at defined time or if any of the pre defined conditions met.

20. Check M2M by strategy (net profit or net loss of open positions), exit all positions (including pending) by strategy if M2M is >= target profit or <= stop loss (ex. if M2M <= -1000 rs or M2M >= 2000 rs exit \positions)

21. When exit command is triggered based on Trade Settings, Exiting positions shall happen in two phases

a. Phase 1: update bracket orders exit price to current market price (iteration 1)

b. Phase 2: if the positions does not close per iteration 1, force exit positions.

22. Stop checking once all open/pending positions by strategy are closed

Final Clean up:

23. Check and force exit all open positions and pending orders every 5 minutes starting 2:55 PM to 3:15 PM, this shall execute each time independently and not in loop, to ensure if there is any error to close the positions at first time, it should try to close them on next run


• Primary Settings (like credentials and overall settings)

• Trade Settings (at strategy level)

• Stocks Entry (at scrip level)

• Daily Trade Log

Skills Required: Python, PHP, MySQL, Telegram Bot, Proficiency in using Zerodha KITE API

Квалификация: Python, PHP

Показать больше wordpress blog script php automated posting, need freelancer php, php automated hosting scripts, php google pagerank google api, php automated buy ebay, speed java python php, need python tutoring, trading station api, automated trading system api, api automated trading, amibroker api automated trading, automated trading india api, need programmer automated trading sierra charts, automated trading nse india api, matlab api automated trading, api whatsapp python php, I need a php, python, Ruby developer to create an application in the cloud

О работодателе:
( 8 отзыв(-а, -ов) ) Bangalore, India

ID проекта: #22798891

6 фрилансеров(-а) в среднем готовы выполнить эту работу за ₹8875


Hello, Greetings! With a proven track record of successful achievements, I am pleased to present my application for your consideration as a Freelancer. Please have a look at my profile and portfolio to get an idea of o Больше

₹12500 INR за 7 дней(-я)
(58 отзывов(-а))

I am writing this proposal in order to work for you in Software and Web Development. We are highly trained professional developers seeking to freelance and earn online. Having a flair in programming and development I Больше

₹7000 INR за 7 дней(-я)
(21 отзывов(-а))

Hello, thanks for your good job posting. I have a experience of zerodha kite. I am always ready to accept your order and instructions and able to devote my hearts to you. If you have something to ask more in detail. Больше

₹20000 INR за 10 дней(-я)
(1 отзыв)

Hello, Warm Greetings! Thanks for taking the time to review my proposal! I have gone through the job description and understand that you are looking for an experienced WordPress/Php Developer.I am a professional Word Больше

₹1500 INR за 7 дней(-я)
(0 отзывов(-а))

Hi John K.! I have read your project detail and I noticed that you need an expert in php, python.I have 3 years experience in php, so i am capable to complete your task. Have a look at my previous work, ANIMATION WORK Больше

₹10750 INR за 7 дней(-я)
(0 отзывов(-а))

Hello, Thank you for posting your valuable project/inquiry. I have a completed more than 7000+ Projects in the same field, Having 17 years experience. I can do this work accurately and rapidly. I have study all the de Больше

₹1500 INR за 7 дней(-я)
(0 отзывов(-а))