Running Distributed Algorithm Backtesting and Live Trading¶
Running Distributed Algorithms Across Many Celery Workers
Use this module to handle algorithm backtesting (tuning) or for live trading.
Under the hood, this is a Celery task handler that processes jobs from a broker’s messaging queue. This allows the Analysis Engine to process many algorithmic workloads concurrently using Celery’s horizontally- scalable worker pool architecture.
-
(task)
analysis_engine.work_tasks.task_run_algo.
task_run_algo
(algo_req)¶ Process an Algorithm
Parameters: algo_req – dictionary for key/values for running an algorithm using Celery workers