From 171803ddc13dc2d14d994270241b701db9c834fc Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Sat, 25 Feb 2023 16:53:01 -0800 Subject: [PATCH] updates tests for options screener --- .../test_get_screener_output.csv | 202 +++++++++--------- .../options/test_screener_controller.py | 6 +- .../stocks/options/test_syncretism_model.py | 4 +- .../stocks/options/test_syncretism_view.py | 6 +- .../test_display_raw[False].txt | 24 +-- .../test_display_raw[True].txt | 24 +-- ...ain0-200-2024-01-19--1--1-False-False].txt | 8 +- ...-TSLA-2024-01-19-0-0-False-False-True].txt | 8 +- ...LA-2023-09-15-999-999-True-False-True].txt | 4 +- ...-2023-06-16--999--999-False-True-True].txt | 4 +- ...-TSLA-2023-01-20-1-1-False-False-True].txt | 8 +- ...[chain0-1000-TSLA-2024-01-19-0-0-True].txt | 8 +- ...in1-2000-TSLA-2023-09-15-999-999-True].txt | 8 +- ...2-3000-TSLA-2023-06-16--999--999-True].txt | 8 +- ...hain3-4000-TSLA-2023-03-17--1--1-True].txt | 8 +- ...[chain4-5000-TSLA-2023-01-20-1-1-True].txt | 8 +- ...-TSLA-2024-01-19-0-0-False-False-True].txt | 8 +- ...LA-2023-09-15-999-999-True-False-True].txt | 4 +- ...-2023-06-16--999--999-False-True-True].txt | 4 +- ...-TSLA-2023-01-20-1-1-False-False-True].txt | 8 +- ...int_raw[calls0-puts0-TSLA-False-False].txt | 8 +- ...rint_raw[calls1-puts1-TSLA-True-False].txt | 4 +- ...rint_raw[calls2-puts2-TSLA-False-True].txt | 4 +- .../test_print_help.txt | 2 +- ...st_view_available_presets[high_IV.ini].txt | 21 +- .../test_view_screener_output.txt | 12 +- 26 files changed, 207 insertions(+), 206 deletions(-) diff --git a/tests/openbb_terminal/stocks/options/csv/test_syncretism_model/test_get_screener_output.csv b/tests/openbb_terminal/stocks/options/csv/test_syncretism_model/test_get_screener_output.csv index abd343b91ca..2780c981b10 100644 --- a/tests/openbb_terminal/stocks/options/csv/test_syncretism_model/test_get_screener_output.csv +++ b/tests/openbb_terminal/stocks/options/csv/test_syncretism_model/test_get_screener_output.csv @@ -1,101 +1,101 @@ -,CS,S,T,Str,Exp ∨,IV,LP,B,A,V,OI,Y,MY,SMP,SMDL,SMDH,LU -0,TSLA220107P00700000,TSLA,P,700.0,01-07-22,0.998047,0.11,0.09,0.11,1023,2781,0.0,0.001,1056.78,1054.59,1082.0,12-31-21 -1,CLOV220114C00004500,CLOV,C,4.5,01-14-22,0.996094,0.07,0.06,0.08,193,3472,0.016,0.037,3.72,3.685,3.91,12-31-21 -2,SOFI220107C00020000,SOFI,C,20.0,01-07-22,0.996094,0.04,0.04,0.05,608,4237,0.002,0.012,15.81,15.74,16.49,12-31-21 -3,CCL220107P00016000,CCL,P,16.0,01-07-22,0.996094,0.04,0.04,0.06,694,982,0.003,0.017,20.12,20.02,20.773,12-31-21 -4,WKHS220107C00004500,WKHS,C,4.5,01-07-22,0.992188,0.18,0.17,0.19,413,428,0.04,0.213,4.36,4.33,4.645,12-31-21 -5,ROKU220107C00340000,ROKU,C,340.0,01-07-22,0.992188,0.03,0.0,0.04,271,178,0.0,0.0,228.2,227.56,241.456,12-31-21 -6,PLUG220114C00045000,PLUG,C,45.0,01-14-22,0.992188,0.03,0.02,0.03,139,125,0.001,0.001,28.23,28.19,29.4225,12-31-21 -7,HUT220107C00009500,HUT,C,9.5,01-07-22,0.992188,0.05,0.04,0.05,539,699,0.005,0.025,7.85,7.74,8.175,12-31-21 -8,LCID220107C00049000,LCID,C,49.0,01-07-22,0.988281,0.08,0.07,0.08,134,1252,0.002,0.008,38.05,37.85,39.8,12-31-21 -9,TSLA220107C01700000,TSLA,C,1700.0,01-07-22,0.988281,0.06,0.01,0.05,296,830,0.0,0.0,1056.78,1054.59,1082.0,12-31-21 -10,AMC220107P00025000,AMC,P,25.0,01-07-22,0.984375,0.58,0.57,0.59,8386,4259,0.023,0.123,27.2,27.11,29.4,12-31-21 -11,TNA220114P00060000,TNA,P,60.0,01-14-22,0.984375,0.22,0.18,0.22,104,335,0.003,0.008,84.75,84.52,86.51,12-31-21 -12,WKHS220107P00004000,WKHS,P,4.0,01-07-22,0.984375,0.09,0.08,0.1,141,1202,0.022,0.12,4.36,4.33,4.645,12-31-21 -13,NIO220107C00043000,NIO,C,43.0,01-07-22,0.984375,0.03,0.03,0.04,888,1157,0.001,0.004,31.68,31.665,32.98,12-31-21 -14,AMC220107P00026000,AMC,P,26.0,01-07-22,0.981445,0.93,0.9,0.94,2220,2686,0.035,0.188,27.2,27.11,29.4,12-31-21 -15,SPCE220107C00017000,SPCE,C,17.0,01-07-22,0.976563,0.05,0.04,0.05,137,1165,0.003,0.014,13.38,13.3543,14.2,12-31-21 -16,HOOD220107C00022000,HOOD,C,22.0,01-07-22,0.976563,0.06,0.06,0.07,1766,2776,0.003,0.016,17.76,17.72,18.76,12-31-21 -17,RIOT220107P00020000,RIOT,P,20.0,01-07-22,0.976563,0.33,0.32,0.35,950,1010,0.017,0.089,22.33,22.31,23.95,12-31-21 -18,RIOT220107C00025000,RIOT,C,25.0,01-07-22,0.976563,0.37,0.35,0.37,3226,2449,0.014,0.077,22.33,22.31,23.95,12-31-21 -19,SQQQ220107C00007500,SQQQ,C,7.5,01-07-22,0.96875,0.02,0.01,0.02,283,1820,0.002,0.011,5.94,5.78,5.94,12-31-21 -20,M220107P00020000,M,P,20.0,01-07-22,0.96875,0.02,0.02,0.03,372,352,0.001,0.007,26.18,26.105,27.18,12-31-21 -21,TSLA220107C01650000,TSLA,C,1650.0,01-07-22,0.96875,0.05,0.04,0.06,819,502,0.0,0.0,1056.78,1054.59,1082.0,12-31-21 -22,VXX220107C00025500,VXX,C,25.5,01-07-22,0.96875,0.02,0.01,0.02,552,2375,0.001,0.003,18.53,18.37,18.855,12-31-21 -23,NVDA220107P00195000,NVDA,P,195.0,01-07-22,0.96875,0.03,0.0,0.02,200,577,0.0,0.001,294.11,293.306,300.3,12-29-21 -24,ANY220107P00003000,ANY,P,3.0,01-07-22,0.96875,0.13,0.09,0.13,113,152,0.037,0.194,3.12,3.105,3.3107,12-31-21 -25,NIO220107P00025000,NIO,P,25.0,01-07-22,0.960938,0.08,0.07,0.09,349,1861,0.003,0.017,31.68,31.665,32.98,12-31-21 -26,FUBO220107C00019000,FUBO,C,19.0,01-07-22,0.960938,0.08,0.08,0.09,160,958,0.004,0.024,15.52,15.51,16.65,12-31-21 -27,RIOT220107C00024000,RIOT,C,24.0,01-07-22,0.960938,0.57,0.55,0.59,3205,2580,0.024,0.126,22.33,22.31,23.95,12-31-21 -28,ABNB220107P00115000,ABNB,P,115.0,01-07-22,0.960938,0.03,0.0,0.03,116,1083,0.0,0.001,166.49,166.08,170.87,12-30-21 -29,ROKU220107C00325000,ROKU,C,325.0,01-07-22,0.960938,0.05,0.03,0.06,136,96,0.0,0.001,228.2,227.56,241.456,12-31-21 -30,XPEV220107P00041000,XPEV,P,41.0,01-07-22,0.958985,0.17,0.15,0.17,194,203,0.004,0.021,50.33,48.365,51.1059,12-31-21 -31,LCID220107C00048000,LCID,C,48.0,01-07-22,0.957032,0.08,0.08,0.1,299,1259,0.002,0.01,38.05,37.85,39.8,12-31-21 -32,HUT220114C00009500,HUT,C,9.5,01-14-22,0.957032,0.15,0.11,0.15,280,339,0.014,0.032,7.85,7.74,8.175,12-31-21 -33,NIO220107C00042000,NIO,C,42.0,01-07-22,0.957032,0.05,0.04,0.05,599,2170,0.001,0.006,31.68,31.665,32.98,12-31-21 -34,DIDI220107C00005500,DIDI,C,5.5,01-07-22,0.953125,0.09,0.08,0.1,2504,2583,0.016,0.087,4.98,4.74,5.215,12-31-21 -35,CLOV220107C00004000,CLOV,C,4.0,01-07-22,0.953125,0.11,0.1,0.11,5918,4744,0.026,0.139,3.72,3.685,3.91,12-31-21 -36,PTON220114C00054000,PTON,C,54.0,01-14-22,0.953125,0.08,0.03,0.05,185,191,0.001,0.002,35.76,35.655,37.4,12-30-21 -37,NKLA220107C00012500,NKLA,C,12.5,01-07-22,0.953125,0.03,0.02,0.04,239,728,0.002,0.013,9.87,9.85,10.605,12-31-21 -38,SPY220107P00295000,SPY,P,295.0,01-07-22,0.953125,0.01,0.0,0.01,501,1346,0.0,0.0,474.96,474.67,476.86,12-27-21 -39,TAL220107C00004000,TAL,C,4.0,01-07-22,0.953125,0.16,0.15,0.2,188,183,0.044,0.233,3.93,3.8,4.1,12-31-21 -40,GRWG220107C00016000,GRWG,C,16.0,01-07-22,0.953125,0.05,0.04,0.06,100,115,0.003,0.017,13.05,12.9386,13.5492,12-31-21 -41,SOFI220114C00021500,SOFI,C,21.5,01-14-22,0.949219,0.08,0.06,0.08,116,139,0.003,0.008,15.81,15.74,16.49,12-31-21 -42,DDOG220107P00130000,DDOG,P,130.0,01-07-22,0.949219,0.03,0.03,0.08,131,230,0.0,0.002,178.11,178.044,181.3,12-31-21 -43,SDC220114C00002500,SDC,C,2.5,01-14-22,0.945313,0.12,0.11,0.13,910,581,0.048,0.114,2.35,2.33,2.5115,12-31-21 -44,DIDI220107C00005000,DIDI,C,5.0,01-07-22,0.945313,0.25,0.24,0.26,2564,1291,0.05,0.265,4.98,4.74,5.215,12-31-21 -45,FCEL220114C00006000,FCEL,C,6.0,01-14-22,0.945313,0.13,0.12,0.14,464,1163,0.022,0.051,5.2,5.19,5.5,12-31-21 -46,LCID220107P00030000,LCID,P,30.0,01-07-22,0.945313,0.06,0.05,0.07,1956,4811,0.002,0.011,38.05,37.85,39.8,12-31-21 -47,TEVA220107P00006500,TEVA,P,6.5,01-07-22,0.945313,0.03,0.02,0.04,229,170,0.005,0.025,8.01,7.73,8.155,12-31-21 -48,QS220107C00028500,QS,C,28.5,01-07-22,0.945313,0.1,0.03,0.04,278,294,0.001,0.007,22.19,22.14,23.5,12-30-21 -49,RIOT220107C00023000,RIOT,C,23.0,01-07-22,0.939454,0.87,0.86,0.88,2708,945,0.038,0.201,22.33,22.31,23.95,12-31-21 -50,RIOT220107P00021000,RIOT,P,21.0,01-07-22,0.937501,0.6,0.56,0.6,1389,1094,0.028,0.147,22.33,22.31,23.95,12-31-21 -51,GM220107C00085000,GM,C,85.0,01-07-22,0.937501,0.04,0.0,0.01,225,355,0.0,0.002,58.63,57.92,59.05,12-13-21 -52,SDC220107C00002500,SDC,C,2.5,01-07-22,0.937501,0.07,0.06,0.07,1030,1020,0.026,0.138,2.35,2.33,2.5115,12-31-21 -53,VXRT220107C00007000,VXRT,C,7.0,01-07-22,0.937501,0.08,0.08,0.11,278,381,0.014,0.072,6.27,6.25,6.555,12-31-21 -54,AAL220107C00025500,AAL,C,25.5,01-07-22,0.937501,0.03,0.0,0.01,160,563,0.001,0.006,17.96,17.93,18.36,12-20-21 -55,TLRY220107P00006000,TLRY,P,6.0,01-07-22,0.937501,0.04,0.04,0.05,221,180,0.008,0.04,7.03,7.03,7.485,12-31-21 -56,BABA220107P00090000,BABA,P,90.0,01-07-22,0.933594,0.08,0.06,0.09,674,1256,0.001,0.004,118.79,118.59,122.91,12-31-21 -57,UVXY220107C00013000,UVXY,C,13.0,01-07-22,0.933594,0.42,0.4,0.42,6040,3406,0.032,0.168,12.43,12.25,12.7591,12-31-21 -58,PTON220114P00030000,PTON,P,30.0,01-14-22,0.929688,0.54,0.51,0.55,692,859,0.018,0.042,35.76,35.655,37.4,12-31-21 -59,BTBT220107C00006500,BTBT,C,6.5,01-07-22,0.929688,0.18,0.15,0.2,107,1006,0.027,0.143,6.08,6.05,6.38,12-31-21 -60,ACB220114C00007000,ACB,C,7.0,01-14-22,0.929688,0.04,0.02,0.06,114,364,0.006,0.014,5.41,5.39,5.6876,12-31-21 -61,VXX220114C00021000,VXX,C,21.0,01-14-22,0.927735,0.53,0.5,0.54,340,1936,0.025,0.059,18.53,18.37,18.855,12-31-21 -62,DKNG220107C00035000,DKNG,C,35.0,01-07-22,0.925782,0.05,0.04,0.05,276,2893,0.001,0.007,27.47,27.435,28.77,12-31-21 -63,NVDA220107C00440000,NVDA,C,440.0,01-07-22,0.921876,0.02,0.0,0.02,283,490,0.0,0.0,294.11,293.306,300.3,12-30-21 -64,VXX220107C00025000,VXX,C,25.0,01-07-22,0.921876,0.02,0.01,0.02,281,1761,0.001,0.003,18.53,18.37,18.855,12-31-21 -65,SRNE220107C00005000,SRNE,C,5.0,01-07-22,0.921876,0.1,0.09,0.13,2391,2655,0.022,0.117,4.65,4.65,4.965,12-31-21 -66,LCID220107C00047000,LCID,C,47.0,01-07-22,0.921876,0.11,0.1,0.12,803,1065,0.002,0.012,38.05,37.85,39.8,12-31-21 -67,HUT220114C00009000,HUT,C,9.0,01-14-22,0.91797,0.2,0.19,0.2,100,1169,0.022,0.051,7.85,7.74,8.175,12-31-21 -68,NIO220114C00045000,NIO,C,45.0,01-14-22,0.91797,0.08,0.07,0.09,123,798,0.002,0.004,31.68,31.665,32.98,12-31-21 -69,TLRY220107C00007500,TLRY,C,7.5,01-07-22,0.91797,0.19,0.17,0.19,4814,3399,0.024,0.128,7.03,7.03,7.485,12-31-21 -70,QS220107C00028000,QS,C,28.0,01-07-22,0.914063,0.04,0.03,0.05,376,419,0.001,0.008,22.19,22.14,23.5,12-31-21 -71,NKLA220114P00008000,NKLA,P,8.0,01-14-22,0.914063,0.1,0.08,0.13,262,1205,0.013,0.031,9.87,9.85,10.605,12-31-21 -72,HOOD220107C00021000,HOOD,C,21.0,01-07-22,0.914063,0.1,0.1,0.11,462,1833,0.005,0.027,17.76,17.72,18.76,12-31-21 -73,SOFI220107C00019500,SOFI,C,19.5,01-07-22,0.914063,0.05,0.04,0.05,459,771,0.002,0.012,15.81,15.74,16.49,12-31-21 -74,HUT220107C00009000,HUT,C,9.0,01-07-22,0.914063,0.08,0.07,0.08,1961,1680,0.008,0.044,7.85,7.74,8.175,12-31-21 -75,LCID220114C00050000,LCID,C,50.0,01-14-22,0.914063,0.21,0.21,0.22,288,865,0.004,0.01,38.05,37.85,39.8,12-31-21 -76,FUBO220107C00018500,FUBO,C,18.5,01-07-22,0.914063,0.11,0.1,0.11,149,675,0.006,0.03,15.52,15.51,16.65,12-31-21 -77,BABA220114C00190000,BABA,C,190.0,01-14-22,0.910157,0.03,0.02,0.05,129,196,0.0,0.0,118.79,118.59,122.9,12-31-21 -78,LCID220114P00030000,LCID,P,30.0,01-14-22,0.910157,0.25,0.23,0.28,228,1609,0.008,0.02,38.05,37.85,39.8,12-31-21 -79,SPY220105P00335000,SPY,P,335.0,01-05-22,0.906251,0.02,0.0,0.01,685,917,0.0,0.0,474.96,474.67,476.86,12-22-21 -80,NIO220107C00041000,NIO,C,41.0,01-07-22,0.906251,0.06,0.04,0.06,406,1149,0.001,0.006,31.68,31.665,32.98,12-31-21 -81,VXX220107C00024500,VXX,C,24.5,01-07-22,0.906251,0.02,0.01,0.03,1434,992,0.001,0.004,18.53,18.37,18.855,12-31-21 -82,NCLH220107P00016000,NCLH,P,16.0,01-07-22,0.906251,0.04,0.02,0.03,462,555,0.002,0.008,20.74,20.4,21.185,12-30-21 -83,CLOV220114C00004000,CLOV,C,4.0,01-14-22,0.906251,0.15,0.14,0.17,175,1319,0.039,0.092,3.72,3.685,3.91,12-31-21 -84,BABA220114P00085000,BABA,P,85.0,01-14-22,0.903321,0.19,0.18,0.22,128,379,0.002,0.006,118.79,118.59,122.9,12-31-21 -85,HUT220107P00007000,HUT,P,7.0,01-07-22,0.902345,0.09,0.08,0.1,216,499,0.013,0.068,7.85,7.74,8.175,12-31-21 -86,LCID220114C00049000,LCID,C,49.0,01-14-22,0.898439,0.26,0.25,0.26,115,337,0.005,0.012,38.05,37.85,39.8,12-31-21 -87,HUT220114C00008500,HUT,C,8.5,01-14-22,0.898439,0.3,0.29,0.32,393,661,0.036,0.085,7.85,7.74,8.175,12-31-21 -88,CCL220114P00015000,CCL,P,15.0,01-14-22,0.898439,0.06,0.05,0.07,225,195,0.004,0.009,20.12,20.02,20.773,12-31-21 -89,PTON220107C00045000,PTON,C,45.0,01-07-22,0.898439,0.09,0.08,0.1,1042,2821,0.002,0.011,35.76,35.655,37.4,12-31-21 -90,FB220107P00235000,FB,P,235.0,01-07-22,0.898439,0.02,0.0,0.04,123,132,0.0,0.0,336.35,336.27,343.44,12-29-21 -91,NIO220107C00040000,NIO,C,40.0,01-07-22,0.898439,0.08,0.07,0.08,5552,6246,0.002,0.01,31.68,31.665,32.98,12-31-21 -92,TSLA220107C01550000,TSLA,C,1550.0,01-07-22,0.894532,0.09,0.09,0.1,761,1552,0.0,0.0,1056.78,1054.59,1082.0,12-31-21 -93,CGC220107C00010000,CGC,C,10.0,01-07-22,0.894532,0.09,0.07,0.09,237,1575,0.008,0.042,8.73,8.72,9.19,12-31-21 -94,ATVI220107P00049000,ATVI,P,49.0,01-07-22,0.890626,0.02,0.0,0.03,125,134,0.0,0.002,66.53,66.3,67.63,12-28-21 -95,BABA220107C00165000,BABA,C,165.0,01-07-22,0.890626,0.02,0.01,0.03,423,221,0.0,0.001,118.79,118.59,122.91,12-31-21 -96,ETSY220107C00315000,ETSY,C,315.0,01-07-22,0.890626,0.03,0.0,0.03,103,397,0.0,0.001,218.94,217.92,224.73,12-29-21 -97,INO220107C00005500,INO,C,5.5,01-07-22,0.890626,0.07,0.07,0.09,319,137,0.015,0.077,4.99,4.99,5.225,12-31-21 -98,FCEL220114C00005500,FCEL,C,5.5,01-14-22,0.890626,0.24,0.22,0.26,249,683,0.044,0.103,5.2,5.19,5.5,12-31-21 -99,SPY220107P00305000,SPY,P,305.0,01-07-22,0.890626,0.02,0.0,0.01,300,1359,0.0,0.0,474.96,474.67,476.86,12-22-21 +,Contract Symbol,Expiration,Ticker,Type,Strike,Vol,OI,IV,Delta,Gamma,Rho,Theta,Vega,Last Traded,Bid,Ask,Last,% Change,Underlying,P/B +0,TSLA220107P00700000,22-01-07,TSLA,P,700.0,1023,2781,0.998047,-0.000519728,1.35987e-05,-9.3762e-05,-0.0206986,0.00249995,21-12-31,0.09,0.11,0.11,-0.04,1056.78,39.2199 +1,CLOV220114C00004500,22-01-14,CLOV,C,4.5,193,3472,0.996094,0.179483,0.375109,0.000214922,-0.00708092,0.00183611,21-12-31,0.06,0.08,0.07,-0.01,3.72,3.8311 +2,SOFI220107C00020000,22-01-07,SOFI,C,20.0,608,4237,0.996094,0.0376965,0.0407327,9.28884e-05,-0.0138623,0.00166168,21-12-31,0.04,0.05,0.04,-0.01,15.81,2.99829 +3,CCL220107P00016000,22-01-07,CCL,P,16.0,694,982,0.996094,-0.0311032,0.0273614,-0.000107598,-0.0150269,0.00180342,21-12-31,0.04,0.06,0.04,-0.01,20.12,1.53506 +4,WKHS220107C00004500,22-01-07,WKHS,C,4.5,413,428,0.992188,0.427126,0.709146,0.000278101,-0.0182509,0.00218693,21-12-31,0.17,0.19,0.18,-0.1,4.36,3.82456 +5,ROKU220107C00340000,22-01-07,ROKU,C,340.0,271,178,0.992188,0.00104029,0.000120635,3.74657e-05,-0.00848134,0.00101841,21-12-31,0.0,0.04,0.03,-0.06,228.2,11.4077 +6,PLUG220114C00045000,22-01-14,PLUG,C,45.0,139,125,0.992188,0.00836114,0.00430932,7.9168e-05,-0.00464059,0.00121438,21-12-31,0.02,0.03,0.03,0.01,28.23,3.4549 +7,HUT220107C00009500,22-01-07,HUT,C,9.5,539,699,0.992188,0.0752145,0.142417,9.13477e-05,-0.0118585,0.00142426,21-12-31,0.04,0.05,0.05,0.0,7.85,2.05014 +8,LCID220107C00049000,22-01-07,LCID,C,49.0,134,1252,0.988281,0.0267362,0.0128252,0.000159433,-0.0248844,0.00301543,21-12-31,0.07,0.08,0.08,-0.06,38.05,12.8939 +9,TSLA220107C01700000,22-01-07,TSLA,C,1700.0,296,830,0.988281,0.000116547,3.40759e-06,1.97091e-05,-0.00509664,0.000620312,21-12-31,0.01,0.05,0.06,-0.01,1056.78,39.2199 +10,AMC220107P00025000,22-01-07,AMC,P,25.0,8386,4259,0.984375,-0.231073,0.0889868,-0.00110618,-0.0871232,0.0105805,21-12-31,0.57,0.59,0.58,0.13,27.2,-8.5 +11,TNA220114P00060000,22-01-14,TNA,P,60.0,104,335,0.984375,-0.0252877,0.0037483,-0.000820428,-0.0356393,0.00943695,21-12-31,0.18,0.22,0.22,-0.11,84.75, +12,WKHS220107P00004000,22-01-07,WKHS,P,4.0,141,1202,0.984375,-0.226752,0.548891,-0.000174193,-0.0138053,0.0016794,21-12-31,0.08,0.1,0.09,0.01,4.36,3.82456 +13,NIO220107C00043000,22-01-07,NIO,C,43.0,888,1157,0.984375,0.00937169,0.00628575,4.69951e-05,-0.00838587,0.00102493,21-12-31,0.03,0.04,0.03,-0.03,31.68,2.06344 +14,AMC220107P00026000,22-01-07,AMC,P,26.0,2220,2686,0.981445,-0.335643,0.106886,-0.00162316,-0.103952,0.0126709,21-12-31,0.9,0.94,0.93,0.25,27.2,-8.5 +15,SPCE220107C00017000,22-01-07,SPCE,C,17.0,137,1165,0.976563,0.0325403,0.0433712,6.84209e-05,-0.0101611,0.00125039,21-12-31,0.04,0.05,0.05,-0.03,13.38,3.55096 +16,HOOD220107C00022000,22-01-07,HOOD,C,22.0,1766,2776,0.976563,0.0495195,0.0461347,0.000136719,-0.0190457,0.00232487,21-12-31,0.06,0.07,0.06,-0.03,17.76,2.05722 +17,RIOT220107P00020000,22-01-07,RIOT,P,20.0,950,1010,0.976563,-0.171734,0.0913871,-0.00067084,-0.0593573,0.00726911,21-12-31,0.32,0.35,0.33,0.1,22.33,2.81802 +18,RIOT220107C00025000,22-01-07,RIOT,C,25.0,3226,2449,0.976563,0.200317,0.100546,0.000682616,-0.0656729,0.0079976,21-12-31,0.35,0.37,0.37,-0.35,22.33,2.81802 +19,SQQQ220107C00007500,22-01-07,SQQQ,C,7.5,283,1820,0.96875,0.0345346,0.103835,3.19878e-05,-0.00471821,0.000580657,21-12-31,0.01,0.02,0.02,0.0,5.94, +20,M220107P00020000,22-01-07,M,P,20.0,372,352,0.96875,-0.0126725,0.0100928,-5.67249e-05,-0.00888365,0.00109658,21-12-31,0.02,0.03,0.02,0.0,26.18,2.60472 +21,TSLA220107C01650000,22-01-07,TSLA,C,1650.0,819,502,0.96875,0.000218281,6.2546e-06,3.68951e-05,-0.0089893,0.00111608,21-12-31,0.04,0.06,0.05,-0.09,1056.78,39.2199 +22,VXX220107C00025500,22-01-07,VXX,C,25.5,552,2375,0.96875,0.0062816,0.00766312,1.85393e-05,-0.00338737,0.000422397,21-12-31,0.01,0.02,0.02,-0.03,18.53, +23,NVDA220107P00195000,22-01-07,NVDA,P,195.0,200,577,0.96875,-0.000357705,3.57801e-05,-1.77448e-05,-0.00397446,0.000489583,21-12-29,0.0,0.02,0.03,0.0,294.11,30.9199 +24,ANY220107P00003000,22-01-07,ANY,P,3.0,113,152,0.96875,-0.351945,0.958349,-0.000196464,-0.0119427,0.00148371,21-12-31,0.09,0.13,0.13,0.03,3.12,0.845299 +25,NIO220107P00025000,22-01-07,NIO,P,25.0,349,1861,0.960938,-0.0237388,0.0143083,-0.000130125,-0.0181314,0.00227751,21-12-31,0.07,0.09,0.08,-0.02,31.68,2.06344 +26,FUBO220107C00019000,22-01-07,FUBO,C,19.0,160,958,0.960938,0.0585354,0.0607011,0.00014364,-0.0185311,0.00234028,21-12-31,0.08,0.09,0.08,-0.05,15.52,3.74879 +27,RIOT220107C00024000,22-01-07,RIOT,C,24.0,3205,2580,0.960938,0.300213,0.126821,0.00101491,-0.0802524,0.0099262,21-12-31,0.55,0.59,0.57,-0.5,22.33,2.81802 +28,ABNB220107P00115000,22-01-07,ABNB,P,115.0,116,1083,0.960938,-0.0010611,0.000173667,-2.99491e-05,-0.0060815,0.000757447,21-12-30,0.0,0.03,0.03,0.0,166.49,23.413 +29,ROKU220107C00325000,22-01-07,ROKU,C,325.0,136,96,0.960938,0.00243647,0.000270506,8.76436e-05,-0.0178414,0.00221171,21-12-31,0.03,0.06,0.05,-0.07,228.2,11.4077 +30,XPEV220107P00041000,22-01-07,XPEV,P,41.0,194,203,0.958985,-0.0414644,0.0143633,-0.000359651,-0.0457436,0.00571514,21-12-31,0.15,0.17,0.17,-0.08,50.33,0.968406 +31,LCID220107C00048000,22-01-07,LCID,C,48.0,299,1259,0.957032,0.0336145,0.0160128,0.000200452,-0.0291389,0.00364584,21-12-31,0.08,0.1,0.08,-0.06,38.05,12.8939 +32,HUT220114C00009500,22-01-14,HUT,C,9.5,280,339,0.957032,0.167623,0.176976,0.000426575,-0.0137337,0.003713,21-12-31,0.11,0.15,0.15,-0.02,7.85,2.05014 +33,NIO220107C00042000,22-01-07,NIO,C,42.0,599,2170,0.957032,0.0128758,0.00852325,6.4549e-05,-0.0107491,0.00135117,21-12-31,0.04,0.05,0.05,-0.03,31.68,2.06344 +34,DIDI220107C00005500,22-01-07,DIDI,C,5.5,2504,2583,0.953125,0.225927,0.495525,0.000171574,-0.0153376,0.00191335,21-12-31,0.08,0.1,0.09,-0.11,4.98,0.213459 +35,CLOV220107C00004000,22-01-07,CLOV,C,4.0,5918,4744,0.953125,0.298356,0.761142,0.000169954,-0.0131512,0.00165809,21-12-31,0.1,0.11,0.11,0.0,3.72,3.8311 +36,PTON220114C00054000,22-01-14,PTON,C,54.0,185,191,0.953125,0.0139429,0.00552978,0.000166892,-0.00881972,0.00239937,21-12-30,0.03,0.05,0.08,0.0,35.76,7.18505 +37,NKLA220107C00012500,22-01-07,NKLA,C,12.5,239,728,0.953125,0.0309446,0.0577985,4.80522e-05,-0.00701924,0.000884695,21-12-31,0.02,0.04,0.03,-0.05,9.87,5.63678 +38,SPY220107P00295000,22-01-07,SPY,P,295.0,501,1346,0.953125,-4.11789e-05,2.93909e-06,-3.34524e-06,-0.000824876,0.000105054,21-12-27,0.0,0.01,0.01,0.0,474.96,1.19976 +39,TAL220107C00004000,22-01-07,TAL,C,4.0,188,183,0.953125,0.467516,0.828791,0.000275088,-0.0160004,0.00200143,21-12-31,0.15,0.2,0.16,-0.07,3.93,0.48717 +40,GRWG220107C00016000,22-01-07,GRWG,C,16.0,100,115,0.953125,0.0537086,0.0686683,0.00010887,-0.0145812,0.00182097,21-12-31,0.04,0.06,0.05,-0.01,13.05,2.09168 +41,SOFI220114C00021500,22-01-14,SOFI,C,21.5,116,139,0.949219,0.0520482,0.0376374,0.000271849,-0.0116439,0.00317385,21-12-31,0.06,0.08,0.08,-0.02,15.81,2.99829 +42,DDOG220107P00130000,22-01-07,DDOG,P,130.0,131,230,0.949219,-0.00394352,0.000541068,-0.000119314,-0.0211547,0.00266404,21-12-31,0.03,0.08,0.03,-0.07,178.11,58.0163 +43,SDC220114C00002500,22-01-14,SDC,C,2.5,910,581,0.945313,0.400119,0.918413,0.000298261,-0.00624381,0.00171949,21-12-31,0.11,0.13,0.12,-0.06,2.35,1.43907 +44,DIDI220107C00005000,22-01-07,DIDI,C,5.0,2564,1291,0.945313,0.511694,0.662763,0.000378508,-0.0202186,0.00253813,21-12-31,0.24,0.26,0.25,-0.17,4.98,0.213459 +45,FCEL220114C00006000,22-01-14,FCEL,C,6.0,464,1163,0.945313,0.238692,0.334354,0.000398928,-0.0111146,0.00303942,21-12-31,0.12,0.14,0.13,-0.04,5.2,2.96804 +46,LCID220107P00030000,22-01-07,LCID,P,30.0,1956,4811,0.945313,-0.0214703,0.0111512,-0.000140525,-0.0197271,0.00250784,21-12-31,0.05,0.07,0.06,-0.01,38.05,12.8939 +47,TEVA220107P00006500,22-01-07,TEVA,P,6.5,229,170,0.945313,-0.0376952,0.084163,-5.2676e-05,-0.00659682,0.000847362,21-12-31,0.02,0.04,0.03,0.0,8.01,0.844046 +48,QS220107C00028500,22-01-07,QS,C,28.5,278,294,0.945313,0.0225082,0.0199168,7.83727e-05,-0.0120252,0.00152061,21-12-30,0.03,0.04,0.1,0.0,22.19,5.6636 +49,RIOT220107C00023000,22-01-07,RIOT,C,23.0,2708,945,0.939454,0.426973,0.146295,0.00142921,-0.088562,0.0111944,21-12-31,0.86,0.88,0.87,-0.68,22.33,2.81802 +50,RIOT220107P00021000,22-01-07,RIOT,P,21.0,1389,1094,0.937501,-0.28281,0.12642,-0.00111343,-0.0756077,0.0096535,21-12-31,0.56,0.6,0.6,0.2,22.33,2.81802 +51,GM220107C00085000,22-01-07,GM,C,85.0,225,355,0.937501,0.00119651,0.000564769,1.10936e-05,-0.00234025,0.000297515,21-12-13,0.0,0.01,0.04,0.0,58.63,1.6241 +52,SDC220107C00002500,22-01-07,SDC,C,2.5,1030,1020,0.937501,0.324737,1.27801,0.000115453,-0.00852729,0.00108045,21-12-31,0.06,0.07,0.07,-0.04,2.35,1.43907 +53,VXRT220107C00007000,22-01-07,VXRT,C,7.0,278,381,0.937501,0.196222,0.36765,0.00018905,-0.0174503,0.00222224,21-12-31,0.08,0.11,0.08,-0.09,6.27,3.83252 +54,AAL220107C00025500,22-01-07,AAL,C,25.5,160,563,0.937501,0.00220019,0.00319585,6.29876e-06,-0.00124274,0.00015952,21-12-20,0.0,0.01,0.03,0.0,17.96,-1.56364 +55,TLRY220107P00006000,22-01-07,TLRY,P,6.0,221,180,0.937501,-0.0834754,0.181931,-0.000101728,-0.0107991,0.00138162,21-12-31,0.04,0.05,0.04,0.0,7.03,0.733208 +56,BABA220107P00090000,22-01-07,BABA,P,90.0,674,1256,0.933594,-0.00850197,0.00163049,-0.000171968,-0.0274265,0.0035125,21-12-31,0.06,0.09,0.08,-0.02,118.79,0.332531 +57,UVXY220107C00013000,22-01-07,UVXY,C,13.0,6040,3406,0.933594,0.377284,0.255349,0.000710896,-0.0472879,0.00605456,21-12-31,0.4,0.42,0.42,-0.2,12.43, +58,PTON220114P00030000,22-01-14,PTON,P,30.0,692,859,0.929688,-0.137397,0.0350325,-0.00191765,-0.0528145,0.0148268,21-12-31,0.51,0.55,0.54,0.11,35.76,7.18505 +59,BTBT220107C00006500,22-01-07,BTBT,C,6.5,107,1006,0.929688,0.310099,0.484441,0.000290406,-0.0212769,0.00276429,21-12-31,0.15,0.2,0.18,-0.12,6.08,3.50029 +60,ACB220114C00007000,22-01-14,ACB,C,7.0,114,364,0.929688,0.0841417,0.162698,0.000149968,-0.00565582,0.00157665,21-12-31,0.02,0.06,0.04,-0.01,5.41,0.529302 +61,VXX220114C00021000,22-01-14,VXX,C,21.0,340,1936,0.927735,0.265892,0.101291,0.00157851,-0.0411934,0.0114558,21-12-31,0.5,0.54,0.53,-0.2,18.53, +62,DKNG220107C00035000,22-01-07,DKNG,C,35.0,276,2893,0.925782,0.0235119,0.0170778,0.000101008,-0.0151563,0.00194889,21-12-31,0.04,0.05,0.05,-0.07,27.47,6.09767 +63,NVDA220107C00440000,22-01-07,NVDA,C,440.0,283,490,0.921876,0.000391771,4.09137e-05,1.82553e-05,-0.00412467,0.000532739,21-12-30,0.0,0.02,0.02,0.0,294.11,30.9199 +64,VXX220107C00025000,22-01-07,VXX,C,25.0,281,1761,0.921876,0.00690542,0.00875597,2.04118e-05,-0.00350527,0.000459283,21-12-31,0.01,0.02,0.02,-0.03,18.53, +65,SRNE220107C00005000,22-01-07,SRNE,C,5.0,2391,2655,0.921876,0.29017,0.623113,0.000206238,-0.0157383,0.00204091,21-12-31,0.09,0.13,0.1,-0.1,4.65,10.473 +66,LCID220107C00047000,22-01-07,LCID,C,47.0,803,1065,0.921876,0.0421406,0.0199922,0.000251341,-0.0337616,0.00438469,21-12-31,0.1,0.12,0.11,-0.06,38.05,12.8939 +67,HUT220114C00009000,22-01-14,HUT,C,9.0,100,1169,0.91797,0.242008,0.229763,0.00061226,-0.0164164,0.00462374,21-12-31,0.19,0.2,0.2,-0.00999999,7.85,2.05014 +68,NIO220114C00045000,22-01-14,NIO,C,45.0,123,798,0.91797,0.0264391,0.0111585,0.000279822,-0.0129605,0.00366228,21-12-31,0.07,0.09,0.08,-0.04,31.68,2.06344 +69,TLRY220107C00007500,22-01-07,TLRY,C,7.5,4814,3399,0.91797,0.312155,0.428294,0.000334083,-0.0245195,0.00318479,21-12-31,0.17,0.19,0.19,-0.07,7.03,0.733208 +70,QS220107C00028000,22-01-07,QS,C,28.0,376,419,0.914063,0.0270579,0.0240379,9.42524e-05,-0.0135712,0.00177458,21-12-31,0.03,0.05,0.04,-0.04,22.19,5.6636 +71,NKLA220114P00008000,22-01-14,NKLA,P,8.0,262,1205,0.914063,-0.0962343,0.0998779,-0.000370406,-0.0110925,0.00318914,21-12-31,0.08,0.13,0.1,0.01,9.87,5.63678 +72,HOOD220107C00021000,22-01-07,HOOD,C,21.0,462,1833,0.914063,0.0849248,0.0748918,0.000234128,-0.0270968,0.00353249,21-12-31,0.1,0.11,0.1,-0.05,17.76,2.05722 +73,SOFI220107C00019500,22-01-07,SOFI,C,19.5,459,771,0.914063,0.0416173,0.0481076,0.000102895,-0.0137893,0.00180092,21-12-31,0.04,0.05,0.05,-0.01,15.81,2.99829 +74,HUT220107C00009000,22-01-07,HUT,C,9.0,1961,1680,0.914063,0.133749,0.235087,0.000162106,-0.0166223,0.00216589,21-12-31,0.07,0.08,0.08,-0.01,7.85,2.05014 +75,LCID220114C00050000,22-01-14,LCID,C,50.0,288,865,0.914063,0.0673791,0.0198835,0.000846592,-0.0330487,0.00935222,21-12-31,0.21,0.22,0.21,-0.09,38.05,12.8939 +76,FUBO220107C00018500,22-01-07,FUBO,C,18.5,149,675,0.914063,0.076689,0.0786372,0.000188207,-0.0217268,0.0028839,21-12-31,0.1,0.11,0.11,-0.06,15.52,3.74879 +77,BABA220114C00190000,22-01-14,BABA,C,190.0,129,196,0.910157,0.00403094,0.000585511,0.000161424,-0.0093949,0.00267031,21-12-31,0.02,0.05,0.03,0.0,118.79,0.332531 +78,LCID220114P00030000,22-01-14,LCID,P,30.0,228,1609,0.910157,-0.0701995,0.0206103,-0.00102661,-0.0337394,0.00965264,21-12-31,0.23,0.28,0.25,0.01,38.05,12.8939 +79,SPY220105P00335000,22-01-05,SPY,P,335.0,685,917,0.906251,-9.6175e-05,8.47161e-06,-5.11847e-06,-0.00214957,0.000189673,21-12-22,0.0,0.01,0.02,0.0,474.96,1.19976 +80,NIO220107C00041000,22-01-07,NIO,C,41.0,406,1149,0.906251,0.0155959,0.0106168,7.82878e-05,-0.0120078,0.00159375,21-12-31,0.04,0.06,0.06,-0.03,31.68,2.06344 +81,VXX220107C00024500,22-01-07,VXX,C,24.5,1434,992,0.906251,0.00981227,0.0121268,2.8983e-05,-0.00469196,0.000625313,21-12-31,0.01,0.03,0.02,-0.03,18.53, +82,NCLH220107P00016000,22-01-07,NCLH,P,16.0,462,555,0.906251,-0.0109849,0.0119892,-3.90903e-05,-0.00579203,0.000770067,21-12-30,0.02,0.03,0.04,0.0,20.74,2.6617 +83,CLOV220114C00004000,22-01-14,CLOV,C,4.0,175,1319,0.906251,0.368301,0.593435,0.000434455,-0.00929079,0.0026428,21-12-31,0.14,0.17,0.15,-0.05,3.72,3.8311 +84,BABA220114P00085000,22-01-14,BABA,P,85.0,128,379,0.903321,-0.0199584,0.00239026,-0.000897659,-0.0375955,0.0108192,21-12-31,0.18,0.22,0.19,-0.01,118.79,0.332531 +85,HUT220107P00007000,22-01-07,HUT,P,7.0,216,499,0.902345,-0.146182,0.25297,-0.000199446,-0.0173358,0.00230077,21-12-31,0.08,0.1,0.09,-0.05,7.85,2.05014 +86,LCID220114C00049000,22-01-14,LCID,C,49.0,115,337,0.898439,0.0799654,0.02306,0.00100371,-0.0370358,0.0106609,21-12-31,0.25,0.26,0.26,-0.09,38.05,12.8939 +87,HUT220114C00008500,22-01-14,HUT,C,8.5,393,661,0.898439,0.351419,0.278854,0.000878962,-0.019105,0.00549223,21-12-31,0.29,0.32,0.3,-0.06,7.85,2.05014 +88,CCL220114P00015000,22-01-14,CCL,P,15.0,225,195,0.898439,-0.0342242,0.0222649,-0.000262022,-0.0099351,0.00287687,21-12-31,0.05,0.07,0.06,0.02,20.12,1.53506 +89,PTON220107C00045000,22-01-07,PTON,C,45.0,1042,2821,0.898439,0.0269453,0.0150495,0.000152821,-0.0213189,0.00286375,21-12-31,0.08,0.1,0.09,-0.08,35.76,7.18505 +90,FB220107P00235000,22-01-07,FB,P,235.0,123,132,0.898439,-0.000735134,6.56548e-05,-4.17331e-05,-0.00820226,0.00109133,21-12-29,0.0,0.04,0.02,0.0,336.35,7.04427 +91,NIO220107C00040000,22-01-07,NIO,C,40.0,5552,6246,0.898439,0.0249728,0.0159689,0.000125099,-0.0177534,0.00237651,21-12-31,0.07,0.08,0.08,-0.04,31.68,2.06344 +92,TSLA220107C01550000,22-01-07,TSLA,C,1550.0,761,1552,0.894532,0.000529351,1.5432e-05,8.95373e-05,-0.0189142,0.00254274,21-12-31,0.09,0.1,0.09,-0.13,1056.78,39.2199 +93,CGC220107C00010000,22-01-07,CGC,C,10.0,237,1575,0.894532,0.129781,0.211502,0.000175306,-0.0177142,0.00235983,21-12-31,0.07,0.09,0.09,-0.02,8.73,0.809908 +94,ATVI220107P00049000,22-01-07,ATVI,P,49.0,125,134,0.890626,-0.00303902,0.00122162,-3.42374e-05,-0.00587049,0.000787475,21-12-28,0.0,0.03,0.02,0.0,66.53,3.05674 +95,BABA220107C00165000,22-01-07,BABA,C,165.0,423,221,0.890626,0.00235678,0.000543834,4.42848e-05,-0.00835005,0.00111764,21-12-31,0.01,0.03,0.02,-0.01,118.79,0.332531 +96,ETSY220107C00315000,22-01-07,ETSY,C,315.0,103,397,0.890626,0.000859396,0.000117487,2.98354e-05,-0.00612707,0.000820179,21-12-29,0.0,0.03,0.03,0.0,218.94,51.9061 +97,INO220107C00005500,22-01-07,INO,C,5.5,319,137,0.890626,0.213898,0.511305,0.000164627,-0.0138763,0.00186363,21-12-31,0.07,0.09,0.07,-0.07,4.99,2.31447 +98,FCEL220114C00005500,22-01-14,FCEL,C,5.5,249,683,0.890626,0.402565,0.443091,0.000663089,-0.0130974,0.00379487,21-12-31,0.22,0.26,0.24,-0.05,5.2,2.96804 +99,SPY220107P00305000,22-01-07,SPY,P,305.0,300,1359,0.890626,-4.51849e-05,3.43371e-06,-3.66421e-06,-0.000841437,0.000114686,21-12-22,0.0,0.01,0.02,0.0,474.96,1.19976 diff --git a/tests/openbb_terminal/stocks/options/test_screener_controller.py b/tests/openbb_terminal/stocks/options/test_screener_controller.py index ea77bd0a6ce..d44fba7d641 100644 --- a/tests/openbb_terminal/stocks/options/test_screener_controller.py +++ b/tests/openbb_terminal/stocks/options/test_screener_controller.py @@ -221,7 +221,7 @@ def test_call_func_expect_queue(expected_queue, func, queue): ( "call_view", [ - "high_IV.ini", + "high_iv.ini", ], "syncretism_view.view_available_presets", [], @@ -230,7 +230,7 @@ def test_call_func_expect_queue(expected_queue, func, queue): ( "call_set", [ - "high_IV.ini", + "high_iv.ini", ], "", [], @@ -239,7 +239,7 @@ def test_call_func_expect_queue(expected_queue, func, queue): ( "call_scr", [ - "high_IV.ini", + "high_iv.ini", "--limit=1", ], "syncretism_view.view_screener_output", diff --git a/tests/openbb_terminal/stocks/options/test_syncretism_model.py b/tests/openbb_terminal/stocks/options/test_syncretism_model.py index 9887bbde56f..1588fcd510f 100644 --- a/tests/openbb_terminal/stocks/options/test_syncretism_model.py +++ b/tests/openbb_terminal/stocks/options/test_syncretism_model.py @@ -57,7 +57,7 @@ def test_get_historical_greeks_invalid_status(mocker): @pytest.mark.vcr def test_get_screener_output(recorder): result_tuple = syncretism_model.get_screener_output( - preset="high_IV.ini", + preset="high_iv.ini", ) recorder.capture(result_tuple[0]) @@ -72,7 +72,7 @@ def test_get_screener_output_invalid_status(mocker): ) result_tuple = syncretism_model.get_screener_output( - preset="high_IV.ini", + preset="high_iv.ini", ) assert result_tuple[0].empty diff --git a/tests/openbb_terminal/stocks/options/test_syncretism_view.py b/tests/openbb_terminal/stocks/options/test_syncretism_view.py index c01bcc2faa9..f7f7bb5e0d3 100644 --- a/tests/openbb_terminal/stocks/options/test_syncretism_view.py +++ b/tests/openbb_terminal/stocks/options/test_syncretism_view.py @@ -24,7 +24,7 @@ def vcr_config(): @pytest.mark.record_stdout @pytest.mark.parametrize( "preset", - ["high_IV.ini"], + ["high_iv.ini"], ) def test_view_available_presets(preset): syncretism_view.view_available_presets( @@ -39,7 +39,7 @@ def test_view_screener_output(mocker): # MOCK VISUALIZE_OUTPUT mocker.patch(target="openbb_terminal.helper_classes.TerminalStyle.visualize_output") syncretism_view.view_screener_output( - preset="high_IV.ini", + preset="high_iv.ini", limit=5, export="", ) @@ -53,7 +53,7 @@ def test_view_screener_output_error(mocker): return_value=(pd.DataFrame(), "MOCK_ERROR_MESSAGE"), ) syncretism_view.view_screener_output( - preset="high_IV.ini", + preset="high_iv.ini", limit=5, export="", ) diff --git a/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[False].txt b/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[False].txt index e094a6c806e..39a24cd099f 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[False].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[False].txt @@ -1,12 +1,12 @@ - Open High Low Close Change Volume Open Interest Change Since -Date -2021-01-25 20.70 85.70 13.90 20.00 0.00000 1834.0 552.0 -0.99850 -2021-01-26 27.50 75.79 21.00 70.17 2.50850 1763.0 572.0 -0.99957 -2021-01-27 210.20 285.50 70.80 255.90 2.64686 309.0 461.0 -0.99988 -2021-01-28 225.40 385.55 62.75 130.65 -0.48945 49.0 450.0 -0.99977 -2021-01-29 232.15 296.20 183.10 183.10 0.40145 37.0 445.0 -0.99984 -2021-02-01 232.60 232.60 133.09 133.09 -0.27313 107.0 441.0 -0.99977 -2021-02-02 64.61 76.20 18.50 23.70 -0.82193 1991.0 555.0 -0.99873 -2021-02-03 40.45 40.45 13.50 14.26 -0.39831 2124.0 1074.0 -0.99790 -2021-02-04 13.70 14.00 0.75 0.75 -0.94741 5945.0 2386.0 -0.96000 -2021-02-05 0.57 14.79 0.01 0.03 -0.96000 6580.0 2017.0 0.00000 + Open High Low Close Change Volume Open Interest Change Since +Date +2021-01-25 20.70 85.70 13.90 20.00 0.0000 1834.0 552.0 -0.9985 +2021-01-26 27.50 75.79 21.00 70.17 2.5085 1763.0 572.0 -0.9996 +2021-01-27 210.20 285.50 70.80 255.90 2.6469 309.0 461.0 -0.9999 +2021-01-28 225.40 385.55 62.75 130.65 -0.4894 49.0 450.0 -0.9998 +2021-01-29 232.15 296.20 183.10 183.10 0.4015 37.0 445.0 -0.9998 +2021-02-01 232.60 232.60 133.09 133.09 -0.2731 107.0 441.0 -0.9998 +2021-02-02 64.61 76.20 18.50 23.70 -0.8219 1991.0 555.0 -0.9987 +2021-02-03 40.45 40.45 13.50 14.26 -0.3983 2124.0 1074.0 -0.9979 +2021-02-04 13.70 14.00 0.75 0.75 -0.9474 5945.0 2386.0 -0.9600 +2021-02-05 0.57 14.79 0.01 0.03 -0.9600 6580.0 2017.0 0.0000 diff --git a/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[True].txt b/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[True].txt index e094a6c806e..39a24cd099f 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_chartexchange_view/test_display_raw[True].txt @@ -1,12 +1,12 @@ - Open High Low Close Change Volume Open Interest Change Since -Date -2021-01-25 20.70 85.70 13.90 20.00 0.00000 1834.0 552.0 -0.99850 -2021-01-26 27.50 75.79 21.00 70.17 2.50850 1763.0 572.0 -0.99957 -2021-01-27 210.20 285.50 70.80 255.90 2.64686 309.0 461.0 -0.99988 -2021-01-28 225.40 385.55 62.75 130.65 -0.48945 49.0 450.0 -0.99977 -2021-01-29 232.15 296.20 183.10 183.10 0.40145 37.0 445.0 -0.99984 -2021-02-01 232.60 232.60 133.09 133.09 -0.27313 107.0 441.0 -0.99977 -2021-02-02 64.61 76.20 18.50 23.70 -0.82193 1991.0 555.0 -0.99873 -2021-02-03 40.45 40.45 13.50 14.26 -0.39831 2124.0 1074.0 -0.99790 -2021-02-04 13.70 14.00 0.75 0.75 -0.94741 5945.0 2386.0 -0.96000 -2021-02-05 0.57 14.79 0.01 0.03 -0.96000 6580.0 2017.0 0.00000 + Open High Low Close Change Volume Open Interest Change Since +Date +2021-01-25 20.70 85.70 13.90 20.00 0.0000 1834.0 552.0 -0.9985 +2021-01-26 27.50 75.79 21.00 70.17 2.5085 1763.0 572.0 -0.9996 +2021-01-27 210.20 285.50 70.80 255.90 2.6469 309.0 461.0 -0.9999 +2021-01-28 225.40 385.55 62.75 130.65 -0.4894 49.0 450.0 -0.9998 +2021-01-29 232.15 296.20 183.10 183.10 0.4015 37.0 445.0 -0.9998 +2021-02-01 232.60 232.60 133.09 133.09 -0.2731 107.0 441.0 -0.9998 +2021-02-02 64.61 76.20 18.50 23.70 -0.8219 1991.0 555.0 -0.9987 +2021-02-03 40.45 40.45 13.50 14.26 -0.3983 2124.0 1074.0 -0.9979 +2021-02-04 13.70 14.00 0.75 0.75 -0.9474 5945.0 2386.0 -0.9600 +2021-02-05 0.57 14.79 0.01 0.03 -0.9600 6580.0 2017.0 0.0000 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_display_chains[chain0-200-2024-01-19--1--1-False-False].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_display_chains[chain0-200-2024-01-19--1--1-False-False].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_display_chains[chain0-200-2024-01-19--1--1-False-False].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_display_chains[chain0-200-2024-01-19--1--1-False-False].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain0-1000-TSLA-2024-01-19-0-0-False-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain0-1000-TSLA-2024-01-19-0-0-False-False-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain0-1000-TSLA-2024-01-19-0-0-False-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain0-1000-TSLA-2024-01-19-0-0-False-False-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain1-2000-TSLA-2023-09-15-999-999-True-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain1-2000-TSLA-2023-09-15-999-999-True-False-True].txt index 11d9aae720b..f2f4974e202 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain1-2000-TSLA-2023-09-15-999-999-True-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain1-2000-TSLA-2023-09-15-999-999-True-False-True].txt @@ -1,3 +1,3 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain2-3000-TSLA-2023-06-16--999--999-False-True-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain2-3000-TSLA-2023-06-16--999--999-False-True-True].txt index 6469761632a..f2cf6d30f59 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain2-3000-TSLA-2023-06-16--999--999-False-True-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain2-3000-TSLA-2023-06-16--999--999-False-True-True].txt @@ -1,3 +1,3 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain4-5000-TSLA-2023-01-20-1-1-False-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain4-5000-TSLA-2023-01-20-1-1-False-False-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain4-5000-TSLA-2023-01-20-1-1-False-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_oi[chain4-5000-TSLA-2023-01-20-1-1-False-False-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain0-1000-TSLA-2024-01-19-0-0-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain0-1000-TSLA-2024-01-19-0-0-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain0-1000-TSLA-2024-01-19-0-0-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain0-1000-TSLA-2024-01-19-0-0-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain1-2000-TSLA-2023-09-15-999-999-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain1-2000-TSLA-2023-09-15-999-999-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain1-2000-TSLA-2023-09-15-999-999-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain1-2000-TSLA-2023-09-15-999-999-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain2-3000-TSLA-2023-06-16--999--999-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain2-3000-TSLA-2023-06-16--999--999-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain2-3000-TSLA-2023-06-16--999--999-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain2-3000-TSLA-2023-06-16--999--999-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain3-4000-TSLA-2023-03-17--1--1-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain3-4000-TSLA-2023-03-17--1--1-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain3-4000-TSLA-2023-03-17--1--1-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain3-4000-TSLA-2023-03-17--1--1-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain4-5000-TSLA-2023-01-20-1-1-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain4-5000-TSLA-2023-01-20-1-1-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain4-5000-TSLA-2023-01-20-1-1-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_voi[chain4-5000-TSLA-2023-01-20-1-1-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain0-100-TSLA-2024-01-19-0-0-False-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain0-100-TSLA-2024-01-19-0-0-False-False-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain0-100-TSLA-2024-01-19-0-0-False-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain0-100-TSLA-2024-01-19-0-0-False-False-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain1-100-TSLA-2023-09-15-999-999-True-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain1-100-TSLA-2023-09-15-999-999-True-False-True].txt index 11d9aae720b..f2f4974e202 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain1-100-TSLA-2023-09-15-999-999-True-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain1-100-TSLA-2023-09-15-999-999-True-False-True].txt @@ -1,3 +1,3 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain2-100-TSLA-2023-06-16--999--999-False-True-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain2-100-TSLA-2023-06-16--999--999-False-True-True].txt index 6469761632a..f2cf6d30f59 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain2-100-TSLA-2023-06-16--999--999-False-True-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain2-100-TSLA-2023-06-16--999--999-False-True-True].txt @@ -1,3 +1,3 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain4-100-TSLA-2023-01-20-1-1-False-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain4-100-TSLA-2023-01-20-1-1-False-False-True].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain4-100-TSLA-2023-01-20-1-1-False-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_plot_vol[chain4-100-TSLA-2023-01-20-1-1-False-False-True].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls0-puts0-TSLA-False-False].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls0-puts0-TSLA-False-False].txt index ec82a73c77b..ce0033d15cb 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls0-puts0-TSLA-False-False].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls0-puts0-TSLA-False-False].txt @@ -1,6 +1,6 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls1-puts1-TSLA-True-False].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls1-puts1-TSLA-True-False].txt index 11d9aae720b..f2f4974e202 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls1-puts1-TSLA-True-False].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls1-puts1-TSLA-True-False].txt @@ -1,3 +1,3 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.468754 0.0 -1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.238286 0.0 +0 TSLA211231C00200000 200.0 878.02 884.5 887.0 30.0 36 9.4688 0.0 +1 TSLA211231C00250000 250.0 744.20 834.5 837.0 11.0 12 8.2383 0.0 diff --git a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls2-puts2-TSLA-False-True].txt b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls2-puts2-TSLA-False-True].txt index 6469761632a..f2cf6d30f59 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls2-puts2-TSLA-False-True].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_options_view/test_print_raw[calls2-puts2-TSLA-False-True].txt @@ -1,3 +1,3 @@ contractSymbol strike lastPrice bid ask volume openInterest impliedVolatility delta -0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125002 -0.2 -1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375003 -0.3 +0 TSLA211231P00200000 200.0 0.01 0.0 0.01 22.0 1892 6.125 -0.2 +1 TSLA211231P00250000 250.0 0.01 0.0 0.01 1.0 513 5.375 -0.3 diff --git a/tests/openbb_terminal/stocks/options/txt/test_screener_controller/test_print_help.txt b/tests/openbb_terminal/stocks/options/txt/test_screener_controller/test_print_help.txt index c7ffeb5d9e0..b39339effce 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_screener_controller/test_print_help.txt +++ b/tests/openbb_terminal/stocks/options/txt/test_screener_controller/test_print_help.txt @@ -1,7 +1,7 @@ view view available presets (or one in particular) [Syncretism] set set one of the available presets -Preset: high_IV +Preset: high_iv.ini scr screen data from this preset [Syncretism] diff --git a/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_available_presets[high_IV.ini].txt b/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_available_presets[high_IV.ini].txt index bc1767a6588..449fc21c865 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_available_presets[high_IV.ini].txt +++ b/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_available_presets[high_IV.ini].txt @@ -1,11 +1,12 @@ - FILTER - -itm : false -otm : true -max-ask-bid : 0.05 -max-exp : 14 -calls : true -puts : true -min-iv : 0.80 -max-iv : 1.0 -min-volume : 100 -order-by : iv_desc +itm : false +otm : true +calls : true +puts : true +stock : true +etf : false +min-iv : 1.00 +min-oi : 10 +min-volume : 10 +order-by : "iv_desc" +active : true diff --git a/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_screener_output.txt b/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_screener_output.txt index 9c63e9ac3e8..9c8cb9aee86 100644 --- a/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_screener_output.txt +++ b/tests/openbb_terminal/stocks/options/txt/test_syncretism_view/test_view_screener_output.txt @@ -1,6 +1,6 @@ - CS S T Str Exp ∨ IV LP B A V OI Y MY SMP SMDL SMDH LU -0 CCL220513C00015000 CCL C 15.0 05-13-22 0.998047 0.44 0.42 0.45 1208 5041 NaN NaN 14.5950 14.2529 15.0300 05-10-22 -1 QS220520C00015500 QS C 15.5 05-20-22 0.998047 0.15 0.12 0.15 207 244 NaN NaN 12.5850 12.5000 13.4000 05-10-22 -2 X220520P00019000 X P 19.0 05-20-22 0.996094 0.08 0.07 0.08 3037 3146 0.003 0.002 25.3600 25.3000 26.2799 05-09-22 -3 AAL220513P00014500 AAL P 14.5 05-13-22 0.996094 0.10 0.11 0.12 137 314 NaN NaN 16.2225 16.2225 16.8500 05-10-22 -4 LYFT220520C00026000 LYFT C 26.0 05-20-22 0.996094 0.03 0.03 0.04 152 2105 NaN NaN 18.4950 18.3001 19.4900 05-10-22 + Contract Symbol Expiration Ticker Type Strike Vol OI IV Delta Gamma Rho Theta Vega Last Traded Bid Ask Last % Change Underlying P/B +0 CCL220513C00015000 22-05-13 CCL C 15.0 1208 5041 0.9980 0.3839 0.3229 3.4939e-04 -0.0942 0.0045 22-05-10 0.42 0.45 0.44 0.17 14.5950 1.6122 +1 QS220520C00015500 22-05-20 QS C 15.5 207 244 0.9980 0.1117 0.0944 3.3561e-04 -0.0205 0.0038 22-05-10 0.12 0.15 0.15 -0.10 12.5850 3.5203 +2 X220520P00019000 22-05-20 X P 19.0 3037 3146 0.9961 -0.0292 0.0165 -2.0263e-04 -0.0143 0.0027 22-05-09 0.07 0.08 0.08 0.00 25.3600 0.6817 +3 AAL220513P00014500 22-05-13 AAL P 14.5 137 314 0.9961 -0.0749 0.1086 -8.1928e-05 -0.0388 0.0018 22-05-10 0.11 0.12 0.10 -0.06 16.2225 -1.1786 +4 LYFT220520C00026000 22-05-20 LYFT C 26.0 152 2105 0.9961 0.0202 0.0165 9.0566e-05 -0.0077 0.0014 22-05-10 0.03 0.04 0.03 -0.01 18.4950 4.5768