14 ms·
A terminal stock watcher and stock position tracker
- hombre_fatal 6y agoEdit: Oops, thought this was a Show HN. Looks pretty clean. If you want a fun feature to build, add tiny sparkline graphs. Maybe pressing z/x/c/v can switch between last hour/day/month/year charts on each stock item. Check out https://github.com/holman/spark https://github.com/holman/spark for how to make graphs with simple character glyphs. I realize my problem with terminal programs like this is that I forget to ever use them. That's why I prefer something like a macOS menubar app that I can toggle to run at startup.
- stanislavb 6y agoThanks!
- rhacker 6y agoIt's amazing how many times the original author finds out about random HN posts anyway...
- qorrect 6y agoMany of us don't use macOS, there are plenty of mac apps for stock tracking. My only complaint is it's always going to be 15 minutes behind if you're using public sources, otherwise I love it!
- zwily 6y agoYahoo Finance API is real-time for Nasdaq and NYSE. Delayed for most other exchanges though.
- Jtsummers 6y agotmux. I have a set of tmux panes which show my current financial status. It's just a couple keypresses away when I'm on the terminal. Things like this, or a terminal weather app, can easily become a quick dashboard using another set of panes. But I practically live in emacs so being on the terminal is natural to me.
- NearAP 6y ago>>> Oops, thought this was a Show HN. <<< If you don't mind, can you explain the difference between this type of Post and a 'Show HN'? Is it that this one was not submitted by the person who built it whereas the requirement of Show HN is that the submitter must be personally involved in the project?
- okanesen 6y agoCorrect, more info on the FAQ[0]: > What are Ask HN and Show HN? > Ask HN lists questions and other text submissions. Show HN[1] is for sharing your personal work and has special rules[2]. [0]: https://news.ycombinator.com/newsfaq.html https://news.ycombinator.com/newsfaq.html [1]: https://news.ycombinator.com/show https://news.ycombinator.com/show [2]: https://news.ycombinator.com/showhn.html https://news.ycombinator.com/showhn.html
- 29athrowaway 6y agoWould be good to add support for trading indicators like MACD, RSI, etc.
- sub7 6y agoYou have no idea how useful this is for me. I have nativefier wrapped yahoo finance/msn money/coinstats etc which are all pretty bloated and this gives me all I need with around 1% overhead. Many thanks.
- popol12 6y agoNice tool! The ETH-BTC pair is limited by the 2 decimals display, for instance, is this configurable somewhere? It would also be great for crypto traders to source all trading pairs available on coingecko.com, not just the few available on yahoo finance :)
- pstadler 6y agoThis seems very nice and I'll definitely give it a shot. If you're looking for something simple, try ticker.sh[1]. [1] https://github.com/pstadler/ticker.sh https://github.com/pstadler/ticker.sh
- FriedrichN 6y agoLooks cool! Also thanks for exposing me to jq, that will come in handy for sure.
- deleted 6y ago[deleted]
- joelbluminator 6y agoIt's nice, what API's is the author using I wonder? All free stock APIs that I checked are no longer functioning, only paid products remain.
- maddyboo 6y agoLooks like Yahoo! Finanace: https://github.com/achannarasappa/ticker/blob/8722bc93eed178bf94a4e9ce4f27a6535d39c6de/internal/quote/quote.go#L103-L113 https://github.com/achannarasappa/ticker/blob/8722bc93eed178... DIY: curl 'https://query1.finance.yahoo.com/v7/finance/quote?lang=en-US®ion=US&corsDomain=finance.yahoo.com&symbols=AMZN,GOOG,GME' | jq
- huhtenberg 6y agoIt's right there, in the readme - Notes Real-time quotes - Quotes are pulled from Yahoo finance.
- tchalla 6y ago> Real-time quotes - Quotes are pulled from Yahoo finance which may provide delayed stock quotes depending on the exchange. The major US exchanges (NYSE, NASDAQ) have real-time quotes however other exchanges may not. Consult the help article on exchange delays to determine which exchanges you can expect delays for or use the --show-tags flag to include timeliness of data alongside quotes in ticker. The ReadMe says Yahoo Finance.
- andylynch 6y agoLooking at the European landscape, venues are required to make trade & price data freely available 15 minutes after publication - it'd be an interesting project to build something to aggragate these.
- joncrane 6y agoDoes it provide real time quotes for options as well?
- amerf1 6y agoLove this! Would love to see more features in there I know someone mentioned charts which is great! Other features could be news/fundamentals! Let me know if you want to brainstorm my Twitter is in my bio. I used to work at a data vendor that competed with Bloomberg have plenty of ideas!
- jgrahamc 6y agoWhat are people doing that requires this?
- odiroot 6y agoBeing bored at a desk job, would be my guess.
- person_of_color 6y agoYep, many FAANG employees got rich trading during lockdown.
- valuearb 6y agoThey all went busto yesterday.
- Cthulhu_ 6y agoOnly if they went all in on an overvalued meme stock like GME; if they put money in an index, like the one that follows the S&P 500, they would be up by anywhere between ~10% and ~45% depending on when they got in. Long-term, broad-spectrum trends have always been upwards. TL;DR don't bet all your money on one horse. stock. whichever. (This is not financial advice, I am not a financial expert, and results from the past are not representative of future results)
- frockington1 6y agoMarket was up almost 2% yesterday, great day for anyone over the age of 20
- doovd 6y agoCan't tell if this is sarcasm but this is, on balance of probabilities, not true.
- frockington1 6y ago
- deleted 6y ago[deleted]
- debarshri 6y agoThe application uses Yahoo finance to fetch the market information. It is generally delayed by 30 minutes for exchanges like AEX or other european exchanges. What I generally do it query the endpoint in EURONEXT's portal https://live.euronext.com/en/intraday_chart/getDetailedQuoteAjax/FR0000031122-XPAR/full https://live.euronext.com/en/intraday_chart/getDetailedQuote... directly to get the current stock information which is almost real time. You can also track intraday price from EURONEXT via - https://live.euronext.com/intraday_chart/getChartData/FR0000031122-XPAR/intraday https://live.euronext.com/intraday_chart/getChartData/FR0000...
- riku_iki 6y agoEURONEXT is only for European (not US) stocks, right?
- debarshri 6y agoYes
- omneity 6y agoTry Monitoro[0] on that website to setup alerts with Slack, Discord, IFTTT, Zapier ... painlessly, no code. Our delay is 1-2 seconds at most to delivery so you should get it pretty fast. (Disclaimer: I'm the founder) [0]: https://monitoro.xyz https://monitoro.xyz
- deleted 6y ago[deleted]
- patricklorio 6y agoOn latest chrome, when I scroll down the homepage, the links in the header no longer work (no hover state or click handling). Project does look interesting btw.
- johnwyles 6y agoThis looks a lot like WrapAPI[0] which I found a while back researching for Postman Galaxy hackathon. How are you guys different? [0]: https://wrapapi.com/ https://wrapapi.com/
- sixhobbits 6y agoA see a lot of these that use Yahoo Finance API - AFAIU, it was deprecated many years ago and I guess might be in something close to a "forgot to switch off" state. I wonder how much will break when they finally turn it off.
- davidkuennen 6y agoThere's still also a lot of apps around obviously using the Yahoo Finance API. Apps with hundrets of thousands of downloads. I'm curious as well.
- gruez 6y agoDoesn't the ios stock app also use yahoo finance api as well?
- PartiallyTyped 6y agoYes both the iOS and MacOS use yahoo finance api as well. Perhaps Apple is paying the bill here.
- tl 6y agoOne difference between this and Apple: Apple's apps show the news stories when you pick a stock where Yahoo presumably can get ad revenue. I doubt this gets popular enough to be targeted though.
- wp381640 6y agoFunny only recently I noticed the ads in the Stocks app and thought it was very un-apple
- ihuman 6y agoIt looks like the same API that the Yahoo Finance website calls (via react)
- chillingeffect 6y ago
- nautilus12 6y agoAnything like this with watchlist that dynamically populates based on highest and lowest momentum?
- slig 6y agoFor anyone looking for a Yahoo Finance API alternative, try http://alphavantage.co/ http://alphavantage.co/
- jdoss 6y agoA free API key is great, but what is the catch? The whole Robinhood drama about them selling data to third parties has me leery about anything "free" in finance SaaS.
- kristopolous 6y agoIt's tiered. They have a "pay me" tier.
- jdoss 6y agoI totally missed that. Thanks! edit: For those wondering what the price is it's on this page https://www.alphavantage.co/premium/ https://www.alphavantage.co/premium/ which is not very apparent from the front page.
- welterde 6y agoSadly the limits for the free tier look too low to even run this CLI ticker application off of it (or is it possible to query more than one symbol in one API call?).
- slig 6y agoFWIW, last year I was playing with this API and they were not verifying the key properly: just appended anything at the end of the key and it worked.
- Terretta 6y agoThey mention they are “partnered with” https://polygon.io/stocks https://polygon.io/stocks and send you there for real time.
- uberswe 6y agoI made something similar for cryptocurrencies a while back https://github.com/uberswe/golang-cryptotracker https://github.com/uberswe/golang-cryptotracker
- Wonnk13 6y agowould this be considered best practices in terms of organizing and testing a go package? I'm brand new to the language, so curious if this could serve as a reference project? For example, I'm not sure if it's standard to use resty for a rest client as seen in this project?
- submeta 6y agoAwesome! Anyone know a similar project in Python?
- obayesshelton 6y agoI hope you support banana and show a diamond for every 100% gain
- colesantiago 6y agoThis is neat and very cool, just installed it! Since we're talking about API's and finance and not to hijack the thread, does anyone know or recommend an economic calendar REST API feed?
- moontear 6y agoHow is it that pretty much all stock trackers / APIs only support US symbols? There are so many stocks out there that don't have a symbol and have an ISIN. Is everybody only trading symbol-based stocks? That seems very limited to me.
- teekert 6y agoNice! This would be great if it could output HTML, then I'd configure it with the Yaml, make cronjob on my homeserver to auto update and point my browser to it (or more like point it to the nginx container behind my traefik container). But still, this is also very nice, will install tonight. I made something like that myself with the Bittrex API (for crypto) once myself (based on Python and pandas.DataFrame.to_html()), very useful.
- rcar1046 6y agoThis is very well done. Didn't realize Yahoo APIs were still live. I made one using IEX. https://stockdaddy.io/samples/dashboard/ https://stockdaddy.io/samples/dashboard/ They offer an excellent API for a very reasonable price and offer it free to people if you're interested in a more comprehensive solution for free. Also, take a look at IEX if you're interested in getting into financial APIs.
- kruxigt 6y agoIs anyone really using any of these stock trackers (including those built in in OSX etc? I think the whole idea is broken. This is why: If you are interested enough to regularly check the price of certain stocks and indices you know that the most important thing is that the shown price is CORRECT. And you know that the most trustworthy way to get a correct price is to go directly to the largest brokers and the largest and most trusted portals like Investing.com and Marketwatch. On the other hand if you don't care that much. Why the hell would you like to have a special application for checking when you could as well go to any of the above?
- Operyl 6y agoI play with fake money, in a Discord server with a bot we made and a few friends. Sure, I'm probably not the norm, but I find them useful :).
- kruxigt 6y agoThis might be the only real use case haha
- w0m 6y agoI feel like it's an excuse to write a CLI app in your favorite language. I dig it; tempted to clone it in python.
- dreamcompiler 6y agoIf you're a long-hold investor who lives in the terminal, it's perfectly fine. Plus watching GME crash in ASCII is entertaining.
- deleted 6y ago[deleted]
- pavlov 6y agoI remember what the stock market mood was like in early 2000. Everyone breathlessly watching their favorite stocks, IPOs jumping 100%+ on first day of trading, tech companies entering large indexes... This year feels exactly the same as 21 years ago, but people are saying it's different because of Covid, Fed buys, etc. Then again, "this time it's different!" is the rallying cry at the peak of every bubble.
- hpkuarg 6y ago"This time it's different!" is also the rallying cry for people trying to time the peak ;-)
- mattnewton 6y agoI’ve heard this sentiment call hundreds of tech bubbles since the dotcom boom, and we’ve seen only one in an unrelated sector. I am not saying it isn’t a bubble, just that market enthusiasm tends to look like a bubble but happens all the time without crashing everything.
- vkou 6y agoThis is the correct take on it. That kind of analysis has predicted eighteen of the last three bubbles. The problem is that while, say, stocks are frothy, eventually inflation catches up to the froth - so even when the crash happens, you end up better off than if you sat the frothy market out on the sidelines. It doesn't help to be right in the direction of the market, when you're wrong in the timing of it.
- brewdad 6y agoAgreed. As much as I wished I had sold some positions last February when it was clear something big was building in Asia, I am confident that I wouldn't have had the guts to buy back in after the crash and would have missed out on the rebound gains. In the end, I'm probably better off having held and continuing to buy every couple of weeks throughout than trying to time the market swings from COVID.
- rayshan 6y agoGreat work! I see that you're using Yahoo Finance data. Yahoo deprecated its API so your data could stop flowing at any time. You can try free services like Alpha Vantage [0] or Google Finance formulas in Google Sheets exposed as an CSV / JSON. Another way is to hook up a freemium service like IEX [1] and ask your users to BYOK - bring your own key. I use IEX for my stock watching browser extension [2] and eat the costs for my users. It's not too bad. [0] https://www.alphavantage.co/ https://www.alphavantage.co/ [1] https://iexcloud.io/ https://iexcloud.io/ [2] https://finance.shan.io/stock-inspector-discover-new-companies-etfs https://finance.shan.io/stock-inspector-discover-new-compani...
- Glench 6y agoHave you considered charging for your extension? I just made https://extensionpay.com https://extensionpay.com which makes it easy to add payments in your extension without needing to run your own server.
- rayshan 6y agoI have! This is timely because Chrome Web Store just killed its payment system. How does this compare to using Stripe out of the box? BTW I think someone was trying to start a browser extension developer guild on HN, can't remember which thread... You should tap into that community.
- Glench 6y ago> How does this compare to using Stripe out of the box? Basically you don't need to run your own server / database / custom Stripe integration code / user management system / custom extension integration, which is annoying to write yourself and costs money to run a server. With ExtensionPay you just add a little code in your extension [open source here](https://github.com/Glench/ExtPay https://github.com/Glench/ExtPay) and register your extension in the web UI. I made it for use in my own extensions :) > BTW I think someone was trying to start a browser extension developer guild on HN, can't remember which thread... You should tap into that community. Cool, I'll check it out, thanks. Any other hints to how I could find it?
- DLA 6y agoBrilliant work. Love it so much. With a black terminal it has a nice pro feel to it. How I miss having a Bloomberg box. Great app. Install was flawless. Love the CLI options. A little reverse text flash upon price change would be amazing. Or a timestamp with the last update time.
- elhudy 6y agoThis is nice, but what I would really like to see is a tracker for heavy volume trading. If some hedge fund suddenly purchases 1% of a pharmaceutical company, I want an alert on so I can act on it quickly. Does anyone know of a tool that does this?
- DLA 6y agoA Bloomberg Terminal, amazing but $$$$. If a good hedge fund does this then it will be done quietly and across accounts, in dark pools, as a direct trade, or other "off tape" move, often reported later. They're not just going to throw a 1% sized trade in as a limit order for you to see, so the "act on it quickly" part is not as easy as you may think. (Former professional trader)
- elhudy 6y agoI actually know some amateur traders who act on such things in a discord chat I'm in. They have their own algorithm that runs against market data but wont share it. It seems easy enough - when lots of volume moves in a relatively short time period, it shouldn't matter who the purchaser is. An algorithm should be able to catch on. Thoughts?
- deleted 6y ago[deleted]
- belgianpi 6y agothis is fantastic. thanks.
- gpresot 6y agoReally great app. One minor issue I have with it is that when you sort alphabetically (by ticker symbol), the watchlist and the portfolio get mixed together, which is counter-intuitive and a bit unfriendly to the eyes. I would expect it to sort alphabetically but grouping separately the watchlist elements and the portfolio elements.