Giter VIP home page Giter VIP logo

renegade-way's Introduction

renegade-way

This Racket application does the following:

  • Analyzes stocks based on technicals, analyst ratings, and volatility
  • Displays charts showing the stock and its market, sector, and industry
  • Provides option strategies to use for entering positions on the stock
  • Sends option strategy orders to Interactive Brokers for execution

Here is a sample image of price analysis: Price Analysis

We see:

  • Market, Sector, Industry, Stock. These are the SPDR ETFs in which a particular stock is a component
  • MktRtg (Market Rating), SctRtg (Sector Rating), IndRtg (Industry Rating). These simple score range from -3 to +3 and reflect the relationship of the current price to 20-day and 50-day moving averages
  • Sct/Mkt (Sector vs Market), Stk/Sct (Stock vs Sector). This is the price percentage performance difference over the start-date and end-date period.
  • DivDt. Upcoming estimated dividend. This is computed by taking a dividend from last year + one month and adding a year. It is rarely precise.
  • ErnDt. Upcoming earnings announcement date.
  • OptSprd. Average spread of select options having a bid.
  • ZckRnk. Current analyst rank of the stock
  • Patterns. This includes bull pullback, bear rally, high base, low base, ascending triangle, descending triangle, range rally, and range pullback. They are abbreviated in the list.

By selecting one of these entries, we will see the corresponding chart loaded as well as the option strategy updated when a pattern is available.

Here is a sample image of rank analysis: Rank Analysis

We can see the current analyst rank of the stock, ranging from 1 (Strong Buy) to 5 (Strong Sell), as well as the previous 4-week average. This lets us be aware of recent, significant upgrades. Ranks 1 and 2 will send an increasing rank (IR) and ranks 4 and 5 will send a decreasing rank (DR) pattern to Option Strategy.

Here is a sample image of volatility analysis: Vol Analysis

We can see implied volatilities as well as implied volatility rank based on the 52-week high and low of vol. Entries with upcoming earnings dates will send an increasing vol (IV) pattern to Option Strategy; entries without upcoming earnings dates default to decreasing vol (DV).

Here is a sample image of a chart: Chart

Moving your mouse over the chart will display the open, high, low, and close values for a particular candle.

Here is a sample image of an option strategy: Option Strategy

In addition to being linked to the selection made in Analysis, you can also input a pattern here if you think the analysis missed something.

Here is a sample image of an order manager: Order Manager

You can do the following here:

  • Fill in order amounts based on accepted trade risk
  • Connect to the locally running IBKR TWS instance
  • Send the prepared order
  • Save all trades from the past week

The intended way to launch this application is by doing the following:

$ racket main.rkt -u db-username -n db-name -p db-password

db-username defaults to 'user' and db-name defaults to local, so those arguments can be omitted if they match your database. db-password must be provided.

You will need to either use data from these projects or provide a database schema that mirrors the schema provided by:

Requires Racket 7.0 or greater.

renegade-way's People

Contributors

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