全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 数据分析与数据挖掘
1545 1
2018-07-20
kdb+ 实时票务订阅


Table of Contents
1 Introduction .................................................................................................................... 3
2 The kdb+tick Environment .............................................................................................. 4
2.1 Tickerplant (TP) ........................................................................................................ 4
2.2 Feedhandler (FH) ..................................................................................................... 5
2.3 Historical Database (HDB) ....................................................................................... 6
3 Real-Time Database (RDB) ......................................................................................... 7
3.1 Real-time Updates ................................................................................................... 7
3.2 Tickerplant Log Replay ............................................................................................. 9
3.3 End Of Day ............................................................................................................. 12
3.4 Understanding The Code In r.q ............................................................................. 12
3.4.1 .u.end ............................................................................................................... 13
3.4.2 .u.rep ............................................................................................................... 14
3.4.3 Starting the RDB .............................................................................................. 16
4 Examples of custom real-time subscribers ................................................................... 17
4.1 Real-time Trade With As-Of Quotes ...................................................................... 17
4.1.1 Initialize Desired Table Schemas ..................................................................... 18
4.1.2 Intra-day Update Behavior .............................................................................. 18
4.1.3 EOD .................................................................................................................. 19
4.1.4 Replay Custom Logfile ..................................................................................... 20
4.1.5 Subscribe to TP ................................................................................................ 21
4.2 Real-time VWAP Subscriber .................................................................................. 21
4.2.1 Initialize Desired Table Schemas ..................................................................... 23
4.2.2 Intra-day Update Behavior .............................................................................. 24
4.2.3 EOD .................................................................................................................. 24
4.2.4 Subscribe to TP ................................................................................................ 24
5 Performance considerations ......................................................................................... 25
6 Conclusions ................................................................................................................... 28

附件列表

building_real_time_tick_subscribers.pdf

大小:590.2 KB

只需: 1 个论坛币  马上下载

kbd+ 实时票务订阅

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-7-30 15:49:08
thanks for sharing
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群