GithubHelp home page GithubHelp logo

filipsuk / degiro-lambda-bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 377 KB

Automatically buys specified titles on DEGIRO with provided cron schedule.

License: MIT License

TypeScript 55.15% JavaScript 44.85%
degiro degiro-api lambda aws serverless

degiro-lambda-bot's Introduction

Degiro auto-buy bot

Automatically buys specified titles on DEGIRO with provided cron schedule.

  • Deployed by Serverless Framework
  • 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 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

degiro-lambda-bot's People

Contributors

filipsuk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.