Samco Prime Trade Automation with Dhan API

Job ID: 39859520

Budget: $30 – $250 USD

Project Title:

Automate Samco Prime Trades using Dhan API (Intraday Index Option Trading Bot)

Project Description:

I am a retail trader from Hyderabad, India.
I want to automate Samco Prime option trades using Dhan API. The goal is to scrape trade recommendations from the Samco website and execute them automatically in my Dhan account with proper SL/Target using a Super Order.

Key Requirements:

Data Scraping

Login once to https://web.samco.in/discover/FNO/recommendation/INT

Scrape Samco Prime intraday index option calls (NIFTY / SENSEX).

Refresh data continuously to monitor new or exited trades.

Trade Execution (Dhan API)

Place Super Orders in Dhan with:

Entry price (limit order)

Stop loss

Target price

Exit the trade early if Samco exits it and cancel all pending SL/Target orders.

Use my capital input (e.g., ₹30,000) to calculate number of lots based on Samco’s stop-loss percentage.

Example:

If SL = 30%, use ₹30,000 capital.

If SL = 100% (hero or zero), use ₹9,000 capital.

Minimum base capital: ₹10,000.

Session Handling

I will provide OTP once in the morning for Samco login.

The script must maintain an active session automatically till market close (3:30 PM).

Must run unattended on a VPS (not my local PC).

Notifications

Send Telegram alerts for trade entries and exits.

WhatsApp alerts optional (only if low/no extra cost).

Deployment

Should run 100% unattended on VPS.

Developer should handle session refresh, stability, and API error handling.

Deliverables:

Complete working Python script (or preferred language)

VPS deployment setup

Documentation for configuration

Testing with demo trades before live use

Payment Terms:

Fixed price per project (not hourly).

Payment via Freelancer milestones:

Scraping module complete

Trade placement logic tested

VPS deployment & final testing

Skills Required:

Python / Node.js (preferred)

Web scraping (Selenium, Requests, BeautifulSoup)

Dhan API integration

Experience with trading automation

Telegram Bot integration
Related categories: PHP Python Web Scraping Node.js Docker API BeautifulSoup Trading Selenium VPN