Skip to content

Crypto Profit Simulator using data from coinmarketcap.com historical snapshots

License

Notifications You must be signed in to change notification settings

mix1009/CryptoSim

Repository files navigation

CryptoSim

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.

Related posts & results

Requirements

  • go
  • make
  • MySQL server

Installation

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.

Running

./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.

License

MIT License

About

Crypto Profit Simulator using data from coinmarketcap.com historical snapshots

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published