niteshpatel / ministocks

Android Stocks Widget
http://niteshpatel.github.io/ministocks
MIT License
53 stars 37 forks source link

ministocks stoped updating stocks #56

Closed roeesa closed 7 years ago

roeesa commented 7 years ago

checked on top one-plus 2 with stocks from Nasdaq / NYSE

mandroidpro commented 7 years ago

It is because it uses an api that doesn't work. Use this app instead it is better: https://play.google.com/store/apps/details?id=com.github.premnirmal.tickerwidget also open source https://github.com/premnirmal/StockTicker

ghost commented 7 years ago

Hi there! I'll just subscribe in case this gets fixed. I love this widget. Big hug

woj-tek commented 7 years ago

@mandroidpro while it seems to look better it also doesn't work...

hopefully ministock will be fixed soon.

mandroidpro commented 7 years ago

@woj-tek it does work. Some symbols don't work with stockticker, But most US symbols work on that app. It is also has a WAY better UI than this app :)

woj-tek commented 7 years ago

OT: Not everyone lives in the US ;-) and some people are more interested in currencies.

mandroidpro commented 7 years ago

@woj-tek you're just too picky 😂 . I guess you can just use a web browser

simo1994 commented 7 years ago

@mandroidpro I don't think you're helping anyone by promoting another app and then telling picky people should just stick to a web browser.

That app should be license compatible to this one, so the developer could look that code to find a partial solution for US stocks.

Apparently, Yahoo Finance is changing things. I don't know if this is still relevant, but I would suggest the developer to look here https://github.com/c0redumb/yahoo_quote_download for a possible fix.

Another alternative could be getting quotes from YQL -- but that requires an API key.

woj-tek commented 7 years ago

Purely for stock information there is also robinhood: https://github.com/sanko/Robinhood/blob/master/Quote.md

mandroidpro commented 7 years ago

StockTicker frankly is a better app, and it is license compatible :) (they both use the MIT license).

mandroidpro commented 7 years ago

I too hope that ministocks finds a solution soon. But until then, StockTicker is a savior for most users

muziofg commented 7 years ago

this tiny app deserves to be survive

I'll propose two solution:

1) yahoo has discontinued the service because "this service is being used in violation of the Yahoo Terms of Service" Ok, well, then if we use for years this service in non-legal circustances we can use in the same way the new api:

now we can retreive multiple realtime stock quotes in json format, a simple example in python/pandas:

data=pd.read_json("https://query2.finance.yahoo.com/v7/finance/quote?symbols=NVDA,INTC,AMD") for i in range(len(data['quoteResponse']['result'])): print (data['quoteResponse']['result'][i]['symbol'],data['quoteResponse']['result'][i]['regularMarketPrice'])

no crumb-mechanism is required

source: https://github.com/pilwon/node-yahoo-finance/issues/43 Edit: url to get the minimum data required for this app: https://query1.finance.yahoo.com/v7/finance/quote?lang=en-US&region=US&corsDomain=finance.yahoo.com&fields=symbol,regularMarketChange,regularMarketChangePercent,currency,regularMarketPrice,regularMarketOpen,marketCap&symbols=FB,AMZN

2) I have found https://www.alphavantage.co/ that provide realtime data (also in csv)
An api key is required but it's free

mandroidpro commented 7 years ago

@woj-tek

Purely for stock information there is also robinhood:

Didn't you say "OT: Not everyone lives in the US ;-) and some people are more interested in currencies." ? 😂 robinhood will give prices for US stocks only ;-)

niteshpatel commented 7 years ago

For the time being I think I will use: https://iextrading.com/developer/docs/

I will look at the other alternatives proposed in this thread later. My priority is to get something working at least in the short term and then spend some time trying to find the best long term solution.

niteshpatel commented 7 years ago

In the meantime, anyone want to contribute I will happily look at any pull requests that make test\java\nitezh\ministock\dataaccess\YahooStockQuoteRepositoryTests.java (or at least an equivalent version of the module) but from another provider work.

keverets commented 6 years ago

The new version with iextrading as the source still does not update for me.

niteshpatel commented 6 years ago

Should be fixed in version 72 On Mon, 6 Nov 2017 at 23:01, K Everets notifications@github.com wrote:

The new version with iextrading as the source still does not update for me.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/niteshpatel/ministocks/issues/56#issuecomment-342317448, or mute the thread https://github.com/notifications/unsubscribe-auth/ADumQ8SIyTyLAybhc3166aZBTW2OCVDhks5sz4_PgaJpZM4QQSlR .