Cancelado

Need a simple python script to trade using Zerodha API. Max Budget: 5000 INR

Need simple python script to trade using Zerodha API, I have tried to detailed it.

IMPORTANT: Max Budget: 5000 INR

Requirements in short:

1) Requirement1: when i ask script to place order, check OHLC and it should keep checking current market price and Place Orders only when current market price reach to entry price (replicating limit order)

2) Requirement2: Place different types of orders - Regular Order (CNC), Bracket Order (MIS), Cover Order (MIS) and Stop Loss Order

3) Requirement3: Modify Stop Loss Orders (replicating trailing stop loss order like in bracket order)

4) Requirement4: Exit Positions when current market price reach to stop loss or take profit levels or time is 3 PM

Requirements in Detail:

===I will pass trade call information in below csv rows format through STOCKS_LIST variable

======Exchange (NSE/FNO), Stockname, BUY/SELL, Order Type (Regular Order, Bracket Order, Cover Order), Quantity, Entry Price, Stop Loss %, Take Profit %, Trailing Stop Loss, Tag Text

======Exchange (NSE/FNO), Stockname, BUY/SELL, Order Type (Regular Order, Bracket Order, Cover Order), Quantity, Entry Price, Stop Loss %, Take Profit %, Trailing Stop Loss, Tag Text

======Exchange (NSE/FNO), Stockname, BUY/SELL, Order Type (Regular Order, Bracket Order, Cover Order), Quantity, Entry Price, Stop Loss %, Take Profit %, Trailing Stop Loss, Tag Text

Need your help with below

Function1: Validate Order

===fetch OHLC for all entries in the STOCKS_LIST at once,

======for each entry in STOCKS_LIST check if it meets entry criteria

========> in case of BUY order, check Entry Price > High,

========> in case of SELL order, check Entry Price is < Low

======if entries meet the criteria, update ORDER_LIST and delete entry from STOCKS_LIST

Function2: Order Manager - through Tick Data Stream (This function should run parallelly and autonomously)

===If ORDER_LIST is not empty - start streaming tick data for them

===Inner Function A: to place order

======If ORDER_LIST is not empty:

=========for each entry in ORDER_LIST check if current market price reach to trigger price.

=========if reached then place order (in case of Regular Order, place additional Stop Loss Order)

=========delete entry from ORDER_LIST to avoid duplicate order

===Inner Function B: to modify stop loss order (except in case of Bracket Order, since trailing stop loss is builtin)

======Fetch Pending Orders and specifically Stop Loss orders

=========check if the current market price is going in desired direction; then update stop loss order value in incremental based on Trailing Stop Loss value

===Inner Function C: to exit order

======Fetch Open Positions

=========If current market price reached to Stop Loss / Take Profit then exit the open position (and exit all associated orders with current open position)

NOTE1: Stream Tick Data only for Stocks in ORDER_LIST and Open Positions (to avoid fetching unnecessary stocks which may cause delay)

NOTE1: Exit all open positions and pending orders at 3 PM

NOTE3: Autonomous Function/Loops - need to run in parallel

Python 3.8.5

Habilidades: Python

Sobre o Cliente:
( 8 comentários ) Bangalore, India

ID do Projeto: #28023640

6 freelancers estão ofertando em média ₹4951 nesse trabalho

Ervinmittal

Greetings, An Elite Indian Python programmer is here at your assistance. I am highly optimistic about this project after patiently gone through its comprehensive details. I have worked on similar projects before & by Mais

₹1050 INR in 7 dias
(8 Comentários)
4.4
vanshtuli

Hi, I have been trading algorithmically using python for the last one year. Already working with Zerodha, Alice blue, and fyers API. These are Indian brokers providing APIs. Currently, have few fully automated trading Mais

₹13000 INR in 7 dias
(6 Comentários)
4.0
RachitIndia1

Let us start a quick chat. So I can start asap. Intro Hello, my name is Rachit. I have gone through your setup term and this function fits within my sphere of aptness. I would relish to come on board and start the fun Mais

₹5000 INR em 1 dia
(0 Comentários)
0.0
Aayush1501

hello sir/madam I can do your work in cheap rate. And I try my best to complete your work U. And send your work I will do it . Thanks

₹600 INR in 2 dias
(0 Comentários)
0.0
bhavyu11

I will fit in beautifully and be a great addition to the team. I possess a combination of skills and experience that make you stand out from the crowd. Hiring me will make you look smart and make your life easier.

₹4500 INR em 1 dia
(0 Comentários)
0.0
richardxxx0x

I will write python script to help you to get what you [login to view URL] any problem ,I can help you to solve it.

₹5556 INR in 5 dias
(0 Comentários)
0.0