CN109509101A - A kind of digital asset transaction disk mouth depth merging method, apparatus and system - Google Patents
A kind of digital asset transaction disk mouth depth merging method, apparatus and system Download PDFInfo
- Publication number
- CN109509101A CN109509101A CN201811235446.7A CN201811235446A CN109509101A CN 109509101 A CN109509101 A CN 109509101A CN 201811235446 A CN201811235446 A CN 201811235446A CN 109509101 A CN109509101 A CN 109509101A
- Authority
- CN
- China
- Prior art keywords
- price
- depth
- transaction
- precision
- pair
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000007689 inspection Methods 0.000 claims description 17
- 230000003442 weekly effect Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007596 consolidation process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/06—Asset management; Financial planning or analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
This application discloses a kind of digital asset transaction disk mouth depth merging methods, apparatus and system.This method can be directed to the transaction pair of different prices and minimum change price precision, different depth is set and merges rank, to merge the merging precision of rank and every level deep according to different depth, to transaction to progress depth merging, to obtain the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep, it efficiently solves the problems, such as that existing depth merges mode for certain transaction to invalid, enables an investor to view each transaction to the price and commission amount of the dealing sheet under all order depth.
Description
Technical field
This application involves digital asset transaction technology field more particularly to a kind of digital asset transaction disk mouth depth merging sides
Method, apparatus and system.
Background technique
The analysis of Pan Kou dealing sheet can help investor to observe transaction trend, to make investment decision.Traditional
Stock market usually only provides the sheet population size of five grades of dealing, buys and sells ten grades as value-added service and is supplied to investment
Person.Traditional equity transaction is valuated with RMB, and it is 0.01 that minimum price, which changes,.
In digital asset transaction, the minimum change price difference of each transaction pair is larger, and having from 0.01 to 1e-10 can
Energy.The price of each transaction pair also has larger difference, is likely to from 0.00000006 to 6000.If according to traditional equity
The mode of transaction only provides five grades of dealing and analyzes to investor, it is clear that is unable to satisfy the demand of investor.Number money at present
Produce exchange all provides transaction disk mouth depth merge function, by the dealing sheet amount of some price range merge calculate with
It is supplied to investor.
It to use is all same price range to All Activity that current depth, which merges mode, but different transaction pair
Between minimum price change and price all has larger difference, merge mode to many transaction pair so as to cause existing depth
It can fail.At present digital cash exchange usually to All Activity to all use " 0.000001,0.00001,0.0001 " this three
A rank carries out depth merging to order, but for certain transaction for, above-mentioned depth consolidation strategy is invalid.For example, right
In BTC/USDT transaction pair, it is 0.01 that minimum price, which changes, carries out depth conjunction by " 0.000001,0.00001,0.0001 " three-level
And it does not have any effect.For HIT/BTC transaction pair, price is about 0.0000000572, by " 0.000001,
0.00001, after 0.0001 " progress depth merging, order mouth is only left one grade, i.e. price is 0.For BCH/HT transaction pair,
Minimum change price is 0.000001, and price is about 302.311225, is carried out by " 0.000001,0.00001,0.0001 " deep
Although degree, which merges, can play the role of centainly merging, investor can not know that the disk message breath of update, such as price are
302,303,304 quantity of selling bill.
Summary of the invention
It is existing to solve this application provides a kind of digital asset transaction disk mouth depth merging method, apparatus and system
Digital asset transaction disk mouth depth, which merges mode, to carry out asking for depth merging to by different precision for different transaction
Topic.
In a first aspect, the application provides a kind of digital asset transaction disk mouth depth merging method, which comprises
Obtain the price and minimum change price precision of the transaction pair that pending disk mouth depth merges;
According to the price and the minimum change price precision of the transaction pair, the depth for calculating the transaction pair merges grade
Not;
Merge rank according to the minimum change price precision and the depth, calculates every level deep of the transaction pair
Merging precision;
According to the merging precision of the price of the transaction pair and every level deep of the transaction pair, to the transaction pair
Pan Kou carries out depth merging, generates the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep.
With reference to first aspect, the first in first aspect can obtain what pending disk mouth depth merged in realization mode
In the step of price and minimum change price precision of transaction pair, as unit of week, the transaction is reacquired weekly to opening
Price of the disk valence as the transaction pair.
With reference to first aspect, in second of achievable mode of first aspect, according to the price of the transaction pair and institute
In the step of stating minimum change price precision, calculating the depth merging rank of the transaction pair, according to:
N=int [lg (P)]-int [lg (Δ P)]+1
The depth for calculating the transaction pair merges rank, wherein P is the price of the transaction pair, and Δ P is the transaction pair
Minimum change price precision.
With reference to first aspect, the third in first aspect can be in realization mode, according to the minimum change price precision
In the step of merging rank with the depth, calculating the merging precision of every level deep of the transaction pair, by the minimum change
Dynamic merging precision of the price precision as the 1st grade of depth, the merging precision of rear stage depth are the merging precision of previous stage depth
Multiplied by 10.
With reference to first aspect, in the 4th kind of achievable mode of first aspect, the method also includes:
It receives and the disk mouth information inspection of transaction pair to be checked is requested, the disk mouth information inspection request includes transaction to class
Type and depth rank;
According to the transaction to type and the depth rank, it is right under the depth rank to type to search the transaction
The price and commission amount for the Pan Kou dealing sheet answered;
By the transaction, to type, the price of corresponding Pan Kou dealing sheet and commission amount under the depth rank are pushed
To digital asset transaction disk mouth display interface.
Second aspect, the application also provide a kind of digital asset transaction disk mouth depth merging device, and described device includes:
Acquiring unit, for obtaining the price and minimum change price precision of the transaction pair that pending disk mouth depth merges;
First computing unit, for the price and the minimum change price precision according to the transaction pair, described in calculating
The depth of transaction pair merges rank;
Second computing unit, for merging rank according to the minimum change price precision and the depth, described in calculating
The merging precision of every level deep of transaction pair;
Combining unit, for according to it is described transaction pair price and it is described transaction pair every level deep merging precision,
Depth merging is carried out to the Pan Kou of the transaction pair, generates the price and commission of the corresponding Pan Kou dealing sheet of every level deep
Amount.
In conjunction with second aspect, the first in second aspect can be in realization mode, the acquiring unit, for Zhou Weidan
Position reacquires weekly price of the opening price of the transaction pair as the transaction pair.
In conjunction with second aspect, in second of achievable mode of second aspect, first computing unit is used for basis
N=int [lg (P)]-int [lg (Δ P)]+1
The depth for calculating the transaction pair merges rank, wherein P is the price of the transaction pair, and Δ P is the transaction pair
Minimum change price precision.
In conjunction with second aspect, the third in second aspect can be in realization mode, second computing unit, for by institute
Merging precision of the minimum change price precision as the 1st grade of depth is stated, the merging precision of rear stage depth is previous stage depth
Merge precision multiplied by 10.
In conjunction with second aspect, in the 4th kind of achievable mode of second aspect, described device further include:
Receiving unit, for receiving the disk mouth information inspection request to transaction pair to be checked, the disk mouth information inspection is asked
It asks including trading to type and depth rank;
Searching unit, for, to type and the depth rank, searching the transaction to type in institute according to the transaction
State the price and commission amount of corresponding Pan Kou dealing sheet under depth rank;
Push unit, for the price by the transaction to type corresponding Pan Kou dealing sheet under the depth rank
Digital asset transaction disk mouth display interface is pushed to commission amount.
The third aspect, the application also provide a kind of digital asset transaction disk mouth depth combination system, the system comprises: place
Manage device, and the memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the price and minimum change price precision of the transaction pair that pending disk mouth depth merges;
According to the price and the minimum change price precision of the transaction pair, the depth for calculating the transaction pair merges grade
Not;
Merge rank according to the minimum change price precision and the depth, calculates every level deep of the transaction pair
Merging precision;
According to the merging precision of the price of the transaction pair and every level deep of the transaction pair, to the transaction pair
Pan Kou carries out depth merging, generates the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep.
From the above technical scheme, this application provides a kind of digital asset transaction disk mouth depth merging methods, device
And system, this method can be directed to the transaction pair of different prices and minimum change price precision, and different depth is arranged and merges rank,
To merge the merging precision of rank and every level deep according to different depth, to transaction to depth merging is carried out, to obtain
The price and commission amount of the corresponding Pan Kou dealing sheet of every level deep, efficiently solve existing depth and merge mode for certain
Transaction enables an investor to view each transaction to the valence of the dealing sheet under all order depth to invalid problem
Lattice and commission amount.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without any creative labor,
It is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of digital asset transaction disk mouth depth merging method provided by the embodiments of the present application.
Fig. 2 is push disk message breath in a kind of digital asset transaction disk mouth depth merging method provided by the embodiments of the present application
Flow chart.
Fig. 3 is the structural block diagram that a kind of digital asset transaction disk mouth depth provided by the embodiments of the present application merges device.
Fig. 4 is the structural block diagram that another digital asset transaction disk mouth depth provided by the embodiments of the present application merges device.
Fig. 5 is a kind of schematic diagram of digital asset transaction disk mouth depth combination system provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.Below in conjunction with attached drawing,
The technical scheme provided by various embodiments of the present application will be described in detail.
The present invention by digital moneytary operations a large amount of different transaction pair minimum change price and transaction value into
Row analysis, takes out a kind of unified strategy, can be achieved to close different transaction to by different precision by this strategy
And combinable all effective pricing informations, and can make investor see under all depth Pan Kou dealing sheet price and
Commission amount.
Referring to Fig. 1, for a kind of process of digital asset transaction disk mouth depth merging method provided by the embodiments of the present application
Figure, which comprises
Step 101, the price and minimum change price precision of the transaction pair that pending disk mouth depth merges are obtained.
In the present embodiment, with BTC (full name in English: BitCoin, Chinese: bit coin)/USDT (full name in English: Tether
USD, Chinese: Taida's coin) to for, which is 0.01 to minimum change price for transaction, the price within a certain stage is about
6319.81.USDT is a kind of ideal money that will encrypt currency and legal tender dollar hook that Tether company releases, and is one
Kind is stored in foreign exchange reserve account and obtains the ideal money that legal tender is supported.
Since transaction value is a change value, in the present embodiment, server obtains the friendship that pending disk mouth depth merges
In the step of easy pair of price and minimum change price precision, as unit of week, the opening quotation of the transaction pair is reacquired weekly
Price of the valence as the transaction pair, to guarantee digital asset transaction disk mouth depth merging method not by the violent wave of transaction value
Dynamic influence.
Step 102, according to the price and the minimum change price precision of the transaction pair, the depth of the transaction pair is calculated
Degree merges rank.
In the present embodiment, by BTC/USDT transaction to for, minimum change price is 0.01, price 6319.81, then
Server can basis:
N=int [lg (P)]-int [lg (Δ P)]+1
The depth for calculating the transaction pair merges rank, wherein P is the price of the transaction pair, and Δ P is the transaction pair
Minimum change price precision.
Specifically, it calculates transaction value denary logarithm and is rounded, subtracting minimum change price again later with 10 is
The rounding of the logarithm at bottom finally adds 1, finally show that the depth of transaction pair merges the value of level n.
Specific calculating process is as follows: N=int [lg (6319.81)]-int [lg (0.01)]+1+1=3- (- 2)+1=
6, i.e., it trades under disk mouth depth merging method in digital asset of the invention, it is 6 that the depth of BTC/USDT transaction pair, which merges rank,
Grade.
Step 103, rank is merged according to the minimum change price precision and the depth, calculates the every of the transaction pair
The merging precision of level deep.
In the present embodiment, by BTC/USDT transaction to for, minimum change price precision is 0.01, and depth merges rank
It is 6 grades, then server merges rank according to the minimum change price precision and the depth, calculates each of the transaction pair
In the step of merging precision of grade depth, the merging precision by the minimum change price precision 0.01 as the 1st grade of depth, after
The merging precision of level deep is the merging precision of previous stage depth multiplied by 10, i.e. the merging of the 1st grade of depth to the 6th grade of depth is smart
Degree is respectively " 0.01,0.1,1,10,100,1000 ", specific as shown in table 1:
The merging accuracy table that 1 BTC/USDT of table trades to every level deep
Transaction pair | 1st grade | 2nd grade | 3rd level | 4th grade | 5th grade | 6th grade |
BTC/USDT | 0.01 | 0.1 | 1 | 10 | 100 | 1000 |
Step 104, according to the merging precision of the price of the transaction pair and every level deep of the transaction pair, to described
The Pan Kou of transaction pair carries out depth merging, generates the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep.
In the present embodiment, by BTC/USDT transaction to for, the price traded pair is 6319.81, every level deep
Merging precision is respectively " 0.01,0.1,1,10,100,1000 ", the then corresponding Pan Kou of every level deep that investor can see
Price and the commission amount difference for buying and selling sheet are as follows:
1st grade of depth: investor can see price be " 6319.82,6319.83,6319.84,6319.85,
6319.86,6319.87,6319.88 " sell bill commission amount and price be " 6319.81,6319.80,6319.79,6319.78,
6319.77,6319.76,6319.75 " commission amount of checking.
2nd grade of depth: investor can see price be " 6319.8,6319.9,6320.0,6320.1,6320.2,
6320.3,6320.4 " sell bill commission amount and price be " 6319.8,6319.7,6319.6,6319.5,6319.4,6319.3,
6319.2 " commission amount of checking.
3rd level depth: it is " 6319,6320,6321,6322,6323,6324,6325 " that investor, which can see price,
Commission amount of selling bill and price are " 6319,6318,6317;, 6316,6315,6314,6313 " commission amount of checking.
4th grade of depth: it is " 6310,6320,6330,6340,6350,6360,6370 " that investor, which can see price,
Commission amount of selling bill and price are the commission amount of checking of " 6310,6300,6290,6280,6270,6260,6250 ".
5th grade of depth: it is " 6300,6400,6500,6600,6700,6800,6900 " that investor, which can see price,
Commission amount of selling bill and price are the commission amount of checking of " 6300,6200,6100,6000,5900,5800,5700 ".
6th grade of depth: it is " 6000,7000,8000,9000,10000,11000,12000 " that investor, which can see price,
The commission amount of checking that commission amount and price are " 6000,5000,4000,3000,2000,1000,0000 " of selling bill.
Referring to Fig. 2, in the embodiment of the present application, the step of breath the method also includes following push disk message:
Step 201, it receives and the disk mouth information inspection of transaction pair to be checked is requested, the disk mouth information inspection request includes
Transaction is to type and depth rank.
In the present embodiment, service implement body can be issued with the mobile client that investee installs from smart phone
The request of disk mouth information inspection, be also possible to the disk mouth information inspection that investee issues from computer page end and request.It is described
The request of disk mouth information inspection includes transaction to type, as, HIT (full name in English: HitChain)/BTC is handed in BTC/USDT transaction
Easily to or BCH (full name in English: Bitcoin Cash, Chinese: bit coin cash)/HT (and full name in English: Huobi Token, in
Text: fiery coin global general-use integral) transaction equity, the disk mouth information inspection request also includes the depth rank for wanting to check,
Such as the 1st grade of depth, the 2nd grade of depth.Investor specifically can click phase by mobile client or the display interface of page end
The label answered carries out unrestricted choice to type and depth rank to transaction.
Step 202, the transaction is searched to type in the depth to type and the depth rank according to the transaction
The price and commission amount of corresponding Pan Kou dealing sheet under rank.
Server can be looked into after receiving the request of disk mouth information inspection according to specific transaction to type and depth rank
It looks for and filters out the transaction to the disk message breath under type and depth rank, if BTC/USDT transaction is in the 1st grade of depth, i.e. minimum
Variable price precision is the price and commission amount of 0.01 lower Pan Kou dealing sheet.
Step 203, by the transaction, to type, the corresponding Pan Kou under the depth rank buys and sells price and the committee of sheet
Support amount pushes to digital asset transaction disk mouth display interface.
From the above technical scheme, the embodiment of the present application provides a kind of digital asset transaction disk mouth depth merging side
Method, apparatus and system, this method can be directed to the transaction pair of different prices and minimum change price precision, and different depth is arranged and closes
And rank, to merge the merging precision of rank and every level deep according to different depth, to transaction to carrying out depth merging, from
And the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep are obtained, it efficiently solves existing depth and merges mode pair
In certain transaction to invalid problem, enable an investor to view each transaction to the dealing extension under all order depth
Single price and commission amount.
Referring to Fig. 3, the embodiment of the present application provides a kind of digital asset transaction disk mouth depth merging device, described device packet
It includes:
Acquiring unit 301, for obtaining the price and minimum change price essence of the transaction pair that pending disk mouth depth merges
Degree.
First computing unit 302 calculates institute for the price and the minimum change price precision according to the transaction pair
The depth for stating transaction pair merges rank.
Second computing unit 303 calculates institute for merging rank according to the minimum change price precision and the depth
State the merging precision of every level deep of transaction pair.
Combining unit 304, for according to it is described transaction pair price and it is described transaction pair every level deep merging essence
Degree carries out depth merging to the Pan Kou of the transaction pair, generates price and the committee of the corresponding Pan Kou dealing sheet of every level deep
Support amount.
In the present embodiment, the acquiring unit 301, for as unit of week, reacquiring the transaction pair weekly
Price of the opening price as the transaction pair.
In the present embodiment, first computing unit 302 is used for basis
N=int [lg (P)]-int [lg (Δ P)]+1
The depth for calculating the transaction pair merges rank, wherein P is the price of the transaction pair, and Δ P is the transaction pair
Minimum change price precision.
In the present embodiment, second computing unit 303, for being the 1st grade of depth by the minimum change price precision
The merging precision of degree, the merging precision of rear stage depth are the merging precision of previous stage depth multiplied by 10.
Referring to Fig. 4, digital asset transaction disk mouth depth provided by the present application merges device device on the basis of Fig. 3,
Further include:
Receiving unit 401, for receiving the disk mouth information inspection request to transaction pair to be checked, the disk mouth information inspection
Request includes transaction to type and depth rank.
Searching unit 402, for, to type and the depth rank, searching the transaction according to the transaction and existing to type
The price and commission amount of corresponding Pan Kou dealing sheet under the depth rank.
Push unit 403, for the corresponding Pan Kou under the depth rank to buy and sell sheet to type by the transaction
Price and commission amount push to digital asset transaction disk mouth display interface.
Referring to Fig. 5, the embodiment of the present application also provides a kind of digital asset transaction disk mouth depth combination system, the system
It include: processor 51, and for the memory 52 of storage processor executable instruction.
Wherein, the processor 51 is configured as: obtaining the price and minimum of the transaction pair that pending disk mouth depth merges
Variable price precision calculates the depth of the transaction pair according to the price and the minimum change price precision of the transaction pair
Merge rank, rank is merged according to the minimum change price precision and the depth, the every level-one for calculating the transaction pair is deep
The merging precision of degree, according to the merging precision of the price of the transaction pair and every level deep of the transaction pair, to the friendship
Easy couple of Pan Kou carries out depth merging, generates the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep.
In the specific implementation, the application also provides a kind of computer storage medium, wherein the computer storage medium can store
There is program, which may include in each embodiment of digital asset transaction disk mouth depth merging method provided by the invention when executing
Some or all of step.The storage medium can be magnetic disk, CD, read-only memory (English: Read-Only
Memory, referred to as: ROM) or random access memory (English: Random Access Memory, referred to as: RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the present invention or embodiment
The method stated.
Same and similar part may refer to each other between each embodiment in this specification.Especially for digital asset
For disk mouth depth of trading merges device and system embodiment, since it is substantially similar to the method embodiment, so description
Fairly simple, related place is referring to the explanation in embodiment of the method.
Above-described the application embodiment does not constitute the restriction to the application protection scope.
Claims (11)
- The disk mouth depth merging method 1. a kind of digital asset is traded, which is characterized in that the described method includes:Obtain the price and minimum change price precision of the transaction pair that pending disk mouth depth merges;According to the price and the minimum change price precision of the transaction pair, the depth for calculating the transaction pair merges rank;Merge rank according to the minimum change price precision and the depth, calculates the conjunction of every level deep of the transaction pair And precision;According to the merging precision of the price of the transaction pair and every level deep of the transaction pair, to the Pan Kou of the transaction pair Depth merging is carried out, the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep are generated.
- 2. the method as described in claim 1, which is characterized in that obtain the transaction pair that pending disk mouth depth merges price and In the step of minimum change price precision, as unit of week, the opening price of the transaction pair is reacquired weekly as the friendship Easy pair of price.
- 3. the method as described in claim 1, which is characterized in that according to the price and the minimum change price of the transaction pair In the step of depth of precision, the calculating transaction pair merges rank, according to:N=int [lg (P)]-int [lg (Δ P)]+1The depth for calculating the transaction pair merges rank, wherein P is the price of the transaction pair, Δ P be the transaction pair most Small variable price precision.
- 4. the method as described in claim 1, which is characterized in that merged according to the minimum change price precision and the depth Rank, calculate it is described transaction pair every level deep merging precision the step of in, using the minimum change price precision as The merging precision of 1st grade of depth, the merging precision of rear stage depth are the merging precision of previous stage depth multiplied by 10.
- 5. the method as described in claim 1, which is characterized in that the method also includes:Receive and the disk mouth information inspection of transaction pair to be checked requested, disk mouth information inspection request include transaction to type and Depth rank;According to the transaction to type and the depth rank, it is corresponding under the depth rank to type to search the transaction The price and commission amount of Pan Kou dealing sheet;By the transaction, to type, the price of corresponding Pan Kou dealing sheet and commission amount under the depth rank push to number Word transaction in assets disk mouth display interface.
- 6. a kind of digital asset transaction disk mouth depth merges device, which is characterized in that described device includes:Acquiring unit, for obtaining the price and minimum change price precision of the transaction pair that pending disk mouth depth merges;First computing unit calculates the transaction for the price and the minimum change price precision according to the transaction pair Pair depth merge rank;Second computing unit calculates the transaction for merging rank according to the minimum change price precision and the depth Pair every level deep merging precision;Combining unit, for according to it is described transaction pair price and it is described transaction pair every level deep merging precision, to institute The Pan Kou for stating transaction pair carries out depth merging, generates the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep.
- 7. device as claimed in claim 6, which is characterized in that the acquiring unit, for obtaining again weekly as unit of week Take the opening price of the transaction pair as the price of the transaction pair.
- 8. device as claimed in claim 6, which is characterized in that first computing unit is used for basisN=int [lg (P)]-int [lg (Δ P)]+1The depth for calculating the transaction pair merges rank, wherein P is the price of the transaction pair, Δ P be the transaction pair most Small variable price precision.
- 9. device as claimed in claim 6, which is characterized in that second computing unit is used for the minimum change valence Merging precision of the lattice precision as the 1st grade of depth, the merging precision of rear stage depth be previous stage depth merging precision multiplied by 10。
- 10. device as claimed in claim 6, which is characterized in that described device further include:Receiving unit, for receiving the disk mouth information inspection request to transaction pair to be checked, the disk mouth information inspection request packet Transaction is included to type and depth rank;Searching unit, for, to type and the depth rank, searching the transaction to type in the depth according to the transaction Spend the price and commission amount of corresponding Pan Kou dealing sheet under rank;Push unit, for by the transaction to type the price of corresponding Pan Kou dealing sheet and committee under the depth rank Support amount pushes to digital asset transaction disk mouth display interface.
- The disk mouth depth combination system 11. a kind of digital asset is traded, which is characterized in that the system comprises:Processor, and the memory for storage processor executable instruction;Wherein, the processor is configured to:Obtain the price and minimum change price precision of the transaction pair that pending disk mouth depth merges;According to the price and the minimum change price precision of the transaction pair, the depth for calculating the transaction pair merges rank;Merge rank according to the minimum change price precision and the depth, calculates the conjunction of every level deep of the transaction pair And precision;According to the merging precision of the price of the transaction pair and every level deep of the transaction pair, to the Pan Kou of the transaction pair Depth merging is carried out, the price and commission amount of the corresponding Pan Kou dealing sheet of every level deep are generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811235446.7A CN109509101A (en) | 2018-10-23 | 2018-10-23 | A kind of digital asset transaction disk mouth depth merging method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811235446.7A CN109509101A (en) | 2018-10-23 | 2018-10-23 | A kind of digital asset transaction disk mouth depth merging method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109509101A true CN109509101A (en) | 2019-03-22 |
Family
ID=65746028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811235446.7A Pending CN109509101A (en) | 2018-10-23 | 2018-10-23 | A kind of digital asset transaction disk mouth depth merging method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109509101A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111932311A (en) * | 2020-08-14 | 2020-11-13 | 中国工商银行股份有限公司 | Precious metal automatic transaction execution method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1474988A (en) * | 2000-10-06 | 2004-02-11 | 贸易技术国际公司 | Trading with display of market depth and price |
EP2330552A1 (en) * | 2009-10-02 | 2011-06-08 | Trade Capture, OTC Corp. | System for displaying market depth and other information on a mobile phone, handheld device, or computer system |
-
2018
- 2018-10-23 CN CN201811235446.7A patent/CN109509101A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1474988A (en) * | 2000-10-06 | 2004-02-11 | 贸易技术国际公司 | Trading with display of market depth and price |
EP2330552A1 (en) * | 2009-10-02 | 2011-06-08 | Trade Capture, OTC Corp. | System for displaying market depth and other information on a mobile phone, handheld device, or computer system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111932311A (en) * | 2020-08-14 | 2020-11-13 | 中国工商银行股份有限公司 | Precious metal automatic transaction execution method and device |
CN111932311B (en) * | 2020-08-14 | 2023-09-26 | 中国工商银行股份有限公司 | Precious metal automatic transaction execution method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220366491A1 (en) | Incrementally perfected digital asset collateral wallet | |
Gilbert | Crypto, web3, and the Metaverse | |
CN105354719A (en) | Credit evaluating system and method applied to electronic commerce platform | |
KR102447254B1 (en) | Exchange operation method and system to support high-speed transaction execution | |
US20210027377A1 (en) | Referential data structures for automatically updating asset attributes in real time based on streaming data | |
JP2022500715A (en) | Computer implementation method for creating an asset portfolio | |
CN113658007B (en) | Investment and financing matching method and device, electronic equipment and storage medium | |
Kaur et al. | Fintech emergence-an opportunity or threat to banking | |
Van Roosebeke et al. | Central bank digital currencies: The motivation | |
Otonne et al. | Exploring the influence of financial technology on banking services in Nigeria | |
CN109509101A (en) | A kind of digital asset transaction disk mouth depth merging method, apparatus and system | |
KR20200025074A (en) | Method, apparatus and program for money exchange matching between different games | |
CN113674022A (en) | Coupon issuing method, apparatus, device and readable storage medium | |
JP6785833B2 (en) | Simulation equipment, programs, and control methods | |
KR102374522B1 (en) | Exchange operation method and system for supporting transaction risk management | |
US20150127517A1 (en) | Methods and apparatus for facilitating fairnetting and distribution of currency trades | |
Colby et al. | Consolidation and competition in the US equity markets | |
Scharfman | Introduction to cryptocurrency compliance and operations | |
Wang et al. | The Dollar-Renminbi Tango: The Impacts of Argentina’s Potential Dollarization on its Relations with China | |
Pinedo | Removing toxic assets from balance sheets: Structures based on the good bank-bad bank model. | |
KR102447258B1 (en) | Exchange operation method and system supporting investment guide model | |
CN113592637B (en) | Banking business handling method and device | |
Milne | OTC central counterparty clearing: Myths and reality | |
Ehiedu et al. | Technological innovations and financial deepening of small and medium scale enterprises in Nigeria | |
Piedade | Cryptocurrencies: the future of money or just a speculative investment? |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190322 |
|
RJ01 | Rejection of invention patent application after publication |