首页 > 其他分享 >EF4323 Algorithmic Trading

EF4323 Algorithmic Trading

时间:2024-10-17 18:43:10浏览次数:1  
标签:code Algorithmic EF4323 will Trading strategies group presentation your

EF4323 Algorithmic Trading Project

Semester A 2024/2025

Instructor: Dr. DU, Jintao

Introduction

In this project, we simulate the algorithmic trading business model, where a small group of proprietarytraders triesto attract outside institutional investment by marketing their trading strategies and performance.As a group, you have to study the target market (in this case: PD3), design your strategies, write the VBAcodes, and test your strategy in the simulated market. You also need to collect the trading records andanalyze the performance of your strategy given different market conditions. In the end, each group has toprepare a “Sales Presentation” that tries to grab the attention of potential investors.Each group has to submit the following files to me through email before the deadline:

  1. The Excel file that includes your VBA coded strategies (or Python codes on a txt file);
  2. A well-written document that explains your strategies and analyzes the performance (no more than 15pages, including everything);
  1. Your PDF slides for the presentation;
  2. All the data you collected (Zip it if it’s too big).
  3. The representative traders list.

The deadline is:

November 19 th , Tuesday, 8 PM.

The deadline will be enforced strictly. I will reply and confirm the reception of your submitted files. Ifyou do not get my reply, it means your email did not get through. In that case, you may want to send it withanother email account to avoid any delay due to technical reasons.

Note:

  1. The server (port 10000) will close at 8 PM on November 19 th. You should collect data before theserver closes. You can collect data by downloading the performance report, using the RTD links,or saving data into a CSV file with Python.
  1. The presentation will be on November 20th and 27 th . Each team shall be given 12 minutes forpresentation and up to 2 minutes for Q&A. All team members must show up and speak. Studentswho miss their presentation will be given 0 for the group project. Please do NOT brief the caseagain since all students know it. Directly discuss your strategies, performances, uniquetests/techniques/trade-offs/concerns, etc.
  1. After all the presentations, we shall run the simulations in class on November 27 th . A team canchoose how many members to participate in trading, and the list of traders must be sent to me beforeNovember 19 th with your package. All team members in the same team will receive the average

grade of all its participating traders in each simulation of the group project.Design and Implement your “Algo”

The “VBA API Documentation.pdf” and “RTD Documentation.pdf” provide detailed guidance about how

to set up your RIT client and Excel for algorithmic trading. Please read through them carefully. With your

knowledge in VBA coding, you can modify the example code for ALGO1 and ALGO2 cases (in

Canvas/Case Files folder) or design your new code to implement the trading strategies. There is no upper

limit in the complexity of your code, but make sure it works well and all group members can understand it.

I won’t be satisfied if you only use the sample codes or merely change some of its parameters. Below

is a VBA learning site from Microsoft. You should start here if you have no coding experience before.

https://msdn.microsoft.com/en-us/library/xk24xdbe(v=vs.100).aspx You are also allowed and recommended to use Python rather than VBA. Python is much faster and easier

to implement complicated strategies.

In general, case PD3 provides profit opportunities from the following three types of strategies.

Arbitraging between Stocks and ETF: In PD3, as the ETF is designed to be UB + GEM, and there’s no

restriction on short-selling, we have a perfect environment for arbitraging trades. After transaction fee,whenever ASK(ETF) < BID(UB) + BID(GEM) or BID(ETF) > ASK(UB) + ASK(GEM), arbitragingopportunity exists. You have to submit multiple orders at the same moment to capture these opportunities

and control for the size of your orders too. You can either keep the arbitrage position to the market close when mispricing is cleared by settlement or close out your position when mispricing disappears

during the trading session. In principle, you want to take as many arbitrage opportunities as possible. Ifyour code is correct and fast, this strategy should be risk-free.

Arbitraging mispricing in Individual Stock: Similar to PD2, you can get a price interval estimate for thefinal fair value from the news for the two stocks. Arbitraging opportunities may arise when individual stock

s traded out of the price interval.

