Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mix1009/cryptosim
Crypto Profit Simulator using data from coinmarketcap.com historical snapshots
https://github.com/mix1009/cryptosim
bitcoin cryptocurrency hodl profit simulation
Last synced: 13 days ago
JSON representation
Crypto Profit Simulator using data from coinmarketcap.com historical snapshots
- Host: GitHub
- URL: https://github.com/mix1009/cryptosim
- Owner: mix1009
- License: mit
- Created: 2018-04-24T07:56:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-24T09:03:19.000Z (almost 7 years ago)
- Last Synced: 2024-12-04T19:16:06.145Z (2 months ago)
- Topics: bitcoin, cryptocurrency, hodl, profit, simulation
- Language: Go
- Size: 9.77 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CryptoSim
Crypto Profit Simulator using data from coinmarketcap.com historical snapshotsThe simulation checks profit when you invest in top N currencies equally for W weeks.
Related posts & results
-----------------------
* [part 1](https://steemit.com/cryptocurrency/@mix1009/project-crypto-investing-profit-simulation-from-historical-data-1)
* [part 2](https://steemit.com/cryptocurrency/@mix1009/project-crypto-investing-profit-simulation-from-historical-data-2)
* [interactive 3d chart](https://mix1009.com/crypto/simulation)![Interactive 3d graph](https://mix1009.com/crypto/simulation/cryptoprofit_3d.png)
Requirements
------------
* go
* make
* MySQL serverInstallation
------------
> 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