Python and Cython scripts of machine learning, econometrics and statistical tools for financial analysis [In progress]
Project description
fynance is a beta version of python/cython project [*] that includes several machine learning, econometric and statistical tools specialy adapted for trading strategy and financial analysis.
Description
This project contains several python (and cython) tools for trading strategy and financial analysis:
- Neural Networks
- Feature extraction methods
- Financial indicators
- Backtesting
- Econometric models
- Notebooks with some exemples
- Etc.
Please refer you to the documentation to see more details on different tools available in fynance package. Documentation contains some descriptions and examples for functions, classes and methods.
Installation
From pip
$ pip install fynance
From GitHub
Use the command:
$ git clone https://github.com/ArthurBernard/Fynance.git
$ cd Fynance
$ python setup.py build_ext –inplace
$ python setup.py install –user
Compile from cython files
If you want to compile fynance package from cython files you must edit setup.py file and set :: USE_CYTHON = True
And use the commad:
$ python setup.py build_ext –inplace
$ python setup.py install –user
Demo
- Backtest (performance, drawdown and rolling sharpe ratio) of a trading strategy did with a rolling neural network (see Notebooks/Exemple_Rolling_NeuralNetwork.ipynb for more details):
- Loss functions and performances (trading strategy) of five rolling neural networks on the training and testing period (see Notebooks/Exemple_Rolling_NeuralNetwork.ipynb for more details):
[*] | Package not achieved, always in progress. All advice is welcome. |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size fynance-1.0.6-py3.7-linux-x86_64.egg (803.5 kB) | File type Egg | Python version 3.7 | Upload date | Hashes View |
Filename, size fynance-1.0.6.tar.gz (1.6 MB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for fynance-1.0.6-py3.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | e53e6915970d6284da233482f60cb8fb2d54b10391eca0fd3f9d9204773b6c02 |
|
MD5 | 82b72341877b8f6bb07524c9f4735808 |
|
BLAKE2-256 | 87be8a728b6b7136016bb1bea75ccb19b9bfc77e7c050dd5851c81b79cbd1415 |