Commit Graph

152 Commits

Author SHA1 Message Date
Ali Asad Lotia
71ba66fc5a Update latest allowed python version to 3.10.x (#2208)
* Update latest allowed python version to 3.10.x

* Update dependencies using `poetry update`

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-08-16 09:57:52 -04:00
James Simmons
0f01b8437d Release 1.7.0 (#2300)
* Version Bump

* Changing pred install for intel workflow

* Disabling prediction menu

* Fixing codesign paths

* Changing disk location for detach

* Making sure to not pull from main

* changing windows build

* Hopefully final change for the release

* codesign fix

* fixing package stuff

* Fixing feature flags and env

* Adding comments about feature flags

* Changing windows build back

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-08-12 13:44:27 -04:00
Jalil F
47b25a933e Lock Scipy to 1.8.1. Fixes OpenBB-finance/OpenBBTerminal#2226 (#2227)
* Lock Scipy to 1.8.1. Fixes OpenBB-finance/OpenBBTerminal#2226

* Updating requirements.

* Added lock

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-08-09 16:23:13 -04:00
Theodore Aptekarev
507cbfab39 Small fix (#2240) 2022-08-03 07:48:45 -04:00
DidierRLopes
8eed33b62f News from feedparser + Binance API key check fix (#2192)
* fix binance controller API key

* add news to main menu

* feedparser

* trying to help

* requirements for didier

* one test

* fix suggestion by @rpydaneogrendim on Twitter

* fix tests

* trying to help again?

* test

Co-authored-by: james <jmaslek11@gmail.com>
2022-07-29 22:13:45 +01:00
jose-donato
cace78c242 Replace crypto exchange apis with CCXT (#2158)
* ccxt added

* updated text

* added docs, tests

* updated requirements

* didier requests
2022-07-26 10:04:44 +01:00
James Simmons
d6291ead84 Release/1.6.0 (#2106)
* Fixing paths for build procedure

* Adding back env file

* Updating pyproject and setup.nsi files for release

* Update version on feature_flags.py

* Fix default sources path not working in installers

* Fix crypto/ov/wf

* Remove old and slow tests from openbb scripts folder

* Adding a note about to explain that prediction is not available for Mac users

* Disabling prediction menu via env file

* Fix tkinter bug on windows ci by specifying the mpl backend

* Adding prediction back in and deleting previous comments about prediction not being available

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-07-21 00:19:13 -04:00
Theodore Aptekarev
5267af2876 Bump python version (#2061)
* Add python 3.9 conda environment

* Bump dependency versions

* Bump default python version in github actions to 3.9

* Update install documentation

* Update tests

* Bump black version in conda environments

* Skip test_display_norm in econometrics menu tests

* Bump black and tensorflow versions in pyproject toml

* Attempt to fix failing concurrent windows tests

* Skip test_display_norm in econometrics menu tests

* Bump python in conda test workflows

* Update requirements.txt

* Fix old version fallback tag
2022-07-12 16:30:59 +03:00
Colin Delahunty
b6300e906c Fix for DCF glitch (#1932)
* Added fixes

* Added fixes

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-06-14 17:09:38 +03:00
Theodore Aptekarev
79e9275ccf Release/1.5.0 (#1926)
* Add more build assets and all notebook checkpoints to ignore

* Delete old reports that were accidentally added to the repo

* Fix portfolios not bundling

* Add mac installer image assets

* Update license

* Make the code folder hidden in macOS package

* Add folder and launcher icons programmatically during build

* Change dmg creation tool to create-dmg

* Update macOS installation docs

* Bump project version

* Update macOS installation instruction image links

* Fix macOS installation instructions styling

* Unify macOS install instructions image size

* Point download links to the website vs github

* Fix macOS launcher self-quarantine command

* Fix routines not launching in packaged apps

* Fix .openbb test mode not displaying filenames during test run

* Remove file with weird apple character in path
2022-06-10 21:32:13 +02:00
Theodore Aptekarev
83f35e80c2 Release/1.4.0 (#1909)
* Fix stocks_bt integration test script

* Stop keeping parts of third-party libraries that are bundled

* Update pre-commit

* Disable false positive pylint in some crypto models

* Add i18n support to packaged apps

* Add more sklearn hidden imports

* Fix routines files path

* Fix stocks/pred openbb test script

* Fix website not building because of expo command removed

* Bump project version and update deps

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-06-07 16:14:36 +03:00
martinb-bb
f0f2fd688d removing expo until forecast menu for installer (#1896)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-03 22:55:52 +03:00
Theodore Aptekarev
7a79dc2f3e Lock pylint version (#1890) 2022-06-02 14:06:42 +03:00
didierlopes.eth
49560ab880 Econometrics UX (#1878)
* improve econometrics load, custom_reset

* improve econometrics UX and remove options cmd

* fix sector and industry analysis

* improve econometrics and export data from main menu

* improve toolbar vis to add helper -h

* imporve type and desc

* add logger

* econometrics improve ols

* improve root and norm commands

* more cleanup

* improve econometrics commands

* api econometrics

* tests econometrics

* improve index command

* change modify to add,delete,combine and rename

* minor fix

* update docs

* update pylint

* update pylint

* tests

* Update documentation

* fix type command

* index

* improve more econometrics for Jer

* improve docs

* fix tests

* fix test

* remove help

* Add in robustness for when you select two dependent variables

* Update Website documentation

Co-authored-by: JerBouma <jer.bouma@gmail.com>
2022-06-01 12:41:45 +01:00
Theodore Aptekarev
35ba7fd79f Fix tests and bump pandas version (#1888)
* Fix forex polygon model tests

* Release pandas version lock

* Release pylint version lock on the CI

* Alternative : covid - fix csv separator issue

* FIx spacing change related to pandas upgrade

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-05-31 14:46:45 +02:00
Theodore Aptekarev
0f0604a387 Update pred deps and instructions (#1885) 2022-05-31 12:53:48 +03:00
martinb-bb
5f8eb43620 Time-series forecasting (Exponential Smoothing) with Darts Integration (#1851)
* Working exponential with bugs

* utilizing business datatime + fillers

* working figures

* expo with more functionality

* historical forcasting feat.

* numeric values for forcasted days

* print pretty predictions

* formatting

* code cleanup

* doc strings fix

* more docs

* quick fix

* refactoring

* poetry updates

* typo

* test script update

* update requirements.txt

* refactoring and Hugo website

* Update _index.md

* reverting poetry and requirements for now.

* minor mod and removal of space

* Update readme for forecasting

* removal of old TF version

* reqs and poetry

* linting

* merge main.yml from main

* supress warnings due to lib version change

* reverting main.yml

* retrying expo on main.yml

* fixing fundamentalanalysis version

* update poetry fundamentalanalysis

* type casting arg parse

* seasonal period default update

* update en.yml

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-05-24 22:33:56 +01:00
didierlopes.eth
707fd8f506 Terminal supporting controller with multiple languages (#1730)
* initial implementation of terminal supporting multiple languages

* improve quote command

* stocks controller with english translation pattern

* add language to settings

* update reqs to have python-i18n

* find languages automatically

* add to documentation how to support another language

* markdown

* fix no member issue

* fix test

* refactor code with translations

* translate for options and options/scr

* solve translation for all submenus within options controller

* fix stocks controller tests

* translate disc and th

* dps and sia menus

* scr and ins

* add gov controller

* fix tests for new controllers

* stocks/ba and stocks/ca menus

* add stocks/fa

* res controller

* stocks/dd

* stocks/bt

* qa and pred

* crypto and crypto/disc

* overview and onchain menus

* defi

* nft and tools

* crpyto/dd

* stocks and crypto TA

* finish crypto menu

* finish ETF controller

* finish economy menu

* forex

* alternative and mutual funds

* refactor source for translated version

* econometrics and portfolio and brokers

* portfolio

* fix tests

* finish language implementation

* refactor code for cmds

* improve keys

* refactor name funcs and add docstrings

* fix minor stuff

* fix tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-05-24 21:56:16 +01:00
Jeroen Bouma
93af06a9bc Fix me renaming my own package (#1830)
* Fix me renaming my own package

* Work?
2022-05-17 18:02:22 +02:00
Theodore Aptekarev
e22285945d Update project version (#1807) 2022-05-12 19:52:02 +03:00
Theodore Aptekarev
cc52bf5b16 Stop treating loss as a small value (#1770) 2022-05-06 01:06:59 +03:00
Theodore Aptekarev
6cb6662e58 Bump project version (#1769) 2022-05-05 20:49:43 +03:00
Theodore Aptekarev
2ce3fe460b Fix bugs, remove feargeed and improve help messages (#1767)
* Fix defi lending and borrowing (test_crypto_defi.openbb)

* Update Defi test data

* Remove cnn feargreed command from economy menu

* Fix stocks/ba integration tests

* Fix whale alert redirects blocking the keys menu

* Add failed request handling to whale alert command

* Remove feargreed from hugo

* Remove feargreed from bot

* Warn that portfolio optimization can take a long time

* Remove feargreed from project deps

* Update welcome message

* Update requirements txt

* Fix welcome message test

Co-authored-by: piiq <piiq@tinag.ru>
2022-05-05 18:18:58 +03:00
Riskfolio
34bc290dde New portfolio optimization menu (#1642)
* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Update _index.md

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* configure portfolio optimization parameters ini

* minor improvement

* Revert "New-Portfolio-Optimization-Menu"

This reverts commit b4b7169cfb.

* Add in Excel functionality and improve the capabilities

* Add Excel load function

* Tidying up the functions

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Re-add my code

* Some spacing and details

* Add folder structure for portfolio

* Update terminal file loading

* New-Portfolio-Optimization-Menu

* Make it possible to move from params to po with loaded file

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Making the connection between the parameters file and the functions

* Add in allocation and new params files

* Improve params default settings

* New-Portfolio-Optimization-Menu

* Update Portfolios and Params sheets

* Update sheets

* Update command to load in correct sheet

* Adjust function to only read specific columns

* Update portfolio

* Small correction

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Patched up show error

* Add Equity portfolio

* Make functions more robust

* New-Portfolio-Optimization-Menu

* New-Portfolio-Optimization-Menu

* Add in Params documentation

* Fixing Linting

* Add in Requirements and Poetry Updates

* Update website

* linting

* Update tests

* Minor fix

* remove unneccesary READMEs

* Remove expected variable type

* Improve documentation

* Clean up the code

* Refractoring

* Adjust names to make it OS friendly

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-05-03 13:54:01 +02:00
Theodore Aptekarev
53049003f2 Fix user path (#1737)
* Decouple export path composition into a separate function

* Fix typos, linting and text formatting

* Improve cross platform compatibility of user home path handling

* Fix export path for pir and dcf

* Remove excessive iteration from fa integration test

* Add investpy data to fix funds menu

* Clean up logs dir before build on macOS

* De-quarantine terminal package on launch on macOS

* Add docstring

* Update dcf test data

* Remove recording new data every time pycoingecko tests run

* Skip pycoingecko tests

* Update deps to fix CI tests on main

* Bump Pygments version to fix the CI

Co-authored-by: piiq <piiq@tinag.ru>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-04-26 14:48:28 +03:00
teh_coderer
07c053fcff Bots plots refactor.. 90% html size decrease! (#1686)
* update

* init

* req

* fix

* req

* meh

* updates

* syspath

* update

* local plotly, and scope logic

* refactor

* oops typo

* plot dpi fixes

* fix tests

* fix

* poetry update, reqs

* some adjustments

* added plot settings for scat/options

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-04-15 10:41:17 +01:00
Theodore Aptekarev
fa9405eef6 Resolve dependency issues (#1640)
* Fix print test script name for ppl who didn't rename the repo folder

* Update requirements

* Move pandas-market-calendars to main requirements

Co-authored-by: piiq <piiq@tinag.ru>
2022-04-06 11:57:47 +03:00
Artem Veremey
b7d30c22dd Updating dependencies and putting kaleido into a shibajail (#1592)
* Updating dependencies and putting kaleido into a shibajail

* Downgrading jinja2 to accomodate papermill

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-29 12:26:12 -07:00
jmaslek
b71abcfbf4 Updating some names (#1575)
* quick econ fix

* black

* keys and feature flags

* terminal name 👀

* some more replacements

* some more replacements

* edit pyproject

* gst -> openbb

* add example portfolios back to git

* Update api from gst

* sorry.  skipping some tests

* another round of names

* another round of test edits

* Missed some .gst refs and update timezone

* water mark stuff

* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS

* fix more GST to OpenBB Terminal

* Logging : merge conflicts with main

* Revert wrong files

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 09:46:26 -04:00
Theodore Aptekarev
ab4de1dd70 Create a packaged app bundle with Pyinstaller (#1525)
* Add dashboard widget assets

* Add ipywidgets and ipyflex to project

* Add currencies dashboard notebook

* Update docs and docstrings

* Add pyinstaller to project deps

* Add pyinstaller artifacts to gitignore

* Fix linter errors in terminal.py

* Update cspell hook and action with a pyinstaller specific word

* Add pyinstaller specfile and artifacts

* Add splashscreen image

* Add app icon

* adding splash screen support to terminal.spec and terminal.py

* Restore the conda env build files

* Sync deps

* Add border to the splashscreen image

* Clean up terminal launcher

* Add support for default feature flags in packages apps

* Fix types and linting

* Add splashscreen management to app bootup

* Check prediction feature flag when entering crypto/pred

* Update pyinstaller spec file

* fix .spec file to work for splash and icon - removed the ".."

* Allows to export when using installer (#1568)

* fix export for packaged apps

* fix filename

* Git : replace commit_hash when it is set in config_terminal

* Add update of the git commit hash in gtff default during build

* Add packaged app name and feature flag to logs

* Add platform specific icon assignment

* Add macOS build assets

* Add tensorflow to hidden imports

* Move LOGGING_COMMIT_HASH to gtff

* Adding files/folders needed to .spec  and pyinstaller folder. This will make certain commands work again.

* Linting

* Workflow : ignore ./build/pyinstaller from codespell

* Workflow : exclude ./build/pyinstaller from flake8

* Poetry + Workflow : add types-six

* Pyinstaller : remove property_cached, user_agent and vaderSentiment

* Revert "Pyinstaller : remove property_cached, user_agent and vaderSentiment"

This reverts commit dbb3e2b810.

* Clean up local paths in specfile

* Validate deps have correct Jinja version (they do)

* Fix logging commit hash to be set correctly for the logger to see it

Co-authored-by: Andrew <andrew.kenreich@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-29 02:35:56 +03:00
Theodore Aptekarev
cfb1eb392f Update reports and dashboards with nicer looking examples (#1524) 2022-03-25 18:10:54 +03:00
Chavithra
56a9d76b80 Logging : refactor log generation/collection (#1538)
* Update only_send_file_size

* Updating only_send_file_size feature

* Updating only_send_file_size feature

* Updating only_send_file_size feature

* Updating settings_controller

* Update settings_controller : help message

* Data Collection : move boto3 as discord dependencies

* Update dependencies

* Refactoring log collection

* Refactoring logging

* Logging : add rolling clock

* Logging : enable daemon for logging clock

* Logging : fix linting and type

* Logging : update linting

* Logging : add comment

* Logging : remove empty log files

* Logging : adding PII filter

* Logging removing : unlink

* Logging : terminal.py

* Logging : linting

* Logging : linting

* minor changes

* Logging : update

* Logging : linting

* added userId

* userId NA

Co-authored-by: LBolte29 <lbolte@gmx.net>
2022-03-23 20:26:29 +01:00
teh_coderer
a36da387e2 fixes/tbl-columns-width/refactor (#1527)
* few changes

* import fix

* missed removing test config

* column order fix

* import fix

* removed df2img add new deps

* req

* update readme

* add dep for image export, fix

* get rid of yahoo-fin, add image export lib

* import issues in some machines fix

* images dir fix

* init fix

* fix?

* test

* test

* Fixed text handling

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: DjangoServer <colin99delahunty@gmail.com>
2022-03-21 11:54:19 -04:00
teh_coderer
50cafd500e Discord bot massive improvement (#1481)
* allow logs feature flag

* Adding log collection md

* upload last log at startup

* additions/refractor

* refactor

* lint/black ++

* disc

* TimeRotating Logger and upload to s3

* corrected regex error

* makeup for config

* logging/disc/sia/etf/++

* append .log before uploading

* process to upload logs to s3

* candle ta/etfmcds

* fix

* ta candles

* implement presignedURL

* fixed regex

* ma's in 1 cmd, delete older files

* refactor ta candle

* updates

* black

* moon?

* Logger uploader

* rotate every hour

* only archive if successful

* chavis suggestions

* windows

* ta

* commands_dict update

* discord tacmds

* log_collection error fix

* fix

* fix

* pylint

* bb fix

* only log filesize

* fixes

* discord logs

* Delete log_collection.md

* fixes for other bots on images

* bots image upload fix

* updated helpers/load candle

* more ta cc/housekeeping/refactors/slashcmds

* update bots cmds_dict

* adjustments to font size/fixes

* test fixs/disc earnings

* missed a spot

* fixes had > revesred

* reversed the >< again oops

* remove logger branch code blocking tests

* black fix

* fix missing sources in docstr/daily candle dt tz

* load_candle refactor with docstring

* moved insiders to disc

* Lucas logging changes

* Fixing log_collection.md

* testing scenario

* more ta converted

* more ta

* Update config_terminal : remove print of verbosity

* table cfg/fix matplt/ screener +

* fix

* what's sleep? 1 more line.. or 2. scr df2img

* juan more. fix news 1m chart issue

* ticker.upper() fixes

* Update log collection

* Updating log collection - change tmp folder

Co-authored-by: LBolte29 <lbolte@gmx.net>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: LBolte29 <97528701+LBolte29@users.noreply.github.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-16 10:21:27 +00:00
jmaslek
d35d24b69d Update black in poetry + update requirements files (#1476)
* Update black in poetry + update requirements files

* might as well run poetry update

* fix env yaml with new cvxpy

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-12 23:04:09 +03:00
minhhoang1023
e49d46e500 Fix bug Stocks Screener & Update finvizfinance package (#1443)
* Update attribute of finviz finance updated version

* Update lock file

* Add magnitude to columns with long number

* Update tests

* Fix tests

* Try to fix tests

* add col space

* Fix linting

* Re-run tests locally

* Change ticker

* Re-generate output and casssete

* Update tests

* Rewrite cassesstes

* Mute stdout & update to rest of commands

* Fix tests

* Add magnitude for rest of commands

Co-authored-by: teh_coderer <me@tehcoderer.com>
2022-03-11 04:18:56 +00:00
jose-donato
545e256b09 Slack Bot (#1465)
* initial slack files

* improving messages

* updated slack and telegram dependencies

* added website content

* added images in docs

* fixed functions docs

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-10 14:31:05 +00:00
Jeroen Bouma
f2ca215132 Econometrics Menu (#1403)
* Add Statistics Menu

* Add Granger Causality test

* Apply Black formatting

* Add Cointegration Tests

* Adjust plotting for Cointegration test

* Add Significant parameter to Cointegration tests

* Move regression functions to seperate .py files

* Progress on Panel Data

* A lot of progress for Panel Data

* Make functions robust and improve documentation

* Re-enable Breusch-Godfrey

* Add modify functionality

* Improve modify functionality

* Add Breusch-Pagan heteroscedasticity test

* Capitalize a word

* Include documentatin for the Statistics Menu

* Update _index.md

* Update _index.md

* Update _index.md

* Fix export statements and add Example datasets

* Update example with Longley's dataset

* Update documentation with a legit source

* Compare the results from each regression models based on the wage_panel dataset

* Updated with all relevant types of regression tables

* Update with all relevant regression types for Panel data

* Update _index.md

* Add change column type, improve OLS, add time and entity effects for FE

* Update documentation and fix a small bug

* Add in Statistics menu, replacing Custom menu

* Remove custom menu

* Add in documentation

* Add in gst files

* Cointegration can be used on any amount of columns

* Add Tests

* Make tests time invariant

* Update Poetry and Requirements

* Change name of Statistics menu to Econometrics menu

* Rename scripts

* Add type in Documentation

* Change names from Statistics to Econometrics

* Add graph

* Update tests with rounding and naming

* Make minor adjustments to fix the tests

* Updating tests : allow extra args for capture

* Apply recorder formatting

* Adding some minor formatting

* Fix error with MyPy

* Attempt to fix MyPy annoyance

* super small style things

* Fix small bugs and add plot command to dwat

* Small description mistake

* Update documentation with missing argument

* Update styling

* Add error handling and add improve show functionality

* Fix merge issue

* Allow import from custom_imports

Co-authored-by: Jeroen Bouma <jeroenbouma@MacBook-Pro-van-Jeroen.local>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-04 21:44:59 +01:00
didierlopes.eth
b28e387b10 Sentiment News correlation with Stock price (#1421)
* news api refactored in model and view

* fix apis

* allow news to be displayed as vertical bar in candle

* add gst letters only

* small fix

* minor fixes

* redo normal candle without news

* add a new funtion for sentiment of headlines and stock price

* add finnhub python to requirements

* fix FRED granularity

* fix grhist plot coloring

* remove unused arg

* improve defi menu

* stocks/ba/snews API

* add tests for stocks/ba/snews

* update hugo

* Update _index.md

* ensure error is catch when wrong API key

* fix tests

* fix economy tests

* remove stats because that finnhub data is now premium

* improve plot snews
2022-03-03 21:18:41 +00:00
jose-donato
a5848af908 Crypto heatmaps (#1416)
* added hm feature

* updated requirements

* updated tests

* updated tests

* updated charts convention and removed duplicated autocompletion

* added percentage

* lint

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-02-25 12:15:50 +00:00
Theodore Aptekarev
8c60ae999b Bump all deps following breaking changes in multiple libraries (#1413) 2022-02-22 15:20:08 +03:00
Theodore Aptekarev
af785d236a Bump tensorflow version to mitigate vulnerabilities (#1408) 2022-02-21 23:48:43 +00:00
Chavithra
5f8fcf4e33 Updating dev-dep : pytest-cov (#1337) 2022-02-09 08:54:40 +03:00
didierlopes.eth
7dc6e66411 Add logo to about us command (#1319)
* add logo to about us command

* fix terminal helper tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-02-07 00:05:52 +00:00
Colin Delahunty
e45c2aaa8f Remove tabulate (#1314) 2022-02-04 13:19:09 -05:00
teh_coderer
d8279adcbf Feature/discord slash commands (#1293)
* SlashCmdsPlotlyDf2img

- discord.py
+ disnake
+ all cmds converted to / cmds
- tabulate
+ switch to df2img
+ plots to plotly

+++++

* add settings

* Update run_discordbot.py

* Update config_discordbot.py

* Fixing black

* switch to yfinance

and fix indention on min/max strike

* + logger, - testing prints

added logger's I was missing and removed old print testing code

* final tradier removal + fixes

+ added past_days arg to /cc
- removed tradier
+ noticed had accidently removed if df.empty from economy cmds. fixed

* linting + renamed cogs folder to cmds

* Update run_discordbot.py

* Update run_discordbot.py

* remove cachetools

* linting

* pylint

* Made file retrieval global

* Updated dependencies

* updates

+added /btc,eth,sol
-removed /earnings
+updated README.md
+ added SLASH_TESTING_SERVERS in cfg for instant cmds when testing

* Made slash_testing an env variable

* Improved slash_testing handling

* Fix testserver

* FIxed test_servers

* Fixed testing_servers

* updates

+ vwap on /cc
+ fixed expiry_autocomp  exceeding 25 option limit on SPY dates
+ opt-hist changed to scatter and with greeks now
+ opt-cc-hist the old way of plotting with candlesticks chart

* remove import

* update Readme

* width fix

* replacement of tradier for yf

* title fix

Co-authored-by: Colin Delahunty <colin99delahunty@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-02-03 21:20:56 -05:00
Theodore Aptekarev
0ca2583a6e Upgrade jupyterlab extension deps to mitigate vulns (#1258) 2022-02-01 08:34:28 +03:00
jmaslek
a7d25dced5 portfolio: Small feature + controller tests (#1246)
* Small feature + controller tests

* update test after merge

* Website + bump down pandas

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-01-23 17:15:08 +00:00
Artem Veremey
3b8d1bdf4e Updating docker containers and dependencies (#1245)
* Updating docker containers and dependencies

* Skipping failed tests

* More test skips

* More test skips

* More skips

* More skips for Failures and Errors
2022-01-23 10:51:53 +00:00
Colin Delahunty
97c755b8e7 Remove Colorama (#1203)
* Began removing colorama

* Removed colorama

* Made progress on tests

* Small change

* Removed colorama

* Update finbrain_view.py

* Updating tests : mocking `rich_table_from_df`

* Updated table functionality

* Fixed tests

* Fixed black issue

* Pylint fixes

* Added pylint fixes

* Fixed tests

* Updated tests

* Updated csv

* Fixed pylint error

* Add run_scripts

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-01-19 11:56:28 -05:00