当前位置:网站首页>30 knowledge points that must be mastered in quantitative development [what is individual data]?
30 knowledge points that must be mastered in quantitative development [what is individual data]?
2022-07-29 05:50:00 【Quantify NPC】
1min Quickly understand what is data by transaction
“ Split pen ” “ One by one ” Data base concepts
Before , We've been 《 Quantitative development must master 30 A knowledge 【 What is? Level-2 data 】》 This paper introduces Level-1 and Level-2 The difference between the data . today , Let's study one of them in detail Split data and Data by data .
If the market is compared to a video stream that keeps showing , Then the market snapshot is the timed screenshot in the video stream , This is also a snapshot (Snpashot) The most intuitive understanding of names . because Level-1 The market only provides snapshot data , To reflect the data difference between two adjacent snapshots , Individual data came into being .
Split data , Also known as time-sharing data or detailed data , It is calculated by using the difference between the current snapshot market and the previous snapshot market , The purpose is based on Limited Level-1 Market information to describe the trading power of the market from more dimensions 、 Transaction direction and other information .
First of all, we need to understand some basic concepts :
In conclusion , It can be summed up as :「 Outer disc red , The inner disk is green , It can't be judged to be neutral 」.
Next , Let's see the actual algorithm is How to calculate the split data .
Call auction stage ¶
The call auction stage is a virtual transaction , The first is to match the trading volume and price , The second is the unmatched quantity , Because it can't match , There is no price . The amount revealed on the second sale = Unmatched sales , The amount revealed on the second purchase = Unmatched purchase , At this time, sell two quantities as the internal market , Buy two quantities as an outside offer , The unmatched quantity is the larger of the two quantities of buying or selling . The closing of call auction is fixed as unable to distinguish between internal and external markets , It is a neutral disk .
Huatai Securities 601688.SH,20210622 Daily data as an example :
Continuous bidding stage
Sell for more than 0, And the latest price of the snapshot is greater than or equal to the selling price , For the outer disk .
The purchase price is greater than 0, And the latest price of the snapshot is less than or equal to the purchase price , For the inner plate .
What cannot be judged is the neutral disk , The quantity shown is the difference between the trading volume of two snapshots .
To Vanke A 000002.SZ,20210712 Daily data as an example :
More informative transaction by transaction data
Data by data , As the name implies, it means Every consignment and transaction information that occurs in the market in real time , It can present the current transaction details of the market in the most fine-grained , Through one by one data , It can restore the current real-time state of the market . at present , Shanghai and Shenzhen Stock Exchange Level-2 Market services can provide transaction by transaction data , Let's go deep into it , See how to use it !
Shenzhen stock exchange transaction by transaction data
It can be seen that Shenzhen Stock Exchange has revealed every consignment and transaction record , In the transaction, it can be associated with the original corresponding entrustment record , And the cancellation information is revealed in the transaction by transaction , The details of the transaction are clear at a glance .
Data of Shanghai stock exchange one by one
The transaction by transaction data of Shanghai Stock Exchange is similar to that of Shenzhen Stock Exchange , The main difference lies in the trust data one by one .
The transaction by transaction entrustment data of Shanghai stock exchange reveals the remaining entrustment quantity after the matching transaction , It can be seen from the data in the above table that when the entrusted quantity is all matched , The corresponding entrustment information is no longer disclosed . Different from the cancellation revealed by Shenzhen Stock Exchange in the transaction by transaction , The cancellation of Shanghai Stock Exchange is revealed in the trust data one by one .
From the above comparison of Shanghai and Shenzhen transaction by transaction data, we can see , The data of Shenzhen stock exchange is more understandable , The transaction by transaction data of Shanghai Stock Exchange is more convenient to build an order book .
Besides , In the process of actually using the transaction by transaction entrustment data of Shanghai Stock Exchange , You also need to pay attention to the following information :
- The valid entrustment received in the call auction and suspension stage of Shanghai Stock Exchange is not released in real time , It will be released uniformly after the call auction or suspension stage ;
- The entrustment data generated by the fixed price transaction after hours of Shanghai Stock Exchange will not be released ;
- When the Shanghai Stock Exchange cancels the order, the entrustment number of the cancellation entrustment is the entrustment number in the initial one by one entrustment ;
- The Shanghai Stock Exchange is responsible for the transaction by transaction data distributed in the same data channel , The message number in the transaction by transaction data and the message number in the transaction by transaction entrustment data are uniformly numbered in business , Monotonically and continuously increasing , This number value is irrelevant to business , And in terms of technical reception, it is not necessary to receive the small number first ;
- The transaction number in the transaction by transaction of Shanghai Stock Exchange is numbered separately , Monotone increasing . But number value and message number 、 The Commission number doesn't matter .
From the above analysis process, it is not difficult to see , There are obvious limitations in individual data . First , The transaction by transaction data only analyzes the data of active transaction from the perspective of Statistics , There is no passive transaction and entrustment information . secondly , There is a great difference between the transaction data and the real transaction , Only the cumulative difference in transaction results between the two snapshots , There are many missing transaction details . These two limitations , Can be eliminated by data one by one . That means , By accessing transaction by transaction data , You can get more entrustment and transaction information in the market , Grasp market changes more accurately and timely !
Besides , On a technical level , The transaction by transaction data is provided by the exchange Level-2 data , It adopts a communication protocol with higher transmission efficiency 、 Technical system with lower delay and more reliable transmission mechanism , The overall data quality has been achieved Level-Up The effect of .
How to obtain market data
Huatai Securities is recommended INSIGHT Financial data services , It can push the market in real time Level-2 Stocks 、 bond 、 fund 、 option 、 Raw data of futures market , And the derived index data calculated based on the original market data .
Shanghai and Shenzhen level1 The market is completely free , Compared with the payment data provided by other data providers , Not only free, but also fast and stable , It is highly recommended that you use
Application see :
https://findata-insight.htsc.com:9151/help/sdk/SDKDownload/
边栏推荐
- Elastic box flex
- 麦当娜“Hellbent”购买130万美元的nft无聊猿,现在被认为太贵了
- 完全去中心化的编程模式,不需要服务器,也不需要ip,就像一张漫无目的的网络、四处延伸
- Training log 4 of the project "construction of Shandong University mobile Internet development technology teaching website"
- Shanzhai coin Shib has a US $548.6 million stake in eth whale's portfolio - traders should be on guard
- Okaleido tiger logged into binance NFT on July 27, and has achieved good results in the first round
- Markdown语法
- 中海油集团,桌面云&网盘存储系统应用案例
- 机器学习让文字识别更简单:Kotlin+MVVM+华为ML Kit
- 赓续新征程,共驭智存储
猜你喜欢
深度学习的趣味app简单优化(适合新手)
DAY13:文件上传漏洞
DAY4:SQL Sever 简单使用
熊市慢慢,Bit.Store提供稳定Staking产品助你穿越牛熊
Flink connector Oracle CDC 实时同步数据到MySQL(Oracle19c)
华为2020校招笔试编程题 看这篇就够了(上)
CMD window under Windows connects to MySQL and operates the table
赓续新征程,共驭智存储
"Shandong University mobile Internet development technology teaching website construction" project training log V
ThinkPHP6 输出二维码图片格式 解决与 Debug 的冲突
随机推荐
Okaleido Tiger 7.27日登录Binance NFT,首轮已获不俗成绩
与张小姐的春夏秋冬(2)
与张小姐的春夏秋冬(4)
以‘智’提‘质|金融影像平台解决方案
DAO赛道异军突起,M-DAO的优势在哪里?
Laravel service container (inheritance and events)
win10+opencv3.2+vs2015配置
Fantom (FTM) prices will soar by 20% in the next few days
Go|gin quickly use swagger
DAY6:利用 PHP 编写文件上传页面
钉钉告警脚本
QPalette学习笔记
The bear market is slow, and bit.store provides stable stacking products to help you get through the bull and bear market
量化开发必掌握的30个知识点【什么是分笔逐笔数据】?
打印出1-100之间的所有质数
Training log 4 of the project "construction of Shandong University mobile Internet development technology teaching website"
Win10 compiles ffmpeg (including ffplay)
如何在加密市场熊市中生存?
Common prompt pop-up box of uniapp
Read and understand move2earn project - move