{"id":1660,"date":"2021-05-17T08:28:32","date_gmt":"2021-05-17T08:28:32","guid":{"rendered":"http:\/\/lucylabs.gatech.edu\/ml4t\/?page_id=1660"},"modified":"2021-06-25T08:08:11","modified_gmt":"2021-06-25T08:08:11","slug":"project-6","status":"publish","type":"page","link":"https:\/\/lucylabs.gatech.edu\/ml4t\/summer2021\/project-6\/","title":{"rendered":"Project 6"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_font=&#8221;|700||on|||||&#8221;]<\/p>\n<h1 style=\"text-align: center;\">Project 6: Indicator Evaluation<\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.4.5&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Revisions<\/h2>\n<p><span>This assignment is subject to change up until 3 weeks prior to the due date. We do not anticipate changes; any changes will be logged in this section.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>About the Project<\/h2>\n<p><span data-contrast=\"auto\">In this project, you will develop technical indicators and a Theoretically Optimal Strategy that will be the ground layer of a later project. The technical indicators you develop here will be utilized in your later project to devise an intuition-based trading strategy and a Machine Learning based trading strategy. Theoretically Optimal Strategy will give a baseline to gauge your later project\u2019s performance. We hope Machine Learning will do better than your intuition, but who knows? You will submit the code for the project in Gradescope SUBMISSION. The report will be submitted to Canvas.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">Please keep in mind that the completion of this project is pivotal to Project 8 completion. <\/span><\/b><b><span data-contrast=\"auto\">The indicators selected here cannot be replaced in Project 8<\/span><\/b><b><span data-contrast=\"auto\">. We encourage spending time finding and research indicators, including examining how they might later be combined to form trading strategies. Considering how multiple indicators might work together during Project 6 will help you complete the later project.<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Starter Code<\/h2>\n<p><span data-contrast=\"none\">Please note that there is no starting .zip file associated with this project. You should create a directory for your code in ml4t\/indicator_evaluation. The directory structure should align with the course environment framework, as discussed on the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/summer2021\/local-environment\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">local environment<\/span><\/a><span data-contrast=\"none\"> and <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/summer2021\/software-setup\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ML4T Software<\/span><\/a><span data-contrast=\"none\"> pages.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">You will have access to the ML4T\/Data directory data, but you should use ONLY the API functions in util.py to read it.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;http:\/\/lucylabs.gatech.edu\/ml4t\/wp-content\/uploads\/2021\/06\/p6_dir.png&#8221; title_text=&#8221;p6_dir&#8221; align=&#8221;center&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\">You should create the following code files for submission. They should comprise ALL code from you that is necessary to run your evaluations.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"18\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">indicators.py<\/span><\/b><span data-contrast=\"none\"> Code implementing your indicators as functions that operate on DataFrames. The \u201cmain\u201d method in indicators.py should generate the charts that illustrate your indicators in the report.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"18\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">marketsimcode.py<\/span><\/b><span data-contrast=\"none\"> An improved version of your marketsim code accepts a \u201ctrades\u201d DataFrame (instead of a file). More info on the trades data frame below. It is OK not to submit this file if you have subsumed its functionality into one of your other required code files. <\/span><i><span data-contrast=\"none\">This file has a different name and a slightly different setup than your previous project. However, that solution can be used with several edits for the new requirements.<\/span><\/i><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><b><span data-contrast=\"none\"><\/span><\/b><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"18\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">TheoreticallyOptimalStrategy.py<\/span><\/b><span data-contrast=\"none\"> Code implementing a TheoreticallyOptimalStrategy (details below). It should implement testPolicy(), which returns a trades data frame (see below).\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"18\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">testproject.py<\/span><\/b><span data-contrast=\"none\"> This file should be considered the entry point to the project. The <\/span><i><span data-contrast=\"none\">if \u201c__name__\u201d == \u201c__main__\u201d:<\/span><\/i><span data-contrast=\"none\"> section of the code will call the testPolicy function in TheoreticallyOptimalStrategy, as well as your indicators and marketsimcode as needed, to generate the plots and statistics for your report (more details below).<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"18\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">README.txt <\/span><\/b><span data-contrast=\"none\">This is a text file that describes each .py file and provides instructions describing how to run your code.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Data Details, Dates &amp; Rules<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Use only the data provided for this course. You are not allowed to import external data.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Add an author() function to each file.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">For your report, use only the symbol JPM.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"none\">Use the time period January 1, 2008, to December 31, 2009.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"none\">Starting cash is $100,000.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"none\">Allowable positions are 1000 shares long, 1000 shares short, 0 shares. (You may trade up to 2000 shares at a time as long as you maintain these holding requirements.)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"none\">Benchmark: The performance of a portfolio starting with $100,000 cash, investing in 1000 shares of JPM, and holding that position.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"19\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"none\">Transaction costs for TheoreticallyOptimalStrategy: Commission: $0.00, Impact: 0.00.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Tasks &amp; Requirements<\/h2>\n<h3><\/h3>\n<h3>Part 1: Technical Indicators<\/h3>\n<p><span data-contrast=\"none\">Develop and describe 5 technical indicators. You may find our lecture on time series processing, the <\/span><a href=\"https:\/\/www.youtube.com\/watch?v=2e2Yr-Bpo-w\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Technical Analysis<\/span><\/a><span data-contrast=\"none\"> video, and the <\/span><a href=\"https:\/\/www.dropbox.com\/s\/5uc96iv9j0ekqi0\/CDB_vectorize_me.pptx.zip?dl=1\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">vectorize_me<\/span><\/a><span data-contrast=\"none\"> PowerPoint to be helpful. For each indicator, you should create a single, compelling chart (with proper title, legend, and axis labels) that illustrates the indicator (you can use sub-plots to showcase different aspects of the indicator).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">For example, you might create a chart showing the stock&#8217;s price history, along with \u201chelper data\u201d (such as upper and lower Bollinger Bands) and the value of the indicator itself. Another example: If you were using price\/SMA as an indicator, you would want to create a chart with 3 lines: Price, SMA, Price\/SMA. To facilitate visualization of the indicator, you might normalize the data to 1.0 at the start of the date range (i.e., divide price[t] by price[0]).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">In your report (described below), a description of each indicator should enable someone to reproduce it just by reading the description. We want a written detailed description here, not code. However, it is OK to augment your written description with a <\/span><b><span data-contrast=\"none\">pseudocode<\/span><\/b><span data-contrast=\"none\"> figure. <\/span><b><span data-contrast=\"none\">Do NOT copy\/paste code parts here as a description.<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><span data-contrast=\"none\">You should have already successfully coded the Bollinger Band feature:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_dmb_code_snippet code=&#8221;YmJfdmFsdWVbdF0gPSAocHJpY2VbdF0gLSBTTUFbdF0pLygyICogc3RkZXZbdF0pIA==&#8221; language=&#8221;python&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]YmJfdmFsdWVbdF0gPSAocHJpY2VbdF0gLSBTTUFbdF0pLygyICogc3RkZXZbdF0pIA==[\/et_pb_dmb_code_snippet][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW169450731 BCX4\"><span class=\"NormalTextRun SCXW169450731 BCX4\">Another<\/span><span class=\"NormalTextRun SCXW169450731 BCX4\"> good <\/span><span class=\"NormalTextRun SCXW169450731 BCX4\">indicator <\/span><span class=\"NormalTextRun SCXW169450731 BCX4\">worth considering <\/span><span class=\"NormalTextRun SCXW169450731 BCX4\">is<\/span><span class=\"NormalTextRun SCXW169450731 BCX4\"> momentum.<\/span><\/span><span class=\"EOP SCXW169450731 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_dmb_code_snippet code=&#8221;bW9tZW50dW1bdF0gPSAocHJpY2VbdF0vcHJpY2VbdC1OXSkgLSAxIA==&#8221; language=&#8221;python&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]bW9tZW50dW1bdF0gPSAocHJpY2VbdF0vcHJpY2VbdC1OXSkgLSAxIA==[\/et_pb_dmb_code_snippet][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\">You can use util.py to read any of the columns in the stock symbol files.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><span data-contrast=\"none\">It is usually worthwhile to standardize the resulting values (see <\/span><a href=\"https:\/\/en.wikipedia.org\/wiki\/Standard_score\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">https:\/\/en.wikipedia.org\/wiki\/Standard_score<\/span><\/a><span data-contrast=\"none\">).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><span data-contrast=\"none\">You are allowed to use up to two indicators presented and coded in the lectures (SMA, Bollinger Bands, RSI), but the other three will need to come from outside the class material (momentum is allowed to be used).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">The indicators should return results that can be interpreted as actionable buy\/sell signals. For example, Bollinger Bands alone does not give an actionable signal to buy\/sell easily framed for a learner, but BBP (or %B) does.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h4>Planning Ahead<\/h4>\n<p><span data-contrast=\"none\">In Project-8, you will need to use the same indicators you will choose in this project. <\/span><b><i><span data-contrast=\"none\">You will not be able to switch indicators in Project 8<\/span><\/i><\/b><span data-contrast=\"none\">. Some indicators are built using other indicators and\/or return multiple results vectors (e.g., MACD uses EMA and returns MACD and Signal vectors). While such indicators are okay to use in Project 6, please keep in mind that Project 8 will require that each indicator return one results vector. In this case, MACD would need to be modified for Project 8 to return your own custom results vector that somehow combines the MACD and Signal vectors, or it would need to be modified to return only one of those vectors. If you use an indicator in Project 6 that returns multiple results vectors, we recommend taking an additional step of determining how you might modify the indicator to return one results vector for use in Project 8. <\/span><b><span data-contrast=\"none\">While Project 6 doesn&#8217;t need to code the indicators this way, it is required for Project 8<\/span><\/b><span data-contrast=\"none\">.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">You may not use an indicator in Project 8 unless it is explicitly identified in Project 6. Note that an indicator like MACD uses EMA as part of its computation. If you want to use EMA in addition to using MACD, then EMA would need to be explicitly identified as one of the five indicators.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h3>Part 2: Theoretical Optimal Strategy<\/h3>\n<p><i><span data-contrast=\"none\">In the Theoretically Optimal Strategy, assume that you can see the future<\/span><\/i><span data-contrast=\"none\">. You are constrained by the portfolio size and order limits as specified above. Create a set of trades representing the best a strategy could possibly do during the in-sample period using JPM. We have you do this to have an idea of an upper bound on performance, which can be referenced in Project 8.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Note: Theoretically Optimal Strategy does not use the indicators developed in the previous section. Some may find it useful to work on Part 2 of the assignment before beginning Part 1.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Use the revised market simulator based on the one you wrote earlier in the course to determine the portfolio valuation.\u00a0 For this activity, use $0.00 and 0.0 for commissions and impact, respectively.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Provide a chart that reports:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"21\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Benchmark (see definition above) normalized to 1.0 at the start: Plot as a <strong>g<\/strong><\/span><b><span data-contrast=\"none\"><strong>reen<\/strong> line.<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"21\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Value of the theoretically optimal portfolio (normalized to 1.0 at the start): Plot as a <strong>r<\/strong><\/span><b><span data-contrast=\"none\"><strong>ed<\/strong> line<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">You should also report in your report:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"22\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Cumulative return of the benchmark and portfolio<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"22\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Stdev of daily returns of benchmark and portfolio<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"22\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">Mean of daily returns of benchmark and portfolio<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">Your TOS should implement a function called &#8216;testPolicy()&#8217; as follows:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_dmb_code_snippet code=&#8221;dGVzdFBvbGljeShzeW1ib2w94oCdQUFQTOKAnSwgc2Q9ZHQuZGF0ZXRpbWUoMjAxMCwgMSwgMSksIGVkPWR0LmRhdGV0aW1lKDIwMTEsMTIsMzEpLCBzdiA9IDEwMDAwMCkg&#8221; language=&#8221;python&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]dGVzdFBvbGljeShzeW1ib2w94oCdQUFQTOKAnSwgc2Q9ZHQuZGF0ZXRpbWUoMjAxMCwgMSwgMSksIGVkPWR0LmRhdGV0aW1lKDIwMTEsMTIsMzEpLCBzdiA9IDEwMDAwMCkg[\/et_pb_dmb_code_snippet][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\">The input parameters are:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"23\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">symbol: the stock symbol to act on<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"23\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">sd: A DateTime object that represents the start date<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"23\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">ed: A DateTime object that represents the end date<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"23\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">sv: Start value of the portfolio<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">The output result is:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"24\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">df_trades: A single column data frame, indexed by date, whose values represent trades for each trading day (from the start date to the end date of a given period). Legal values are +1000.0 indicating a BUY of 1000 shares, -1000.0 indicating a SELL of 1000 shares, and 0.0 indicating NOTHING. Values of +2000 and -2000 for trades are also legal so long as net holdings are constrained to -1000, 0, and 1000. Note: The format of this data frame differs from the one developed in a prior project.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">Your testproject.py code should call testPolicy() as a function within TheoreticallyOptimalStrategy as follows:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_dmb_code_snippet code=&#8221;aW1wb3J0IFRoZW9yZXRpY2FsbHlPcHRpbWFsU3RyYXRlZ3kgYXMgdG9zIApkZl90cmFkZXMgPSB0b3MudGVzdFBvbGljeShzeW1ib2wgPSAiSlBNIiwgc2Q9ZHQuZGF0ZXRpbWUoMjAwOCwgMSwgMSksIGVkPWR0LmRhdGV0aW1lKDIwMDksMTIsMzEpLCBzdiA9IDEwMDAwMCkg&#8221; language=&#8221;python&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]aW1wb3J0IFRoZW9yZXRpY2FsbHlPcHRpbWFsU3RyYXRlZ3kgYXMgdG9zIApkZl90cmFkZXMgPSB0b3MudGVzdFBvbGljeShzeW1ib2wgPSAiSlBNIiwgc2Q9ZHQuZGF0ZXRpbWUoMjAwOCwgMSwgMSksIGVkPWR0LmRhdGV0aW1lKDIwMDksMTIsMzEpLCBzdiA9IDEwMDAwMCkg[\/et_pb_dmb_code_snippet][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun Highlight SCXW160467586 BCX4\"><span class=\"NormalTextRun SCXW160467586 BCX4\">The <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW160467586 BCX4\">df_trades<\/span><span class=\"NormalTextRun SCXW160467586 BCX4\"> result can be used with your market simulation code to generate the necessary statistics.<\/span><\/span><span class=\"EOP SCXW160467586 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h3>Part 3: Implement author() function (deduction if not implemented)<\/h3>\n<p><span data-contrast=\"none\">You should implement a function called <\/span><span data-contrast=\"none\">author() <\/span><span data-contrast=\"none\">that returns your Georgia Tech user ID as a string in each .py file. This is the ID you use to log into Canvas. It is not your 9 digit student number. Here is an example of how you might implement author():<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_dmb_code_snippet code=&#8221;ZGVmIGF1dGhvcigpOiAKICAgICAgICByZXR1cm4gJ3RiMzQnICMgcmVwbGFjZSB0YjM0IHdpdGggeW91ciBHZW9yZ2lhIFRlY2ggdXNlcm5hbWUuIA==&#8221; language=&#8221;python&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]ZGVmIGF1dGhvcigpOiAKICAgICAgICByZXR1cm4gJ3RiMzQnICMgcmVwbGFjZSB0YjM0IHdpdGggeW91ciBHZW9yZ2lhIFRlY2ggdXNlcm5hbWUuIA==[\/et_pb_dmb_code_snippet][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW61211950 BCX4\"><span class=\"NormalTextRun SCXW61211950 BCX4\">Implementing this method correctly does not provide any points, but there will be a penalty for not implementing it.<\/span><\/span><span class=\"EOP SCXW61211950 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h3>Part 4: Implement Test Project<\/h3>\n<p><span data-contrast=\"none\">Create testproject.py and implement the necessary calls (following each respective API) to <\/span><b><span data-contrast=\"none\">indicators.py <\/span><\/b><span data-contrast=\"none\">and <\/span><b><span data-contrast=\"none\">TheoreticallyOptimalStrategy.py<\/span><\/b><span data-contrast=\"none\">, with the appropriate parameters to run everything needed for the report in a single Python call. <\/span><span data-contrast=\"none\">You may also want to call your market simulation code to compute statistics. The file will be invoked run:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_dmb_code_snippet code=&#8221;UFlUSE9OUEFUSD0uLi86LiBweXRob24gdGVzdHByb2plY3QucHkg&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]UFlUSE9OUEFUSD0uLi86LiBweXRob24gdGVzdHByb2plY3QucHkg[\/et_pb_dmb_code_snippet][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p><span data-contrast=\"none\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW215508479 BCX4\"><span class=\"NormalTextRun SCXW215508479 BCX4\">This is to have a single<\/span><span class=\"NormalTextRun SCXW215508479 BCX4\">&#8211;<\/span><span class=\"NormalTextRun SCXW215508479 BCX4\">entry point to test your code against the report.<\/span><span class=\"NormalTextRun SCXW215508479 BCX4\"> <\/span><span class=\"NormalTextRun SCXW215508479 BCX4\">Calling testproject.py should run all assigned tasks and output all necessary charts and statistics for your report.<\/span><\/span><span class=\"EOP SCXW215508479 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h3>Part 5: Implement README.txt<\/h3>\n<p><span data-contrast=\"none\">You must also create<\/span> <span data-contrast=\"none\">a README.txt file that has<\/span><b><span data-contrast=\"none\">:<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"31\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Description of what each python file is for\/does.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"31\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Explicit instructions on how to properly run your code.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Technical Requirements<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"35\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Your project must be coded in Python 3.6. and run in the Gradescope SUBMISSION environment.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"35\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">When utilizing any example order files, the code must run in less than 10 seconds per test case.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"35\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Use only the functions in util.py to read in stock data. Only use the API methods provided in that file. Please note that util.py is considered part of the environment and should not be moved, modified, or copied. For grading, we will use our own unmodified version.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"35\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">An indicator can only be used once with a specific value (e.g., SMA(12)). If you need to use multiple values, consider creating a custom indicator (e.g., my_SMA(12,50), which internally uses SMA(12) and SMA(50) before returning a single results vector).<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p><b><span data-contrast=\"auto\">The \u201csecret\u201d regarding leverage and a \u201csecret date\u201d discussed in the YouTube lecture do not apply and should be ignored.<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Note: The Sharpe ratio uses the sample standard deviation.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Report<\/h2>\n<p><span data-contrast=\"none\">Your report should use\u202f<\/span><a href=\"https:\/\/drive.google.com\/drive\/folders\/1xDYIomn9e9FxbIeFcsclSbXHTtHROD1j\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">JDF format<\/span><\/a><span data-contrast=\"none\"> and has a maximum of 10 pages.\u00a0 Any content beyond 10 pages will not be considered for a grade. Ten pages is a maximum, not a target; our recommended per-section lengths intentionally add to less than 10 pages to leave you room to decide where to delve into more detail. This length is intentionally set, expecting that your submission will include diagrams, drawings, pictures, etc. These should be incorporated into the body of the paper unless specifically required to be included in an appendix.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">The <\/span><a href=\"https:\/\/drive.google.com\/drive\/folders\/1xDYIomn9e9FxbIeFcsclSbXHTtHROD1j\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">JDF format<\/span><\/a><span data-contrast=\"none\"> specifies font sizes and margins, which should not be altered. Include charts to support each of your answers. Charts should also be generated by the code and saved to files. Charts should be properly annotated with legible and appropriately named labels, titles, and legends.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Please address each of these points\/questions in your report. The report is to be submitted as <\/span><b><span data-contrast=\"none\">report.pdf<\/span><\/b><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h3>Part 1: Indicators: ~ 5 pages (estimated)<\/h3>\n<p><span data-contrast=\"none\">At a minimum, address each of the following for each indicator:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"25\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Introduce and describe each indicator you use in sufficient detail that someone else could reproduce it. (The indicator can be described as a mathematical equation or as pseudo-code).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"25\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Provide a compelling description regarding why that indicator might work and how it could be used. Be sure to describe how they create buy and sell signals (i.e., explain how the indicator could be used alone and\/or in conjunction with other indicators to generate buy\/sell signals).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"25\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Provide one or more charts that convey how each indicator works compellingly. (up to 3 charts per indicator).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p><span data-contrast=\"none\">The total number of charts for Part 1 must not exceed 10 charts.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h3>Part 2: Theoretically Optimal Strategy (TOS) ~ 1.5 pages (estimated)<\/h3>\n<p><span data-contrast=\"none\">For the Theoretically Optimal Strategy, at a minimum, address each of the following:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"26\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Describe how you created the strategy and any assumptions you had to make to make it work.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"26\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Describe the strategy in a way that someone else could evaluate and\/or implement it.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"26\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">Provide a chart that illustrates the TOS performance versus the benchmark. The performance metrics should include cumulative returns, standard deviation of daily returns, and the mean of daily returns for both the benchmark and portfolio. Performance metrics must include 4 digits to the right of the decimal point (e.g., 98.1234)<\/span><span data-ccp-props=\"{&quot;201341983&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:390}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h2>Testing<\/h2>\n<p><span data-contrast=\"auto\">There is no locally provided grading \/ pre-validation script for this assignment. You are encouraged to perform any unit tests necessary to instill confidence in your implementation.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">You are encouraged to submit your files to Gradescope TESTING, where some basic pre-validation tests will be performed against the code. Gradescope TESTING does not grade your assignment. No credit will be given for coding assignments that fail in Gradescope SUBMISSION and failed to pass this pre-validation in Gradescope TESTING.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">You are allowed unlimited resubmissions to Gradescope TESTING. Please refer to the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/summer2021\/gradescope\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Gradescope Instructions<\/span><\/a><span data-contrast=\"auto\"> for more information.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Submission Instructions<\/h2>\n<p><b><span data-contrast=\"none\">This is an individual assignment<\/span><\/b><span data-contrast=\"none\">. All work you submit should be your own. <\/span><span data-contrast=\"none\">Ensure to cite any sources you reference and use quotes and in-line citations to mark any direct quotes.<\/span><span data-contrast=\"none\"> Citations within the code should be captured as comments.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Late work is not accepted without advanced agreement except in cases of medical or family emergencies. In the case of such an emergency, please <\/span><a href=\"https:\/\/gatech-advocate.symplicity.com\/care_report\/index.php\/pid986879?\"><span data-contrast=\"none\">contact the Dean of Students<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h3>Report Submission<\/h3>\n<p><span data-contrast=\"none\">Complete your report using the <\/span><a href=\"https:\/\/drive.google.com\/drive\/folders\/1xDYIomn9e9FxbIeFcsclSbXHTtHROD1j\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">JDF format<\/span><\/a><span data-contrast=\"none\">, then save your submission as a PDF. The report is to be submitted as <\/span><b><span data-contrast=\"none\">report.pdf<\/span><\/b><span data-contrast=\"none\">. Assignments should be submitted to the corresponding assignment submission page in Canvas. You should submit a single PDF for the report portion of the assignment. Please submit the following file to Canvas in PDF format only: <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"20\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">report.pdf\u00a0<\/span><\/b><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">Do not submit any other files. All charts must be included in the report, not submitted as separate files. Also, note that it should generate the charts contained in the report when we run your submitted code. Not submitting a report will result in a penalty.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">You are allowed unlimited submissions of the report.pdf file to Canvas.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h3>Code Submission<\/h3>\n<p><span data-contrast=\"none\">This class uses Gradescope, a server-side autograder, to evaluate your code submission. No credit will be given for code that does not run in the Gradescope SUBMISSION environment. Students are encouraged to leverage Gradescope TESTING before submitting an assignment for grading.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Please submit the following files to Gradescope <\/span><span data-contrast=\"none\">SUBMISSION<\/span><span data-contrast=\"none\">:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"11\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">testproject.py<\/span><\/b><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"11\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><b><span data-contrast=\"none\">indicators.py<\/span><\/b><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"11\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><b><span data-contrast=\"none\">TheoreticallyOptimalStrategy.py<\/span><\/b><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"11\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><b><span data-contrast=\"none\">README.txt<\/span><\/b><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"11\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><b><span data-contrast=\"none\">marketsim<\/span><\/b><b><span data-contrast=\"none\">code<\/span><\/b><b><span data-contrast=\"none\">.py (optional file)<\/span><\/b><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">Do not submit any other files.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">You are allowed a MAXIMUM of three (3) code submissions to Gradescope SUBMISSION.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Grading Information<\/h2>\n<p><span data-contrast=\"none\">Your report and code will be graded using a rubric design to mirror the questions above. Make sure to answer those questions in the report and ensure the code meets the project requirements. The submitted code is run as a batch job after the project deadline. Deductions will be applied for unmet implementation requirements or code that fails to run.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">We do not provide an explicit set timeline for returning grades, except that everything will be graded before the institute deadline (end of the term). As will be the case throughout the term, the grading team will work as quickly as possible to provide project feedback and grades. Once grades are released, any grade-related matters must follow the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/summer2021\/assignment-follow-up\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Assignment Follow-Up<\/span><\/a><span data-contrast=\"none\"> guidelines and process.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Rubric<\/h2>\n<h3>Report<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">General<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Neatness (up to 5 points deduction if not).<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Bonus for exceptionally well-written reports (up to 2 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is the required report provided (-100 if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Indicators<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Are there five different indicators where you may only use two from the set discussed in the lectures (i.e., no more than two from the set [SMA, Bollinger Bands, RSI])? (-15 points each if not)\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Does the submitted code indicators.py properly reflect the indicators provided in the report (up to -75 points if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Individual Indicators (up to 15 points potential deductions per indicator):<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is there a compelling description of why the indicator might work (-5 if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is the indicator described in sufficient detail that someone else could reproduce it? (-5 points if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is there a chart for the indicator that properly illustrates its operation, including a properly labeled axis and legend? (up to -5 points if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Theoretically optimal (up to 20 points potential deductions):<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is the methodology described correct and convincing? (-10 points if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is the chart correct (dates and equity curve), including properly labeled axis and legend (up to -10 points if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">The historical value of benchmark normalized to 1.0, plotted with a green line (-5 if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">The historical value of portfolio normalized to 1.0, plotted with a red line (-5 if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Are the reported performance criteria correct? See the appropriate section for required statistics. (-2 points for each item if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Code<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"20\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Is the required code provided, including code to recreate the charts and usage of correct trades DataFrame? () (up to -100 if not)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"20\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">All charts must be created and saved using Python code.\u00a0 DO NOT use plt.show() (<\/span><span data-contrast=\"auto\">up to -100 if all charts are not created or if plt.show() is used)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<h3>Auto-Grader<\/h3>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"8\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">No auto-grader<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Allowed<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"7\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Your code may use the standard Python libraries, NumPy, SciPy, matplotlib, and Pandas libraries. Be sure you are using the correct versions as stated on the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/summer2021\/local-environment\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ML4T Local Environment Setup<\/span><\/a><span data-contrast=\"auto\"> page.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"7\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Code provided by the instructor or is allowed by the instructor to be shared.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"7\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Code that displays \u201cwarning\u201d messages to the terminal or console.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"7\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">Students are allowed to share charts in the pinned Students Charts thread alone.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"7\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"auto\">A herring.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221;]<\/p>\n<h2>Prohibited<span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">You may not use any libraries not listed in the \u201callowed\u201d section above.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">You may not use any other method of reading data besides util.py.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">You may not modify or copy code in util.py.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"none\">You may not use any code you did not write yourself.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"none\">You may not use the Python os library\/module.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><span data-contrast=\"none\">Code in Gradescope SUBMISSION must not generate any output to the screen\/console\/terminal (other than run-time \u201cwarning\u201d messages) when verbose = False.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"none\">Code must not create <\/span><span data-contrast=\"none\">extra<\/span><span data-contrast=\"none\"> directories or files.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"none\">Code must not use absolute import statements, such as: <\/span><i><span data-contrast=\"none\">from folder_name import TheoreticalOptimalStrategy<\/span><\/i><span data-contrast=\"none\">, where \u201cfolder_name\u201d is the path\/name of a folder or directory.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"none\">You must <\/span><b><span data-contrast=\"none\">not <\/span><\/b><span data-contrast=\"none\">share <\/span><span data-contrast=\"none\">tables and statistics<\/span><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.4.5&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.4.5&#8243;][et_pb_text _builder_version=&#8221;4.9.7&#8243; header_2_font=&#8221;|||on|on||||&#8221; hover_enabled=&#8221;0&#8243; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>Relevant Resources<\/h2>\n<p><span data-contrast=\"none\">You may find the following resources useful in completing the project or providing an in-depth discussion of the material.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/school.stockcharts.com\/doku.php?id=overview:technical_analysis\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Stockchart.com School (Technical Analysis Introduction)<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/school.stockcharts.com\/doku.php?id=technical_indicators\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Stockchart.com Technical Indicators<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">StockCharts has some good information on <\/span><a href=\"http:\/\/stockcharts.com\/school\/doku.php?id=chart_school:trading_strategies\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Trading Strategies and Models<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/www.investopedia.com\/terms\/t\/technicalanalysis.asp\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Investopedia<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/youtube.com\/playlist?list=PLf5N6dqfQaNQbOG0mw5YCZ0ql3AbBvREn\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">TA Ameritrade Technical Analysis Introduction Lessons<\/span><\/a><span data-contrast=\"none\"> (pick the ones you think are most useful)<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><span data-contrast=\"none\"><\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\"><a href=\"http:\/\/www.mrao.cam.ac.uk\/~mph\/Technical_Analysis.pdf\" target=\"_blank\" rel=\"noopener\">\u00a0A good introduction to technical analysis<\/a><\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/www.ig.com\/us\/trading-strategies\/10-trading-indicators-every-trader-should-know-190604\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">10 Indicators Every Trader Should Know<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/www.investopedia.com\/terms\/t\/technical-analysis-of-stocks-and-trends.asp\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Investopedia&#8217;s Introduction to Technical Analysis<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/www.amazon.com\/Technical-Analysis-Financial-Markets-Comprehensive\/dp\/0735200661\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Technical Analysis of the Financial Markets<\/span><\/a><span data-contrast=\"none\"> by John Murphy.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"33\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/www.amazon.com\/Technical-Analysis-Explained-Fifth-Successful\/dp\/0071825177\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Technical Analysis Explained<\/span><\/a><span data-contrast=\"none\"> by Martin Pring.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:60,&quot;335559739&quot;:60,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project 6: Indicator EvaluationRevisions This assignment is subject to change up until 3 weeks prior to the due date. We do not anticipate changes; any changes will be logged in this section.About the Project In this project, you will develop technical indicators and a Theoretically Optimal Strategy that will be the ground layer of a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1607,"menu_order":12,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<!-- wp:divi\/placeholder \/-->","_et_gb_content_width":"","footnotes":""},"class_list":["post-1660","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/1660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/comments?post=1660"}],"version-history":[{"count":21,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/1660\/revisions"}],"predecessor-version":[{"id":1978,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/1660\/revisions\/1978"}],"up":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/1607"}],"wp:attachment":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/media?parent=1660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}