-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,19 @@ Simulates buying crypto-currencies over time. | |
Using historical data from CoinMarketCap, it runs a strategy against each week of data, buying coins. | ||
At the end of the run, it tells you the value of your holdings. | ||
|
||
|
||
**Requires Node.js.** | ||
|
||
## Default Strategy | ||
Buys the top 50 coins, by market cap, spending a total of $100 each week. To change the number of coins or the amount spend, | ||
edit `strategies/top50.js` or create your own strategy and call it via the `-s` option below. | ||
|
||
## Install | ||
``` | ||
git clone [email protected]:johntitus/coinsimulator.git | ||
cd coinsimulator | ||
npm install | ||
``` | ||
** Run | ||
## Run | ||
``` | ||
node simulate | ||
``` | ||
|