Giter VIP home page Giter VIP logo

mltradingbot's Introduction

TraderBot

Build a trader bot which looks at sentiment of live news events and trades appropriately.

See it live and in action ๐Ÿ“บ

Startup ๐Ÿš€

  1. Create a virtual environment conda create -n trader python=3.10
  2. Activate it conda activate trader
  3. Install initial deps pip install lumibot timedelta alpaca-trade-api==3.1.1
  4. Install transformers and friends pip install torch torchvision torchaudio transformers
  5. Update the API_KEY and API_SECRET with values from your Alpaca account
  6. Run the bot python tradingbot.py

N.B. Torch installation instructions will vary depending on your operating system and hardware. See here for more: PyTorch Installation Instructions

If you're getting an SSL error when you attempt to call out to the Alpaca Trading api, you'll need to install the required SSL certificates into your machine.

  1. Download the following intermediate SSL Certificates, these are required to communicate with Alpaca
  1. Once downloaded, change the file extension of each file to .cer
  2. Double click the file and run through the wizard to install it, use all of the default selections.

# Other References ๐Ÿ”—

-Lumibot:trading bot library, makes lifecycle stuff easier .

Who, When, Why?

๐Ÿ‘จ๐Ÿพโ€๐Ÿ’ป Author: Nick Renotte
๐Ÿ“… Version: 1.x
๐Ÿ“œ License: This project is licensed under the MIT License

mltradingbot's People

Contributors

nicknochnack 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.