Coder Social home page Coder Social logo

mafischer / trader-bot Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 7.0 754 KB

A stock trading bot with trade strategy plugins.

License: ISC License

JavaScript 61.16% HTML 1.56% Vue 37.28%
bot stock nyse nasdaq broker robinhood electron vue nodejs javascript

trader-bot's People

Contributors

dependabot[bot] avatar mafischer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

trader-bot's Issues

Activity Log Screen

  • An activity log screen
    • Shows activity that is otherwise console logged.
    • load the logs from default log file

Add Webull broker

Add Webull broker

  • API functions should be async
  • API function names should match the robinhood api function names

Select Strategies Screen

A screen that prompts user to select from available trading strategies:

  • A list labeled Available Strategies should be displayed
    • The list is populated from the trader.strategies table and excludes those strategies found in the trader.eelected_strategies table.
  • A list labeled Elected Strategies should be displayed
    • The list is populated from the trader.elected_strategies table
  • When a user selects (clicks on) a strategy
    • a description of the strategy should be displayed on screen.
    • the selected strategy should be highlighted in the list that contains it.
  • A user can move a strategy from one list to another.
    • Drag and drop
    • >> or << button moves a selected strategy to the other box
  • There should be a Cancel button
    • not enabled until after the initial setup is complete
    • the cancel button will exit the Strategies Selection screen
  • There should be an OK button
    • not enabled unless at least once strategy is added to the Elected Strategies list
    • the OK button will record the elected strategies in the trader.elected_strategies table

trader-bot needs to be daemonized

  • Use forever to daemonize trader-bot
  • Special consideration will need to be made to unlock the credentials when the daemon starts trader-bot
    • Use electron and open application login window at trader-bot startup.
    • Trader-bot will run in standby mode waiting for credentials to be unlocked.

Prompt user for permission

Request approval from user to execute trades below confidence threshold.

  • Display trade recommendation
  • Display reason for trade recommendation
  • Popup window requesting permission.
  • Future functionality may support remote approvals via email/twitter/companion app/etc.

Create App Branding

  • App logo (green stock line chart trending up)
  • App splash (green stock line chart trending up)
  • Other branding assets

Add Fidelity broker

Add Fidelity broker

  • API functions should be async
  • API function names should match the robinhood api function names

Login Screen

  • A basic login screen
    • allows user to input master password for encrypting or decrypting stored credentials
    • view/input broker credentials
    • view/input twitter access tokens/secrets

Execute trades for Reverse Split Arbitrage

  • Parse tweets from RSA.
    Format:
I'm buying 1 share of $MBRX by market close on Jan 29, 2020.
  • Schedule the buy of one share of parsed stock 10 minutes prior to market close on day indicated.
  • Attempt to sale the share as soon as it becomes available

Create P2P ETF Strategy

A strategy that lets a Stock ETF portfolio designer publish a custom ETF which can be subscribed to. The ETF content will be dynamic and allow subscribers to rebalance their portfolios in real-time along with the ETF designer.

The subscribing trader-bots will mirror ETF assets on allocated accounts, up to the maximum allocation cap set by the ETF consumer. Consumers can opt-out at anytime, choosing to liquidate immediately or manages the assets manually.

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.