Market Making: When there is no arbitrage opportunity, market making is a potentially risky profit

channel. As a market maker, you make money when both your bid and ask are hit by others, and you endup with zero net position in any asset; you lose money when only your bid (ask) is hit, and then the market

moves down (up) and never comes back.When designing your code, you can either include many logic conditions in one “Super Algo” to take careof all profitablestrategies or develop much simpler Algos to deal with specific tasks. It would help if youlso tried to change the parameters in your code, for example, the aggressiveness of limit price, order size,etc. For each setting, run it at least ten times with the same arameters. If you have time, run as many

times as possible to collect performance data under different market conditions.

Collect and Analyze your Trading Record

You should design your VBA code to take 代 写EF4323 Algorithmic Trading  the record of essential performance metrics for each simulation.You can grab (but not be limited to) volume, profit, VWAP,and other summary statistics for your dataanalysis. Advanced VBA coders can also record transactions and prices second by second and then generate

measures like volatility and price impact. In the end, you have to relate the strategies’ performance to thesemarket conditions and analyze if any factors drive the results.Some Advice

  1. Start working on this project as soon as possible! I suggest you spend at least three days designingand testing your algorithm, at least three days running your code and collecting enough data, and atleast three days analyzing the data and preparing the report and the presentation.
  1. Share the workload optimally. It is efficient to divide the project into parallel tasks and distributethem among the group members.
  1. Balance the effort and time between designing the strategies and collecting/analyzing the data.

These two dimensions are equally important to the quality of this project.

Prepare the PPT Slides and Formal Presentation

In the last meeting of this semester, each group has to do a formal “sales presentation” for their strategies.

Imagine you are trying to get external investment for establishing a proprietary trading firm based on yourquantitative strategy, and your audience are potential investors trying to select a group to invest in.You have to impress your audience with excellent performance, attractive slides, and communication skills

during the presentation. Each group will have 12 minutes for the presentation (only clarification questionsallowed in this period) and then 2 minutes for open Q&A with the entire audience. The audience should

pay close attention to other groups’ presentations and try to question their results.

You are not allowed to read from notes during your presentation!

Grading and Related Policies

The total weight of this project is 56%, of which 20% goes to the six in-class simulations, 11% goes thequality of your codes and writing report, 5% goes to your presentation score by the instructor, 10% goes toyour prediction score, and 10% goes to the popularity score.Grading of code and report:

First, I will read and run your code and check if it works the same as described in your report. So please

make sure your code is ready to run before submission. If your code cannot perform the functions claimed

in the report, you will not get any points for this project.

I will value the creativity of your strategy and the depth of your code. I will also value the organization of

your report. In general, your goal is to design the best strategies within your skillset and present yourerformance in a very informative way. Your report must be “reader-friendly” and clearly summarize thestrengths vs. weaknesses of your strategies.Grading of presentation:We are going to grade the presentations “democratically.” Each group will rank all the other groups from

1 (the top) to 15 (the bottom). Then I will collect all the grading. The average ranking that each groupreceives from the entire class will decide their popularity grade. The closeness of each group’s rankings of

the whole class to the actual rankings of the simulation performance will determine their prediction score.

Policies:

  1. Learning how to work as a team is an implicit task for this group project. It is your responsibilityto make sure the group works together toward the goal and group members contribute comparablyto the results. I will not intervene in matters within your group, and I will not act on any complaint about free-riding.
  1. You must design your strategies and write your code by yourselves. You must NOT outsource thetask from the internet or anyone out of your group. Once found/reported and confirmed, suchactivities will result in a FAIL final grade for EVERYONE in the group.

标签:code,Algorithmic,EF4323,will,Trading,strategies,group,presentation,your
From: https://www.cnblogs.com/comp9313/p/18471832

