Auto Quant
Project description
AutoQuant
AutoQuant is an out-of-the-box quantitative investment platform.
It contains the full ML pipeline of data processing, strategy building(includes AI & traditionals), back-testing, and covers the entire chain of quantitative investment: alpha seeking, risk modeling, portfolio optimization, and order execution.
With AutoQuant, users can easily try ideas to create better Quant investment strategies.
Quick Start
Installation
pip install --upgrade autoquant
Data Preparation
from autoquant.collector import Collector
from autoquant import Market
from datetime import date
collector = Collector.default()
data = collector.daily_prices(
market=Market.SZ,
code='002594',
start=date(2021, 11, 1),
end=date(2021, 11, 5)
)
Advanced Topics
Market
AutoQuant support Shanghai, Shenzhen, HongKong and US markets now. Use Market Enum in codes:
from autoquant import Market
Market.SZ
Market.SH
Market.HK
Market.US
Metrics
- Gross Rate Of Return
- CAGR(Compound Annual Growth Rate)
Price Provider
- BaostockProvider
- TushareProvider
Financial Statement Provider
- SnowballProvider
Contribution Guide
Test
Test all
PYTHONPATH=./ pytest
Test specified test
PYTHONPATH=./ pytest tests/<YOUR_DISIRE_FILE>.py -k "<YOUR_DISIRE_TEST_CASE>" -s
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AutoQuant-0.3.0.tar.gz
(8.1 kB
view details)
Built Distribution
AutoQuant-0.3.0-py3-none-any.whl
(10.7 kB
view details)
File details
Details for the file AutoQuant-0.3.0.tar.gz
.
File metadata
- Download URL: AutoQuant-0.3.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2205417b6a99bf736ee0a13716821cc8ff55cde385b24ed46c45539fa3837df8 |
|
MD5 | 0ec1555b14476254f6853ab917c3fa32 |
|
BLAKE2b-256 | 882f7f1fbf2b32e4d6515fa3a5339b42ac81e6c6615f54c414b36d3fe7bfb7a1 |
File details
Details for the file AutoQuant-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: AutoQuant-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d076772ceaccde0f00af86bf59301701ab131b1b1b085d5132ba6756dbb0f21f |
|
MD5 | cc2abf12cc0b3fbe4e93818d5e40622f |
|
BLAKE2b-256 | 4864cb5302b358a72e76c0b5446aec9b316636ef6adf438584e7747d91baa6d7 |