2022年美赛C题 翻译+题意理解_阿孟dede的博客-程序员秘密

技术标签: c语言  后端  开发语言  

好奇看了下今年的美赛C题,是一道关于在考虑交易佣金情况的求解一个交易费率的最大化问题

1、原题(Trading Strategies)

(1)Background

Market traders buy and sell volatile assets frequently, with a goal to maximize their total return.
There is usually a commission for each purchase and sale. Two such assets are gold and bitcoin.
在这里插入图片描述
Source: London Bullion Market Association, 9/11/2021
数据源自纳斯达克
在这里插入图片描述
Source: NASDAQ, 9/11/2021

(2)Requirement

You have been asked by a trader to develop a model that uses only the past stream of daily prices
to date to determine each day if the trader should buy, hold, or sell their assets in their portfolio.
You will start with $1000 on 9/11/2016. You will use the five-year trading period, from
9/11/2016 to 9/10/2021. On each trading day, the trader will have a portfolio consisting of cash,
gold, and bitcoin [C, G, B] in U.S. dollars, troy ounces, and bitcoins, respectively. The initial
state is [1000, 0, 0]. The commission for each transaction (purchase or sale) costs α% of the
amount traded. Assume α g o l d α_{gold} αgold = 1% and α b i t c o i n α_{bitcoin} αbitcoin = 2%. There is no cost to hold an asset.

Note that bitcoin can be traded every day, but gold is only traded on days the market is open, as
reflected in the pricing data files LBMA-GOLD.csv and BCHAIN-MKPRU.csv. Your model
should account for this trading schedule.
To develop your model, you may only use the data in the two spreadsheets provided:
LBMA-GOLD.csv and BCHAIN-MKPRU.csv.

  • Develop a model that gives the best daily trading strategy based only on price data up
    to that day. How much is the initial $1000 investment worth on 9/10/2021 using your
    model and strategy?
  • Present evidence that your model provides the best strategy.
  • Determine how sensitive the strategy is to transaction costs. How do transaction costs affect the strategy and results?
  • Communicate your strategy, model, and results to the trader in a memorandum of at most two pages.
    Your PDF solution of no more than 25 total pages should include:
  • One-page Summary Sheet.
  • Table of Contents.
  • Your complete solution.
  • One- to two-page Memorandum.
  • Reference List.
    Note: The MCM has a 25-page limit. All aspects of your submission count toward the 25-page
    limit (Summary Sheet, Table of Contents, Reference List, and any Appendices). You must cite
    the sources for your ideas, images, and any other materials used in your report.

(3)Attachments

THE TWO DATA FILES PROVIDED CONTAIN THE ONLY DATA YOU SHOULD USE
FOR THIS PROBLEM.

  1. LBMA-GOLD.csv
  2. BCHAIN-MKPRU.csv

(4)Data Descriptions

  1. LBMA-GOLD.csv
  • Date: The date in mm-dd-yyyy (month-day-year) format.
  • USD (PM): The closing price of a troy ounce of gold in U.S. dollars on the indicated
    date.
  1. BCHAIN-MKPRU.csv
  • Date: The date in mm-dd-yyyy (month-day-year) format.
  • Value: The price in U.S. dollars of a single bitcoin on the indicated date.

2、翻译(交易策略)&题意理解

(1) 问题背景

市场交易中投资价格波动的资产的目的是实现回报的最大化,买卖过程中会产生交易佣金,以上两种资产分别为黄金和比特币:
图见上文(2016~2021 5年期间两种投资标的日价格)

(2)要求

开发一个交易模型,模型仅能够使用迄今为止的每日价格来确定当天是否应该买入 平仓 或者清仓该类资产;

给到的交易场景:

  • 交易时间:2016年9月11日~2021年9月10日;
  • 交易最大持仓:1000美金
  • 交易费率:黄金为1% 比特币为2%
  • 可以只有的资产种类: 现金 黄金 比特币 [C,G,B],初始状态为[1000,0,0]
  • 投资资产的交易特性:黄金:仅交易日交易(节假日不能亏),比特币:每日交易(每天都能亏);
  • 模型使用数据:只能用出题方给的数据;

要解决的问题&要求

  • 开发一个交易模型,制定一个最有的交易策略,该策略在2021年9月10月资产价值是多少?
  • 证明模型策略最佳;
  • 探究策略的的敏感度,说明交易成本对策略与最终结果的影响
  • 把策略、模型结果汇总为不超过2页的备忘录

常规的写作要求

  • 页数不超过25
  • 一页摘要
  • 目录
  • 完整的解决方案
  • 备忘录
  • 参考文献列表

(3)附件

黄金与比特币近5年(2016~2021)数据

  1. LBMA-GOLD.csv
  2. BCHAIN-MKPRU.csv

(4)数据说明

  1. LBMA-GOLD.csv
  • Date:mm-dd-yyyy(月-日-年)格式的日期。
  • USD (PM):一金衡盎司黄金在指定日期的美元收盘价。
  1. BCHAIN-MKPRU.csv - Date:mm-dd-yyyy(月-日-年)
    格式的日期。
  • Value:指定日期单个比特币的美元价格。
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/Zengmeng1998/article/details/123016748

