Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Yahoo! Finance #39

Merged
merged 4 commits into from Jan 3, 2018

Conversation

Projects
None yet
4 participants
@jerneju
Copy link
Contributor

commented Dec 19, 2017

Issue

Fixes #14 .

Description of changes

TODO:

  • Remove first commit (DataFrame to Table function) (waiting biolab/orange3#2836 to be merged).
  • Resolution (granularity): remove or fix removed

This widget works on only Orange 3.9 or newer.

Includes
  • Code changes
  • Tests
  • Documentation

@jerneju jerneju force-pushed the jerneju:finance branch from f107ca1 to 6509eb4 Dec 19, 2017

@kernc

This comment has been minimized.

Copy link
Member

commented Dec 19, 2017

Granularity, if can't choose it, remove.

@codecov-io

This comment has been minimized.

Copy link

commented Dec 19, 2017

Codecov Report

Merging #39 into master will increase coverage by 0.14%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   68.01%   68.16%   +0.14%     
==========================================
  Files           7        7              
  Lines         644      647       +3     
  Branches       99       99              
==========================================
+ Hits          438      441       +3     
  Misses        153      153              
  Partials       53       53
Impacted Files Coverage Δ
orangecontrib/timeseries/datasources.py 37.5% <77.77%> (+9.91%) ⬆️
orangecontrib/timeseries/util.py 12.5% <0%> (-12.5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b32aa0...5664f60. Read the comment docs.

@jerneju jerneju force-pushed the jerneju:finance branch from 6509eb4 to f8c337f Dec 19, 2017

from Orange.data import Domain
from orangecontrib.timeseries import Timeseries
from orangecontrib.timeseries.pandas_compat import table_from_frame


class DataGranularity(Enum):

This comment has been minimized.

Copy link
@kernc

kernc Dec 19, 2017

Member

If unused, remove.

This comment has been minimized.

Copy link
@jerneju

jerneju Dec 19, 2017

Author Contributor

Yes, it is unused. And method quandl_data is unused as well.

@jerneju jerneju force-pushed the jerneju:finance branch 3 times, most recently from 90eae03 to d0cab2e Dec 19, 2017

@jerneju jerneju changed the title [WIP][FIX] Yahoo! Finance [FIX] Yahoo! Finance Dec 20, 2017

@jerneju jerneju force-pushed the jerneju:finance branch from d0cab2e to e4702da Dec 21, 2017

jerneju added some commits Dec 19, 2017

@jerneju jerneju force-pushed the jerneju:finance branch from e4702da to 5664f60 Dec 21, 2017

try:
from Orange.data.pandas_compat import table_from_frame
except ImportError:
log.error("Yahoo Finance requires Orange >= 3.9")

This comment has been minimized.

Copy link
@kernc

kernc Dec 23, 2017

Member

Raise RuntimeError. Better not show the widget than to just crash later on.

@ajdapretnar

This comment has been minimized.

Copy link
Collaborator

commented Jan 3, 2018

Perhaps once this and Datasets PR are merged, you could think of bumping a version. :)

@jerneju jerneju force-pushed the jerneju:finance branch 2 times, most recently from d49d10f to e5b6fe3 Jan 3, 2018

@jerneju jerneju force-pushed the jerneju:finance branch from e5b6fe3 to 641746c Jan 3, 2018

@kernc kernc merged commit f3f4248 into biolab:master Jan 3, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.