https://github.com/htfy96/future-price-predictor
Toy price predictor of future market
https://github.com/htfy96/future-price-predictor
Last synced: 14 days ago
JSON representation
Toy price predictor of future market
- Host: GitHub
- URL: https://github.com/htfy96/future-price-predictor
- Owner: htfy96
- License: agpl-3.0
- Created: 2017-05-08T07:05:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-04T14:42:42.000Z (about 9 years ago)
- Last Synced: 2025-03-03T07:41:33.573Z (over 1 year ago)
- Language: Python
- Size: 55.7 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# future-price-predictor
Toy price predictor of future market
## Requirements
Python 3.6, CUDA 8.0
```
virtualenv -p python3.6 --system-site-packages .env
source .env/bin/activate
source ./install.sh
```
You should place raw data at `data/DBExport` and `data/m0000`. Processed data is stored at `processed/DBExport.h5` and `processed/m0000.h5`.
Processed data could be read as:
```
import pandas as pd
with pd.HDFStore('processed/DBExport.h5') as store:
for k in store.keys():
frame = pd.read_hdf('processed/DBExport.h5', k)
# do sth to frame
frame.to_hdf('processed/DBExport.h5', k, mode='w')
```