Find ideal candidates
Project description
Project description Pairs_trading aim to help the algorithmic trading community to find the potential candidates base on metrics like cointegrating relationship between the candidates, stationarity of the spreads, level of persistent of the series, the frequency of mean reversion and also the half-life of the spreads for pairs trading.
add(syms, start, end) add symbols and desired time period
bring_in(price_df, start, end, type='candidates') import dataframe instead of adding a new one
restore(): using the backup dataframe as a new one
remove(syms) removing symbols
find_candidates() search candidates for pair trading
plot(index): visualize the results
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
Built Distribution
Hashes for Simple_PairsTrading-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 127ed7fb1448b57c7904e547c6512d08930b967fa205f9261bae1e4155213ded |
|
MD5 | b70e243436f19284cfcfe494f366ea67 |
|
BLAKE2b-256 | e1ea2fc5087a7c551cc0c3d52b2c58ccea54c9984fcbce26ba7f4b997c4f85b3 |
Hashes for Simple_PairsTrading-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71aa3e95bfa936ad536719b36d27e0cbf01080fb7b047448fa9ad597774ba017 |
|
MD5 | 01a9dbb8423950c35fd2e7213697079b |
|
BLAKE2b-256 | 1b65d4874d1b2dad74f58a85674d742ee6df1346b22446b5ce227b25fbe34770 |