Crypto TradingView Python Bot Development

Job ID: 40497826

Budget: ₹1,500 – ₹12,500 INR

I need a fully-automated crypto trading bot that links my TradingView strategy (written in Pine Script v5) to live execution on Delta Exchange India.

Here is the trading logic the system must respect:
• Trend filter: act only when the closing price is above or below the 200-EMA.
• Entries: open a long or short as soon as the candle closes beyond that average.
• Risk management: initial stop on the candle’s high/low, fixed 1:5 risk-to-reward take-profit, plus a dynamic trailing stop that shifts at 1:1, 1:2 and 1:3 RR checkpoints.

The Pine script should be Strategy-Tester compatible and fire webhook alerts. On receipt of an alert, the Python service must parse the payload, authenticate with Delta Exchange’s API, and place, modify or close the corresponding order instantly and securely.

Deliverables
1. Pine Script v5 file containing the strategy, alert messages, and all user-adjustable inputs.
2. Well-structured Python 3 code (with virtual-env / requirements.txt) that:
– listens for HTTPS webhook posts,
– validates the signature,
– maps signals to Delta Exchange REST endpoints,
– handles position sizing, stop, TP and the staged trailing stop.
3. A simple .env-based config so key credentials stay outside the repo.
4. README or short Loom video showing local run, deployment on a small VPS, and how to add additional exchanges later if needed (Binance, Coinbase or Kraken support would be a bonus but is not mandatory).

Acceptance criteria
• Live tests on Delta Exchange using testnet keys prove entry, TP and all three trailing levels trigger correctly.
• No missed or duplicate orders when alerts fire in rapid succession.
• Clear inline comments let me tweak risk parameters without breaking the flow.

Please reply with one or two links or screenshots of previous TradingView-alert bots you have built in Python, especially those that already handle crypto exchanges.