-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from JECSand/development
Fixed get_ten_day_avg_daily_volume() and removed get_three_month_avg_daily_volume()
- Loading branch information
Showing
5 changed files
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,11 @@ | |
|
||
setup( | ||
name='yahoofinancials', | ||
version='1.13', | ||
version='1.14', | ||
description='A powerful financial data module used for pulling both fundamental and technical data from Yahoo Finance', | ||
long_description=long_description, | ||
url='https://github.com/JECSand/yahoofinancials', | ||
download_url='https://github.com/JECSand/yahoofinancials/archive/1.13.tar.gz', | ||
download_url='https://github.com/JECSand/yahoofinancials/archive/1.14.tar.gz', | ||
author='Connor Sanders', | ||
author_email='[email protected]', | ||
license='MIT', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
""" | ||
============================== | ||
The Yahoo Financials Module | ||
Version: 1.13 | ||
Version: 1.14 | ||
============================== | ||
Author: Connor Sanders | ||
Email: [email protected] | ||
Version Released: 02/14/2023 | ||
Version Released: 02/21/2023 | ||
Tested on Python 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11 | ||
Copyright (c) 2023 Connor Sanders | ||
|
@@ -44,7 +44,7 @@ | |
from yahoofinancials.calcs import num_shares_outstanding, eps | ||
from yahoofinancials.etl import YahooFinanceETL | ||
|
||
__version__ = "1.13" | ||
__version__ = "1.14" | ||
__author__ = "Connor Sanders" | ||
|
||
|
||
|
@@ -241,10 +241,7 @@ def get_open_price(self): | |
return self._stock_price_data('regularMarketOpen') | ||
|
||
def get_ten_day_avg_daily_volume(self): | ||
return self._stock_price_data('averageDailyVolume10Day') | ||
|
||
def get_three_month_avg_daily_volume(self): | ||
return self._stock_price_data('averageDailyVolume3Month') | ||
return self._stock_summary_data('averageDailyVolume10Day') | ||
|
||
def get_stock_exchange(self): | ||
return self._stock_price_data('exchangeName') | ||
|