{"id":221,"date":"2020-05-11T08:34:02","date_gmt":"2020-05-11T08:34:02","guid":{"rendered":"http:\/\/lucylabs.gatech.edu\/ml4t\/?page_id=221"},"modified":"2020-08-14T04:00:54","modified_gmt":"2020-08-14T04:00:54","slug":"opto-trader-hints","status":"publish","type":"page","link":"https:\/\/lucylabs.gatech.edu\/ml4t\/summer2020\/opto-trader-hints\/","title":{"rendered":"Opto Trader Hints"},"content":{"rendered":"\n[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.4.6&#8243; header_font=&#8221;|700||on|||||&#8221; hover_enabled=&#8221;0&#8243;]<h1 id=\"firstHeading\" class=\"firstHeading\" lang=\"en\" style=\"text-align: center;\"><span dir=\"auto\">Opto Trader Hints<\/span><\/h1>\n[\/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.6&#8243; header_2_font=&#8221;|||on|on||||&#8221; hover_enabled=&#8221;0&#8243;]<h2><span class=\"mw-headline\" id=\"Overview\">Overview<\/span><\/h2>\n<p><span>You will draw on your experience with your manual strategy and optimization to train and test a learning trading algorithm.<\/span><\/p>\n[\/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.6&#8243; header_2_font=&#8221;|||on|on||||&#8221; hover_enabled=&#8221;0&#8243;]<h2><span class=\"mw-headline\" id=\"ML_Trader\">ML Trader<\/span><\/h2>\n<p>Recall your manual trader: You should have used one or more indicators, then you used a simple set of logical statements to decide on an action. Those logical statements should include statements like &#8220;if indicator1 &lt; threshold1 and indicator2 &gt; threshold2&#8221; The idea for this version of the project is to use an optimizer to find the values of these thresholds rather than setting them manually. More succinctly, the optimization problem is:<\/p>\n<ul>\n<li>Given: a set of parameters: threshold[0] to threshold[n-1]<\/li>\n<li>Find: values for the parameters that maximize Sharpe ratio of the corresponding trading strategy.<\/li>\n<\/ul>\n<p>Your objective function for the optimizer is thus the Sharpe ratio of the strategy. The logic you use should classify a particular state (set of indicator values) as:<\/p>\n<ul>\n<li>+1: LONG<\/li>\n<li>0: CASH<\/li>\n<li>-1: SHORT<\/li>\n<\/ul>\n<p>The X data for each sample (day) are simply the values of your indicators for the stock &#8212; you should have 3 to 5 of them. Once you have these values, you can use the classifications to generate a set of transactions which you then assess the Sharpe ratio of.<\/p>\n[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]\n","protected":false},"excerpt":{"rendered":"<p>Opto Trader Hints Overview You will draw on your experience with your manual strategy and optimization to train and test a learning trading algorithm. ML Trader Recall your manual trader: You should have used one or more indicators, then you used a simple set of logical statements to decide on an action. Those logical statements [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":272,"menu_order":16,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-221","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/221","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=221"}],"version-history":[{"count":3,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/221\/revisions"}],"predecessor-version":[{"id":656,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/221\/revisions\/656"}],"up":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/272"}],"wp:attachment":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/media?parent=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}