Commit Graph

3511 Commits

Author SHA1 Message Date
Henrique Joaquim
b2b218c6f7 Fix broken URL for SDK_README.md (#3015) 2022-10-24 14:52:46 +02:00
Henrique Joaquim
b27d737043 SDK to be logged as config parameter (#3011)
* Add a parameter to indicate we are logging from the SDK as config instead of an app name

* improve docstring to mention the source
2022-10-24 12:32:11 +01:00
Kyle Yuan Yang Lee
b27adbbb25 made key secret pairs required params (#3002)
* made key secret pairs required params

* Formatted

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-10-24 12:33:21 +02:00
Colin Delahunty
b3e1b88186 Fixes traceback issue (#3006) 2022-10-24 10:27:57 +01:00
James Simmons
675449933a Allowing integration tests to be run by menu (#2992)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-24 10:13:34 +02:00
Chavithra
d4a462cbe9 Logging : detect pypi install + PIIS filtering (#2973)
* LOG : add app_name=gst_packaged_pypi

* LOG : update piis filtering

* Linting

* Log : generation

* Tests : log generation

* Linting

* Tests : piis filtering

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-24 09:35:02 +02:00
James Maslek
90a1469c8b Bugs 2.0 (#2993) 2022-10-23 22:35:44 -04:00
0xDareDevil
723ec8b0ea Fixed bug giving exception when calling balance (#2998)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-23 12:01:02 -04:00
Kyle Yuan Yang Lee
d86f02a767 fix for #2953 (#2999) 2022-10-23 11:13:10 -04:00
James Simmons
c29d1c5c20 Changing reddit_sent command name (part 2) (#2986)
* hoping this works

* Moving files and adding test

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-22 23:57:15 -04:00
James Simmons
0417f5f7eb infoswe command name change (#2933)
* infoswe change

* updating ignore

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-22 22:57:29 -04:00
Colin Delahunty
702417df26 Adds doc fixes (#2928)
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-22 22:25:25 -04:00
James Maslek
c337c2fdb8 Adding more integration tests (#2946)
* Adding more integration tests

* More

* More

* ca

* more menus

* ta

* qa

* etf

* forex

* bt
2022-10-22 18:51:40 -04:00
James Maslek
3498e01b24 Starting to go through my bugs (#2991) 2022-10-22 18:39:13 -04:00
DidierRLopes
8715c3336d New futures controller (#2758)
* start futures branch development

* small improvements

* display futures historical

* small improvement

* improve raw

* add curve command

* improve autocompleter

* styling

* add option to select expiry

* Two small things

* Add check that curve not empty

* improve plot and add description futures search

* add check for empty curve earlier on

* merge main

* fix black linitng

* black linting

* add ES to futures

* minor improvements

* Add docs

* Update _index.md

* Update _index.md

* fix crude oil exchange

* fix when dataframe has a single datapoint

* black linting

* add integrated test

* add futures tests

* add futures to SDK

* add tests

* pylint

* ordering

* fix tests

* fix tests

* fixed now?

* fix tests once and for all?

* tests

* helping out didier

* fix tests

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-22 22:59:48 +01:00
James Simmons
9345befafe Spacc command name change (part 2) (#2987)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-22 16:51:10 -04:00
Henrique Joaquim
6ea53877f5 Fix integration tests (#2972)
* fixed test

* fixed pytest

Co-authored-by: James Simmons <53658028+simmonsj330@users.noreply.github.com>
2022-10-22 09:39:54 +01:00
James Simmons
5fab5a438e Emacross name change part 2 (#2978)
* Emacross name change part 2

* Tests : fixing test_bt_model

* Tests : bt

* Tests : run --rewrite-expected

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-21 16:54:52 -04:00
Gerard
d6542ffd2d Fix "Target not AdjClose" warning incorrectly appearing (#2980)
* Replace "AdjClose" with "adjclose" where needed

* Fix choices for "pick"
2022-10-21 15:45:17 -04:00
James Maslek
70d35ff598 Economic calendar (#2936)
* First push

* Second commit

* Comment out 'spread'

* list to List
2022-10-21 15:36:31 +02:00
Colin Delahunty
459e103a5a Fixes some James bugs (#2969)
* Fixed bug

* Fix vwap

* Hid future warning

* Added fix to pandas

* Quality improvement to customer and supplier

* Fixed some tests

* Test fix
2022-10-21 08:17:29 -04:00
Colin Delahunty
7f1b3db5ad Rename sdk to SDK (#2968)
* Rename sdk to SDK

* Added README

* Fixed test
2022-10-21 10:11:03 +02:00
James Simmons
8bdaa66154 alswe change (#2932) 2022-10-20 16:07:58 -04:00
James Maslek
abda9b14d2 Plot style (#2929) 2022-10-20 16:20:07 +01:00
James Maslek
bd8ac50549 Update eval help command (#2924)
* Add some more clear definition

* remove about

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-20 10:06:43 -04:00
Colin Delahunty
90b5e10cf8 Removed warning when importing API (#2834)
* Removed warning when importing API

* Removed warning when importing API

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-20 07:49:25 +02:00
DidierRLopes
3762693df7 Add intro command + improve plot style + internationalisation consistency (#2899)
* improve style of plots

* remove the blend which doesnt look nice in some machines

* remove translation for arguments to be coherent

* Add intro command

* add check to understand if its first time user to run intro by default

* intro doesnt require docs

* silly catch

* fix line length

* anoter lengthy line

* unused import

* unused import

* words

* allow to quit earlier

* style

* fix thing for u didi

* actual fix

* last try

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: james <jmaslek11@gmail.com>
2022-10-19 20:35:23 -04:00
Colin Delahunty
52dd7a1f66 Add stocksera source to stocks/dps/ctb (#2896)
* Got stocksera source working

* Added fixes

* Removed prints

* Updated documentation

* Fixed pytest

* Added tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-19 23:24:48 +01:00
hjoaquim
66f7d25edb fix logging (#2923)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-19 21:17:07 +01:00
James Simmons
884040a0e5 Fixing Crypto/Defi/DPI Bug (#2910)
* Fixing Crypto/Defi/DPI Bug

* additional changes

* more fixes for tvl

* 1 day % fix
2022-10-19 15:42:52 -04:00
Chavithra
eb244a1d8d Docker : building + publishing (#2904)
* fixed integrated test test_stocks_ba.openbb

* fixed integrated test test_stocks_dd.openbb

* improved and centralised the check

* fix lint

* Docker : update ci + build files

* Docker : update build and CD

* Docker : update CD

* Docker : test

* Docker : test CD

* Docker : test CD

* Docker : rename `build.sh`

* Docker : tests CD

* Docker : test CD

* Docker : update CD + build

* Docker : fix CD

* Docker : fix CD

* Docker : build

* Docker : test CD

* Docker : CD

* Docker : CD

* Docker : test

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : build + CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : test CD

* Docker : build

* Docker : test CD

* Docker : build + cd

* Moving `scripts`

* Checkout `helper_funcs.py` from main

* Docker : remove test file with alpine

* fixing readme errors

* fixing missed readme errors

* Docker : build

* Logging : handle docker app name

* Docker : test CD

* Docker : cd

* Doc

* Doc

* Doc : linting

* Doc

* Docker

* Doc

* Fixing `terminal_controller`

* Linting

* Doc : fixing links

* Version 1.9.1

* Docker : fix name

* Doc : add volumes in command

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Simmons <simmonsj330@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-19 18:00:59 +02:00
Colin Delahunty
6fa85372c6 Added error handling (#2922)
* Added error handling

* Added fixes
2022-10-19 17:09:44 +02:00
Colin Delahunty
2c41a7b642 Make tests work with the pip package (#2916)
* Fixed bad darts import

* Fixed spelling

* Added fixes
2022-10-19 14:28:20 +02:00
Theodore Aptekarev
820cd5176d Fix internationalization dictionary not being loaded (#2907)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-19 07:06:33 +02:00
hjoaquim
ace5ac607f SDK logs improved (#2893)
* added console prints

* little refactor for degiro company news

* fixed message always showing even on login fail

* initial test with the api logs

* changes log_settings location in order to use it on the sdk; also, modified the actual settings logging to a json.dumps - in order to get a well formed json str

* added logger to the api

* adding decorator to the function as it's copied

* added arguments to the logging

* remove the double log_start_end decorator

* added func_name_override

* Revert "added console prints"

This reverts commit 61d8224e97.

* Revert "little refactor for degiro company news"

This reverts commit ca5239fa9e.

* Revert "fixed message always showing even on login fail"

This reverts commit 05793bff8b.

* added typing ignore

* fixed litting

* added logging of theme and keys

* added virtual path to the logging

* fix flake8

* fixing mypy

* removed predict from the settings

* changed the way we get the keys - after the keys controller pr was merged

* dict escaped to json str

* moved the settings logging for a different file

* added different logging for keys, configs and feature flags

* fixing typo

* removed locals - using directly the args and kwargs gives us the same

* fixed black

* adding sensitive words to exclude from logs

* adding chart arg to logging

* adding all args to logs - default or not

* fix linting

* suppressing logs for reports

* solving conflicts

* fix linting

* little change on the way suppression occurs

* changing decorator to get keys state during notebook execution

* removing unused import

* black

* added dashboards to supress logging on sdk
2022-10-18 19:05:28 +01:00
hjoaquim
7136806103 Renaming api to sdk (#2897)
* renamed api to sdk

* changing docstrings and comments

* changing documentation

* changing .md files

* sdk to SDK

* fix imports on dashboards

* fixed the website docs generator

* re-generate website docs

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-18 12:02:40 -04:00
Colin Delahunty
99fc1be4cf Remove selenium (#2898)
* Removed selenium dependency

* Removed unused file

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-18 10:15:38 -04:00
Colin Delahunty
84b04351de Fix settings not updating right away (#2851)
* Loads env file after creating a new one

* Continued work

* improved error handling

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-18 09:08:01 -04:00
Colin Delahunty
4fa0b98fb8 Allowed for newly exported files to be loaded (#2894) 2022-10-18 14:28:40 +02:00
Colin Delahunty
779eb7a5dd Fixes Streamlit (#2876)
* Added fixes for streamlit

* Fixes

* Fixed: Remove columns for title section

Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-18 13:53:09 +02:00
hjoaquim
2e0012e4a7 SDK logs (#2695)
* added console prints

* little refactor for degiro company news

* fixed message always showing even on login fail

* initial test with the api logs

* changes log_settings location in order to use it on the sdk; also, modified the actual settings logging to a json.dumps - in order to get a well formed json str

* added logger to the api

* adding decorator to the function as it's copied

* added arguments to the logging

* remove the double log_start_end decorator

* added func_name_override

* Revert "added console prints"

This reverts commit 61d8224e97.

* Revert "little refactor for degiro company news"

This reverts commit ca5239fa9e.

* Revert "fixed message always showing even on login fail"

This reverts commit 05793bff8b.

* added typing ignore

* fixed litting

* added logging of theme and keys

* added virtual path to the logging

* fix flake8

* fixing mypy

* removed predict from the settings

* changed the way we get the keys - after the keys controller pr was merged

* dict escaped to json str

* moved the settings logging for a different file

* added different logging for keys, configs and feature flags

* fixing typo

* removed locals - using directly the args and kwargs gives us the same

* fixed black

* solving conflicts

* fix linting

* removing unused import

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-18 10:09:31 +02:00
James Simmons
0a54dacb8e Adding installation method to api readme (#2885)
* Adding installation method to api readme

* Fixed line length

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-18 08:18:40 +02:00
martinb-bb
80f857a22a Allow users to export predictions into raw csv (#2884)
* expo and theta

* rnn + controller updates

* changes and fixes to the rest

* updated docs

* format csv

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 19:47:18 -04:00
Colin Delahunty
a6428a5533 Allows oanda menu to be entered and updates no key message (#2869)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:34:05 -04:00
James Simmons
453832254c Updating Integration Tests Location (#2883)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:29:31 -04:00
Colin Delahunty
e126ad4e42 Sunsets the web_ui folder (#2879)
* Remove web_ui

* Removed some unused stuff

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:24:34 -04:00
Colin Delahunty
0278804387 Added error handling (#2871)
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 17:12:41 -04:00
James Maslek
d273dd5510 Eliminate update for packaged app (#2889) 2022-10-17 17:09:17 -04:00
James Maslek
c913e29182 Initialuze econonmetrics choices so that -h can be used (#2890) 2022-10-17 17:08:55 -04:00
James Maslek
7a8f8a0118 actions (#2892) 2022-10-17 16:49:41 -04:00