Commit Graph

2772 Commits

Author SHA1 Message Date
Colin Delahunty
86ffbefaae Delete codecov.txt (#1540)
For @Chavithra.
2022-03-23 19:22:37 +01:00
jmaslek
d5eb7ed436 Error handling for custom files when folder not present. (#1534)
* Error handling for custom files when folder not present.`

* Test the new load

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-23 09:26:34 -04:00
jose-donato
5d184bd1be fix collapsible (#1539) 2022-03-23 12:09:22 +01:00
Colin Delahunty
6ac1da2404 Rip codecov 2022-2022 (#1536) 2022-03-22 21:12:41 -04:00
Theodore Aptekarev
ede6ec8b1a Add TA and test coverage for the Forex context (#1532)
* Add technical analysis to forex menu

* Remove "stock" and "$" from the common ta charts

* Add tests for forex context

* Update forex custom reset functions

* Remove -t arg (ticker) insertion into other_args in forex controller

* Remove excluded command from forex ta help string

* Update test data

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-22 20:24:51 +03:00
Jeroen Bouma
f761db8f98 Improve graph design for Sia's metric and remove legend (#1531)
* Improve graphing (wrapping, font) and remove legend and add to company names

* Add unit to xticks

* Update _index.md
2022-03-21 20:57:33 +00:00
Colin Delahunty
f794d518fd Added coverage to actions (#1526)
* Added coverage to actions

* fixed test call

* Fixed .coveragerc

* updated coverage

* Added workflow

* Switch to seperate coverage workflow

* Refactored

* Copied example perfectly

* Fixed test call

* Added dependencies

* Updated command call

* Fixed name

* Switched to codecov

* CHanged on

* Improved codecov

* Fixed run command

* Fixed codecov code
2022-03-21 14:08:28 -04:00
LBolte29
26d8ae998e Removing first bit of filepath, emails and IP (#1490)
Removing first bit of filepath and emails - logging os and python version in settings
2022-03-21 17:42:36 +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
minhhoang1023
6327cdd3f7 Fix multiple bugs (#1491)
* Fix bugs stocks

* Fix -h not working

* Revert notebook change

* Fix tests

* Mock visualize output

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-21 12:55:26 +07:00
jmaslek
2a55dfccdd Insider bug (#1520)
* finviz bug was if no insider info found

* test  insider change

* formatting
2022-03-19 20:54:10 +00:00
Colin Delahunty
f193ad4fbf Update Folders in Pylint (#1519)
* Updated pylint folders

* Began fixing pylint

* fixed black

* Fixed pylint

* More pylint fixes

* Added

* Added changes
2022-03-19 13:48:46 -04:00
Jeroen Bouma
07719b1923 Upgrade Economy Menu (#1444)
* Initial start-up of the Economy revamp

* Add Country Codes

* Initial Revamp of the Menu

* Add indices

* Integrate FRED menu into the Economy menu

* Add Treasury rates for the United States

* Significantly speed up treasuries function and misc

* Add in inflation indexed average

* Optimise treasury code + move raw and limit parameters

* Attempt to fix tests

* Fingers crossed tests pass

* Fix exports

* Add multi-plotting functionality as well as robustness of functions

* Improve documentation Plot command

* Please tests.. work.

* Update tests, fix currency exchange rate and some misc

* Does download work?

* Tests. Work. Now.

* This can't be it right?

* Renew tests

* Some formatting

* Update _index.md

* Delete website/content/terminal/economy/cpi directory

* Update _index.md

* Delete website/content/terminal/economy/currencies directory

* Delete website/content/terminal/economy/glbonds directory

* Delete website/content/terminal/economy/usbonds directory

* Delete website/content/terminal/economy/indices directory

* Update _index.md

* Delete website/content/terminal/economy/gdp directory

* Delete website/content/terminal/economy/gdpc directory

* Delete website/content/terminal/economy/grains directory

* Delete website/content/terminal/economy/inf directory

* Delete website/content/terminal/economy/meats directory

* Delete website/content/terminal/economy/metals directory

* Delete website/content/terminal/economy/softs directory

* Delete website/content/terminal/economy/unemp directory

* Delete website/content/terminal/economy/tyld directory

* Delete website/content/terminal/economy/fred directory

* Create _index.md

* Create _index.md

* Rename website/content/terminal/macro/_index.md to website/content/terminal/economy/macro/_index.md

* Create _index.md

* Create _index.md

* Delete website/content/terminal/economy/energy directory

* Create _index.md

* Improve documentation and re-do tests

* Rename to make it work

* Add Script

* fix env yaml with new cvxpy

* Make plot command make nice legends

* Forgot one

* clean up yfinance index commands for errors

* Update images since I made them prettier.

* add mocking for yf download

* redoing tests...again

* Improve plotting by placing the legend outside the graph

* Move Legend to outside the graph and improve -sp argument from macro

* Details

* Bugfix

* Update _index.md

* Update _index.md

* Update _index.md

* Even prettier

* Update _index.md

* Fix treasury legend

* Re-update tests, does this work?

* Always fill index_data and check if show_error on True does anything

* ...

* Update workflows

* Revert "Update workflows"

This reverts commit d7c0d22fe0.

* Attempt 12331212312 to Fix Tests

* Attempt 12331212312 to Fix Tests #2

* Ok, this is it?

* Almost there James.. almost there..

* Neater way of plotting -y1 goes in column 1 and -y2 in column 2

* Fred legend should be same size

* Update _index.md

* Change it so VIX == vix for Indices

* Add options command and remove it from plot

* Typo

* Renew tests, add more countries and apply wrapping to plots

* Reduce title size, doesn't have to be so large

* Quick start of prediction from economy

* Quick pred cleanup

* test

* Clean up pred `pick` and add hugo

* Add in qa to economy while I am here

* Add in qa menu

* mock visualize output and export data

Co-authored-by: james <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2022-03-19 13:02:51 -04:00
jose-donato
107ad03ffb Adds command to get anchor protocol stats (#1517)
* added feature

* updated image and failing test

* typo

* added command to test script

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-19 12:03:55 +00:00
didierlopes.eth
bb2e4c8a45 Several bugfixes and routines allowed multiple calls to same arg (#1513)
* several bugfixes and routines allowed multiple calls to same arg

* several bugfixes and routines allowed multiple calls to same arg

* minor fix
2022-03-18 21:57:41 -04:00
didierlopes.eth
28df1e0073 Allow to add comments to routines and re-add removed code about inputs on routines (#1506)
* allow to add comments to routines and re-add removed code

* black
2022-03-17 23:38:54 +00:00
Jeroen Bouma
6139ee20e4 Fix Passive Investor report (#1503)
* Fix Passive Investor report

* Fix test

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-17 21:44:38 +01:00
didierlopes.eth
68a18864d6 Export being allowed in first line of routines (#1499)
* allow export on routines

* make it work for exe too
2022-03-17 13:37:11 -04:00
didierlopes.eth
5f1be2df47 allow exe command to provide absolute path or absolute with HOME env var (#1504) 2022-03-17 17:10:42 +00:00
Chavithra
6af9fc778a Data Collection : Settings (#1502)
* 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
2022-03-17 12:59:46 +01:00
Chavithra
9942807843 Data Collection : Settings (#1500)
* 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
2022-03-17 11:42:18 +01:00
didierlopes.eth
25f03f70c4 allow for custom filename save (#1498) 2022-03-17 02:40:14 +00:00
didierlopes.eth
3d2147c0b2 make exe command more robust and fix #1494 (#1495)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-17 00:39:38 +00:00
Chavithra
e1cd3332cd Data Collection (#1497)
* Update only_send_file_size

* Updating only_send_file_size feature

* Updating only_send_file_size feature

* Updating only_send_file_size feature

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-03-16 22:36:46 +01:00
Colin Delahunty
93dc34b59c Code Without Documentation BANNED (Contributors Outraged) (#1487)
* Adds working checker

* Removed unused import

* Added dupont docs

* Added arg parser

* Removed Directory

* Updated commands

* Added hook to actions

* Added handling for no args

* Added proper ignores to actions

* Fixed tests

* Added Oanda documentation

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-16 15:21:28 -04:00
jmaslek
a5dd351433 Add functionalities to stocks/load (#1496)
* Add custom loading to stocks

* Add month and week to yf load + tests + hugo

* try fixing first test

* why did we still have tests for custom menu?

* fix ta load test

* rerun stock helper tests

* ungoof naming
2022-03-16 14:19:21 -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
Colin Delahunty
56bc8417d1 This one WEIRD trick will reduce new bot code by 90% (#1480)
* Began menu abstraction

* refactor slack to new structure

* Refactored Groupme

* Slight refactor

* Added check for using bot

* Removed auto-lower

* Fixed black

* Fixing mypy

* Added fixes

* Improved input handling

* Removed image

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
2022-03-15 21:29:14 -04:00
didierlopes.eth
b5a5409c03 Customisable export (#1489)
* allow to select folder to export data

* get environment variable home to interpret tilde correctly

* allow export path to remain across runs and fix keys controller SI

* fix appName

* improve comments

* allow to create subfolder
2022-03-16 00:54:26 +00:00
minhhoang1023
cc6eeb84bf Fixed bugs and set load default source as cp (#1482) 2022-03-15 22:46:53 +07:00
LBolte29
f00a7c1924 added script as appName (#1483) 2022-03-15 12:27:45 +01:00
didierlopes.eth
a06439c136 add links to get API keys when no args provided and fix bugs (#1486) 2022-03-15 09:45:57 +00:00
didierlopes.eth
ce11b09912 Add execute routines command to main menu (#1485) 2022-03-15 08:49:33 +00:00
Patrick DeVivo
ce27c497de fix: reduce per-page to 15 (#1484) 2022-03-14 18:49:04 +00:00
didierlopes.eth
281ec983d0 Add command location to plots (#1474)
* poc of source on figures

* update feature flag

* fix reset on stocks/ba menu

* improve aligment

* remove source

* make command location a global variable

* add cmdloc to settings controller
2022-03-14 14:07:42 -04:00
minhhoang1023
784ceb6316 Add Crypto Market Cap dominance from Messari (#1467)
* Add market cap dominance from Messari

* Add command to script

* Add tests and hugo server

* Update tests

* Fix tests

* Remove test view

* Fix Jose's comments

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-14 23:53:52 +07:00
minhhoang1023
0127c37c20 Fix ENABLE_RICH bug & fix test not catching the bug (#1448)
* Fix rich bug & fix tests not catching the bug

* Remove feature_flags diff

* Remove enable_rich and enable_rich_panel from ff

* Add back enable_rich_panel

* Setting default value back to True

* Disable rich when running tests

* Remove COLOR

* Fix tests

* Rewrite tests

* Remove default cassette

* Rewrite tests

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-03-14 14:15:12 +00:00
Colin Delahunty
b200edfbe6 Improve Dupont and Fraud Commands (#1477)
* Added charting and export

* Fixed issue

* Fixed import error
2022-03-12 16:32:34 -05: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
Colin Delahunty
3d5cbcb2ae Extended Dupont (#1475)
* Added dupont, fixed fraud

* Added dupont to scripts

* Added better handling

* Added test fixes

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-12 14:28:25 -05:00
minhhoang1023
dbaa3ecb41 Fix bug Real Time Performance (#1454)
* Fix bug percentage Real time performance

* Update ticker format

* Update tests

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: jmaslek <jmaslek11@gmail.com>
2022-03-12 13:24:24 -05:00
northern-64bit
4936177526 Add avanza mutual fund data and commands (#1452)
* Adding info_se and al_swe commands

* Linting

* Linting

* linting

* Fixes

* Fixes to formatting

* Linting

* Linting

* Linting

Co-authored-by: jmaslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-03-12 13:25:13 +01:00
jmaslek
3ef4db5b70 Options binom percent (#1473)
* Fix percentage on graph and clean up wording

* Fix percentage on graph and clean up wording
2022-03-12 01:18:04 +00:00
Colin Delahunty
fd5e56dd49 Improved Fraud Command (#1472)
* Added better data

* improved docs

* Fixed some tests

* Fixed tests
2022-03-11 18:42:29 -05:00
didierlopes.eth
15fd8f56df improve initial hugo server content (#1471) 2022-03-11 20:17:44 +00:00
Theodore Aptekarev
1b914d45e8 Econometrics notebooks API (#1462)
* Add initial implementations of the API wrappers

* Fix typos in docstrings

* Fix typos an markdown linting errors in docs

* Ditch using insecure eval in favor of secure getattr

* Add GST notebooks API documentation

* Add notebook screenshot to the GST API docs
2022-03-11 22:26:02 +03:00
Theodore Aptekarev
523f9e3bef Add a blue butterfly to a list of available flairs (#1470)
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
2022-03-11 09:58:01 -05:00
didierlopes.eth
c3e68f3127 Improve Hugo Documentation for Bots (#1468)
* refactor hugo

* improve text on Hugo server

* improve more hugo

* Update _index.md
2022-03-11 14:16:52 +00:00
jose-donato
9b6d960aba fixed axis (#1469) 2022-03-11 12:17:13 +00: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