{"id":3806,"date":"2023-08-21T10:01:52","date_gmt":"2023-08-21T10:01:52","guid":{"rendered":"https:\/\/lucylabs.gatech.edu\/ml4t\/?page_id=3806"},"modified":"2023-08-21T14:30:20","modified_gmt":"2023-08-21T14:30:20","slug":"project-5","status":"publish","type":"page","link":"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/project-5\/","title":{"rendered":"PROJECT 5"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;Section&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;Project Title&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; header_font=&#8221;|700||on|||||&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h1 style=\"text-align: center;\">Project 5: Marketsim<\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row use_custom_gutter=&#8221;on&#8221; gutter_width=&#8221;1&#8243; admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;100%&#8221; custom_padding=&#8221;0px||0px||false|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_divider color=&#8221;#eeeeee&#8221; divider_position=&#8221;center&#8221; divider_weight=&#8221;3px&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;25%&#8221; custom_padding=&#8221;30px||30px||true|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_divider][et_pb_blurb title=&#8221;Table of Contents&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x68;||divi||400&#8243; icon_color=&#8221;rgba(0,0,0,0.05)&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;100px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_level=&#8221;h2&#8243; header_font_size=&#8221;26px&#8221; height=&#8221;38px&#8221; icon_font_size=&#8221;100px&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Overview&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#overview&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;About the Project&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#about&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Your Implementation&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#implementation&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Contents of Report&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#report&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Testing Recommendations&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#testing&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Submission Requirements&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#submission&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Grading Information&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#grading&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Development Guidelines&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#guidelines&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_blurb][et_pb_divider color=&#8221;#eeeeee&#8221; divider_position=&#8221;center&#8221; divider_weight=&#8221;3px&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;25%&#8221; custom_padding=&#8221;30px||30px||true|false&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;Revisions&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.17.4&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#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 admin_label=&#8221;1 Overview&#8221; module_id=&#8221;overview&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>1 Overview<\/h2>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW127503646 BCX4\"><span class=\"NormalTextRun SCXW127503646 BCX4\">In this project, you will create a market simulator that accepts trading orders and keeps track of a portfolio\u2019s value over time.\u202fIt also then assesses the performance of that portfolio.\u202fYou will submit the code for the project <\/span><span class=\"NormalTextRun SCXW127503646 BCX4\">to<\/span><span class=\"NormalTextRun SCXW127503646 BCX4\">\u202f<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW127503646 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW127503646 BCX4\">\u202fSUBMISSION. There is no report <\/span><span class=\"NormalTextRun SCXW127503646 BCX4\">associated<\/span><span class=\"NormalTextRun SCXW127503646 BCX4\"> with this project<\/span><span class=\"NormalTextRun SCXW127503646 BCX4\">.<\/span><\/span><span class=\"EOP SCXW127503646 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;1.1 Learning Objectives&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>1.1 Learning Objectives<\/h3>\n<p><span data-contrast=\"auto\">The specific learning objectives for this assignment are focused on the following areas:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">Market Simulation<\/span><\/b><span data-contrast=\"auto\">: Develop a market simulator. Variations of this market simulator will play a role in future projects.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">Transaction Costs<\/span><\/b><span data-contrast=\"auto\">: Develop an understanding of market costs and how they affect the value of a portfolio.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;2 About The Project&#8221; module_id=&#8221;about&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>2 About the Project<\/h2>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW104931387 BCX4\"><span class=\"NormalTextRun SCXW104931387 BCX4\">In this project, you will <\/span><span class=\"NormalTextRun SCXW104931387 BCX4\">leverage <\/span><span class=\"NormalTextRun SCXW104931387 BCX4\">some of the work completed in p<\/span><span class=\"NormalTextRun SCXW104931387 BCX4\">roject 2 to build a market simulator, as described below.<\/span><\/span><span class=\"EOP SCXW104931387 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;3 Your Implementation&#8221; module_id=&#8221;implementation&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>3 Your Implementation<\/h2>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW255811152 BCX4\"><span class=\"NormalTextRun SCXW255811152 BCX4\">Your submission must implement this <a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/project-5-documentation\/\" target=\"_blank\" rel=\"noopener\">API specification<\/a>.<\/span><\/span><\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW255811152 BCX4\"><span class=\"NormalTextRun SCXW255811152 BCX4\">Before the deadline, make sure to pre-validate your submission using <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW255811152 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\"> TESTING. Once you are satisfied with the results in testing, submit the code to <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW255811152 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\"> SUBMISSION. <\/span><\/span><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW255811152 BCX4\"><span class=\"NormalTextRun SCXW255811152 BCX4\">Only code submitted to <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW255811152 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\"> SUBMISSION will be graded<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\">.<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\"> If you submit your code to <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW255811152 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\"> TESTING and have not also <\/span><span class=\"NormalTextRun SCXW255811152 BCX4\">submitted your code to <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW255811152 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW255811152 BCX4\"> <\/span><span class=\"NormalTextRun SCXW255811152 BCX4\">SUBMISSION, you will receive a zero (0).<\/span><\/span><span class=\"EOP SCXW255811152 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.1 Getting Started&#8221; _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3>3.1 Getting Started<\/h3>\n<p><span data-contrast=\"auto\">You will be given a starter framework to make it easier to get started on the project and focus on the concepts involved. This framework assumes you have already set up the <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/local-environment\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">local environment<\/span><\/a><span data-contrast=\"auto\"> and <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/software-setup\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ML4T Software<\/span><\/a><span data-contrast=\"auto\">. The framework for Project 5 can be obtained from:\u202f<\/span><a href=\"https:\/\/www.dropbox.com\/scl\/fi\/84ra36wt3fw8uqlhv3q8a\/marketsim_2023Fall.zip?rlkey=ab8g50jofp54mj8ighlpj1q67&amp;dl=1\" target=\"_blank\" rel=\"noopener\">Marketsim_2023Fall.zip<\/a><span data-contrast=\"auto\">.\u202f<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Extract its contents into the base directory (e.g., ML4T_2023Fall). This will add a new folder called \u201cmarketsim\u201d to the course directory structure.\u202f<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Within the marketsim folder are one directory and two files:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">grade_marketsim.py<\/span><span><br \/><\/span><span data-contrast=\"auto\">The local grading \/ pre-validation script. This is the same script that will be executed in the Gradescope TESTING Environment<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">marketsim.py<\/span><span><br \/><\/span><span data-contrast=\"auto\">Student implementations will replace your compute_portvals() function within this file, modifying or replacing the existing stub code provided in the file.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">orders directory<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">A directory containing several order files can be used with this project.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/lucylabs.gatech.edu\/ml4t\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-01-at-11.44.59-PM.png&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;5b97048a-bafb-41a7-bb13-9bdeb74da7b1&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text admin_label=&#8221;3.2 Task &#038; Requirements&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>3.2 Part 1: Implement the Basic Simulator (90 Points)<\/h3>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW225679226 BCX4\"><span class=\"NormalTextRun SCXW225679226 BCX4\">Your job is to implement your market simulator as a function, <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW225679226 BCX4\">compute_portvals<\/span><span class=\"NormalTextRun SCXW225679226 BCX4\">() that returns a <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW225679226 BCX4\">DataFrame<\/span><span class=\"NormalTextRun SCXW225679226 BCX4\"> with one column. You should implement it within the file marketsim.py. It should adhere to the following API:<\/span><\/span><span class=\"EOP SCXW225679226 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/61edb3c103bd8c9ce8e07eee09a0844d.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.2 Task &#038; Requirements&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\">The start date and end date of the simulation are the first and last dates with orders in the orders_file. <\/span><i><span data-contrast=\"auto\">(Note: The orders may not appear in sequential order in the file<\/span><\/i><span data-contrast=\"auto\">.) The arguments are as follows:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">orders_file<\/span><\/b><span data-contrast=\"auto\"> is the name of a file from which to read orders, and<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">start_val<\/span><\/b><span data-contrast=\"auto\"> is the starting value of the portfolio (initial cash available)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\"><strong>commission<\/strong> is the fixed amount in dollars charged for each transaction (both entry and exit)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">impact<\/span><\/b><span data-contrast=\"auto\"> is the amount the price moves against the trader compared to the historical data at each transaction. Impact of 0.01 in the API corresponds to an impact of 1%.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">Return the result (portvals) as a single-column pandas.DataFrame (column name does not matter), containing the value of the portfolio for each trading day in the first column from start_date to end_date, inclusive.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The files containing orders are CSV files with the following columns:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Date (yyyy-mm-dd)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Symbol (e.g. AAPL, GOOG)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Order (BUY or SELL)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Shares (no. of shares to trade)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:360,&quot;335559739&quot;:170,&quot;335559740&quot;:340,&quot;335559991&quot;:360}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For example:<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:360,&quot;335559739&quot;:170,&quot;335559740&quot;:340,&quot;335559991&quot;:360}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/e8f8fb6af3639dddc69a72204021308e.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.2 Task &#038; Requirements&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW213676701 BCX4\"><span class=\"NormalTextRun SCXW213676701 BCX4\">Your simulator should calculate the total value of the portfolio for each day using <\/span><\/span><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW213676701 BCX4\"><span class=\"NormalTextRun SCXW213676701 BCX4\">adjusted closing prices<\/span><\/span><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW213676701 BCX4\"><span class=\"NormalTextRun SCXW213676701 BCX4\">. The value for each day is cash plus the current value of equities. The resulting data frame should contain values like this:<\/span><\/span><span class=\"EOP SCXW213676701 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/d19f5e716839f0dc6fa21b82b4da8cbe.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.2.1 How it Should Work&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>3.2.1 How it Should Work<\/h4>\n<p><span data-contrast=\"auto\">Your code should keep account of how many shares of each stock are in the portfolio on each day and how much cash is available on each day. Note that negative shares and negative cash are possible. Negative shares mean that the portfolio is in a short position for that stock. Negative cash means that you\u2019ve borrowed money from the broker.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">When a BUY order occurs, you should add the appropriate number of shares to the count for that stock and subtract the appropriate cost of the shares from the cash account. The cost should be determined using the adjusted close price for that stock on that day.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">When a SELL order occurs, it works in reverse: You should subtract the number of shares from the count and add to the cash account.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.2.2 Evaluation&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>3.2.2 Evaluation<\/h4>\n<p><span data-contrast=\"auto\">We will evaluate your code by calling compute_portvals() with multiple test cases. No other function in your code will be called by us, so do not depend on \u201cmain\u201d code being called. Do not depend on global variables.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For debugging purposes, you should write your own additional helper function to call compute_portvals() with your own test cases. We suggest that you analyze and confirm the following factors:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Plot the price history over the trading period.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Sharpe ratio (Always assume you have 252 trading days in a year. And risk-free rate = 0) of the total portfolio<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Cumulative return of the total portfolio<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Standard deviation of daily returns of the total portfolio<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Average daily return of the total portfolio<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Ending value of the portfolio<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.3 Part 2: Transaction Cost (10 points)&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>3.3 Part 2: Transaction Costs (10 points)<\/h3>\n<p><b><span data-contrast=\"auto\">Note<\/span><\/b><span data-contrast=\"auto\">: <\/span><i><span data-contrast=\"auto\">We strongly encourage you to get the basic simulator working before you implement the transaction cost and market impact components of this project<\/span><\/i><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Transaction costs are an important consideration of an investing strategy. Transaction costs include things like commissions, slippage, market impact, and tax considerations. High transaction costs encourage less frequent trading, and accordingly a search for strategies that payout over longer periods of time rather than just intraday or over several days. For this project, we will consider two components of transaction cost: Commissions and market impact.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Commissions: For each trade that you execute, charge a commission according to the parameter sent. Treat that as a deduction from your cash balance.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Market impact: For each trade that you execute, assume that the stock price moves against you according to the impact parameter. So, if you are buying, assume the price goes up (e.g., rises 50 bps) before your purchase. Similarly, if selling, assume the price drops (e.g., falls 50 bps) before the sale. For simplicity treat the market impact penalty as a deduction from your cash balance.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">Commissions and Market Impact<\/span><span data-contrast=\"auto\"> should be applied for EACH transaction, for instance, depending on the parameter settings, a complete entry and exit will cost 2 * $9.95, plus 0.5% of the entry price and 0.5% of the exit price.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.4 Implement author&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>3.4 Part 3: Implement author() function (deduction if not implemented)<\/h3>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW147384586 BCX4\"><span class=\"NormalTextRun SCXW147384586 BCX4\">You should implement a function called <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW147384586 BCX4\">author(<\/span><span class=\"NormalTextRun SCXW147384586 BCX4\">) that returns your Georgia Tech user ID as a string. This is the ID you use to log into Canvas. It is not your <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW147384586 BCX4\">9 digit<\/span><span class=\"NormalTextRun SCXW147384586 BCX4\"> student number. Here is an example of how you might implement <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW147384586 BCX4\">author(<\/span><span class=\"NormalTextRun SCXW147384586 BCX4\">):<\/span><\/span><span class=\"EOP SCXW147384586 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/ab31dc635cb9825f6ee3aac0f1bd1123.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.4 Implement author&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW9079690 BCX4\"><span class=\"NormalTextRun SCXW9079690 BCX4\">And here\u2019s an example of how it could be called from a testing program:<\/span><\/span><span class=\"EOP SCXW9079690 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/80307b870da95c90b9c6681489c0efa3.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.4 Implement author&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW244738808 BCX4\"><span class=\"NormalTextRun SCXW244738808 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 SCXW244738808 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.5 Technical Requirements&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>3.5 Technical Requirements<\/h3>\n<p><span data-contrast=\"auto\">The following technical requirements apply to this assignment<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">When utilizing any of the 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;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Use only the functions in util.py to read 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;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">You should use pandas\u2019 read_csv function to read the orders files.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><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><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">The Sharpe ratio uses the <\/span><b><span data-contrast=\"auto\">sample standard deviation<\/span><\/b><span data-contrast=\"auto\">.\u202f<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ol>\n<ol><\/ol>\n<ol><\/ol>\n<ol><\/ol>\n<ol><\/ol>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.6 Hints &#038; Suggestions&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>3.6 Hints &amp; Suggestions<\/h3>\n<p><span data-contrast=\"auto\">Here is a video outlining an approach to solving this problem [<\/span><a href=\"https:\/\/www.youtube.com\/watch?v=TstVUVbu-Tk\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">YouTube video<\/span><\/a><span data-contrast=\"auto\">].<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Hint, use code like this to read in the orders file:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/59ae78328ce8dc9c56b5e1919634371c.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.6 Hints &#038; Suggestions&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW128886845 BCX4\"><span class=\"NormalTextRun SCXW128886845 BCX4\">In terms of execution prices, you should assume you get the <\/span><\/span><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW128886845 BCX4\"><span class=\"NormalTextRun SCXW128886845 BCX4\">adjusted close <\/span><\/span><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW128886845 BCX4\"><span class=\"NormalTextRun SCXW128886845 BCX4\">price<\/span><span class=\"NormalTextRun SCXW128886845 BCX4\"> for the day of the trade.<\/span><\/span><span class=\"EOP SCXW128886845 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;4 Contents of Report&#8221; module_id=&#8221;report&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>4 Contents of Report<\/h2>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW174722276 BCX4\"><span class=\"NormalTextRun SCXW174722276 BCX4\">There is no report associated with this assignment<\/span><span class=\"NormalTextRun SCXW174722276 BCX4\">.\u00a0<\/span><span class=\"NormalTextRun SCXW174722276 BCX4\">\u00a0<\/span><\/span><span class=\"EOP SCXW174722276 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;5 Testing Recommendations&#8221; module_id=&#8221;testing&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h2>5 Testing Recommendations<\/h2>\n<p><span data-contrast=\"auto\">To test your code, you can modify the provided test_code() function in the marketsim.py file. You are encouraged to perform any unit tests necessary <span class=\"TrackChangeTextInsertion TrackedChange   BCX4 TrackChangeHoverSelectColorRed SCXW73706845\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun  BCX4 SCXW73706845\"><span class=\"NormalTextRun   BCX4 TrackChangeHoverSelectHighlightRed SCXW73706845\">to install confidence<\/span><\/span><\/span><span class=\"TrackChangeTextInsertion TrackedChange   BCX4 TrackChangeHoverSelectColorRed SCXW73706845\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun  BCX4 SCXW73706845\"><span class=\"NormalTextRun   BCX4 TrackChangeHoverSelectHighlightRed SCXW73706845\"> <\/span><\/span><\/span><span class=\"TrackChangeTextInsertion TrackedChange   BCX4 TrackChangeHoverSelectColorRed SCXW73706845\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun  BCX4 SCXW73706845\"><span class=\"NormalTextRun   BCX4 TrackChangeHoverSelectHighlightRed SCXW73706845\">that the code will run properly when submitted for grading and will produce the required results<\/span><\/span><\/span>.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Additionally, we have provided the grade_marketsim.py file that can be used for your tests. This file is the same script that will be run when the code is submitted to Gradescope TESTING. This file is not a complete test suite and does not match the more stringent private grader that is used in Gradescope SUBMISSION. To run and test that the file will run from within the marketsim directory, use the command:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/31e8e8a78939e44aca81bab00416446c.js\"><\/script>[\/et_pb_code][et_pb_text _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><span data-contrast=\"auto\">In addition to testing on your local machine, you are encouraged to submit your files to Gradescope TESTING, where some basic pre-validation tests will be performed against the code. No credit will be given for coding assignments that do not pass this pre-validation. <\/span><b><span data-contrast=\"auto\">Gradescope TESTING does not grade your assignment.<\/span><\/b><span data-contrast=\"auto\"> The Gradescope TESTING script is not a complete test suite and does not match the more stringent private grader that is used in Gradescope SUBMISSION. Thus, the maximum Gradescope TESTING score of 87, while instructional, does not represent the minimum score one can expect when the assignment is graded using the private grading script. You are encouraged to develop additional tests to ensure that all project requirements are met.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">You are allowed <\/span><b><span data-contrast=\"auto\">unlimited<\/span><\/b><span data-contrast=\"auto\"> resubmissions to Gradescope <\/span><b><span data-contrast=\"auto\">TESTING<\/span><\/b><span data-contrast=\"auto\">. Please refer to the <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/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;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;5.1 Additional Examples&#8221; _builder_version=&#8221;4.17.4&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>5.1\u00a0Additional Example Tests\/Checks (Orders File Code Check Examples)<\/h3>\n<p><span data-contrast=\"auto\">Example orders files are available in the orders subdirectory. You can use these for additional testing.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Here are some additional test cases:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><a href=\"https:\/\/www.dropbox.com\/s\/vkvpo3kas8ona25\/testcases_mc2p1.zip?dl=1\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">testcases_mc2p1.zip<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><a href=\"https:\/\/www.dropbox.com\/s\/duene6lrebwq3wo\/additional_orders.zip?dl=1\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">additional_orders.zip<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;5.2 Short Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW92507469 BCX4\"><span class=\"NormalTextRun SCXW92507469 BCX4\">5.2 Short Code Check Example<\/span><\/span><\/h3>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW92507469 BCX4\"><span class=\"NormalTextRun SCXW92507469 BCX4\">Here is a very, very short example that you can use to check your code. Starting conditions:<\/span><\/span><span class=\"EOP SCXW92507469 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/987fa83d65511537f968061ff8dffad3.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;5.2 Short Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW97022529 BCX4\"><span class=\"NormalTextRun SCXW97022529 BCX4\">For the orders file orders-short.csv, the orders are:<\/span><\/span><span class=\"EOP SCXW97022529 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/95fdceb2ecd1b13ea3a8b0264bdefc15.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;5.2 Short Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW18879455 BCX4\"><span class=\"NormalTextRun SCXW18879455 BCX4\">The daily value of the portfolio (spaces added to help things line up):<\/span><\/span><span class=\"EOP SCXW18879455 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/fc772cdf83879786868e44d89976194d.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;5.2 Short Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW227841526 BCX4\"><span class=\"NormalTextRun SCXW227841526 BCX4\">For reference, here are the adjusted close values for AAPL on the relevant days:<\/span><\/span><span class=\"EOP SCXW227841526 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/3158173cd89229cdcc2ff542f080c7a5.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;5.2 Short Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW231821321 BCX4\"><span class=\"NormalTextRun SCXW231821321 BCX4\">The full results:<\/span><\/span><span class=\"EOP SCXW231821321 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/2476ee314790a0caa28e2117a5ed652b.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;5.3 Comprehensive Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>5.3 More Comprehensive Examples<\/h3>\n<p><b><span data-contrast=\"auto\">orders.csv<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">We provide an example, orders.csv that you can use to test your code, and compare with others. All runs assume a starting portfolio of 1000000 ($1M).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/436fbb9be809fb76ba13a49d5185d290.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;5.3 Comprehensive Code Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p><b><span data-contrast=\"auto\">orders2.csv<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The other sample file is orders2.csv that you can use to test your code and compare with others.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/2bbbbef07d787b58c91db8cb03b2f76d.js\"><\/script>[\/et_pb_code][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;6 Submission Requirements&#8221; module_id=&#8221;submssion&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>6 SUBMISSION REQUIREMENTS<\/h2>\n<p><b><span data-contrast=\"auto\">This is an individual assignment<\/span><\/b><span data-contrast=\"auto\">. All work you submit should be your own. Make sure to cite any sources you reference and use quotes and in-line citations to mark any direct quotes.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span>Assignment due dates in your time zone can be found by looking at the<\/span><span> Project in the Assignment menu item in Canvas (ensure your Canvas time zone settings are set up properly).\u00a0<\/span> <span>This date <\/span><span>is 23:59 AOE <\/span><span>converted to <\/span><span>your time zone.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><\/span><\/p>\n<ul><\/ul>\n<p><span data-contrast=\"auto\">Assignments received after Sunday at 23:59 AOE (even if only by a few seconds) are not accepted without advanced agreement except in cases of medical or family emergencies. In the case of such an emergency, please contact the <\/span><a href=\"https:\/\/gatech-advocate.symplicity.com\/care_report\/index.php\/pid986879?\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Dean of Students<\/span><\/a><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;6.1 Report Submission&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>6.1 Report Submission<\/h3>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW48657542 BCX4\"><span class=\"NormalTextRun SCXW48657542 BCX4\">There is no report submission associated with this assignment.<\/span><\/span><span class=\"EOP SCXW48657542 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;6.2 Code Submission&#8221; _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>6.2 Code Submission<\/h3>\n<p><span data-contrast=\"auto\">This class uses Gradescope, a server-side auto-grader, to evaluate your code submission. No credit will be given for code that does not run in this environment and students are encouraged to leverage Gradescope TESTING prior to submitting an assignment for grading. <\/span><b><span data-contrast=\"auto\">Only code submitted to Gradescope SUBMISSION will be graded. If you submit your code to Gradescope TESTING and have not also submitted your code to Gradescope SUBMISSION, you will receive a zero (0).<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Please submit the following file to Gradescope <\/span><b><span data-contrast=\"auto\">SUBMISSION<\/span><\/b><span data-contrast=\"auto\">:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p style=\"padding-left: 80px;\"><b><span data-contrast=\"auto\">marketsim.py<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:720,&quot;335559737&quot;:720,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Do not submit any other files.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">Important: You are allowed a MAXIMUM of five (5) code submissions to Gradescope <\/span><\/b><b><span data-contrast=\"auto\">SUBMISSION<\/span><\/b><b><span data-contrast=\"auto\">.<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;7 Grading Information&#8221; module_id=&#8221;grading&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>7 Grading Information<\/h2>\n<p><span data-contrast=\"auto\">The submitted code (which is worth 100% of your grade) is run as a batch job after the project deadline. The code represents 100% of the assignment grade and will be graded using a rubric design to mirror the implementation details above. Deductions will be applied for unmet implementation requirements or code that fails to run.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">We do not provide an explicit set timeline for returning grades, except that all assignments and exams 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.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Once grades are released, any grade-related matters must follow the <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/assignment-follow-up\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Assignment Follow-Up guidelines and process<\/span><\/a><span data-contrast=\"auto\"> alone. Regrading will only be undertaken in cases where there has been a genuine error or misunderstanding. Please note that requests will be denied if they are not submitted using the <\/span><span data-contrast=\"auto\">Fall 2023<\/span><span data-contrast=\"auto\">\u00a0form or do not fall within the timeframes specified on the <\/span><span data-contrast=\"none\">Assignment Follow-Up<\/span><span data-contrast=\"auto\"> page.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1 Grading Rubric&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h3>7.1 Grading Rubric<\/h3>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1.1 Report&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>7.1.1 Report [0 points]<\/h4>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW258780728 BCX4\"><span class=\"NormalTextRun SCXW258780728 BCX4\">There is no report associated with this project.<\/span><\/span><span class=\"EOP SCXW258780728 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1.2 Code&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>7.1.2 Code\u00a0<\/h4>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW131521348 BCX4\"><span class=\"NormalTextRun SCXW131521348 BCX4\">There is no separate code section associated with this project.<\/span><\/span><span class=\"EOP SCXW131521348 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1.3 Auto-Grader&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>7.1.3 Auto-Grader (Private Grading Script) [100 points]<\/h4>\n<p><span data-contrast=\"auto\">We will test your code against the following cases:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Basic simulator: (90 points) 10 test cases: We will test your code against 10 cases (9 points per case) without transaction costs. Points per case are allocated as follows:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">2.0: Correct number of days reported in the DataFrame (should be the number of trading days between the start date and end date, inclusive).<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">5.0: Correct portfolio value on the last day +-0.1%<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">1.0: Correct Sharpe Ratio +-0.1%<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">1.0: Correct average daily return +-0.1%<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">Transaction costs: (10 points) 5 test cases: We will test your code against 5 cases as follows:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">2.0: Two test cases that evaluate commissions only (impact = 0)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">2.0: Two test cases that evaluate impact only (commission = 0)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">1.0: One test case with non-zero commission and impact.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;8 DEVELOPMENT GUIDELINES (ALLOWED &#038; PROHIBITED) &#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text module_id=&#8221;guidelines&#8221; _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;22f2a71d-a20e-41a1-94f1-1079e5b6f92b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2>8 Development Guidelines (Allowed &amp; Prohibited)<\/h2>\n<p><span data-contrast=\"auto\">See the <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2023\/project-guidelines\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"auto\">Course Development Recommendations, Guidelines, and Rules<\/span><\/a><span data-contrast=\"auto\"> for the complete list of requirements applicable to all course assignments. <\/span><b><span data-contrast=\"auto\">The Project Technical Requirements are grouped into three sections: Always Allowed, Prohibited with Some Exceptions, and Always Prohibited<\/span><\/b><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The following exemptions to the Course Development Recommendations, Guidelines, and Rules apply to this project:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\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=\"auto\">To read in \u2018orders\u2019 files, you may use the pandas.read_csv() function.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\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>Watermarked charts may be shared in the dedicated discussion forum thread alone.<\/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=\"auto\">Code may not take longer than 10 seconds per test case to run.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project 5: MarketsimRevisions 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.1 Overview In this project, you will create a market simulator that accepts trading orders and keeps track of a portfolio\u2019s value over time.\u202fIt also [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":3794,"menu_order":0,"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-3806","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3806","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=3806"}],"version-history":[{"count":4,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3806\/revisions"}],"predecessor-version":[{"id":3960,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3806\/revisions\/3960"}],"up":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3794"}],"wp:attachment":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/media?parent=3806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}