Algo Trade Hono is a service that acts as a webhook event processor for TradingView alerts using Hono framework. It provides an endpoint for TradingView alerts to send messages as the body, which can be used to execute trades on a cryptocurrency exchange using APIs.
To get started, follow these instructions:
- Run npm install to install the necessary dependencies.
npm install
- Run npm run dev to start the server locally on localhost:8787.
npm run dev
To deploy the app to cloudflare worker, use the following command:
npm run deploy
To create the initial database, use the following command:
npm run migrate:init
To run the database migration, execute the following command:
npm run migrate:execute
The endpoint for the webhook is /v1/bingx
. The request body should be in JSON string format. You can customize the endpoint and integrate with your preferred broker API (e.g., Binance, Coinbase, etc.).
Feel free to customize the endpoint or add broker according to your specific requirements.