Commit Graph

3213 Commits

Author SHA1 Message Date
James Maslek
a285e5b2b7 fix etf/compare (#2426)
* fix etf/compare

* tests

* more tests fix
2022-08-26 10:24:31 -04:00
DidierRLopes
81dc019c11 minor fix (#2425) 2022-08-26 11:34:26 +01:00
James Maslek
1d73e7c192 Fix economy/fred start date (#2421)
* limit was cropping data

* pylint

* boop

* fix limit
2022-08-26 11:30:42 +01:00
Glauco Custódio
c341f46aac add bullrun.com.br as source for research (#2386)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-08-26 11:29:52 +01:00
Colin Delahunty
ccb691f238 Added fix for ttm issue (#2418)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-08-25 19:13:25 -04:00
jose-donato
d157ed0b2f Hugo docs (#2415)
* improve documentation page

* some updates

* small improvements

* small improvements

* small improvements

* fixes with rita

Co-authored-by: guanquann <tanguanquan@yahoo.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-08-25 17:46:50 -04:00
Danglewood
6676472084 Updates Fundamental Analysis Demo Routine - Routine now requires, -i ticker. (#2414)
Updates Fundamental Analysis Demo Routine to allow for refactoring of menu. 

One adjustment has been made to require a ticker argument, `-i ticker`.
2022-08-25 16:23:58 -04:00
montezdesousa
a597501c70 fix laod prompt (#2408)
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-08-24 14:10:16 -04:00
James Maslek
eeca8a9aaa fix get fred data (#2409) 2022-08-24 14:26:20 +01:00
jose-donato
d399fce650 NFTs - added floor price and collections commands (#2375)
* added floor price and collections command

* added tests and docs

* updated to match minh requests

* updated tests

* added legend and images preview

* Fix tests

* Tests : nft

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-08-24 13:54:24 +01:00
jose-donato
4399d06a78 Refactoring crypto load (#2366)
* refactoring load

* updated to match minh changes

* improved loading

* updated tests

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
2022-08-24 10:10:16 +01:00
nickvin
1e88223848 Fix missing polygon api (#2392)
* Fixes #2373

* Small syntax change to pass General Linting test

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-08-24 00:01:59 +01:00
Jalil F
a9a9b2b785 feat m: [Crypto/DD] Add Coinglass Liquidations (#2402)
* Add initial liquidations calls.

* Fix liquidation terminal call.

* Adding documentation.

* Update to correct docs.

* added stacked bars

* Adding new bar chart visualization to docs.

* revert helpers.

* linting

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: jose-donato <zmcdonato@gmail.com>
2022-08-23 18:30:18 +01:00
Colin Delahunty
c68857f982 Fixed polygon quarterly (#2401)
* Fixed polygon quarterly

* Fixed tests
2022-08-23 10:41:10 -04:00
Colin Delahunty
5bfdd8f422 Fixed the etf compare command (#2394)
* Fixed the command

* Fiexed tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-08-23 09:35:30 +01:00
James Maslek
cf9b5ad832 Add nasdaq as an options source (#2397)
* Get all nasdaq chains

* Get all expirations

* Add chain by expiry and clean up columns

* add nasdaq to load and exp

* Add OI plot for nasdaq

* add volume plot

* Update vol + oi to have nasdaq + raw flag

* Add VOI functionality with nasdaq

* Add nasdaq chains function

* Run isort

* doesnt

* Change menu for sources and edit yfinance to expiration instead of expiry

* lint

* oops

* unused imports

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2022-08-23 09:35:18 +01:00
Colin Delahunty
815787df8f Fixed issue with tk command (#2395)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-08-23 08:59:01 +01:00
Colin Delahunty
e527e924bf Fixed blacklitterman export (#2396)
* Fixed blacklitterman

* Added export folder for blacklitterman
2022-08-23 08:37:05 +02:00
Colin Delahunty
1ca58d9cdd Changed cdebt to edebt with wording fixes (#2393)
* Changed cdebt to edebt with wording fixes

* Added text fix
2022-08-22 21:46:13 -04:00
Colin Delahunty
582fc1b81e Fixed issues with x axis ordering (#2391) 2022-08-22 17:05:51 -04:00
Colin Delahunty
6f2691b916 Fix income statement bad headers (#2390)
* More verbose error

* Fixed headers
2022-08-22 16:30:52 -04:00
Colin Delahunty
cec9778ebb More verbose error (#2389) 2022-08-22 20:45:46 +01:00
Colin Delahunty
b6ebe207f2 Bug fixes (#2387)
* Fixed bug

* Fixed tests
2022-08-22 13:14:18 -04:00
Colin Delahunty
e34ac70489 Bug fixes (#2388) 2022-08-22 12:30:29 -04:00
Om Gupta
3a7401dfd0 Adds relative strength percentile to stocks/ta (#2302)
* Adds relative-strength percentile to stocks/ta

* allow exporting tables

* shifted from common to stocks and added tests

* added documentation

* added in nav bar

* fix test

* remove whitespace in docstring

* fix type error

* fix test

* fix tests

* test

* added tickers to a separate table

* add image to doc

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-08-22 14:54:08 +01:00
DidierRLopes
f14fdfe7a2 Improve SIA experience as based on feedback (#2264)
* improve sia experience

* Pytest : stocks/sector_industry_analysis controller

* Tests : rewrite expected files

* refactor based on Jer feedback

* add the code that I forgot to push lol

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-08-22 13:10:27 +01:00
montezdesousa
6dc21aa3b9 fix issue 2314 (#2384) 2022-08-22 13:09:43 +01:00
Parker Boyes
ae2b140d25 removed -s flag from documentation (#2379)
Website documentation fixes:

1. -s does not exist for options, must use --source

2. per data_sources_default.json, fixed incorrect references to sources in options module:
-'tr'  must be full name: 'tradier'
-'ce must be full name: 'chartexchange'

Functions and --help information are already correct, we just needed to correct the website docs
2022-08-22 10:51:08 +01:00
Om Gupta
7e103844a4 fix error (#2369) 2022-08-19 10:54:35 -04:00
Colin Delahunty
f4bcfcca1c Fixed breaking changes to hotpenny (#2368)
* Fixed breaking changes to hotpenny

* Added features

* Added fixes
2022-08-19 09:21:39 -04:00
James Maslek
c29addaf67 change sort_col -> sortby (#2361) 2022-08-19 07:38:58 -04:00
James Maslek
73f7561f80 Small change + small bug fix (#2359) 2022-08-18 17:55:16 -04:00
Colin Delahunty
6b95d7d3ac Added fixes from the general integration tests (#2357)
* Added fixes from James

* Fixed tests

* More test fixes

* Added fixes

* Fixed tests
2022-08-18 17:03:46 -04:00
James Maslek
52f4d673f8 Fix TA integration script (#2356)
* Fix TA integration script

* test
2022-08-18 15:16:42 -04:00
James Maslek
d549272faf start -> start date (#2355) 2022-08-18 13:51:15 -04:00
James Maslek
3e81257d47 Allow search to have multiple words (#2353) 2022-08-18 13:15:17 -04:00
Pierre Raii
c0b839dbef fix: typo in tradinghours_controller.py (#2337)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-08-18 10:58:07 -04:00
Colin Delahunty
90fe23b400 Fixes Forex Quote (#2350)
* Fixed bug

* Started fixing codespell

* Fixed more codespell

* Updated local codespell

* More codespell fixes

* More codespell fixes

* Fixing test
2022-08-18 09:51:45 -04:00
James Maslek
2278e096a9 Exit bot ad (#2339)
* Subliminal advertising

* lint
2022-08-17 14:57:38 -04:00
Chavithra
9e1a58e2db Here we merge all API Refactor related branches (#2236)
* Update api.py

* Updated forex menu

* refactor ycrv command

* refactor ycrv command black

* refactor ecocal command

* Minh changes

* Adding space to test pushing

* title fix ecocal df

* get economic calendar annotation

* fix investingcom tests

* refactor index command

* refactor overview command

* give defaults to wsj view function args

* rename date args investincom

* refacto bigmac command

* fix ecocal typo

* refactor rtps command

* alphavantage gdp

* alphavantage gdp per capita

* alphavantage cpi

* alphavantage tyld

* alphavantage inf

* refactor macro command

* refactor macro command w helpers

* refactor treasury command

* fix macro on terminal

* treasury labels

* refactor maturities

* update treasury maturities doc strings

* refactor get economic calendar finhub

* refactor map command api

* display map filter choices

* route economy api to performance map

* route economy api to performance map

* display group choices on valuation command

* refactor performance and valuation commands

* refactor spectrum model and view

* add choices to spectrum controller

* delete image after view

* fix model tests finviz

* fix finciz view tests

* refactor futures

* fix some tests

* fix more tests

* fix controller test

* refactor fred series notes

* update fred notes docstring

* refacto fred series ids

* fix pred and qa when empty datasets

* refactor fred

* uncomment stuff

* refacto get series data

* fix some tests

* set defaults on args

* refactor fred yield curve

* black

* fix spell and remove ecocal names

* fix linting

* linting

* pylint fix

* change dangerous defaults

* Working through crypto fixes (#2256)

* Working through crypto fixes

* Continued adding crypto stuff

* Added crypto overview

* Added test fixes

* Added fixtures

* Fixed tests

* Fixed charting issue

* Removed broken APIs

* Final adjustments

* Added test fixes

* map get groups and get ycrv countries into old api

* exposed econdb helper funcs

* remove helpers

* refactor search indices

* linting

* refactor arg currency

* pylint from currency

* Started switching crpyto ascending to ascend

* Merging

* Portfolio model arguements, params, and docstring

* Refactored for etf commands (#2292)

* Refactored for etf commands

* Fixed tests

* Added load command

* Fixed menu

* Portfolio logic fixes

* Added econometrics (#2260)

* Added econometrics

* Fixed tests

* Simplified API

* Added test fixes

* Added test csv

* Allowed examples to be loaded

* Fund refactor (#2291)

* Fund refactor

* Changed fund_name and fund to name

* Changed ascending to ascend

* Stock menu refactoring for easier API usage (#2194)

* Stocks  refactoring for easier API usage

* Linting

* Refactor newly added features

* Linting

* Fixing tests

* Refactor common files used by stocks menu

* Fixing flake8

* Fix linting and tests

* Linting

* Fix flake8

* refactor insider_data

* refactor mentions

* refactor watchlist

* refactor sentiment

* refactor sentiment

* fix yahoofinance tests

* refactor load and candle

* refactor get_news and display_news

* refactor stocks.ins.act

* candle default matplotlib

* fix yahoofinance_view tests

* fix ark model tests

* fix ark view tests

* fix business insider model

* fix business insider view

* refactor csimarket model

* fix tests csi market model

* update dd controller

* fix get suppliers tests

* fix dd controller tests

* fix finhub tests

* fix finviz tests

* fix fmp tests

* fix marketwatch tests

* corrected argument keywords in test_bt_model

* corrected argument keywords in test_bt_view

* refactor fa controller

* refactor marketwatch view

* refactor gov controller

* fix tests fa av

* fix tests elect

* fix dcf tests

* fix polygon tests

* fix fmp tests

* fix quiverquant tests

* fix yahoofinance fa tests

* fix more fa tests

* fix insider tests

* fix more tests

* fix more tests

* fix options tests

* fix stock gov tests

* fix tests test_ba_controller

* fix tests for test_finviz_compare_model.py

* fixed 2 tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fix final tests

* fixed tests

* fixed tests

* Fix tests

* black

* forgot to black tests

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* flakefix

* Tests + code : Stocks / Discovery

* fix tests

* added recorder

* fixed tests

* fixed tests

* black

* black

* remove unused imports

* refactor display raw

* sia dicts fix

* pylint

* linting

* remove dangerous default

* fix tests

* fix beta model test

* black

* skip screener qa test

* change sector path to sectors

* update tests readme

* fix metric defaults

* black

* substitute lost ticker

* defaults cpic

* another round on sia

* refactor cramer

* reduce default tweets on sentiment

* refactor yf hist, corr, volume

* arkorders default

* refactor income, balance, cashflow

* refacto scorr, screener, getfinnhub

* refactor stockgrid

* ibkr refactor

* another round on stockgrid

* add dividens end point

* refactor discovery endpoints

* update docstrings with similar input

* refactor messages

* refactor ba

* refactor regioons

* refactor twitter sentiment

* refactor hist

* refactor regions

* give default to timeframe

* refactor bunch of defaults and arg names

* remove leftover imports

* refactor vwap

* let tests run

* fix tests

* fix stock tests

* fix stockanalysis tests

* flake

* MYPY

* Made important changes

* added fixes

* Fixed big issue

* Added fixes to tests

* fix qa tests

* fix tests

* fix 1 more test

* last stocks failing

* fix crypto test

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: montezdesousa <montezdesousa@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>

* fix portfolio tests

* change period to window

* update ca docstrings

* refactor get_similar_companies func

* Fixed

* Update CI

* Update CI 2

* Update CI 3

* Update dependencies

Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: montezdesousa <montezdesousa@gmail.com>
Co-authored-by: James Simmons <simmonsj330@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2022-08-17 15:28:54 +01:00
Colin Delahunty
ee0e1e9822 Country debt (#2311)
* Storing for now

* more

* added

* Added new feature

* Added fix to tests

* James changes

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-08-16 11:13:23 -04:00
Colin Delahunty
fc8dec2b7a More Options Tradier Fixes (#2309)
* Added features

* Fixed tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-08-16 10:30:39 -04:00
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
Christian Clauss
8d15f4944a pyupgrade --py38-plus (#2326) 2022-08-16 07:54:17 -04:00
soggyomelette
a9755e2847 add a test for oanda key (#2297)
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-08-16 11:56:43 +02:00
LBolte29
376d00946e replace pip in message (#2007)
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
2022-08-16 08:41:55 +02:00
Danglewood
bfff934f08 updated API list to include Santiment and Crypto Panic (#2318)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-08-15 11:32:18 -04:00
soggyomelette
f347223fdb Scale text size with size of box in crypto/ov/hm (#2278)
* Updated text size so it scales with size of box

* fix linting

Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-08-15 10:41:28 +02: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
Colin Delahunty
bd684dd845 Hides warning for API not being a terminal in jupyter lab (#2301)
* Fixed issue

* Added fixes
2022-08-12 08:11:27 -04:00