https://github.com/dimkl/crypto-bot
Automatic trading crypto bot
https://github.com/dimkl/crypto-bot
Last synced: about 1 year ago
JSON representation
Automatic trading crypto bot
- Host: GitHub
- URL: https://github.com/dimkl/crypto-bot
- Owner: dimkl
- License: mit
- Created: 2021-01-31T13:02:02.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-12T23:47:33.000Z (over 5 years ago)
- Last Synced: 2024-10-06T03:20:20.136Z (over 1 year ago)
- Language: JavaScript
- Size: 478 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crypto-bot
Automatic trading crypto bot
## Bitstamp Api Docs
see: https://www.bitstamp.net/api/
## Requirements
- Node
- env: BITSTAMP_API_KEY, BITSTAMP_API_SECRET
## How to run
- install dependencies `npm i`
- setup bitstamp or kraken api key and secret in `.env` file
```bash
BITSTAMP_API_KEY='KEY'
BITSTAMP_API_SECRET='SECRET'
# or
KRAKEN_API_KEY='KEY'
KRAKEN_API_SECRET='SECRET'
```
- execute script `cli/trade -s -a kraken -c xlmeur xrpeur`
## Development
## TODO
- [] support transactions and profit per transaction
- [] test sell & buy api calls using nock
- [] add buy & sell e2e flow with mock data