智能推荐

Android高德地图的使用及附近地点POISearch列表展示_木子饼干的博客-程序员秘密

获取APP KEY打开高德开放平台, 登录后点击进入控制台,创建一个新应用,创建以后,添加新KEY,如下图 填写Key名称,发布版安全码SHA1和调试版SHA1。项目签名要获取发布版SHA1,先要对APK进行签名,点击工具栏中的Build, 点击 Generate Signed APK,如图如果之前有存在的key,你可以选择已存在的,这里我选择新建一个,点击Cr...

AndroidStudio中调试时一直显示waiting for debugger_霸道流氓气质的博客-程序员秘密

场景在Android Studio中连接到手机上进行调试时一直提示:Wating For Debugger博客:https://blog.csdn.net/badao_liumang_qizhi关注公众号霸道的程序猿获取编程相关电子书、教程推送与免费下载。实现1.查看任务管理器是否开启着多个Android Studio 进程。2.运行的多个手机模拟器在调试并且没有正常关闭。3.手机的开发者模式关闭并重新打开。4.重启手机。5.重启电脑。...

oj2408: C语言习题 用递归方法求 f(n)_黯色_的博客-程序员秘密

问题描述:C语言习题 用递归方法求 f(n) = 12+22+...+n2  ,n的值由主函数输入。作者:何知令发表时间:2017年2月13日输入:n的值。输出: f(n) 的值。代码:/*问题描述:C语言习题 用递归方法求 f(n) = 12+22+...+n2 ,n的值由主函数输入。作者:何知令发表时间:2017年2月13日输入:n的值。输出: f(n) 的值。

i.MX6ULL终结者LCD屏幕显示例程eLCDIF接口简介_一只流浪小法师的博客-程序员秘密

LCD液晶屏也是我们常用的外设,通过LCD我们可以方便的和设备进行人机交互,i.MX6 ULL提供了eLCDIF的接口。eLCDIF的全称是Enhanced LCD Interface,即增强型LCD接口。关于LCD我们需要了解下面的几个概念:1.显示分辨率显示分辨率(屏幕分辨率)是屏幕图像的精密度,是指显示器所能显示的像素有多少。由于屏幕上的点、线和面都是由像素组成的,显示器可显示的像素越多,画面就越精细,同样的屏幕区域内能显示的信息也越多,所以分辨率是个非常重要的性能指标。可以把整个图像想象成是一

随便推点

5.4 SAP ABAP 面向对象概念 - 多态 - 摘自 《SAP ABAP面向对象程序设计:原则、模式及实践》_abap 封装 继承 多态_ABAPOOP的博客-程序员秘密

5.4 多态5.4.1 多态的概述多态是一个生物学和化学中的专有名词,被面计算机科学家引用到面向对象的程序设计中。我们用柯林斯英语词典看一下多态一词的原始意义:polymorphism:n.    多型现象,多态性; 多机组合形式; 多形性;1. Biology - the occurrence of more than one form of individual in a ...

oc Block应用场景_oc block 项目中 应用场景_程序邦的博客-程序员秘密

须读:看完该文章你能做什么?1.在开发什么时候使用block##### 学习前:你必须会什么?(在这里我已经默认你具备C语言的基础了)1.block的使用##### 一、本章笔记  当发现代码的前面和后面都是一样的时候,这个时候 就可以使用block  C语言可以传递函数 ,OC传递block  例子     找到需要读取的文件     读取文件 (代码一样)     操作文件 (bl...

史上最全面的深度学习硬件指南_gtx980 深度学习入门_sunfoot001的博客-程序员秘密

转载自:http://it.sohu.com/20160204/n436921549.shtml英语原文来自: http://timdettmers.com/2015/03/09/deep-learning-hardware-guide/选自timdettmers  机器之心翻译出品  参与:chenxiaoqing,微胖,Ben ,20e,柒柒,w

UISwitch的使用_uiswitch onimage_番薯大佬的博客-程序员秘密

UISwitch是左右滑动关闭,或开启的开机按钮视图控件UISwitch *switchView = [[UISwitch alloc] init];// 添加到父视图[self.view addSubview:switchView];// 改变原点坐标,通常情况只设置其原点坐标,大小为默认(frame = (0 0; 51 31))CGRect rect = swit

tp5 自定义配置文件_weixin_30865427的博客-程序员秘密

第一种方法:直接在app --> config.php 文件里面添加第二种方法 : 在app 同级建立config文件夹,在文件夹里面建立config.php 文件return [ 'xuzhan' => 'www.php.cn',];然后修改项目的入口文件:添加定义配置目录# 定义应用目录define('APP_PATH', __DI...

使用JspStudy集成环境快速部署jsp项目_weixin_30861459的博客-程序员秘密

1. 安装jdk  本人网盘资源:https://yunpan.cn/ckZLNbqxkDYYe (提取码:b5e8)  去jdk官网下载最新的jdk: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html2. 配置环境变量:  1) 系统变量→新建 JAVA_HO...