Stock Quotes and Data

I would love to see a plugin that pulls in current stock information for the US markets.

I keep detailed logs of ideas and trades and it would be super helpful to pull in current prices and data as I am typing up a note.

For example, I might type AMZN and the plugin would give me:
Price: $93.50 (-2.32 / -2.42%) * Volume: 57,053,812 * Market Cap: $958.123B * 52W Range: 81.43 - 170.83

Real-time quotes aren’t necessary - there are better tools for that. But, it would be nice to quickly bring in data to my note without having to reference a finance site.

I am not yet able to create plugins, but I have a way to use Templater to call a simple Javascript to fetch info via the API. You will need to get your own free API key and add it to the script and configure Templater to call it, but it works for me.


<% tp.user.stock(“AMZN”) %>

turns into

AMZN: $93.50 (-2.32, -2.42%)

let me know if you are OK with this many steps - otherwise maybe someone can make a plugin.

Here is the data that is available:

    "Global Quote": {
        "01. symbol": "AAPL",
        "02. open": "147.1100",
        "03. high": "147.1900",
        "04. low": "145.7202",
        "05. price": "146.7100",
        "06. volume": "55469606",
        "07. latest trading day": "2023-02-24",
        "08. previous close": "149.4000",
        "09. change": "-2.6900",
        "10. change percent": "-1.8005%"