Crypto Profit Simulator using data from coinmarketcap.com historical snapshots
The simulation checks profit when you invest in top N currencies equally for W weeks.
- go
- make
- MySQL server
git clone https://github.com/mix1009/CryptoSim
cd CryptoSim
get source from github
make install-packages
install required go packages
make
Build all executables.
vi config.json
edit config.json and fill database name, user, password.
./download
downloads historical snapshots to data directory.
./parse
parse historical snapshots from data directory and save it to database
./simulate
do the simulation. Edit main_simulate.go to change simulation parameters.
./simulate > out.csv
simulate output results to stdout. save data to out.csv
./simulate | tee out2.csv
save data to out2.csv and show results to stdout at the same time.
MIT License