This external adapter uses the unauthenticated endpoints for connecting to the Binance Exchange API.
endpoint
: The endpoint of the API to querysymbol
: The symbol to query. Will default to"ETHUSDT"
if unspecified and required by the endpoint.
npm install
npm test
zip -r cl-binance.zip .
- In Lambda Functions, create function
- On the Create function page:
- Give the function a name
- Use Node.js 8.10 for the runtime
- Choose an existing role or create a new one
- Click Create Function
- Under Function code, select "Upload a .zip file" from the Code entry type drop-down
- Click Upload and select the
cl-binance.zip
file - Handler should remain index.handler
- Save
- In Functions, create a new function, choose to ZIP upload
- Click Browse and select the
cl-binance.zip
file - Select a Storage Bucket to keep the zip in
- Function to execute: gcpservice