Go to file
LOne2three 1f0c3ff4de Hotfix/routine default file overwrite (#4927)
* bump pywry

* fix windows pyinstaller subprocess fail if space in path

* remove API_IEX_TOKEN

* remove API_SENTIMENTINVESTOR_TOKEN

* added logic to download_routines and save_routine to put default and personal routines in difference folders and changed logic in call_dowload in account controller to account for the change in logic for save_routine

* Changed logic in read_routine function to account for the new directory structure and also changed the corresponding unit tests. Slightly amended test_save_routine to account for the new routine param

* Changed the routine parameter of mock_save_routine.assert_called_once_with to account for the change in the input parameter of the save_routine function

* changed routine string in test_routines_handler

* Made unit tests for download_routines in routines_handler.

* added comments

* Added new logic to call_exe so that a user could execute the file with --file default/filename.openbb, --file personal/filename.openbb or --file Users/Username/openBBUserData/Routines/hub/default/filename.openbb

* linting: black

* linting: ruff

* ruff broke black

* removed regex in call_exe and changed logic in call_download to give personal routines priority

* Changed formatting

* Changed formatting and removed regex from call_exe

* Created class variables and moved dictionaries out of constructor to solve linting issue.
Changed routine args type annotation
Changed data list

* Added type annotations for the dictionary class variables

* Changed data annotation type for routine dictionaries

* Moved dictionaries back into constructor

* removed import pathlib

* ruff

* mypy

* pylint

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-05-05 13:12:45 +00:00
2023-05-04 14:41:24 +00:00
2023-04-24 19:12:18 -04:00
2023-03-01 08:47:12 -05:00
2023-04-28 12:44:23 +00:00
2023-03-23 23:16:46 -04:00
2023-04-13 10:34:15 -04:00
2022-01-07 16:22:24 +00:00
2023-03-23 23:16:46 -04:00
2021-04-30 01:24:08 +03:00
2022-11-22 14:56:17 -05:00
2023-04-13 11:09:42 -04:00
2022-07-29 12:18:47 +01:00
2023-04-18 13:00:57 +00:00
2023-04-28 12:43:57 +00:00
2023-04-28 12:43:57 +00:00
2022-11-25 17:19:08 -05:00
2023-04-28 12:43:57 +00:00
2023-04-13 10:34:15 -04:00

Stargazers Forks Contributors MIT License

Issues Bugs Open Bugs Closed

GitHub release Code style: black TODOs

Discord Shield Twitter

OpenBB is committed to build the future of investment research by focusing on an open source infrastructure accessible to everyone, everywhere.
openbb.jpg
Check our website at openbb.co

OpenBB Terminal 🚀

Documentation can be found at: https://openbb.co/docs

Click on the GIF below for a DEMO of the terminal.

OpenBB Terminal Illustration

≪ GETTING STARTED   ·   CONTRIBUTING   ·   SEE FEATURES »

Table of Contents

  1. Installation
  2. Contributing
  3. License
  4. Disclaimer
  5. Contacts
  6. Star History
  7. Contributors

1. Installation

If you wish to install the OpenBB Terminal or the OpenBB SDK, please use one of the following options:

OpenBB Terminal Usage
Windows Installer Recommended way for Windows if you just want to use the OpenBB Terminal
MacOS Installer Recommended way for MacOS if you just want to use the OpenBB Terminal
Source If you wish to contribute to the development of the OpenBB Terminal
Docker An alternative way if you just want to use the OpenBB Terminal
OpenBB SDK         Usage
PyPI If you wish to use the OpenBB SDK in Python or Jupyter Notebooks
Source If you wish to contribute to the development of the OpenBB Terminal

2. Contributing

There are three main ways of contributing to this project. (Hopefully you have starred the project by now ⭐️)

Become a Contributor

Create a GitHub ticket

Before creating a ticket make sure the one you are creating doesn't exist already here

Provide feedback

We are most active on our Discord, but feel free to reach out to us in any of our social media for feedback.

3. License

Distributed under the MIT License. See LICENSE for more information.

4. Disclaimer

Trading in financial instruments involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors.

Before deciding to trade in a financial instrument you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.

The data contained in the OpenBBTerminal is not necessarily accurate.

OpenBB and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information displayed.

All names, logos, and brands of third parties that may be referenced in our sites, products or documentation are trademarks of their respective owners. Unless otherwise specified, OpenBB and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.

5. Contacts

If you have any questions about the terminal or anything OpenBB, feel free to email us at support@openbb.co

If you want to say hi, or are interested in partnering with us, feel free to reach us at hello@openbb.co

Any of our social media platforms: openbb.co/links

6. Star History

This is a proxy of our growth and that we are just getting started. But for more metrics important to us check openbb.co/open.

Star History Chart

7. Contributors

OpenBB wouldn't be OpenBB without you. If we are going to disrupt financial industry, every contribution counts. Thank you for being part of this journey.

Description
Mirror of OpenBB-finance/OpenBB (OpenBB Platform + CLI), pulled every 8h
Readme Apache-2.0 3.2 GiB
Languages
Python 100%