Vectorbt Developer Needed – Multi-Position Strategy with ATR-Based Stops -- 4

Job ID: 39529534

Budget: $10 – $30 USD

Please read the entire job description and specific requirements carefully before submitting your proposal.
Project Overview:

We are looking for an experienced developer proficient in Vectorbt to enhance and debug a compact module used for backtesting trading strategies with multiple independent positions. This task is part of a broader trading system project and may lead to future collaboration based on performance.
Scope of Work:

Multiple Position Management
Enable the system to open new positions (Long or Short) independently, even if other positions are active.
Each position must be treated as a separate trade.
Positions are closed only when hitting Stop Loss or Take Profit levels.
Initial Stop Loss Based on ATR
Upon entry, calculate and apply Stop Loss using the Average True Range (ATR) indicator.
Trailing Stop Loss with ATR Logic
Implement a Trailing Stop Loss that updates dynamically using ATR.
The trailing logic should activate only when:
A minimum profit threshold is reached, and
A defined distance from the entry price is achieved.
Specific Trailing Stop Loss Requirements:
Conditions for Trailing Stop Loss Activation:
Position must have a minimum profit: profit >= atr_value * atr_trailing_start_multiplier
Distance to current price: trailing_distance = atr_value * atr_trailing_multiplier
Minimum distance from entry: min_trailing_distance = entry_price * 0.005 (i.e., 0.5% from the entry price)
Trailing Stop Loss Update Formula:
For Long trades: new_stop = current_price - trailing_distance
For Short trades: new_stop = current_price + trailing_distance
Only update if the new stop loss is more favorable than the current stop loss.

Deliverables:

A fully working Vectorbt module with the logic above.
Code must be clean, modular, and delivered in full before final payment.
A short demo (video, screenshots, or code snippet) must be provided before contract agreement.

Requirements:

Proven Experience with Vectorbt (Mandatory)
Please share relevant past projects, preferably with demo material (e.g., screenshots, short clips, or code samples).
Demo Submission Required Before Contract Signing
The ability to demonstrate relevant past work is non-negotiable.

Budget & Timeline:

Budget: $10-$30
Deadline: 2-3 days
Payment upon code verification.

Additional Information:

My test code is attached. Currently, it only calculates Trailing Stop Loss approximately and uses VectorbtPro. However, you are welcome to use the standard Vectorbt version and write the code in a more perfect way than mine to achieve the desired results.

If you have the required skills and can meet the timeline and budget, we’d love to review your proposal. Future work opportunities may be available based on your performance.
Related categories: Python Trading Backtesting