Python Developer for Algorithmic Trading (Fyers API) – USDINR Strategy

Job ID: 40439115

Budget: $30 – $250 USD

Project Overview:
I am looking for an expert Python developer to automate a proprietary trading strategy (based on our System) for the Indian stock market. The logic is currently managed in a complex Excel workbook, and I need it translated into a robust, automated trading bot.

Key Requirements:

API Integration: Connect to Fyers API v3.

Instrument: USDINR Futures (NSE).

Strategy Logic (S1):

Data Retrieval: Fetch 3 days of historical OHLC data to calculate 2-Day Highest High (2DHH) and 2-Day Lowest Low (2DLL).

Entry: Long Entry at 2DHH + 0.05% buffer.

Exit/Targets: Manage 5 targets with partial profit booking (lot size scaling).

Stop Loss: Implement trailing SL and Stop and Reverse (SAR) logic (automatically flipping from Long to Short if SL is hit under specific conditions).

Time Constraints: Handle specific Order Placement Times (ORPT) and Revised Calculation Times (RC Time).

Gap Management: Implement rules to detect morning gaps and pause/recalculate levels based on the market open.

Risk Management: The bot must handle a capital of ₹50,000 and include safety checks for internet disconnection or API errors.

Deliverables:

Python source code (well-commented).

A local environment setup guide (handling Windows Device Guard/Policy restrictions).

A daily logging system that logs entries, exits, and P&L in a format I can compare with my Excel sheet.

Preferred Experience:

Proven experience with Fyers API or Zerodha Kite Connect.

Knowledge of the Indian Currency segment (USDINR).

Ability to translate complex Excel formulas into efficient Python code.