Cryptopy is our final project for NYU DS-GA.3001 Advanced Python programming.
-
Run the following to install required packages:
pip3 install -r requirements.txt
-
Run
run.py
to start the program:python3 run.py
-
Click System - Connect and fill in the settings:
- "API Key": "29855ca7-e615-4149-a4f6-1f2f6fa85603"
- "Secret Key": "A3DBCD1CA9ED6410C25417D3DBA138DA"
- "Passphrase": "NYUnyu1"
- "Server": "TEST"
- Click Tools - PortfolioStrategy
- Add PairStrategy
- strategy_name is arbitrary.
- vt_symbols: BTC-USDT.OKEX,BTC-USDT-SWAP.OKEX
- Click Init - Start
Run the following to download
python download_data/record_history_multithread.py
- Click Tools - DataRecorder
- Input BTC-USDT.OKEX to Local codes
- Click Add next to Tick Recorder
- Run Model.ipynb in Model folder