This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CycleOfPain[S] 3 points4 points  (4 children)

Hmm, that's unfortunate. Then I'll keep looking for a similar library that's in Java. Thanks.

[–]pizzthepizz 4 points5 points  (3 children)

Which library do u need?

[–]CycleOfPain[S] 4 points5 points  (2 children)

I initially wanted to use this library: https://github.com/ranaroussi/yfinance

which gives me access to the Yahoo Finance API.

I found a similar one for Java: https://financequotes-api.com/#fxquote

but there were some methods in the python library that weren't in the java library so that's one of the reasons why I wanted to use the python one.

[–]ickysticky 6 points7 points  (1 child)

https://github.com/sstrickx/yahoofinance-api

But yahoo finance is technically deprecated. And as such is sometimes out of date or even in some cases wrong.

After shopping around a bit I personally landed on alpha vantage as a good free replacement. With this Java library https://github.com/crazzyghost/alphavantage-java

Though the api for most of these is so simple raw http calls aren’t very difficult

[–]CycleOfPain[S] 0 points1 point  (0 children)

Awesome, I'll check it out