优惠论坛
Well123
注册
找回密码 |
天策评选的优秀公司,所有会员与公司发生的问题我们将负责尽力协助处理。
收起/展开
新晋公司
 

新晋公司具有驻站代表,并不在论坛纠纷服务范围内,请会员自行判断选择

  • 356
S级信誉公司
ManBetX万博
YZ
12BET
乐天堂
乐投
188金宝博
E世博
A级信誉公司
吉祥坊
星宝合营
乐动体育
B级信誉公司
bet365
C级合作公司
CMP
金星
LOKI
平博
  • 推荐主题
  • 热门活动
  • 币圈快讯
  • 商城动态
重要通知
 
天策搜索
论坛搜索
              搜索
Array ( [fid] => 6980 [description] => [password] => [icon] => [redirect] => [attachextensions] => [creditspolicy] => Array ( [post] => Array ( [usecustom] => 1 [cycletype] => 1 [cycletime] => 0 [rewardnum] => 75 [extcredits1] => 0 [extcredits2] => 0 [extcredits3] => 0 [extcredits4] => 0 [extcredits5] => 0 [extcredits6] => 0 [extcredits7] => 0 [extcredits8] => 0 [rid] => 1 [fid] => 6980 [rulename] => 发表主题 [action] => post [fids] => 32,52,67,447,1120,1151,1156,6750,6762,6763,6766,6769,6772,6773,6787,6796,6808,6809,6810,6813,6814,6820,6829,6830,6846,6856,6864,6865,6827,6930,6931,6776,6858,6880,6764,6932,6871,6758,6905,1116,6788,6812,6798,6736,6759,6842,6966,6767,6828,6924,6935,6936,6938,6940,6941,6826,6909,6803,6919,6911,6908,6881,6920,6912,6913,6921,6925,6922,6789,6818,6819,6872,6928,6969,6889,6888,6917,6939,6947,6961,6937,6943,6970,6869,6900,6902,6783,6817,1111,6870,6821,6951,6876,6952,6954,6960,6942,6910,6949,6962,6963,6964,6927,6926,6973,6728,6929,6874,6894,6896,6885,6857,6868,1113,6778,56,6844,6878,6802,6933,6811,6923,6877,6875,6918,6892,6757,6832,6833,6795,6793,6848,6837,6849,6850,6851,6852,6853,6854,6863,6882,6836,6790,6838,6794,6791,6873,555,6895,6934,6958,6944,6945,6907,6779,6886,6950,6904,6956,6862,6957,6855,6955,6959,6914,6965,6971,6972,6953,6975,6976,6799,6974,6824,6815,6891,6866,6979,6977,6765,6903,6948,6845,6879,1121,6980 ) [reply] => Array ( [usecustom] => 1 [cycletype] => 4 [cycletime] => 0 [rewardnum] => 0 [extcredits1] => 0 [extcredits2] => 0 [extcredits3] => 0 [extcredits4] => 0 [extcredits5] => 0 [extcredits6] => 0 [extcredits7] => 0 [extcredits8] => 0 [rid] => 2 [fid] => 6980 [rulename] => 发表回复 [action] => reply ) [digest] => Array ( [usecustom] => 1 [cycletype] => 4 [cycletime] => 0 [rewardnum] => 0 [extcredits1] => 0 [extcredits2] => 0 [extcredits3] => 0 [extcredits4] => 0 [extcredits5] => 0 [extcredits6] => 0 [extcredits7] => 0 [extcredits8] => 0 [rid] => 3 [fid] => 6980 [rulename] => 加精华 [action] => digest ) ) [formulaperm] => a:5:{i:0;s:0:"";i:1;s:0:"";s:7:"message";s:0:"";s:5:"medal";N;s:5:"users";s:0:"";} [moderators] => [rules] => [threadtypes] => Array ( [status] => 1 [required] => 0 [listable] => 0 [types] => Array ( ) ) [threadsorts] => Array ( ) [viewperm] => [postperm] => [replyperm] => [getattachperm] => [postattachperm] => [postimageperm] => [spviewperm] => [seotitle] => [keywords] => [seodescription] => [supe_pushsetting] => [modrecommend] => Array ( [open] => 0 [num] => 10 [imagenum] => 0 [imagewidth] => 300 [imageheight] => 250 [maxlength] => 0 [cachelife] => 0 [dateline] => 0 ) [threadplugin] => Array ( ) [replybg] => [extra] => a:2:{s:9:"namecolor";s:0:"";s:9:"iconwidth";s:0:"";} [jointype] => 0 [gviewperm] => 0 [membernum] => 0 [dateline] => 0 [lastupdate] => 0 [activity] => 0 [founderuid] => 0 [foundername] => [banner] => [groupnum] => 0 [commentitem] => [relatedgroup] => [picstyle] => 0 [widthauto] => 0 [noantitheft] => 0 [noforumhidewater] => 0 [noforumrecommend] => 0 [livetid] => 0 [price] => 0 [fup] => 6974 [type] => sub [name] => 币圈资讯 [status] => 1 [displayorder] => 0 [styleid] => 0 [threads] => 50922 [posts] => 50990 [todayposts] => 0 [yesterdayposts] => 0 [rank] => 61 [oldrank] => 59 [lastpost] => 2688723 美国2024年大选已花费147亿美元,或为史上最贵 1730688420 比推快讯 [domain] => [allowsmilies] => 1 [allowhtml] => 1 [allowbbcode] => 1 [allowimgcode] => 1 [allowmediacode] => 0 [allowanonymous] => 0 [allowpostspecial] => 1 [allowspecialonly] => 0 [allowappend] => 0 [alloweditrules] => 0 [allowfeed] => 0 [allowside] => 0 [recyclebin] => 1 [modnewposts] => 0 [jammer] => 0 [disablewatermark] => 0 [inheritedmod] => 0 [autoclose] => 0 [forumcolumns] => 0 [catforumcolumns] => 0 [threadcaches] => 0 [alloweditpost] => 1 [simple] => 16 [modworks] => 0 [allowglobalstick] => 1 [level] => 0 [commoncredits] => 0 [archive] => 0 [recommend] => 0 [favtimes] => 0 [sharetimes] => 0 [disablethumb] => 0 [disablecollect] => 0 [ismoderator] => 0 [threadtableid] => 0 [allowreply] => [allowpost] => [allowpostattach] => )
打印 上一主题 下一主题
高频交易之限价订单簿
[复制链接]
avatar
跳转到指定楼层
1#

