Commit Graph

5066 Commits

Author SHA1 Message Date
jose-donato
6e9fefce9e Adds bot documentation to docusaurus and changes for hub (#4409)
* feat: adds bot docs to docu

* fix: file structure

* fix: brings changelog and switch platform button

* adding available options and changing Example text

* fix: detect whether iframe, fix availableoptions component, dynamic update third friday for options component

* fix: updated readme to reflect new changes

* fix: made it so from iframe only shows relevant sidebar

* PLAY BUTTON WOOO - works on discord/charting/chart

* comment

* fix: search bar, improve search

* fix: hijacks ctrl+k from iframe, adds visit to hub link

* about

* setting up play button for all images on Discord

* Bot docs updates

* terminal/faqs

* update main page

* add changelog to terminal

* SDK refactoring

* minor reordering

* bot struct in place

* move bot faqs over

* updating bot index and installation

* add new letterings

* fix: adds new navbar

* fix: new bot images and layouts

* updating installation and flow

* black linter

* spelling

* spelling

* The best commit

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-16 16:29:57 +00:00
teh_coderer
1fe786b79b Hotfix/Interactive in featflags menu (#4500)
* added `USE_INTERACTIVE_DF` to `featflags` menu, `console.print` changed value

* Got things working

---------

Co-authored-by: colin99d <colin99delahunty@gmail.com>
2023-03-16 16:09:12 +00:00
Henrique Joaquim
da5665af6f remove old sdk files (#4498) 2023-03-16 13:07:24 +00:00
Colin Delahunty
65818683c2 Hotfix/fred (#4493)
* Updated reqs

* Updated reqs

* Fix test

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-15 20:33:35 +00:00
Colin Delahunty
753ccfecf7 Added fix (#4492)
Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-03-15 20:16:22 +00:00
teh_coderer
d216d8df96 fix: added print_to_console arg to print_rich_table and fixed crypto performance opening in pywry window (#4495) 2023-03-15 20:15:57 +00:00
montezdesousa
b19dc5205d Remove matplotlib references (#4479)
* remove theme refs

* will come for dtabento later

* remove theme refs except databento

* ruff

* remove mpl variables

* mpl still used in po

* move databento to plotly

* pylint

* ruff

* theme ref to openbb_terminal

* juans sugg

* fix: removed raw arg in `display_candle` which could return the dataframe and error, added figure to `export_data`

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-03-15 14:25:59 +00:00
Colin Delahunty
8bd7606120 Fix Pandas Warning (#4490)
* Added fix

* Added fix

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-15 13:25:50 +00:00
Jeroen Bouma
46fcf9c950 Add version featflag (#4487)
* Add version featflag

* Small mistake, ta also complained
2023-03-15 09:33:09 +00:00
Jeroen Bouma
452ecd1275 Make adjustments to the guides (#4477)
* Update the website guides

* Fix wrong paths in about functionality

* Update settings and feature flags menu

* Done

* Done

* Update screen
2023-03-14 20:07:35 +00:00
Theodore Aptekarev
a276dc4dfe Update reddit connection client (#4478)
* Change deprecated psaw dependency to the maintained pmaw

* Fix docstring linting errors

* Remove deprecated watchlist command because it's taking too long to run

* Remove deprecated spac command because it's taking too long to run

* Update SDK and trailmap

* Fix legacy seaborn chart popping up when calling redditsent

* Clean up spacc code

* Refactor reddit ba commands to reflect the dependency change

* Change regex that searches for tickers

* Fix popular command error when no stock tickers found

* Update tests

* Update requirements.txt files

* Sync dependencies with upstream

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-14 17:54:15 +00:00
montezdesousa
7ec63f827b Authentication QA fixes (#4472)
* fix logout cmd

* fix sync flag

* change msg

* update request test for delete session

* fix autocompletion for routines upload

* append to list of choices

* fix autocompletioin

* black

* mypy

* rewrite tests
2023-03-14 17:52:56 +00:00
Henrique Joaquim
1cdee7da70 change sessionid to uuid-like format (#4476) 2023-03-14 17:23:17 +00:00
montezdesousa
5a69fba516 Prefix OPENBB_ for .env vars (#4475)
* prefix OPENBB_ for .env vars

* black

* remove prefix only for dataclass

* remove openbb_ from setters

* don't send pref if sync disabled

* fix last commit

* add fields methods to handlers
2023-03-14 13:42:47 +00:00
Henrique Joaquim
0a15ec945b patch UserModel on logs (#4474) 2023-03-14 11:40:33 +00:00
teh_coderer
1be858c261 Update backend.py (#4471)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-13 18:24:31 +00:00
Ganesan Narayanan
7bd6537d07 docs: typo fix (#4466)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-13 17:59:01 +00:00
jose-donato
40cfe8148d Interactive tables using react (#4386)
* feat: experimenting tables with react

* feat: adding new interactive tables

* feat: adding more table features

* small changes

* update

* Update backend.py

* Update backend.py

* fix: dark mode?

* feat: lot of table improvements

* fix: my b

* fix: load only when prod

* feat: naive detect links and dates

* handle index and column names

* increased min width

* codespell

* mypy, pylint

* fix: added new chart, export, etc

* testing

* updates

* fix : add PLOT_OPEN_EXPORT,  USE_INTERACTIVE_DF to user dataclass

* bump pywry version, readd removed `plots_backend().start()`

* req files

* Update unit-test.yml

* Update unit-test.yml

* Update unit-test.yml

* updates

* fixing some date things

* update table

* fix formatting with timezones

* fixing some long prints and tables

* Mickey Mouse

Co-authored-by: teh_coderer <tehcoderer@users.noreply.github.com>
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>

* fix: ?!?!?

* adding limit arg to all print_rich_table

* tests

* lint

* simple by Default on interactive charts

* playing with some css (thks jose)

* Fix #4426

* Edit some structure

* fix sdk generation

* Update backend.py

* fa menu tested and working

* fix #4460

* fix #4460 drop indices

* update tests

* update tests

* Update helper_funcs.py

* tests

* Update unit-test.yml

* Update etf.ipynb

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: teh_coderer <tehcoderer@users.noreply.github.com>
Co-authored-by: jose-donato <jose-donato@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-13 17:50:48 +00:00
montezdesousa
723a3955db Fix stocks/fa/fraud command (#4469)
* move tradier to data providers

* key not sent´

* black
2023-03-13 17:30:55 +00:00
Henrique Joaquim
246404c79d Patch flag for log collection (#4470)
* Change the name of the flag on the user preferences

* patch flag for log collection
2023-03-13 16:26:00 +00:00
montezdesousa
38e819896c Fix preferences handler bug + dataclass repr (#4468)
* move tradier to data providers

* fix handlers
2023-03-13 15:59:28 +00:00
David Li
cbdf33603c Update SDK_README.md (#4461) 2023-03-12 18:57:27 +00:00
Krasimir Nedelchev
ef388126b8 docs: fix typo (#4464) 2023-03-12 18:57:13 +00:00
Luqman
c7e628584d Fix docs path for docker and pypi (#4451) 2023-03-10 23:08:42 +00:00
montezdesousa
bea21dff28 Handle pydantic ValidationError reading .env (#4456)
* move tradier to data providers

* handle env load errors

* improve message

* detail model in message
2023-03-10 23:07:40 +00:00
Henrique Joaquim
740152b862 Integration tests for etf/ta (#4450)
* some adjustments and added int tests for etf/ta

* ruff
2023-03-10 19:23:46 +00:00
montezdesousa
fea616ee90 Move start plot backend (#4454)
* move start plot backend

* update sdk helper
2023-03-10 14:29:27 +00:00
Henrique Joaquim
ae0a79ce0d Change the name of the flag on the user preferences (#4452) 2023-03-10 12:24:54 +00:00
Chavithra
aac18a7ab9 /portfolio/po : allow getting plotly figure with the SDK (#4449)
* Allow turning charts into fig on SDK

* Linting

* /portfolio/po : nicer plotly export

* Linting

* Linting

* Linting

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-03-10 12:00:04 +00:00
teh_coderer
49b0140df2 fix: Edge case of temp html files deleted when multiple terminals open and one is closed (#4448)
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-03-10 11:35:15 +00:00
montezdesousa
6a26d4e908 Update routines upload (#4445)
* update routines

* ruff
2023-03-10 10:34:33 +00:00
jose-donato
9211a8595c Update documentation with more detailed installation instructions, requirements and more (#4382)
* fix: changed button styles

* Make Rosetta requirements more clear

* Update installation instructions

* Add seperation

* Update windows.md

* Update installation docs

* fix country choices (#4403)

* Hotfix/plotsbackend start (#4404)

* readd removed plots_backend().start() from merged PR

* Update backend.py

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* Update helper_classes.py (#4378)

Co-authored-by: James Maslek <jmaslek11@gmail.com>

* Add improvements to the website

* Fix keys wrong redirect

* Update installation

* Update requirements

* move things around

* Restructure everything

* Details

* fix: mac issue and redirect installation

* fix: mac macos

* Remove installation .md and make it dropdown

* Update installation of SDK

* Grammar

---------

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-09 17:05:10 +00:00
James Maslek
36c0c0f5c1 Update contributing guide (added a new feature while doing so) (#4391)
* Update contributing guide

* lint md

* lint md

* lint md

* Tests + fix some markdownlint things

* Get rid of irritating newline on reset

* Trying something small

* try something else

* linting

* Change cfg to the new user object

* words

* minor improvements

* some adjustments to the contributing guidelines

* Another pass at contributing

* spelling

* we need a local markdown linter

* why does this pylint disable still fail

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-03-09 16:39:37 +00:00
northern-64bit
03c18f5a6f Fix portfolio and benchmark length matching (#4218)
* Fix portfolio and benchmark length matching

* Fix linting

* Fix make_equal_length

* Handling pd.Series input

* Fix alloc command

* Fix metrics, yret and summary errors

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-09 11:41:43 +00:00
Henrique Joaquim
ac34a4114d Improve integration tests (#4438)
* improve crypto/ta int test

* improve crypto/ov int tests

* improvements to int tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-08 21:14:02 +00:00
montezdesousa
47f3e76987 Fix fa/income bugs + update integration tests (#4433)
* fix bug

* update test

* fix yf bug on income statements

* update integration test

* fix yf cash, balance, bug

* add enterprise test

* fix dupont

* fix av keys missing in request

* ruff

* av model api key

* pylint

* pylint

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-08 21:13:36 +00:00
Jeroen Bouma
87cea82808 Improve stocks/fa/enterprise, now stocks/fa/mktcap, functionality (#4424)
* Improve enterprise, now mktcap, functionality

* Update the scripts to work better with SDK

* Update the tests'

* Update integration tests

* Change SDK

* Spellings

* one more spelling

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-08 20:47:13 +00:00
Jeroen Bouma
c1537d8586 Update FinanceDatabase to v2.0.9 (#4434)
* Update to v2.0.9

* Fix tests just because it said pkl instead of bz2

* Fix unrelated pylint issue

* Someone doesnt care about linting

* Update more tests
2023-03-08 16:25:36 +00:00
Henrique Joaquim
e99fd90361 Patch reports (#4428)
* fix equity report

* fix economy report

* fix etf report

* fix forex report

* fix portfolio report

* fix crypto report

* fix forecast report

* fix sdk generation

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-08 16:05:51 +00:00
montezdesousa
d9faafa9ad Fix wrong version number (#4429)
* remove refs to featureflags

* test refs to obbff

* test refs to obbff

* ruff

* fix unittest

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-08 15:54:34 +00:00
Henrique Joaquim
3203048fc6 fix dcf messages for non-us companies (#4430) 2023-03-08 14:59:27 +00:00
montezdesousa
291bb18dfa Fix .env reading before loading (#4432)
* fix .env reading before loading

* Update sdk.py

* import cfg terminal explicitly

* clear

* add comment and update sdk helper

* make it even more explicit

* remove some comments

* pylint

* pylint
2023-03-08 14:19:09 +00:00
Henrique Joaquim
5656dacff6 Fix ff breaking terminal (#4431) 2023-03-08 12:08:59 +00:00
James Maslek
ff750ca00d Fix nulls in fa commands from FMP (#4421)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-03-07 15:50:14 +00:00
Jeroen Bouma
3d84247e5f fixedincome/treasury some fixes (#4413)
* Fix treasury

* Update oecd_model.py

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-07 14:18:51 +00:00
montezdesousa
fdcc6b0252 Fix Stocks/Candle --raw - sort choices are not the columns. (#4411)
* fix sort choices

* remove nargs

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-07 14:02:52 +00:00
Danglewood
9e294fcf80 fixes broken URL for (#4414)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-07 08:37:23 -05:00
montezdesousa
bc93f8ff9f update default sources (#4419) 2023-03-07 08:36:34 -05:00
Raghavendrapara
83ede5c840 Fixes #4351 - Data displays in chronological order(recent to older) a… (#4408)
* Fixes #4351 - Data displays in chronological order(recent to older) and correct Insider name

* Revert chronological sorting to reverse order
2023-03-07 11:27:56 +01:00
montezdesousa
f2316b15e8 Allow stocks/load --file from anywhere (#4410)
* allow load file from anywhere

* ruff

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-03-06 15:25:02 -05:00