Comments (5)
Hi, I'm looking into it.
This won't be easy to solve as it looks like Yahoo Finance doesn't provide the timezone information. I've also read somewhere that the dates would be in the America/New_York timezone while the time would be in the local timezone.
Anyway, I'll try to keep you posted.
from yahoofinance-api.
Is it possible to make the "YahooFinance.TIMEZONE" not final. So the application get chance to adjust the timezone accordingly. Or the application is able to set the timezone according to the exchange.
from yahoofinance-api.
I'll try to automatically detect the timezone based on the exchange. Sadly, it will not be possible to give a correct time if the exchange is unknown to the library. This should only happen in rare occasions and could be easily fixed with a new version.
Should be ready by next week.
from yahoofinance-api.
A small explanation: the correct time zone should now be automatically detected.
In case you still want to manually set the time zone for a specific quote, you can now use the StockQuote.getLastTradeDateTime(java.util.TimeZone timeZone)
method.
from yahoofinance-api.
see your change. Thank for the udpate
from yahoofinance-api.
Related Issues (20)
- Historical quote no longer working HOT 2
- v3.17 is working? HOT 6
- Trying to grab QuotesProperty
- StringIndexOutOfBoundsException -> when retrieving stocks
- Retrieving the analysis section data?
- Help to understand how the YF API works
- StockStats class not working HOT 1
- Intermittent HTTP 401 returned from Yahoo API HOT 45
- Null is returned as today HOT 4
- Does this API have a method to return the quoteType data?
- HTTP 404 errors (Yahoo has locked down their APIs) HOT 8
- Server returned HTTP response code: 429 for URL: https://query1.finance.yahoo.com/v1/test/getcrumb HOT 16
- Trouble getting Kotlin to `compile` yahoofinance-api HOT 1
- Refactoring of the God Class Utils
- Code Smell - God Classes
- Code Smell - Excessive Parameter List
- Code Smell - Excessive Method Length
- Code Smell - Duplicated Code and ExcessiveClassLength
- SocketTimeoutException: Read timed out. error happens when use YahooFinance.get("INTC");
- Error Code 503 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yahoofinance-api.