Automate trading strategy(s) and remove myself (my computing/decision making) from the equation by translating said strategy into business logic and using present and historical data to make decisions and therefore actions.
- A Gemini API wrapper (gemini-api) for Node.js is used to take actions in the crypto market.
- A CryptoCompare JavaScript API (cryptocompare) for observing present and historical data which will inform our orientation and decisions, and actions.
- Local environment variables (.env) and dotenv to store and load our API keys for Gemni and CryptoCompare (our keys are for the sandbox, but we treat them like live keys as a security standard).
The code includes a seperation of concerns and abstraction. Seperation of concerns:
- Exchange methods --> exchange.js
- Indicators methods --> indicators.js
- Strategy logic --> index.js (entry file)
Install dependancies
# yarn
Run bot
# yarn start