Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipsuk/degiro-lambda-bot
Automatically buys specified titles on DEGIRO with provided cron schedule.
https://github.com/filipsuk/degiro-lambda-bot
aws degiro degiro-api lambda serverless
Last synced: about 1 month ago
JSON representation
Automatically buys specified titles on DEGIRO with provided cron schedule.
- Host: GitHub
- URL: https://github.com/filipsuk/degiro-lambda-bot
- Owner: filipsuk
- License: mit
- Created: 2020-12-12T12:26:50.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T20:12:04.000Z (almost 1 year ago)
- Last Synced: 2024-12-19T23:54:21.778Z (about 1 month ago)
- Topics: aws, degiro, degiro-api, lambda, serverless
- Language: TypeScript
- Homepage:
- Size: 368 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Degiro auto-buy bot
Automatically buys specified titles on DEGIRO with provided cron schedule.
- Deployed by [Serverless Framework](https://www.serverless.com/)
- Uses AWS Lambda for compute and AWS EventBridge for scheduling
- Should be within AWS free tier (check pricing and limits yourself)## Configuration
1. Copy `config/autoBuy.ts.example` to `config/autoBuy.ts` and replace values with desired settings.
2. Copy `.env.example` to `.env` and fill in your values.## Deployment
1. Install dependencies `yarn` or `npm i`
2. Follow [this guide](https://www.serverless.com/framework/docs/providers/aws/guide/credentials/) to create AWS account and configure credentials. Use `degiro-lambda-bot` as configuration profile name. E.g. `serverless config credentials --provider aws --key ABCD --secret 12345 --profile degiro-lambda-bot`.
3. `yarn deploy`## Development
1. Install dependencies `yarn` or `npm i`
2. Start serverless-offline `yarn start` or `npm start`
3. You can invoke the functions by POST requests. For example `POST http://localhost:3002/2015-03-31/functions/degiro-lambda-bot-dev-invest/invocations`