限价订单簿

在任何给定的时间,在一个特定的交易场所(如Binance、Huobi等),可以满足新到达市场订单的限价订单累计交易量,被称为流动性。交易所限价订单交易商的数量越来越多,每个交易商的限价订单规模越来越大,该交易所的流动性也就越强。流动性在今天的市场也必然有限:限价订单的数量是可以测量的,每个限价订单也都有一个有限的规模。

为了处理限价订单,绝大多数的现代交易所都有有条理的所谓集中订单簿(CLOB)。所谓集中订单簿,即所有新到达的限价订单被记录在一个表格中,有一列对应连续的价格增量,有一行记录附在每个价格增量上限价订单的大小。

QVB07pzPml4CBND5OXaZQhREluabe2Sp5LSGWGEU.jpeg

上图展示了币安交易所常见的订单簿排列情况,分别对买盘和卖盘的限价订单簿进行了展示,包括不同阶梯的订单价格以及对应的挂单量,同时还附带不同价格阶梯的成交量,这些数据在进行高频策略开发时将非常有用,值得仔细研究。

理论上,限价订单簿通常被认为关于市场价格对称,在许多风险管理策略中,订单簿也被认为遵循正常的钟形曲线分布。无论哪种假设都不倾向于认为:订单簿很少是正常的,通常是不对称的。而事实上订单簿往往是随机的但是又呈现出一定的规律,优秀的高频交易往往能在订单簿上做出不同形态的应对,比如:当形成订单墙时,该如何应对?

