Commit Graph

5537 Commits

Author SHA1 Message Date
James Maslek
84f215d4bd Remove economy/rtps and stocks/ta/rsp (#5181)
* remove economy/rtps

* remove ta/rsp

* Forgot the sdk

* remove  from stocks/ta choices

* remove terminal ta intro reference

* remove sdk economy intro reference

* remove from integration tests

* delete gpt index txt files

* more .md files to remove

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-07-07 14:06:43 -04:00
martinb-bb
96727d49e9 [Update] bump langchain and llama (#5202)
* bump langchain and llama

* Pin scipy

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-07 14:50:40 +00:00
teh_coderer
77f34f54a2 Hotfix / Switch download_plotly_js to run in thread (#5203)
* change plotlyjs download to run in thread

* Update backend.py
2023-07-06 21:07:04 +00:00
Danglewood
8df31f8de4 feature/usd-liquidity-index: Adds USD Liquidity Index to Economy menu (#5174)
* add USD Liquidity Index to Economy menu

* mypy

* add screenshots to Terminal Economy Intro

* add test to test_fred_model

* add Broad US Dollar Index to list of comparables

* docs pages update

* fix test_nasdaq_model

* ask obb indexing

* return just the calculated series by default

* a grid for Squares

* raw table output

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2023-07-06 15:50:10 +00:00
Danglewood
be2af599da fixes random column header artifacts (#5199) 2023-07-05 21:03:47 +00:00
Danglewood
ee60f0efad feature/examples-optionsChains: Add Notebook example: optionsChains (#5165)
* update README.md with optionsChains

* uploads the notebook file

* fix nasdaq load

* Adds a cell for the IV skew smile

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-05 17:47:43 +00:00
Danglewood
598e745beb hotfix/fix-intrinio-load: (#5188)
* fix intrinio stocks load

* update test_stocks_helper

* makes --monthly --weekly work

* pytest

* fix test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-05 16:52:37 +00:00
Danglewood
b6b1fcd782 adds 6 new indices to the index list (#5185) 2023-07-05 13:24:18 +00:00
Danglewood
0af2025b71 fix example (#5196) 2023-07-05 13:22:56 +00:00
teh_coderer
923327c321 hotfix / Save session on oauth login (#5195)
* save session on oauth login

* avoid `asyncio.run` if in a running loop

* tests

* fix economy rtps
2023-07-04 23:08:16 +00:00
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