Fix Vectorbt Backtesting Code

Job ID: 39524978

Budget: $10 – $30 USD

I'm looking for a freelancer experienced with Vectorbt to fix and develop a small piece of code. This code will be used to backtest trading strategies with the ability to manage multiple independent positions simultaneously.

Specific Requirements:

The code needs to meet the following requirements:

Manage multiple independent positions: When a trading signal appears, the system must be able to open a position (Long or Short) immediately, regardless of whether any other positions are already open. Positions should only be closed when they hit their Stop Loss or Take Profit.
Initial Stop Loss based on ATR: The Stop Loss for a newly opened order will be calculated based on the ATR (Average True Range) indicator.
Trailing Stop Loss based on ATR: Open positions need to have their Trailing Stop Loss updated, also based on ATR. The activation conditions for the Trailing Stop Loss are a minimum distance and a minimum profit achieved.

Freelancer Requirements:

Proven Experience (Mandatory before contract signing): You must have practical experience working with Vectorbt and have completed similar projects. Please provide demo code, images, or videos illustrating your past projects to demonstrate your capabilities before we proceed with signing any contract.
Source Code Handover: The source code must be fully handed over before payment is made.

I look forward to receiving proposals from highly skilled freelancers who can effectively solve this problem.
Related categories: Python Trading