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

Ibovespa index support #990

Merged
merged 20 commits into from
Apr 6, 2022
Merged

Ibovespa index support #990

merged 20 commits into from
Apr 6, 2022

Commits on Mar 17, 2022

  1. feat: download ibovespa index historic composition

    ibovespa(ibov) is the largest index in Brazil's stocks exchange.
    The br_index folder has support for downloading new companies for the current index composition.
    And has support, as well, for downloading companies from historic composition of ibov index.
    
    Partially resolves issue #956
    igor17400 committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    3419ec9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2f933b View commit details
    Browse the repository at this point in the history
  3. feat: adds support for downloading stocks historic prices from Brazil…

    …'s stocks exchange (B3)
    
    Together with commit c2f933 it resolves issue #956
    igor17400 committed Mar 17, 2022
    Configuration menu
    Copy the full SHA
    09b8ad9 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. Configuration menu
    Copy the full SHA
    77107f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2022

  1. Configuration menu
    Copy the full SHA
    3aaf1df View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    9ceb592 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. Configuration menu
    Copy the full SHA
    d1b73b3 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. docs: fixed typo

    igor17400 committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    cc0e126 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Configuration menu
    Copy the full SHA
    95938ea View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Configuration menu
    Copy the full SHA
    b0aafa2 View commit details
    Browse the repository at this point in the history
  2. feat: removed debug prints

    igor17400 committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    592559a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92aa003 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Configuration menu
    Copy the full SHA
    4903845 View commit details
    Browse the repository at this point in the history
  2. refactor: Added get_instruments() method inside utils.py for better c…

    …ode usability.
    
    Message in the PR request to understand the context of the change
    
    In the course of reviewing this PR we found two issues.
    
        1. there are multiple places where the get_instruments() method is used,
    	and we feel that scripts.index.py is the best place for the
    	get_instruments() method to go.
        2. data_collector.utils has some very generic stuff put inside it.
    igor17400 committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    6db33ef View commit details
    Browse the repository at this point in the history
  3. refactor: improve brazils stocks download speed

    The reason to use retry=2 is due to the fact that
    Yahoo Finance unfortunately does not keep track of the majority
    of Brazilian stocks.
    
    Therefore, the decorator deco_retry with retry argument
    set to 5 will keep trying to get the stock data 5 times,
    which makes the code to download Brazilians stocks very slow.
    
    In future, this may change, but for now
    I suggest to leave retry argument to 1 or 2 in
    order to improve download speed.
    
    In order to achieve this code logic an argument called retry_config
    was added into YahooCollectorBR1d and YahooCollectorBR1min
    igor17400 committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    ae6380a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d80c4c View commit details
    Browse the repository at this point in the history
  5. refactor: changed interface inside each index

    Using partial as `fire.Fire(partial(get_instruments, market_index="br_index" ))`
    will make the interface easier for the user to execute the script.
    Then all the collector.py CLI in each folder can remove a redundant arguments.
    igor17400 committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    dc72c6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6cc96cc View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Configuration menu
    Copy the full SHA
    1cbfb5c View commit details
    Browse the repository at this point in the history
  2. refactor: make retry attribute part of the interface

    This way we don't have to use hasattr to access the retry attribute as previously done
    igor17400 committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    c313804 View commit details
    Browse the repository at this point in the history