Principals of Quantitative Trading

Haebin Ethan Jeong·2020년 10월 27일
0

Quant

목록 보기
2/5
post-thumbnail

Hi! I'm just a college kid who loves programming and finance trying to teach some quantitative trading to myself. Coming Soon..

1. Strategy Identification - Finding a strategy, exploiting an edge and deciding on trading frequency

  • A mean-reverting strategy is one that attempts to exploit the fact that a long-term mean on a "price series" (such as the spread between two correlated assets) exists and that short term deviations from this mean will eventually revert.
  • A momentum strategy attempts to exploit both investor psychology and big fund structure by "hitching a ride" on a market trend, which can gather momentum in one direction, and follow the trend until it reverses.
  • Low frequency trading (LFT) generally refers to any strategy which holds assets longer than a trading day.
  • High frequency trading (HFT) generally refers to a strategy which holds assets intraday.
  • Ultra-high frequency trading (UHFT) refers to strategies that hold assets on the order of seconds and milliseconds.

2. Strategy Backtesting - Obtaining data, analysing strategy performance and removing biases

  • The goal of backtesting is to provide evidence that the strategy identified via the above process is profitable when applied to both historical and out-of-sample data.
  • Once a strategy has been identified, it is necessary to obtain the historical data through which to carry out testing and, perhaps, refinement.
  • free data set from Yahoo Finance
  • Possible Errors
    - Accuracy: overall quality of the data - whether it contains any errors. It is often necessary to have two or more providers and then check all of their data against each other.
    - Survivorship bias is when it does not contain assets which are no longer trading. In the case of equities this means delisted/bankrupt stocks.
    - Corporate actions include "logistical" activities carried out by the company that usually cause a step-function change in the raw price such as dividends adjustments and stock splits. This should not be included in the calculation of returns of the price.
  • The "industry standard" metrics for quantitative strategies are the maximum drawdown and the Sharpe Ratio.
  • Maximum drawdon (%): the largest peak-to-trough drop in the account equity curve over a particular time period (usually annual)
  • Sharpe Ratio: the average of the excess returns divided by the standard deviation of those excess returns. Excess returns refers to the return of the strategy above a pre-determined benchmark, such as the S&P500 or a 3-month Treasury Bill.
    - Generally, the greater the value of the Sharpe ratio, the more attractive the risk-adjusted return.
    - A high Sharpe ratio is good when compared to similar portfolios or funds with lower returns.

3. Execution System - Linking to a brokerage, automating the trading and minimising transaction costs

  • Interface to the brokerage
  • Minimisation of transaction costs (including commission, slippage and the spread)
  • Divergence of performance of the live system from backtested performance.

4. Risk Management - Optimal capital allocation, "bet size"/Kelly criterion and trading psychology

  • It covers nearly everything that could possibly interfere with the trading implementation,
  • A common bias is that of loss aversion where a losing position will not be closed out due to the pain of having to realise a loss.
  • Recency bias manifests itself when traders put too much emphasis on recent events and not on the longer term.

How I'm going to write my own strategy.

  • I've always interested in stock investmentsand have been doing it for more than a year with 15% return, but this is my very first time creating my own strategy.
  • I'm gonna be making two different strategies - one for long term investment and one for short term investment, specifically for NKLA.
profile
I'm a Junior studying Economics and Computer Science at Vanderbilt University.

2개의 댓글

comment-user-thumbnail
2023년 7월 3일

Seeking the ultimate quotex risk free promo code? Look no further! In this article, we unveil the best coupon code for Quotex, a captivating binary options broker. Discover how this exclusive promo code ensures you a risk-free trading experience by providing an extra bonus on your initial deposit. Take advantage of this opportunity to amplify your trading potential without worrying about losses. Don't miss out on this incredible chance to boost your earnings and enjoy a risk-free journey with Quotex. Dive in and unlock the benefits of this remarkable promo code today!

답글 달기
comment-user-thumbnail
2024년 10월 31일

Listen up, Wall Street warriors! If you think precious metals investing is as dull as watching paint dry, think again. It's more like playing chess while riding a roller coaster – thrilling, strategic, and occasionally stomach-churning! The key to winning this game is spotting trends faster than a New Yorker spots a tourist in Times Square. Right now, silver's looking shinier than my grandmother's best cutlery, and smart money is paying attention. 😎 For the latest silver price predictions that'll make your portfolio sparkle, check out https://www.litefinance.org/blog/analysts-opinions/silver-prices-forecast-and-predictions/ – it's like having tomorrow's newspaper today! You've got to time your moves like a street-smart bodega cat – quick, precise, and always landing on your feet. Remember, precious metals aren't just another asset class; they're your portfolio's bulletproof vest in this crazy financial jungle. And just between us, when inflation starts breathing fire like a hangry dragon, silver might just be your knight in shining armor. Keep your eyes on the technicals, your mind on the fundamentals, and your sense of humor intact!

답글 달기