You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The investing algorithm framework is a Python framework designed to help you build, backtest, and deploy quantitative trading strategies. It comes with a event-based backtesting engine, ensuring an accurate and realistic evaluation of your strategies. The framework supports live trading with multiple exchanges and has various deployment options including Azure Functions and AWS Lambda.
17
-
The framework is designed to be extensible, allowing you to add custom strategies, data providers, and order executors. It also supports multiple data sources, including OHLCV, ticker, and custom data, with integration for both Polars and Pandas.
16
+
The Investing Algorithm Framework is a Python-based framework built to streamline the entire lifecycle of quantitative trading strategies from signal generation and backtesting to live deployment.
17
+
It offers a complete quantitative workflow, featuring two dedicated backtesting engines:
18
+
19
+
* A vectorized backtest engine for fast signal research and prototyping
20
+
21
+
* An event-based backtest engine for realistic and accurate strategy evaluation
22
+
23
+
The framework supports live trading across multiple exchanges and offers flexible deployment options, including Azure Functions and AWS Lambda.
24
+
Designed for extensibility, it allows you to integrate custom strategies, data providers, and order executors, enabling support for any exchange or broker.
25
+
It natively supports multiple data formats, including OHLCV, ticker, and custom datasets with seamless compatibility for both Pandas and Polars DataFrames.
26
+
27
+
18
28
19
29
## Sponsors
20
30
@@ -30,11 +40,14 @@ The framework is designed to be extensible, allowing you to add custom strategie
30
40
## 🌟 Features
31
41
32
42
-[x] Python 3.10+: Cross-platform support for Windows, macOS, and Linux.
33
-
-[x] Backtesting: Simulate strategies with detailed performance reports.
43
+
-[x] Event-Driven Backtest Engine: Accurate and realistic backtesting with event-driven architecture.
44
+
-[x] Vectorized Backtest Engine: Fast signal research and prototyping with vectorized operations.
45
+
-[x] Backtest Reporting: Generate detailed reports to analyse and compare backtests.
34
46
-[x] Live Trading: Execute trades in real-time with support for multiple exchanges via ccxt.
35
47
-[x] Portfolio Management: Manage portfolios, trades, and positions with persistence via SQLite.
36
48
-[x] Market Data Sources: Fetch OHLCV, ticker, and custom data with support for Polars and Pandas.
37
-
-[x] Azure Functions Support: Deploy stateless trading bots to Azure.
49
+
-[x] Azure Functions Support: Deploy trading bots to Azure.
50
+
-[x] AWS Lambda Support: Deploy trading bots to AWS Lambda.
38
51
-[x] Web API: Interact with your bot via REST API.
39
52
-[x] PyIndicators Integration: Perform technical analysis directly on your dataframes.
40
53
-[x] Extensibility: Add custom strategies, data providers, order executors so you can connect your trading bot to your favorite exchange or broker.
@@ -86,52 +99,39 @@ the 20, 50 and 100 period exponential moving averages (EMA) and the
86
99
import logging.config
87
100
from dotenv import load_dotenv
88
101
89
-
from pyindicators import ema, rsi
102
+
from pyindicators import ema, rsi, crossunder, crossover, is_above
90
103
91
104
from investing_algorithm_framework import create_app, TimeUnit, Context, BacktestDateRange, \
0 commit comments