The Cloudflare Worker, which you can use as a callback URL within Finquota, to send notifications about your stock strategy updates via your preferred service provider.
Whenever you create a new strategy on Finquota.com, you can specify a new worker as a callback and receive notifications about your buy/sell events using your preferred service. You can technically extend this worker to bind Cloudflare D1 serverless SQL databases and store these events or bind KV or R2 storage storage.
This tool might help with forward testing ("real-time") your stock trading strategy and analyzing profits and losses before actually buying or selling anything.
Provider | Notification Type | Description | Env Variables |
---|---|---|---|
Mailgun | Mailgun Service Provider to send emails notifications. | MAILGUN_API_KEY = "your_mailgun_api_key" |
|
Slack | App Notification | Slack Webhook message notifications. | WEBHOOK_URL = "your_webhook_url" |
Google Chat | App Notification | Google Chat Webhook message notifications. | WEBHOOK_URL = "your_webhook_url" |
- Update
wrangler.toml
with env variables depending on your preferred provider (or use "secret" variables). - Run
yarn deploy
- Done!
You can find callback url in your Cloudflare dashboard account: Worker & Pages > Your Worker > Settings > Triggers > Routes
.
- Update
wrangler.toml
file with config settings. - Run
yarn install
- Run
yarn dev
- Run
yarn test
to run tests locally
Developed for educational purposes only, and please do not buy or sell anything unless you have tested it well and understand the risks.