Alpha Vantage Inc. has partnered with major exchanges and institutions around the world to become a leading provider of stock APIs as well as forex (FX) and digital/crypto currency data feeds.
- Stock APIs in JSON, Excel & Google Sheets
- Forex and cryptocurrency data feeds
- 50+ technical indicators
- Global coverage
Adapter for use on Google Cloud Platform, AWS Lambda or Docker. Upload Zip and use trigger URL as bridge endpoint.
Install
git clone git@github.com:OracleFinder/CMCExternalAdapter.git
npm install
Create Zip:
zip -r cl-cmc.zip
Adapter can be deployed in Docker container as server within linux instance or ran as serverless adapter as function inside GCP or AWS.
AWS/GCP Setup
Create a cloud function in GCP or Lambda, and set the handler function according to the platform you are using.
GCP: gcpservice
AWS: handler
REMEMBER TO set the environment variable API_KEY to your CoinMarketCap API Key!
Docker Setup
docker build . -t cmcadaptor
docker run -d \
--name cmcadaptor \
-p 80:80 \
-e PORT=80 \
-e API_KEY=<YOUR CMC API KEY> \
cmcadaptor