Go to file
montezdesousa 825b8955df Set guest by default and put authentication behind environment variable (#4197)
* small bug

* small bug on routines list

* guest as default

* limit logout to users2

* simpler this way

* add logout

* move logout to account & add env var

* put authentication under env var

* fix tests

* remove login

* remove openbb vars on login

* ruff

* revert .toml

* Delete Icon

* Update .env

* fix sdk guest not loading keys

* ruff

* remove press enter & --login

* ruff

* move env load

* load env

* move dot env loading to terminal.py

* fix user sdk login mixing .env with user

* now it works

* fix reset

* fix tests

* ruff

* Login on the SDK using the OpenBB Personal Access Token (#4206)

* openbb key on keys menu

* adding sdk endpoints

* adding login via token to the sdk

* base url

* rename to personal access token

* added docstrings and examples

* openbb is special

* removing extra break line

* making keys working with the personal access token

* resolve conflicting tests

* Revert "resolve conflicting tests"

This reverts commit 2fca2c0ec3.

* using custom requests

* tests

* tests

* tests

* using process_session_response instead

* rewriting some tests

* Fix sdk guest not loading keys (#4207)

* fix sdk guest not loading keys

* ruff

* remove comment

* tests

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>

* test record mode vcr none

* remove yes from tests yml

* specify modules to reload

* try disable check api

* UPdate spec file

* Small stocks bug

* avoid reloading in test mode

* will this work?

* skip session tests

* try with env var as well

* mock sdk reload

* pylint

* bump poetry on python 3.8

* adapt to python 3.8

* adapt to python 3.8 remaining tests

* Tests : update cassettes

* Fix linting

* Makes login conditions simpler

* Tests : txt

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-02-14 09:56:03 +00:00
2023-02-13 08:54:54 -05:00
2023-02-08 14:20:22 -05:00
2022-01-07 16:22:24 +00:00
2022-09-19 11:33:01 +01:00
2022-11-22 14:56:17 -05:00
2022-07-29 12:18:47 +01:00
2022-06-10 21:32:13 +02:00
2023-02-13 08:54:54 -05:00
2022-11-25 17:19:08 -05:00

Stargazers Forks Contributors MIT License

Issues Bugs Open Bugs Closed

Build Status GitHub release Code style: black TODOs

Discord Shield Twitter


Logo

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

Investment research for everyone.
≪ GETTING STARTED   ·   CONTRIBUTING   ·   SEE FEATURES »

Report Bug · Suggest Improvement · Request a Feature

Table of Contents

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

1. About The Project

How it started:

OpenBBTerminal is an awesome stock and crypto market terminal that has been developed for fun, while I saw my GME shares tanking. But hey, I like the stock 💎🙌.

How it's going:

OpenBBTerminal provides a Python-based integrated environment for investment research, that allows an average joe retail trader to leverage state-of-the-art Data Science and Machine Learning technologies.

As a Python-based environment, OpenBBTerminal opens access to numerous Python data libraries in Data Science (Pandas, Numpy, Scipy, Jupyter), Machine Learning (Pytorch, Sklearn, Flair), and Data Acquisition (Beautiful Soup, and numerous third-party APIs).

2. 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
Docker An alternative way if you just want to use the OpenBB Terminal
Python If you wish to contribute to the development of the OpenBB Terminal
OpenBB SDK         Usage
PyPi Recommended way if you just want to use the OpenBB SDK
Python If you wish to contribute to the development of the OpenBB SDK        

3. Contributing

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

BECOME A CONTRIBUTOR

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Install the pre-commit hooks by running: pre-commit install Any time you commit a change, linters will be run automatically. On changes, you will have to re-commit
  4. Commit your Changes (git commit -m 'Add some AmazingFeature')
  5. Push to your Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

You can read more details about adding a feature in our CONTRIBUTING GUIDELINES.

RAISE AN ISSUE OR REQUEST A FEATURE

JOIN US

Join our Discord and provide us any feedback on The OpenBB Terminal.

4. License

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

5. Disclaimer

"A few things I am not. I am not a cat. I am not an institutional investor, nor am I a hedge fund. I do not have clients and I do not provide personalized investment advice for fees or commissions." DFV

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.

6. 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

Feel free to share loss porn, memes or any questions at:

7. Star History

Star History Chart

8. Contributors

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