JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
899 stars 214 forks source link

deprecated? #65

Closed a3igner closed 1 year ago

a3igner commented 4 years ago

this doesnt work anymore.

eleow commented 4 years ago

Just tried and downloading of daily ticker data is working. What is specifically not working for you?

a3igner commented 4 years ago

did you try ES=F ?

Dr Andreas A Aigner http://www.tradeflags.com WhatsApp +43 664 5177 139 Skype Aigner_Andreas

Am 06.04.2020 um 10:25 schrieb Edmund notifications@github.com:

Just tried and downloading of daily ticker data is working. What is specifically not working for you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JECSand/yahoofinancials/issues/65#issuecomment-609649789, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHQZOQCEKIPSVPNXWLNYXG3RLGGZHANCNFSM4LXS2CWQ.

eleow commented 4 years ago

image Just tried with "ES=F", freq="daily", no issue. Maybe your syntax is wrong.

from yahoofinancials import YahooFinancials 

freq = 'daily'
ticker = 'ES=F'
start_date = '2015-01-05'
end_date = '2020-04-12'
yahoo_financials = YahooFinancials(ticker)
df = yahoo_financials.get_historical_price_data(start_date, end_date, freq)
# df.to_csv(path, header=True, index=True)
a3igner commented 4 years ago

thanks.

i mean the live price / current price can you grab it?

Am 06.04.2020 um 11:52 schrieb Edmund notifications@github.com:

https://user-images.githubusercontent.com/4363234/78545455-6534a880-782e-11ea-9a23-96b3b4375805.png Just tried with "ES=F", freq="daily", no issue. Maybe your syntax is wrong.

from yahoofinancials import YahooFinancials

freq = 'daily' ticker = 'ES=F' start_date = '2015-01-05' end_date = '2020-04-12' yahoo_financials = YahooFinancials(ticker) df = yahoo_financials.get_historical_price_data(start_date, end_date, freq)

df.to_csv(path, header=True, index=True)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JECSand/yahoofinancials/issues/65#issuecomment-609693596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHQZOQE4FZQ2GDF22PNBQKLRLGQ7LANCNFSM4LXS2CWQ.

antoscha commented 4 years ago

No way. Live market data have its price, it's a common rule and exchanges' requirement. 30-min delayed quotes is the best you can hope to get for free.

a3igner commented 4 years ago

I mean the Last price like shown on yahoo. Without grabbing the history. I know it’s delayed.

Am 10.04.2020 um 12:36 schrieb antoscha notifications@github.com:

 No way. Live market data have its price, it's a common rule and exchanges' requirement. 30-min delayed quotes is the best you can hope to get for free.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

JECSand commented 1 year ago

I’ll be more active in maintaining YF. No intention of deprecating.