DidierRLopes 72a46fbfbf OpenBB Script Routines major improvement (#5005)
* Allow to set variables and do loops

* Fix mypy errors

* improve code

* mypy

* pylint

* accepts Openbb date keywords like 1MONTHAGO,LASTFRIDAY,3YEARSFROMNOW,NEXTTUESDAY

* warn fix

* add documentation for script foreach and vars creation

* refactor controller as per James request

* black linting

* add another warning

* Editing some routine enhancements (#5063)

* move routine to new file

* Move to relativedelta and add some tests

* Fix mocking

* Get match_and_return_openbb_keyword_date to 100% cov

* start testing parse script

* remove rogue prints

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>

* big improvement in routines tests

* mypy lint

* ruff lint

* lint

* typo

* test relative time

* cover edge case of home at end of script

* fix edge case for going to home at start

* explain better slicing

* foreach tests added

* lint

* allow foreach loops to have different var names that is iterating

* foreach more powerful

* warning when var in foreach is not used

* fail script when varname that iterates foreach loop is never defined

* black

* lint again

* ruff

* improve another edge case

* fix test and fix a description

* fix nft test and routine test

* why mutual fund test failing

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-30 17:33:59 +00:00
2023-05-10 13:59:35 +00:00
2023-05-15 16:03:12 -04:00
2023-03-01 08:47:12 -05:00
2023-03-23 23:16:46 -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
2022-11-25 17:19:08 -05:00
2023-05-16 11:00:38 -04: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%