Using Own Algo Container
Overview
Backtest Workflow
Stage 1: Fetch Historical Tick Data
# Fetch tick history for a single day
curl -X POST "http://localhost:8080/datafye-api/v1/backtest/history/ticks/fetch/start?dataset=SIP&date=2024-12-01&symbols=AAPL,MSFT,GOOGL" \
-H "Content-Type: application/json"
# Response: {"status": null} # null status means successStage 2: Reset Environment State
Stage 3: Start Tick Replay
Stage 4: Analyze Results
Example: Complete Backtest Script
Best Practices
Iterate on Speed
Fetch Once, Test Many
Monitor Memory
Validate Against Live
Save Configurations
Limitations
Single Backtest at a Time
Manual Orchestration
Custom Metrics
Troubleshooting
Next Steps
Last updated