UcPQ7Y53WfgAdyg0L23CMvOQVV8JRYLlxCawiKKD.jpeg

9npYJNCMqhZsm5eDcpHIUVqu41spaZOF1RH3tD9V.jpeg

HLMDXVxlb10j8R6a0NoagvP03gEnVJortORsJVOR.jpeg

AkbCxd846fv8R9WMyvDGRB4EExClwlpL29A133q7.jpeg

当一个新的限价订单到达时,对应于它的价格,它被放置在一个限价订单队列中。因为当今市场的所有价格受到最小挂单价格精度或者最小交易量的支配,基于价格的排序仓也就清楚地圈定了。最高价格的限价买单形成了最优买价,最低价格的限价卖单形成了最优卖价。最优卖价有时候被称为“最优报价”。在量化策略开发时,通过API获取到的asks数据即为卖单订单簿,bids数据即为买单订单簿。注意:在任何给定的时刻,在每一个价格,都存在一个有限的限价订单总量。

当市价买单到达时,从放置的最优卖价开始,与限价卖单撮合匹配。如果到达市价买单的大小大于最优卖单队列的大小,市场买卖盘的“扫光”是通过其他卖单队列的方向提高价格,在这些价格分笔上“吃掉”可获得的流动性。“扫光”过后,在卖方的限价订单处有一个明显的缺口,瞬间增加了买卖价差,并可能诱发随后的市场买单下移。市价卖单同理。

如果新进入买单的大小小于最优卖单的大小,并且总体最优卖单队列由若干放置的、在最优卖价的限价卖单组成,则限价卖单中与市场匹配的买单的决定可能根据交易所的不同而不同。目前大多数交易所实行价格-时间优先级,也称为限价订单的先进先出(FIFO)执行计划。目前主流的交易所均遵循先进先出原则。

在时间-价格FIFO执行中,第一个到达的限价订单与该价格仓中第一个进入的市价订单被撮合,如下图:

Yc3IsbFFjo5AkNSdRwdzbBpPZpY2JVFlUv1dfZhX.jpeg

来源:金色财经

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

:) :( :D :'( :@ :o
:P :$ ;P :L :Q :lol
:loveliness: :funk: :curse: :dizzy: :shutup: :sleepy:
:hug: :victory: :time: :kiss: :handshake: :call:
{:8_286:} {:8_287:} {:8_288:} {:8_289:}
{:8_290:} {:8_291:} {:8_292:} {:8_293:}
{:8_294:} {:8_295:} {:8_296:} {:8_297:}
{:8_298:} {:8_299:} {:8_300:} {:8_301:}
{:8_302:} {:8_303:} {:8_304:} {:8_305:}
{:8_306:} {:8_307:} {:8_308:} {:8_309:}
{:8_310:} {:8_311:} {:8_312:}
{:8_313:} {:8_314:} {:8_315:} {:8_316:}
{:8_317:} {:8_318:} {:8_319:} {:8_320:}
:) :( :D :'( :@ :o
:P :$ ;P :L :Q :lol
:loveliness: :funk: :curse: :dizzy: :shutup: :sleepy:
:hug: :victory: :time: :kiss: :handshake: :call:
:) :( :D :'( :@ :o
:P :$ ;P :L :Q :lol
:loveliness: :funk: :curse: :dizzy: :shutup: :sleepy:
:hug: :victory: :time: :kiss: :handshake: :call:
:hug: :victory:
:) :( :D :'( :@ :o
:P :$ ;P :L :Q :lol
:loveliness: :funk: :curse: :dizzy: :shutup: :sleepy:
:hug: :victory: :time: :kiss: :handshake: :call:
:hug: :victory: :time: :kiss: :handshake: :call:
:hug: :victory: :time: :kiss: :handshake: :call:
:hug: :victory: :time: :kiss: :handshake: :call:
:hug: :victory: :time: :kiss: :handshake: :call:
:hug: :victory: :time: :kiss: :handshake:
未有绑定记录
 


Powered by 天策论坛   © 2007-2024 天策论坛 | 小黑屋 | 手机|
1717 : 0