* Making pa active + pa minor features
Makes pa actice and adds country to the df. The groupby command also gets percents of holding allocation. It also fixes warnings and prepares for a later pr that I'm currently working on.
* Fix linting
* black linter
* Fixes
Should fix everything
* Linting
* Making pa controller to base class standard
* Fix linting
* first metrics
* Adding calmar ratio
* Adding metrics to controller
* Linting
* Linting
* Test fixes
* Test fixes
* Adding tests
* Linting
* Restructuring added tests
* Linting
* Updating hugo website and fixing help
* Fixing commands
* Fix kelly criterion command
* Fixing tests
* Linting
* More linting
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
* Change about us to open_terminal_documentation
* Change the home menu to be more compact
* Make changes to menu layout and change bottom bar
* Change about command to send you to the documentation and add about to bottom bar
* Add in about choices to all menus
* Adjust wording
* Adjust the website to match terminal commands and make adjustments for common menus
* Update the website and small change to about command
* Small adjustment to about command
* Remove update command
* Add some more info about arguments
* Fix broken link
* Add pro tip
* Update keys to work well with about
* Fix some common paths
* Add back in the update command with exception if packaged application
* Remove update comment
* Fix all the things
* Make about more robust and also add in exe
* Make sure that there are actual commands and menus
* Making pa active + pa minor features
Makes pa actice and adds country to the df. The groupby command also gets percents of holding allocation. It also fixes warnings and prepares for a later pr that I'm currently working on.
* Fix linting
* black linter
* Fixes
Should fix everything
* Linting
* Making pa controller to base class standard
* Fix linting
* Refactor API to accept Crypto Symbol as an input argument
* Crypto API fixes
* Fixes
* Linting
* Linting
* More linting
* Fixes
* Tests : cryptocurrency/helper
* Tests : cryptocurrency/glassnode
* Pytest : Cryptocurrency/due_diligence
* Pytest : cryptocurrency/discovery
* Pytest : cryptocurrency/due_diligence
* Remove not a needed function argument
* Linting
* Test fixes
* Fixing mentioned fixes
* Test fixes
* Tests: cryptocurrency/defi
* Fix linting
* Final test fixes
Co-Authored-By: Chavithra <6114398+Chavithra@users.noreply.github.com>
* Fix merge
* Linting
* Fixing error
* Linting
* Removed long link
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Chavithra <6114398+Chavithra@users.noreply.github.com>
* Update stocks_helper.py
When a stock is returned:
Market: CLOSEDSENIOR PLC 10p
Fixed to show:
Market: CLOSED
Company: SENIOT PLC 10p
* Update stocks_helper.py
Added logic for US if source requires .US. without this logic Datetime is printed twice.
* Update stocks_helper.py
Updated logic to fix pyLint Error.
* Update stocks_helper.py
* Update stocks_helper.py
Further testing revealed Upper and Lower case issues, if .upper() is used it throws errors.
This function uses yfinance to return info data for tickers.
Yahoo does not have .US suffix for US stocks but other feeds may (will) have this.
Some testing gave the following:
Stock: │
Datetime:
Timezone:
Exchange:
Market:
Currency:
Company:
or:
Datetime: 2022 Jul 01 07:51
Timezone: Europe/London
Exchange: LSE
Currency: GBp
Market: OPENSENIOR PLC 10P
or this:
Datetime:
Datetime: 2022 Jul 01 02:44
Timezone: America/New_York
Currency: USD
Market: CLOSED
Company:
Final Result is this:
Datetime: 2022 Jul 01 02:51
Timezone: America/New_York
Currency: USD
Market: CLOSED
Company: Apple Inc.
I don't think this function is overly complex and could do with a refactor at some point.
* Update stocks_helper.py
fixed Black error
* Simplified if statement
* Reverted poetry
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
* Added code to look at Yahoo Finance Financials (Income, Balance sheet and cashflow, if tickers not found in Alpha Vantage. Should cover all UK (only tested with .L appended to tickers).
* Added code to look at Yahoo Finance Financials (Income, Balance sheet and cashflow, if tickers not found in Alpha Vantage. Should cover all UK (only tested with .L appended to tickers).
* change
* refactored to keep yahoo fa financials (income, cash, balance) separate.
* refactored to keep yahoo fa financials (income, cash, balance) separate.
* refactored to keep yahoo fa financials (income, cash, balance) separate.
* refactored to keep yahoo fa financials (income, cash, balance) separate (fixed dates).
* Fixed source bug
* empty commit
* fixed header date issue
* Fixed source
* fixed bugs related to no data returned
* fixed bugs related to no data returned
* fixed bugs related to no data returned
* Added yf to av when no data returned from av
* Added support for polygon statement of cash flows
* Fixed issue I created
* fixed pylint error else after return
* fixed pylint error with disable R1732
* fixed tests relating to av
* Updated polygon model and fixed tests
* fixed load GNR in fa after SNR.L in stocks
* fixed load GNR in fa after SNR.L in stocks
* Added newline to print
* Added newlines
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
* Update stockanalysis_model.py
* Update etf_controller.py
* Fix tests and linting
* 'Fixing #1978 by switching to check_positive_float'
* 'Fixes #1977 by switching labels'
* Fixes#1992 by modifying finbrain_crypto_view.py
* 'Changed the markers to white to avoid confusion'
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: JerBouma <jer.bouma@gmail.com>
* Add error handling for when financial statements cannot be parsed
* Formatting updates
* Remove a rogue print statement
* Fix a copy paste error
* Formatting issues with Black
* Use sentinel values rather than exception based workflow
* Remove unneeded change
* Fix formatting
* Don't use exceptions for handling error
* Fix a null check case
* Add an error print string to pass tests
* Remove exception throwers
* Update docs since we don't throw this exception
* Fixing default view and ascending order in cglosers and cggainers
* Fixing futurewarnings error, adding test data, and changing dollar sign issue
* Adding --rewrite-expected test to pass CI
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* switch auto print_help on exits
* display help when home called from home directory
* change in test to expect help cmd
* change in test to expect help cmd
* sets autoexithelp flag on conftest
* supress help string print on quit
* adapt tests to expect help
* adds help on 3 tests missing
* run black
* respect literal bool type
* second attemp to respect literal bool
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
* Fixing scorr and sentiment dataframe indexing bug
* Fixing type hint and did some slight refactoring
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Fixing fails to deliver bug and resulting NaN values in dataframe bug
* Taking out print statement
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Adds Introduction Guide to Stock Screener
Adds Introduction Guide to Stock Screener
* adds a demo routine for the Stock Screener
* Improved Discovery Menu Demo Routine
* Improves functionality of autocomplete by changing value field to use underscore instead of dash
* black
* spelling
Co-authored-by: james <jmaslek11@gmail.com>
* Add a feature flag loaded from . env for preferred data source
* Update the load command to use the preferred source
* Add a test
* Black syntax checker updates
* Update test syntax
* Update load command documentation
* Add a variable to read a sources file from
* Add a default sources.json file
* Add a helper function to read the source file and get the most relevant value
* Add some comments
* Remove older preferred data source file setting
* Add a default source file for data and use it if no user preference specifies a specific file
* Remove duplicate source file and old settings values
* Update the test file
* Update documentation string
* Update tests/openbb_terminal/test_settings_controller.py
* Black syntax formatting issues
* Fix a test case
* Fix a typo
* Fix Flake8 errors
* Fix Flake8 errors
* Pyupgrade syntax fixes
* Additional linter corrections
* More pylint issues
* Improve predefined default sources
* refactor parse_known_args_and_warn for documentation
* Update openbb_terminal/helper_funcs.py
* Add a feature flag loaded from . env for preferred data source
* Update the load command to use the preferred source
* Add a test
* Black syntax checker updates
* Update test syntax
* Update load command documentation
* Add a variable to read a sources file from
* Add a default sources.json file
* Add a helper function to read the source file and get the most relevant value
* Add some comments
* Remove older preferred data source file setting
* Add a default source file for data and use it if no user preference specifies a specific file
* Remove duplicate source file and old settings values
* Update the test file
* Update documentation string
* Update tests/openbb_terminal/test_settings_controller.py
* Black syntax formatting issues
* Fix a test case
* Fix a typo
* Fix Flake8 errors
* Fix Flake8 errors
* Pyupgrade syntax fixes
* Additional linter corrections
* More pylint issues
* Improve predefined default sources
* refactor parse_known_args_and_warn for documentation
* Update openbb_terminal/helper_funcs.py
* Forex controller
* Tests : Fixing `parse_known_args_and_warn` issue
* Comparison Analysis controller
* Tests : Comparison Analysis
* Tests : Stocks/DarkPoolShorts + Stocks/Options
* Tests : fix call_load tests
* Linting : fixing line size
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
The logic on line 213 defaults to USA if there is no exchange symbol present, so the market coverage suffix should use the same logic. This enables filtering by exchange to work correctly.
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* Add more build assets and all notebook checkpoints to ignore
* Delete old reports that were accidentally added to the repo
* Fix portfolios not bundling
* Add mac installer image assets
* Update license
* Make the code folder hidden in macOS package
* Add folder and launcher icons programmatically during build
* Change dmg creation tool to create-dmg
* Update macOS installation docs
* Bump project version
* Update macOS installation instruction image links
* Fix macOS installation instructions styling
* Unify macOS install instructions image size
* Point download links to the website vs github
* Fix macOS launcher self-quarantine command
* Fix routines not launching in packaged apps
* Fix .openbb test mode not displaying filenames during test run
* Remove file with weird apple character in path
* Use returns for correlation
* Uses returns and has lots of other print messages now
* Clean up the code some
* Remove spurious imports
* Update the help messages
* Update for black syntax errors