Git Product home page Git Product logo

Comments (5)

ValueRaider avatar ValueRaider commented on May 24, 2024

I can't reproduce. What happens if you disable repair?

from yfinance.

eiphy avatar eiphy commented on May 24, 2024

Hi @ValueRaider , thank you for looking into this! I have tried to use disable repare but it doesn't help. Will it have anything to do with regions? Previously, there's a issue that .meta() does not work in regions outside of US.
image

from yfinance.

ValueRaider avatar ValueRaider commented on May 24, 2024

No idea. Repost debug log with repair disabled, it'll be a lot shorter.

from yfinance.

eiphy avatar eiphy commented on May 24, 2024

Hi @ValueRaider , the debug log:
DEBUG Entering history()
DEBUG Entering history()
DEBUG TSLA: Yahoo GET parameters: {'period1': '2022-08-24 00:00:00-04:00', 'period2': '2022-08-26 00:00:00-04:00', 'interval': '1h', 'includePrePost': False, 'events': 'div,splits,capitalGains'}
DEBUG Entering get()
DEBUG url=https://query2.finance.yahoo.com/v8/finance/chart/TSLA
DEBUG params=frozendict.frozendict({'period1': 1661313600, 'period2': 1661486400, 'interval': '1h', 'includePrePost': False, 'events': 'div,splits,capitalGains'})
DEBUG Entering _get_cookie_and_crumb()
DEBUG cookie_mode = 'basic'
DEBUG Entering _get_cookie_and_crumb_basic()
DEBUG fetched basic cookie = <Cookie A3=d=AQABBH-q52UCEM9bsfeRx5Pjn08Qms8drhcFEgEBAQH76GXxZa9D8HgB_eMAAA&S=AQAAAlIL0WVAezo1MqRv5bitsfE for .yahoo.com/>
DEBUG reusing cookie
DEBUG crumb = 'cKaZy.sBWM0'
DEBUG Exiting _get_cookie_and_crumb_basic()
DEBUG Exiting _get_cookie_and_crumb()
DEBUG response code=200
DEBUG Exiting get()
DEBUG TSLA: yfinance received OHLC data: 2022-08-24 13:30:00 -> 2022-08-25 19:30:00
DEBUG TSLA: OHLC after cleaning: 2022-08-24 09:30:00-04:00 -> 2022-08-25 15:30:00-04:00
DEBUG TSLA: OHLC after combining events: 2022-08-24 09:30:00-04:00 -> 2022-08-25 15:30:00-04:00
DEBUG TSLA: yfinance returning OHLC: 2022-08-24 09:30:00-04:00 -> 2022-08-25 15:30:00-04:00
DEBUG Exiting history()
DEBUG Exiting history()
Open High Low Close Adj Close Volume Dividends Stock Splits
Datetime
2022-08-24 09:30:00-04:00 892.690002 910.940002 891.049988 907.104614 907.104614 7021349 0.0 0.0
2022-08-24 10:30:00-04:00 907.572998 908.400024 901.059998 904.039978 904.039978 2737542 0.0 0.0
2022-08-24 11:30:00-04:00 904.260010 907.559998 902.119995 905.380005 905.380005 1554554 0.0 0.0
2022-08-24 12:30:00-04:00 905.340027 906.400024 895.479980 896.107727 896.107727 1997977 0.0 0.0
2022-08-24 13:30:00-04:00 895.940002 900.309998 895.340027 897.099976 897.099976 1378497 0.0 0.0
2022-08-24 14:30:00-04:00 897.049988 897.340027 889.500000 892.789978 892.789978 2078101 0.0 0.0
2022-08-24 15:30:00-04:00 892.775024 894.979980 890.000000 891.450012 891.450012 1366247 0.0 0.0
2022-08-25 09:30:00-04:00 302.359985 302.959991 293.140106 297.492096 297.492096 20100512 0.0 0.0
2022-08-25 10:30:00-04:00 297.549988 298.089996 291.600006 293.070007 293.070007 9438207 0.0 0.0
2022-08-25 11:30:00-04:00 293.149994 294.980011 291.920105 293.850098 293.850098 5161989 0.0 0.0
2022-08-25 12:30:00-04:00 293.950012 295.692993 292.799988 294.836609 294.836609 4205521 0.0 0.0
2022-08-25 13:30:00-04:00 294.837799 295.640686 293.114288 293.309998 293.309998 3702607 0.0 0.0
2022-08-25 14:30:00-04:00 293.380005 293.679993 291.799988 293.440002 293.440002 4667132 0.0 0.0
2022-08-25 15:30:00-04:00 293.427612 296.149994 293.021088 296.109985 296.109985 4241512 0.0 0.0
DEBUG Entering history()
DEBUG Entering history()
DEBUG TSLA: Yahoo GET parameters: {'period1': '2022-08-24 00:00:00-04:00', 'period2': '2022-08-26 00:00:00-04:00', 'interval': '1d', 'includePrePost': False, 'events': 'div,splits,capitalGains'}
DEBUG Entering get()
DEBUG url=https://query2.finance.yahoo.com/v8/finance/chart/TSLA
DEBUG params=frozendict.frozendict({'period1': 1661313600, 'period2': 1661486400, 'interval': '1d', 'includePrePost': False, 'events': 'div,splits,capitalGains'})
DEBUG Entering _get_cookie_and_crumb()
DEBUG cookie_mode = 'basic'
DEBUG Entering _get_cookie_and_crumb_basic()
DEBUG reusing cookie
DEBUG reusing crumb
DEBUG Exiting _get_cookie_and_crumb_basic()
DEBUG Exiting _get_cookie_and_crumb()
DEBUG response code=200
DEBUG Exiting get()
DEBUG TSLA: yfinance received OHLC data: 2022-08-24 13:30:00 -> 2022-08-25 13:30:00
DEBUG TSLA: OHLC after cleaning: 2022-08-24 09:30:00-04:00 -> 2022-08-25 09:30:00-04:00
DEBUG TSLA: OHLC after combining events: 2022-08-24 00:00:00-04:00 -> 2022-08-25 00:00:00-04:00
DEBUG TSLA: yfinance returning OHLC: 2022-08-24 00:00:00-04:00 -> 2022-08-25 00:00:00-04:00
DEBUG Exiting history()
DEBUG Exiting history()
Open High Low Close Adj Close Volume Dividends Stock Splits
Date
2022-08-24 00:00:00-04:00 297.563324 303.646667 296.500000 297.096680 297.096680 57259800 0.0 0.0
2022-08-25 00:00:00-04:00 302.359985 302.959991 291.600006 296.070007 296.070007 53230000 0.0 0.0

from yfinance.

eiphy avatar eiphy commented on May 24, 2024

The log said "v8" in the url. Is this correct version?

from yfinance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.