Notiz: Algorithm and High Frequency Trading: Chapter I

Understanding Bid and Ask

基本概念

Bid: if you want to buy stocks, you need to bid a high price such that others are willing to sell the stocks to you. The higher the better.
Ask: I want to sell stockes, I will ask for a lowest price to attrack the buyers. So the best Ask is the lower the better.

The Ask price is higher than the bid price, because market maker can buy stocks from person that selling at a higher price and then sell the stocks with a lower price to person who will to buy. This price difference is called spread. If the price are the same, no one willing to do this stock exchange because the market maker is not going to earn anything.

帮助记忆phrase

“The best sell price the ask; The best buy price, the bid”
“Ask price is higher than the bid price”
“BHAL”-Bid High; Ask Low will be executed first.

Limit Order Book

Electric Exchange basic: LOB + matching algorithm.
LO will be added to the LOB according to the price and time priority.

Execution of the Market Order (MO)

Assume sell order comes in:

  1. Check the best bid over all venues in all exchanges.
  2. Execute the order according to the volumn of the best bid.
  3. If there are volumn left, find the next best bid among all venue in all exchanges. –> (order protection rules to ensure MOs get the best possible execution.)

Sell MO will consume the buy LO to lower the depth of the buy LO aka hit the bid.
Buy MO will consume the sell LO to reduce the depth of the sell LO aka lift the offer, lift the price.

Tick Size in LOB

  1. US: for stock price > $1, tick is $0.01
  2. EU: different exchange might have different ticks: € 0.001 to €0.05

Price of the Asset

Midprice is used to proxy for the true underlying price of the asset.
Microprice as a more subtle proxy for the asset’s transaction cost-free price.
Microprice t = V t b V t b + V t a P t a + V t a V t b + V t a P t b   . \text{Microprice}_t = \frac{V_t^b}{V_t^b+V_t^a}P_t^a + \frac{V_t^a}{V_t^b+V_t^a}P_t^b\,. Micropricet=Vtb+VtaVtbPta+Vtb+VtaVtaPtb.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值