ml-finance-python
python scripts for finance machine learning
git clone https://9o.is/git/ml-finance-python.git
README.md
(974B)
1 ## Engineering alpha factors
2
3 Based on a conceptual understanding of key factor categories, their rationale and popular metrics, a key task is to identify new factors that may better capture the risks embodied by the return drivers laid out previously, or to find new ones.
4
5 ### Useful pandas and NumPy methods
6
7 NumPy and pandas are the key tools for custom factor computations. The Notebook [feature_engineering](feature_engineering.ipynb) contains examples of how to create various factors.
8
9 The notebook uses data generated by the notebook [create_datasets](../../data/create_datasets.ipynb) script in the data folder in the root directory of this GitHub repo and stored in HDF5 format for faster access.
10
11 See the notebook [storage_benchmarks](../../02_market_and_fundamental_data/04_storage_benchmark/storage_benchmark.ipynb) in the directory for Chapter 2, Market and Fundamental Data for a comparison of parquet, HDF5, and csv storage formats for pandas DataFrames.