Commit Graph

5527 Commits

Author SHA1 Message Date
Harsh Vardhan Sharma
ecf7814ffd Adds Topledger on-chain data (#5029)
* Adds Topledger on-chain data

* Update with Review Comments

* Updates API Documentation for Topledger API

* Removes Duplicate entry from trail_map

* Updates Topledger Org Slugs & API keys

* Fix Linting Error

* Fix Linting Error

* Fix Linting Error

* Fix pylint errors

* Fix onchain_controller test for help text

---------

Co-authored-by: Deepak Khatri <3785149+dkdocs@users.noreply.github.com>
2023-06-30 16:16:59 +00:00
teh_coderer
d2ed7c28ac hotfix / TA ma's empty if not enough data for window (#5180)
* fix: TA ma's empty if not enough data for window

* Update test_load_options.yaml
2023-06-24 02:59:07 +00:00
Danglewood
4bc4368ff1 fix columns subtracting (#5170) 2023-06-22 21:52:48 +00:00
James Maslek
f516173fdc Merge pull request #5168 from OpenBB-finance/release/3.1.0
Release/3.1.0
2023-06-22 09:15:27 -04:00
James Maslek
8b08786898 no cache pip 2023-06-21 21:42:08 -04:00
andrewkenreich
37ed859944 Merge branch 'release/3.1.0' of https://github.com/OpenBB-finance/OpenBBTerminal into release/3.1.0 2023-06-21 20:31:44 -04:00
andrewkenreich
5156dd58d1 update ssl cert 2023-06-21 20:31:39 -04:00
James Maslek
909b41b4d9 python generate sdk 2023-06-21 16:08:40 -04:00
James Maslek
bdc23a6f2f just change the message for being logged in 2023-06-21 15:09:16 -04:00
James Maslek
66315e8ce4 Addings --user did not work 2023-06-21 13:18:05 -04:00
James Maslek
2a93a89ce6 idk anymore 2023-06-21 12:53:32 -04:00
andrewkenreich
2280037aa0 testing 2023-06-21 12:30:44 -04:00
James Maslek
3450a563db idk now 2023-06-21 11:56:48 -04:00
James Maslek
0d0b330f72 again 2023-06-21 11:35:10 -04:00
James Maslek
b3c8a0acbb again 2023-06-21 11:29:42 -04:00
James Maslek
9d915f1aed change conda again 2023-06-21 11:17:46 -04:00
James Maslek
8885bece1a why is windows so bad 2023-06-21 10:58:19 -04:00
James Maslek
ba25b25436 update unit test on windows 2023-06-21 10:43:02 -04:00
James Maslek
590f487dbd update test 2023-06-21 10:33:40 -04:00
James Maslek
d7dfc186e3 Merge branch 'release/3.1.0' of https://github.com/OpenBB-finance/OpenBBTerminal into release/3.1.0 2023-06-21 10:10:56 -04:00
James Maslek
12406a90c6 Update mdx 2023-06-21 10:10:43 -04:00
James Maslek
444e8ca534 Merge branch 'main' into release/3.1.0 2023-06-21 09:35:08 -04:00
James Maslek
8e8bc2c4dd Release 3.1 2023-06-21 09:34:10 -04:00
teh_coderer
a8eb862423 hotfix/ no username on reset (#5161)
* fix no username on reset

* bump windows to 3.0.2.0

* 3.1.0.0

* Update terminal_helper.py

* Update widget_helpers.py

* Update poetry.lock

* fix dashboards/reports on installer

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-21 12:58:31 +00:00
montezdesousa
105557e898 Feature/routine tags (#5154)
* no guest if installer

* prevent guest if logout from account

* this not true

* rename reloop var

* ask for email again if no email

* add tags to routines upload

* Update constants.py

* Update terminal_controller.py

* Update terminal_controller.py

* black

* ruff

* black

* Update constants.py

* point at .co

* mypy

* sneak in askobb timeout

* fix test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-21 12:31:00 +00:00
Igor Radovanovic
2fffa59b8b Fix shrs table (#5163) 2023-06-21 12:10:38 +00:00
Danglewood
346e4bc89b hotfix/options-stats-index-rename: renames the index column to 'strike' when get_stats('strike') (#5160)
* renames the index column to 'strike' when get_stats('strike')

* black

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-20 20:01:26 +00:00
teh_coderer
8a70c6205d Feature/ Pywry login (#5115)
* Update .gitignore

* init

* Update backend.py

* Update main.tsx

* Update no_import.py

* Update session_controller.py

* indents

* adjust window size

* update keys

* re-add save session for pywry login

* pop response keys on rename

* walrus remember

* use session username for profile

* implement logout clearing of cookies

* don't display welcome when logging in from `account` menu

* Update session_model.py

* Update session_model.py

* customdata handler for charts

* fix remember key

* only slice data if chandlestick trace in data

* Update profile_model.py

* Update streamlit_run.py

* Update plotly.html

* test

* Update loggers.py

* updates

* Update session_controller.py

* Update session_controller.py

* no longer need to call_hub for logout

* tests

* Update test_session_controller.py

* Update profile_model.py

* bump pywry, fix numbers passed as strings tables

* update plotly frontend packages

* formatting

* Update backend.py

* Update backend.py

* change to prod

* return on image export

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-20 17:47:38 +00:00
Danglewood
42bf98d6a4 hotfix/options-chains-guide: Adds SDK intro guide for Options Chains (#5155)
* add SDK intro guide for options chains

* add screenshots to page
2023-06-20 12:52:52 +00:00
James Maslek
228f0c4f69 Query askobb on api openbb co (#5153)
* Query askobb on api openbb co

* mypy
2023-06-19 22:48:53 +00:00
martinb-bb
bf33211219 Progressive improvements to askobb v0.3 (#5150)
* temperature

* remove home

* preface home

* Add askobb to all menus

* 0.3

* index

* temp +

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-19 17:31:46 +00:00
martinb-bb
c6418dce71 Progressive improvements to askobb (#5148)
* candle updates. more to come

* minor prompt revision

* minor mods

* better prompt

* more mods

* update to .23

* 0.23

* more updates

* ruff

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-19 14:38:34 +00:00
Danglewood
a7edda330d Feature/options - OpenBB Options Enhancement Proposal (Part 1 - SDK) (#5079)
* add model file for Montreal Options Exchange

* mypy fixes

* define attributes under __init__

* type error fix

* another pylint fix

* adds tests for tmx_model

* black

* mypy

* adds expirations test and re-records

* black

* capture error message in test

* mypy

* add __docformat__ line

* improves get_all_ticker_symbols

* removes python magic command for new cell

* adds TMX as source for SDK chains

* starts on a new method for loading options data returning a standardized object

* add load_options as SDK endpoint

* intrinio response - not complete

* adds tradier to load_options

* add source attribute to options object

* restore legacy nasdaq last price function

* yFinance underlying_price fixes

* yFinance model fix

* adds cboe to sdk options load

* table fix

* creates options_chains_model.py and updates SDK map

* docstrings added for the class.

* updates tmx_model tests

* fix options_controller test

* adds cboe_model tests

* spelling in docstring

* ruff - unused import

* mypy fixes

* more mypy fixes

* pylint

* attempt to manually resolve merge conflict.

* nasdaq_model fix

* adds test coverage for options/nasdaq_model

* docstrings update for nasdaq_model

* mypy fix

* adds unit testing for options_chains_model

* adds additional tests for intrinio_model

* unused import fix

* fix for .TO symbol and TMX EOD chains

* make CBOE Pydantic

* cboe update

* adds switch for pydantic output from all sources

* black

* index options error handling for Intrinio

* add warning message for index options from Intrinio

* tmx_model enhancements

* cleans up get_ticker_iv() in cboe_model

* fix ticker info for index symbols from cboe

* typo in comments

* adds test for tradier_model.load_options

* cboe optionType as lower case

* add function for calculating chains stats

* black

* trailmap for calculate_chains_stats

* adds test for calculate_stats()

* more details to nasdaq.underlying_price

* typo in docstrings

* mypy - options_chains_model.py

* black - options_chains_model.py

* pylint options_chains_model.py

* standardize response from intrinio underlying price

* add function to validate input of function

* missed type hint

* additional error handling for stats

* adds DTE as column for all sources

* adds strategies function and input validation

* add yFinance test for load_options()

* add Nasdaq test for load_options()

* tests for new functions in options_chains_model

* update sdk trailmap

* rewrite tests

* fixes for tests

* fix tmx_model test

* more pytest

* pytest..

* add vertical call spread function

* some cleanup

* update nasdaq tests

* more cleanup

* black

* pylint

* black

* ruff

* black

* pylint

* black

* pylint..

* tests rewrite

* more pytest

* recapture tests

* Different tests were collected between gw1 and gw0

* adds vertical spreads

* vertical_put_spread

* improve calculate_stats

* mypy

* edge cases

* black

* update tmx,yfinance tests

* new cboe tests

* new tmx_model tests

* fix nasdaq test

* test updates

* fix nasdaq tests

* add test_options_chains_model

* refactor data sources

* black

* pylint

* fixing stuff

* forgot a file..

* codespell

* linting

* mypy...

* refactor OptionsChains class

* pylint

* reconfigure SDK entry point

* fix error handling when data request fails

* ruff

* pylint

* pylint

* Add inheritance and a repr string

* add method for skew

* add method for skew

* fix nasdaq test

* add skew to tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-19 13:11:16 +00:00
James Maslek
27bf7207ee Small enhancements (#5146)
* Cosmetic changes + timeout bug

* cant spell

* Fix #5085

* Handle ca tickers + fix tests

* wrong type

* pylint
2023-06-16 14:46:11 +00:00
Bim Phomthong
de45a661c3 Added error handling to check correspondence of fiscal dates in balance sheet and income statement (#5147) 2023-06-16 13:26:23 +00:00
Danglewood
ae452852d7 adds debug mode instructions for terminal and sdk (#5145) 2023-06-15 21:48:49 +00:00
teh_coderer
e464b4ebbb fix theme fails if trace.marker.color isn't an array (#5144) 2023-06-15 13:12:06 +00:00
teh_coderer
4babd35ee6 fix chart overlay x column not set by default (#5142) 2023-06-14 21:44:29 +00:00
James Maslek
250a78200b Move askobb to cmd and change question to prompt (#5141)
* Move askobb to cmd and change question to prompt

* spellings

* try lower case iignore words?
2023-06-14 21:26:59 +00:00
Igor Radovanovic
2ab5f4ba85 Add column names (#5139) 2023-06-14 17:11:02 +00:00
Saharat Phomthong
a0ea69744b Wrong type ticker (#5138)
* fixed the type error in issue #5120

* fixed type error in issue #5120

* apply black formatter

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-14 13:12:50 +00:00
Igor Radovanovic
08433a76c8 Fix income and cash flow statements (#5137) 2023-06-14 12:57:43 +00:00
Danglewood
0f308fa4f9 rename bad column header (#5136) 2023-06-13 22:02:27 +00:00
James Maslek
37d44da598 Add index names so import works (#5134)
Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-06-13 16:07:33 +00:00
jose-donato
c5d5b511ac Adds crypto fees revenue command (#4067)
* fix: initial commit

* fix: extra stuff

* fix: lint

* fix: ruff

* fix: linting

* fix: ruff

* fix: pylint

* fix: maybe fixed tests maybe not

* fix: pr issues

* fix: tests

* fix: updated test locally

* fix: generate sdk cmds

* fix: added source

* fix: tests maybe

* fix: lint

* fix: tests

* test

* test

* test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2023-06-13 13:50:17 +00:00
Igor Radovanovic
6ed43197db Fix wrapping (#5133)
* Fix wrapping

* Re-record unit tests
2023-06-13 12:37:39 +00:00
Igor Radovanovic
880ddfd06a Fix help and question (#5132)
* Fix help and question

* Delete comment
2023-06-13 12:36:36 +00:00
Igor Radovanovic
16f1af4574 Fix blank chart (#5128) 2023-06-13 05:57:19 +00:00
Saharat Phomthong
47e6912040 small typo fix in contributing guidlines (#5125) 2023-06-12 15:36:21 +00:00
teh_coderer
73e59804fc hotfix/ Include plotly.js in reports html + Improve Charts in Reports (#5126)
* include plotly.js in reports html, implement new plotly multi-legends feature

* use `ensure_backend` to `check_backend`, improve charts in reports

* requirements files

* fix files with `CRLF` line endings

* Update widget_helpers.py

* Update widget_helpers.py

* handle unsupported plotly multiple legends version error
2023-06-12 14:10:13 +00:00