相关文章

  • Twenty Lectures on Algorithmic Game Theory 算法博弈论二十讲 Lecture 5 Revenue-Ma
    TwentyLecturesonAlgorithmicGameTheory算法博弈论二十讲Lecture5Revenue-MaximizingAuctions(上)Lecture5Revenue-MaximizingAuctions第2至第4讲聚焦于设计能够最大化社会福利的机制,无论是精确还是近似。这类机制的收益产生仅仅是副作用,是激励代理人如实......
  • Twenty Lectures on Algorithmic Game Theory 算法博弈论二十讲 Lecture 2 Mechanism
    TwentyLecturesonAlgorithmicGameTheory算法博弈论二十讲Lecture2MechanismDesignBasics过去的15年里,计算机科学与经济学之间进行了活跃的互动,催生了算法博弈论这一新兴领域。许多现代计算机科学中的核心问题,从大规模网络中的资源分配到在线广告,都涉及多个自......
  • 将 TradingView 电子邮件信号连接至 MT4
    我对编码了解不多,但我尝试进行一些研究。我想在MT4上启用TradingView电子邮件信号,但尽管正在阅读电子邮件,但它们并未在MT4上执行。如果您能帮助我,我将非常高兴。importimaplibimportemailimportzmqimportrandomimportdatetime,timefromemail.headerimport......
  • Kaggle量化比赛复盘: Optiver - Trading at the Close
    目录前言一、开源方案1.6th获奖方案(代码未开源)1.1.特征工程(关键代码)1.2.方案解析2. 7th获奖方案(开源)2.1.特征工程2.2.特征工程3. 9th获奖方案(半开源)3.1.特征构造3.2.特征筛选3.3.模型3.4.zero_sum(标签后处理)4. 14th获奖方案(开源)4.1.方案......
  • Carbon Trading Scheme——One of China’s Innovative Strategies for Addressing Gl
    IntroductionChina,astheworld’slargestemitterofgreenhousegases,recognizestheurgentneedtotackletheglobalwarmingproblem.Overtheyears,Chinahasimplementedarangeofpoliciesandinitiativesaimedatmitigatingglobalwarming,suchas......
  • FX110: 警惕,Robot AI Trading平台还在马来西亚大肆行骗
    无需自己交易,只需投资小额资金,在短短数小时内,账户资金便可以几十倍的增长,真有这等美事吗?醒醒吧,从来都不存在没有风险的投资,对于此类宣传信息,绝对是诈骗!近日,就有马来汇友掉坑“高收益陷阱”被骗20200林吉特,而她注册的RobotAITrading更是一年内三次被马来西亚证券委员会(SC)警告。本......
  • 外汇天眼:Cowtrading Wealth──假银行专员推荐黑平台,诱骗缴佣金恶意锁账号!
    许多人都知道若想降低投资风险,最好使用合法正规的交易商,因为这样做不仅能确保个人的资金安全,还能获得来自监管机构的保护。然而,许多诈骗集团竟直接假冒知名券商,试图以鱼目混珠的方式诱骗投资人入金。不久前,一位投资人向外汇天眼表示,他在2022年12月中旬认识自称是元大银行投资女专......
  • TradingView软件介绍
    TradingView是一款全功能的金融市场分析和交易平台。它提供了各种工具和指标,帮助交易者进行技术分析、股票筛选、实时行情追踪和社区协作。以下是TradingView软件的优点:1.多功能性TradingView软件可以对国际股票、期货、外汇、加密货币等多个金融市场进行实时监控和交易。用户......
  • 碧圈异步交易平台AsyncAlgoTrading学习笔记一:下载与编译
    下载无exe或Linux二进制,需源码编译安装GitHub地址:https://github.com/AsyncAlgoTrading/aat.git编译运行环境ubuntu20.04python3.8.10编译1.将Makefile中的PYTHON=python改为PYTHON=python32.安装必要的依赖:(1)sudoapt-getinstallpython3-dev(2)sudoapt-getinstallbui......
  • macos shangflask tradingview python环境安装
    1.Homebrew4.0后更新报错问题原文参考brewupdateFailedtodownloadhttps://formulae.brew.sh/api/formula.jws.json!Homebrew4.0进行了一项最大的改动,组织方式从Git仓库管理改为JSON文件下载。JSON配置文件会从formulae.brew.sh下载,本地的homebrew/core、homebrew/cas......