Coder Social home page Coder Social logo

stockbar's Introduction

StockBar

mainDisplay

About

A menu bar app that tracks changes of stock prices, currency exchange rates, and cryptocurrency prices every minute. The menu bar item displays the daily position changes if the unit size is provided in the settings. Otherwise, the per unit daily changes is displayed.

Click on the symbol name to show details such as the price, the change percentage, the last updated time stamp, and the position information.

Some symbol examples are listed below. Please refer to https://finance.yahoo.com/lookup/ for more.

Indices:

  • ^GSPC : S&P 500
  • ^N225 : Nikkei 225

ETF:

  • IVE : iShares S&P 500 Value ETF

Stock:

  • AAPL : Apple Inc
  • GOOG : Alphabet Inc Class C
  • NFLX : Netflix Inc
  • 9626.HK : Bilibili Inc
  • 600519.SS : Kweichow Moutai Co., Ltd

Currency Exange:

  • USDJPY=X : 1 US dollar equals to X Japanese yen
  • USDCAD=X : 1 US dollar equals to X Canadian dollar
  • EURCNY=X : 1 Euro equals to X Chinese yuan(RMB)

Cryptocurrencies:

  • BTC-USD : 1 Bitcoin equals to X US dollar
  • DOGE-USD : 1 Dogecoin equals to X US dollar

Preference

Provide the stock symbols to track in preference view. If unit sizes and average position costs are supplied, the open profit and loss will also be tracked. Click StockBar in the menu bar and select Preference. You may need to update the unit size and the average position cost after stock splits. preference

API

  • In use: yahoo finance api. Reference.
  • Other apis:
    1. alphavantage. Free API key is available (By the time of writing, any string can be a valid free API key). However, the free API can only send five requests per minute. It only has end-of-day Nasdaq quotes.

stockbar's People

Contributors

fhl43211 avatar

Watchers

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