Files
executor/strategies/urls.py
Jongheon Kim 940d9bfe6e feat: add PDF report generation for backtest executions
- Implemented `generate_backtest_report` to create PDF reports for backtest results.
- Added `report_file` field to `StrategyExecution` for storing report paths.
- Introduced `/executions/<execution_id>/report/` endpoint for downloading reports.
- Enhanced backtesting flow to generate and save reports upon completion.
- Updated dependencies to include `matplotlib` for report generation.
2026-02-08 14:39:23 +09:00

11 lines
615 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('strategies/', views.list_strategies, name='list_strategies'),
path('strategies/execute/', views.execute_strategy, name='execute_strategy'),
path('strategies/backtest/', views.backtest_strategy, name='backtest_strategy'),
path('strategies/implementations/', views.list_available_implementations, name='list_available_implementations'),
path('executions/<int:execution_id>/', views.execution_status, name='execution_status'),
path('executions/<int:execution_id>/report/', views.download_report, name='download_report'),
]