From 1ae91157418d8e61bc5ece82fc1536fa24cb5232 Mon Sep 17 00:00:00 2001 From: james Date: Sat, 25 Feb 2023 18:31:12 -0500 Subject: [PATCH] Delete rogue file and update test and add fixedincome to en.yml --- .../fixedincome/~$ice_bofa_indices.xlsx | Bin 165 -> 0 bytes openbb_terminal/miscellaneous/i18n/en.yml | 3 ++- .../test_load[1440-Intrinio].yaml | 11 ++++++----- 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 openbb_terminal/fixedincome/~$ice_bofa_indices.xlsx diff --git a/openbb_terminal/fixedincome/~$ice_bofa_indices.xlsx b/openbb_terminal/fixedincome/~$ice_bofa_indices.xlsx deleted file mode 100644 index 5a932052db2a5d1e1d32a453f59be330b8becc3b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 165 zcmWgj%}g%JFV0UZQSeVo%S=vH2rW)6QXm9G8GIQs8Il=_81fm4fjEt!gh7G9A4sQx R#Z!U2P@qgIP=x};5CA3W7%cz* diff --git a/openbb_terminal/miscellaneous/i18n/en.yml b/openbb_terminal/miscellaneous/i18n/en.yml index 45f22255403..016107407eb 100644 --- a/openbb_terminal/miscellaneous/i18n/en.yml +++ b/openbb_terminal/miscellaneous/i18n/en.yml @@ -783,6 +783,7 @@ en: economy/qa/raw: print raw data economy/qa/decompose: decomposition in cyclic-trend, season, and residuals of prices economy/qa/cusum: detects abrupt changes using cumulative sum algorithm of prices + fixedincome: Fixed Income fixedincome/_reference_rates_: Reference rates fixedincome/estr: euro short-term rate (estr) fixedincome/sofr: secured overnight financing rate (sofr) @@ -807,7 +808,7 @@ en: fixedincome/spot: display spot rates ranging from 1 year to a 100 years fixedincome/hqm: display the High Quality Market (HQM) corporate yield curve fixedincome/_spreads_: Spreads - fixedincome/icespread: display spread between ICE BofA Corporate Indices and spot treasury curve + fixedincome/icespread: display spread between ICE BofA Corporate Indices and spot treasury curve fixedincome/tmc: 10-year treasury constant maturity minus selected treasury constant maturity fixedincome/ffrmc: selected treasury constant maturity minus federal funds rate fixedincome/tbffr: selected treasury bill minus federal funds rate diff --git a/tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_load[1440-Intrinio].yaml b/tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_load[1440-Intrinio].yaml index 567ccb21b2d..f8a0d5860ca 100644 --- a/tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_load[1440-Intrinio].yaml +++ b/tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_load[1440-Intrinio].yaml @@ -12,19 +12,20 @@ interactions: uri: https://api-v2.intrinio.com/securities/GME/prices?api_key=MOCK_API_KEY3&end_date=2021-12-02T00%3A00%3A00&frequency=daily&page_size=10000&start_date=2021-12-01T00%3A00%3A00 response: body: - string: '{"error":"API Key was invalid.","message":"API Key was formatted invalidly."}' + string: '{"stock_prices":[{"date":"2021-12-02","intraperiod":false,"frequency":"daily","open":185.0,"high":187.43,"low":173.07,"close":181.56,"volume":2087100.0,"adj_open":46.25,"adj_high":46.8575,"adj_low":43.2675,"adj_close":45.39,"adj_volume":2087100.0,"factor":1.0,"split_ratio":1.0,"dividend":0.0,"change":0.43,"percent_change":0.0096,"fifty_two_week_high":120.75,"fifty_two_week_low":3.04},{"date":"2021-12-01","intraperiod":false,"frequency":"daily","open":199.4,"high":200.105,"low":177.01,"close":179.84,"volume":2355535.0,"adj_open":49.85,"adj_high":50.02625,"adj_low":44.2525,"adj_close":44.96,"adj_volume":2355535.0,"factor":1.0,"split_ratio":1.0,"dividend":0.0,"change":-4.09,"percent_change":-0.0834,"fifty_two_week_high":120.75,"fifty_two_week_low":3.04}],"security":{"id":"sec_y3rbdz","company_id":"com_bzqZAy","stock_exchange_id":"sxg_ozMr9y","name":"Gamestop + Corporation","code":"EQS","currency":"USD","ticker":"GME","composite_ticker":"GME:US","figi":"BBG000BB5DK6","composite_figi":"BBG000BB5BF6","share_class_figi":"BBG001S5RLR0","primary_listing":true},"next_page":null}' headers: Connection: - keep-alive Content-Length: - - '77' + - '1083' Content-Type: - application/json Date: - - Sat, 25 Feb 2023 13:18:08 GMT + - Sat, 25 Feb 2023 23:29:23 GMT Vary: - Origin,Accept-Encoding status: - code: 401 - message: Unauthorized + code: 200 + message: OK version: 1