Commit Graph

1320 Commits

Author SHA1 Message Date
jeroen
6070323dbe Add in Docstrings 2023-02-23 17:32:52 +01:00
james
71a8f078eb Clean up unused static dicts 2023-02-22 17:26:59 -05:00
james
272a10d45d Generate the sdk 2023-02-22 17:09:19 -05:00
james
6788aa2c33 LAst functions added 2023-02-22 16:43:07 -05:00
james
9927f17855 Corporate bonds 2023-02-22 16:22:59 -05:00
james
e3bca0bf94 government bonds refactor 2023-02-22 15:53:48 -05:00
james
8abfcac2b9 refactor through central banks 2023-02-22 15:37:58 -05:00
james
9d21b61960 refactoring pt 1 2023-02-22 15:27:25 -05:00
james
0a451e5a71 Mypy 2023-02-22 13:45:43 -05:00
James Maslek
42e3ed8915 Merge branch 'develop' into feature/fixed_income 2023-02-22 13:01:15 -05:00
james
99fb987d5a pylint edit 2023-02-22 12:53:25 -05:00
jeroen
1ba4f8108d Last fixes 2023-02-22 18:01:37 +01:00
jeroen
b03cce178b Done done 2023-02-22 17:45:16 +01:00
jeroen
747371ff64 Tidying things up 2023-02-22 17:40:44 +01:00
jeroen
09b1934379 Last formatting 2023-02-22 17:12:18 +01:00
jeroen
05a09fda8a Almost there.. 2023-02-22 16:04:53 +01:00
Henrique Joaquim
58d2ea1637 Auto login on the SDK if local session is found (#4297)
* token generation on the terminal

* revoke and show commands

* auto login on the sdk if local session is found

* fix tests

---------

Co-authored-by: Luqman <luqazino@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-22 14:40:01 +00:00
Henrique Joaquim
a054e5d005 User UUID to use the designated column instead (#4299)
* token generation on the terminal

* revoke and show commands

* uuid on the right column

* adding logs to the account commands

* login info at this point does not make sense anymore

* get_user_uuid function

* log formatter to use get_user_uuid function

* ruff + black

* fix tests

* fix tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-22 14:22:05 +00:00
Elyanah Aco
2079649e44 Set query arg in economy/eval as required (#4317)
* Set query arg as required

* Edit economy/eval documentation

---------

Co-authored-by: elyanah <elyanah.aco02@gmail.com>
2023-02-22 08:30:50 -05:00
jeroen
71e4accb11 Work of art is almost done 2023-02-22 13:01:23 +01:00
jeroen
13cde528c6 Introduce ICE BofA and Spreads 2023-02-22 11:06:42 +01:00
James Maslek
2c9cddbd75 Change sources path (#4312) 2023-02-21 17:29:48 +00:00
james
7484b6aa4c 98% on controller 2023-02-21 12:19:49 -05:00
james
29b526b72d Make functions kwargs 2023-02-21 11:28:32 -05:00
james
d191385055 tests v2 2023-02-21 11:06:39 -05:00
james
33b17bf7a0 Tests pt1 2023-02-21 10:24:27 -05:00
james
cfa182b0de Change style and run linter 2023-02-21 10:05:54 -05:00
jeroen
55f0751082 Many more improvements 2023-02-21 15:41:12 +01:00
James Maslek
dd925a0ab2 Merge branch 'develop' into feature/fixed_income 2023-02-20 19:30:17 -05:00
Colin Delahunty
cebf454cdf Added flake8-simplify (#4227)
* Added flake8-simplify

* Update linting.yml

* update.  left 1 for you colin

* Fix that one

* Missed

* Fix

* mypy

---------

Co-authored-by: james <jmaslek11@gmail.com>
2023-02-20 19:27:34 -05:00
James Maslek
14fcb1a716 Merge branch 'develop' into feature/fixed_income 2023-02-20 18:45:34 -05:00
northern-64bit
1c84da9f16 Handle end_date with CCXT source when loading crypto (#4296)
* Handle `end_date` with `CCXT` source when loading crypto

* Fix linting

* Fix linting

* Improve code readability

* Final linting

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 18:41:59 -05:00
northern-64bit
33e79a2aaa Fixes #3873 and adds generic naming to financial statements (#4142)
* Fix plotting error

I choose to fix it by removing the denomination transform, since it doesn't affect the result (even when fixed).

* Add generic naming to financial statements, except for EODHD source

* Fix linting

* Fix linting

* Fix bugs

* Fix linting

* Handle invalid plot options for sources

* Fix linting

* Fix linting

* Some tests

* more tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 18:29:27 -05:00
northern-64bit
6e5b3998c5 Display correct risk free rate in the portfolio menu help message (#4217)
* Fix printing of help message

* Fix risk free rate usage

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 17:54:00 -05:00
James Maslek
9af4dc00e5 Hotfix for SIA menu (#4294)
* Make sia function

* Wording

* Fix attrib

* Linting

* port test

---------

Co-authored-by: jeroen <jer.bouma@gmail.com>
2023-02-20 12:20:06 -05:00
jeroen
961d0d8c28 Improve ecb functionality and improve treasury functionality 2023-02-20 18:01:29 +01:00
teh_coderer
02b7f4403a Update trailmap.py (#4301) 2023-02-20 10:54:18 -05:00
xinbaDev
6e3a683beb fix variable name (#4289)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-19 20:11:51 -05:00
James Maslek
758abb5d09 Merge branch 'develop' into hotfix/bug-#4290 2023-02-19 19:58:09 -05:00
northern-64bit
ca67168a47 Fix linting 2023-02-19 22:39:01 +01:00
northern-64bit
659ea2c306 Fix help message for stocks menu 2023-02-19 22:25:19 +01:00
northern-64bit
8b15faa90d Fix spelling mistake in portfolio menu help message 2023-02-19 22:01:34 +01:00
James Maslek
8f35afc7d7 Merge branch 'develop' into release/2.4.1 2023-02-17 12:14:14 -05:00
Henrique Joaquim
7998ae7887 Adds Personal Access Token Commands (#4266)
* token generation on the terminal

* revoke and show commands

* save to keys

* test for hub_model

* black

* controller tests

* fix wrong merge

---------
2023-02-17 17:13:51 +00:00
James Maslek
10024138d3 Merge branch 'develop' into release/2.4.1 2023-02-17 11:29:27 -05:00
teh_coderer
96af407585 SDK Added about() for methods and class, fixed pypi.md (#4273)
* added log_if_login and about() for methods and class, fix pypi.md

* Update sdk_helpers.py

* mypy
2023-02-17 11:29:07 -05:00
james
f0bcdecd2a Release branch 2023-02-17 10:18:39 -05:00
Luqman
bbeaef4732 Code Coverage (#4236)
* Code Coverage

* minor fix

* Remove coverage limit check

* Check code cov

* removed env

* Tests : fixing tests + autocompletion bug

* Tests : skip a test

* Linting

* Tests : skip slow coins test on crypto

* Added check for coverage

* Remove failure test

* Minor tweak

* Added code coverage to base test

---------

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-17 15:59:14 +01:00
jeroen
f9dc75f537 Lil mistaky stake 2023-02-17 12:52:02 +01:00
Jeroen Bouma
e0a1198e1b Merge branch 'develop' into feature/fixed_income 2023-02-17 12:17:53 +01:00