Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
jpy
Discontinued A bi-directional Python-Java bridge used to embed Java in CPython or the other way round.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I initially wanted to use this library: https://github.com/ranaroussi/yfinance
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
Good, I’m glad I could help. Check out this for an example if need be.
If you absolutely need to use a Python and not Java library, I would recommend trying something like either Jython which runs on any JVM or switching entirely to GraalVM. You can also try using bindings for CPython to Java like Jep or jpy which use the standard CPython interpreter .