Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7498449B2 - Digital Asset Trading Order Processing System - Google Patents
[go: Go Back, main page]

JP7498449B2 - Digital Asset Trading Order Processing System - Google Patents

Digital Asset Trading Order Processing System Download PDF

Info

Publication number
JP7498449B2
JP7498449B2 JP2021185302A JP2021185302A JP7498449B2 JP 7498449 B2 JP7498449 B2 JP 7498449B2 JP 2021185302 A JP2021185302 A JP 2021185302A JP 2021185302 A JP2021185302 A JP 2021185302A JP 7498449 B2 JP7498449 B2 JP 7498449B2
Authority
JP
Japan
Prior art keywords
rate
order
orders
smart contract
customer
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.)
Active
Application number
JP2021185302A
Other languages
Japanese (ja)
Other versions
JP2023072608A (en
Inventor
一也 西本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Intertrade Co Ltd
Original Assignee
Intertrade Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Intertrade Co Ltd filed Critical Intertrade Co Ltd
Priority to JP2021185302A priority Critical patent/JP7498449B2/en
Publication of JP2023072608A publication Critical patent/JP2023072608A/en
Application granted granted Critical
Publication of JP7498449B2 publication Critical patent/JP7498449B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、経済的な価値をデジタルで表現可能な、トークンやデジタル通貨等のデジタル資産を用いて、商品等の取引を行う、デジタル資産取引システムに関する。
なお、本願明細書における「システム」とは、コンピュータや他の電子機器、ソフトウェア、通信ネットワーク、データなどの要素を組み合わせて構成された、ソフトウェアによる情報処理を、ハードウェア資源を用いて具体的に実現するコンピュータシステムを意味する。
The present invention relates to a digital asset trading system that trades goods and the like using digital assets such as tokens and digital currencies that can digitally express economic value.
In this specification, the term "system" refers to a computer system that is configured by combining elements such as computers, other electronic devices, software, communication networks, and data, and that concretely realizes software-based information processing using hardware resources.

世界の主要な商品取引所では、商品等の経済的価値を各国の発行する通貨で表示した取引が行われている。 At major commodity exchanges around the world, transactions are conducted with the economic value of commodities and other items expressed in the currencies issued by each country.

近年、デジタル化技術により、資産の経済的価値をデジタルで表現した、トークン等のデジタル資産が取引され易くなっている。
特に定型化された経済的価値を有する資産、例えば、コモディティ(商品取引所で取引されている商品等)類は、デジタル資産として取引することのできる特性が強い。
In recent years, digitalization technology has made it easier to trade digital assets such as tokens, which digitally represent the economic value of assets.
In particular, assets with standardized economic value, such as commodities (such as products traded on a commodity exchange), have strong characteristics that make them suitable for trading as digital assets.

しかし、従来の商品取引所には、トークン等のデジタル資産の取引注文を処理するシステムは構築されていない。
将来、暗号資産やデジタル通貨、もしくはSTOなどデジタル証券のようなメジャーなデジタル価値(資産)に限らず、製品や食品など個別に定義された物やサービスというマイナーな価値についてデジタル表現したものも広く、交換・取引の対象になることが想定される。
However, traditional commodity exchanges do not have systems in place to process trading orders for digital assets such as tokens.
In the future, it is expected that not only major digital values (assets) such as cryptocurrencies, digital currencies, or digital securities such as STOs, but also digital representations of minor values such as individually defined goods and services, such as products and food, will become the subject of exchange and trading.

そこで、本件発明者は、デジタル資産を用いた取引注文を処理するシステムを構築すべく、考察・検討を重ねた。その結果、大口取引と小口取引とを合わせた取引など、取引所のレート作成の際に上乗せするマークアップを算出するためのマークアップ率が異なる顧客同士の取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行う場合等において、マッチング処理が複雑化し、処理パフォーマンスに悪影響を与えることが判明した。 The inventors of the present invention therefore conducted extensive research and consideration in order to build a system for processing trading orders using digital assets. As a result, they discovered that in cases where transactions between clients with different markup rates for calculating the markup added when creating exchange rates, such as transactions that combine large and small transactions, are performed by combining streaming (market-like orders) and leave orders (limit-like orders), the matching process becomes complicated and has a negative impact on processing performance.

本発明は、上記従来の課題を鑑みてなされたものであり、マッチング処理を効率化し、処理パフォーマンスを格段に向上させながら、大口取引と小口取引とを合わせた取引など、取引所のレート作成の際に上乗せするマークアップを算出するためのマークアップ率が異なる顧客同士の取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行うことが可能な、デジタル資産を用いた取引注文処理システムを提供することを目的としている。 The present invention was made in consideration of the above-mentioned problems in the past, and aims to provide a trading order processing system using digital assets that makes it possible to combine streaming (market-like orders) and leave orders (limit-like orders) in transactions between clients who have different markup rates for calculating the markup to be added when creating exchange rates, such as transactions that combine large and small transactions, while streamlining matching processes and significantly improving processing performance.

上記目的を達成するため、本発明によるデジタル資産を用いた取引注文処理システムは、トークン(ブロックチェーン等の分散技術においてデジタルで定義される価値などの総称であって、暗号資産を含む)、デジタル通貨、トークンとデジタル通貨、もしくはトークン同士、デジタル通貨同士など、あらゆる形態のデジタル資産間による取引を管理するための、少なくとも1種類のブロックチェーン等の分散技術における分散型台帳と、該分散型台帳に管理されるデジタル資産を用いた所定の処理を行うためのスマートコントラクトを備えて構築される、デジタル資産を用いた取引注文処理システムであって、顧客単位で多様な数値に設定された各銘柄についてのマークアップ率を管理するマークアップ率管理テーブルと、前記マークアップ率管理テーブルから、各銘柄における夫々の顧客のマークアップ率を取得する機能を有するマークアップ率取得用スマートコントラクトと、顧客の注文に対して取引の相手方として売買を行う気配値である第2レート(レート)を作成するベースとなる第1レート(基準レート)を作成する機能を有する第1レート(基準レート)作成用スマートコントラクトと、夫々の顧客について、前記第1レート(基準レート)作成用スマートコントラクトが作成した前記第1レート(基準レート)に、前記マークアップ率取得用スマートコントラクトが取得した当該顧客のマークアップ率を掛け合わせることによりマークアップを算出し、算出したマークアップを前記第1レート(基準レート)に上乗せして前記第2レート(レート)を作成する機能を有する第2レート(レート)作成用スマートコントラクトと、前記第2レート(レート)作成用スマートコントラクトが作成した夫々の顧客についての前記第2レート(レート)を当該顧客に配信する機能を有する第2レート(レート)配信用スマートコントラクトと、前記第2レート(レート)配信用スマートコントラクトが配信した顧客毎に異なる前記第2レート(レート)に対して発注された、顧客からのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させ、当該顧客に対し約定を返す機能を少なくとも有するストリーミング約定用スマートコントラクトと、顧客から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板に乗せる機能と、前記注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で当該売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す機能と、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客に対する共通の前記第2レート(レート)として全顧客に配信する機能と、を有するリーブオーダー約定用スマートコントラクトと、を少なくとも有することを特徴としている。 In order to achieve the above-mentioned objective, the trading order processing system using digital assets according to the present invention is constructed with at least one distributed ledger in distributed technology such as blockchain for managing transactions between all forms of digital assets, such as tokens (a general term for values defined digitally in distributed technology such as blockchain, including crypto assets), digital currencies, tokens and digital currencies, or between tokens or between digital currencies, and a smart contract for performing predetermined processing using the digital assets managed in the distributed ledger, and a markup rate management system for managing the markup rate for each stock, which is set to various numerical values on a customer-by-customer basis. a smart contract for markup rate acquisition having a function of acquiring the markup rate of each customer for each stock from the markup rate management table; a smart contract for creating a first rate (base rate) having a function of creating a first rate (base rate) that is a base for creating a second rate (rate) that is an indicative price at which buying and selling is conducted as a trading counterparty for customer orders; and a smart contract for creating a first rate (base rate) that calculates a markup for each customer by multiplying the first rate (base rate) created by the smart contract for creating the first rate (base rate) by the markup rate of the customer acquired by the smart contract for markup rate acquisition, and multiplying the calculated markup by the first rate (base rate). a smart contract for creating a second rate (rate) having a function of adding on the second rate (rate), a smart contract for distributing the second rate (rate) for each customer created by the smart contract for creating the second rate (rate) to the customer, a smart contract for distributing a second rate (rate) having a function of acting as a counterparty in a transaction for streaming (market-type orders) from a customer, which are placed for the second rate (rate) different for each customer distributed by the smart contract for distributing the second rate (rate), to buy and sell, to make a contract, and to return the contract to the customer, and a smart contract for streaming contract having at least a function of returning buy and sell leave orders (limit-type orders) for buy and sell placed by a customer. The system is characterized by having at least a function of placing all sell and buy leave orders (limit orders) on the order book, a function of acting as a counterparty to a transaction for each of the sell and buy leave orders (limit orders) at the limit price of at least some of the sell and buy leave orders (limit orders) where the price difference between the sell orders and buy orders on the order book is equal to or greater than a predetermined spread to be collected by the exchange, and a function of returning the execution to each of the customers who placed the sell and buy leave orders (limit orders), and a function of instantly distributing the execution price to all customers as the second rate (rate) common to all customers immediately before the leave orders (limit orders) are executed.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記リーブオーダー約定用スマートコントラクトは、前記注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となったリーブオーダー(指値的な注文)であり且つ指値が前記第2レート(レート)配信用スマートコントラクトが各顧客に配信した顧客毎に異なる前記第2レート(レート)のうちで最良となる前記第2レート(レート)と対当する当該顧客からの売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す機能を有するのが好ましい。 In addition, in the trading order processing system using digital assets of the present invention, the smart contract for executing leave orders preferably has a function of acting as the counterparty in a transaction for each of leave orders (limit-type orders) for selling and buying from a customer where the price difference between a sell order and a buy order on the order book is equal to or exceeds a predetermined spread to be collected by the exchange and where the limit price corresponds to the best second rate (rate) among the second rates (rates) that differ for each customer and that are delivered to each customer by the smart contract for delivering the second rate (rate), thereby executing the leave orders and returning the execution to each customer who placed the leave orders (limit-type orders).

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記第1レート(基準レート)作成用スマートコントラクトは、顧客からのリーブオーダー(指値的な注文)における売りと買い夫々の最良注文(最も安い売り注文、最も高い買い注文)の価格と外部の流動性供給者からのカバー取引可能な第3レート(外部レート)の価格のうち、有利となる方の価格を選択して前記第1レート(基準レート)を作成する機能をさらに有するのが好ましい。 Furthermore, in the trading order processing system using digital assets of the present invention, it is preferable that the smart contract for creating the first rate (reference rate) further has a function of selecting the more advantageous price between the price of the best buy and sell orders (the cheapest sell order and the highest buy order) in the leave orders (limit-like orders) from the customer and the price of a third rate (external rate) available for cover trading from an external liquidity supplier, to create the first rate (reference rate).

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記第1レート(基準レート)作成用スマートコントラクトは、外部の流動性供給者からのカバー取引可能な第3レート(外部レート)の価格を用いて前記第1レート(基準レート)を作成する機能をさらに有するのが好ましい。 Furthermore, in the trading order processing system using digital assets of the present invention, it is preferable that the smart contract for creating the first rate (reference rate) further has a function of creating the first rate (reference rate) using the price of a third rate (external rate) that is available for cover trading from an external liquidity provider.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記ストリーミング約定用スマートコントラクトは、前記第2レート(レート)配信用スマートコントラクトが配信した顧客毎に異なる前記第2レート(レート)に対して発注された、顧客からの売り又は買いのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させるとともに、外部の流動性供給者からのカバー取引可能な第3レート(外部レート)に対して、カバー取引用の注文を発注し、当該顧客に対し約定を返す機能を有するのが好ましい。 In addition, in the trading order processing system using digital assets of the present invention, the streaming contract smart contract preferably has a function of acting as the counterparty to a transaction to buy or sell streaming (market orders) from a customer, which are placed at the second rate (rate) that differs for each customer and is distributed by the second rate (rate) distribution smart contract, and of placing an order for a cover transaction at a third rate (external rate) from an external liquidity provider that allows cover transactions, and returning the contract to the customer.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記第2レート(レート)作成用スマートコントラクトは、前記第2レート(レート)を作成する際に、前記マークアップ率取得用スマートコントラクトが取得した顧客の売り側と買い側の夫々のマークアップ率を、前記注文板における売りの注文数量と買いの注文数量との比率に応じて調整する機能をさらに有するのが好ましい。 In addition, in the trading order processing system using digital assets of the present invention, it is preferable that the smart contract for creating the second rate (rate) further has a function of adjusting the respective markup rates of the customer's sell side and buy side acquired by the smart contract for acquiring the markup rate in creating the second rate (rate) in accordance with the ratio of the sell order quantity and the buy order quantity in the order book.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記第2レート(レート)作成用スマートコントラクトは、前記第2レート(レート)を作成する際に、前記マークアップ率取得用スマートコントラクトが取得した顧客の売り側と買い側の夫々のマークアップ率を、所定単位時間における現在の出来高の、所定単位時間における過去の出来高の平均値との比率に応じて調整する機能をさらに有するのが好ましい。 Furthermore, in the trading order processing system using digital assets of the present invention, it is preferable that the smart contract for creating the second rate (rate) further has a function of adjusting the respective markup rates of the customer's selling side and buying side acquired by the smart contract for acquiring the markup rate when creating the second rate (rate) in accordance with the ratio of the current volume in a given unit time to the average value of the past volume in a given unit time.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記リーブオーダー(指値的な注文)又は前記ストリーミング(成行的な注文)を介した、顧客である大口注文の取引者と顧客である小口注文の取引者との取引において、前記小口注文の取引者が発注に際し預け入れた、前記大口注文の取引者に渡すべき約定金額相当の金銭又はデジタル資産を管理する機能を有する取引資産管理用スマートコントラクトと、前記大口注文と前記小口注文とが約定したときに、前記取引資産管理用スマートコントラクトが管理する前記約定金額相当の金銭又はデジタル資産を担保として、所定の借り入れ先から、前記大口注文の取引者から受けるべきデジタル資産又は約定金額相当の金銭を借り入れる機能を有するレンディング用スマートコントラクトと、前記大口注文と前記小口注文との約定後に、デジタル資産および約定金額相当の金銭についての清算を行う機能を有する清算用スマートコントラクトと、をさらに有し、前記清算用スマートコントラクトは、前記大口注文と前記小口注文とが約定した当日に、前記レンディング用スマートコントラクトが借り入れたデジタル資産又は約定金額相当の金銭を、前記小口注文の取引者に渡す機能と、前記大口注文と前記小口注文とが約定した日から所定日数経過後に、前記大口注文の取引者から、デジタル資産又は約定金額相当の金銭を受けると同時に、前記取引資産管理用スマートコントラクトが管理する前記大口注文の取引者に渡すべき約定金額相当の金銭又はデジタル資産を、前記大口注文の取引者に渡す機能と、前記大口注文の取引者から受けた、デジタル資産又は約定金額相当の金銭を、借り入れにより生じた利息分の金銭とともに、前記借り入れ先に返済する機能と、を少なくとも有するのが好ましい。 In addition, in the trading order processing system using digital assets of the present invention, in a transaction between a large order customer and a small order customer via the leave order (limit order) or streaming (market order), a trading asset management smart contract has a function of managing money or digital assets equivalent to the contract amount to be delivered to the large order customer, which is deposited by the small order customer when placing an order, and a lending smart contract has a function of borrowing digital assets or money equivalent to the contract amount to be received from the large order customer from a specified lender, using the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract as collateral when the large order and the small order are contracted, and a lending smart contract has a function of borrowing digital assets or money equivalent to the contract amount to be received from the large order customer from a specified lender, using the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract as collateral when the large order and the small order are contracted, and and a clearing smart contract having a function of clearing the money in question, and the clearing smart contract preferably has at least the following functions: on the day the large order and the small order are contracted, the digital assets borrowed by the lending smart contract or money equivalent to the contract amount is delivered to the trader of the small order; a predetermined number of days after the day the large order and the small order are contracted, the digital assets or money equivalent to the contract amount is received from the trader of the large order, and at the same time, the money or digital assets equivalent to the contract amount that should be delivered to the trader of the large order managed by the trading asset management smart contract are delivered to the trader of the large order; and a function of repaying the digital assets or money equivalent to the contract amount received from the trader of the large order to the borrower, together with the interest amount generated by the borrowing.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、前記清算用スマートコントラクトは、前記レンディング用スマートコントラクトのデジタル資産又は約定金額相当の金銭の借り入れにより生じる、前記借り入れ先に支払うべき利息分の金銭を、前記大口注文の取引者と前記小口注文の取引者との取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値である前記第2レート(レート)を算出する際に加算したマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する機能をさらに有するのが好ましい。 In addition, in the trading order processing system using digital assets of the present invention, it is preferable that the clearing smart contract further has a function of allocating the interest amount to be paid to the borrower, which arises from the borrowing of the digital assets or money equivalent to the contract amount of the lending smart contract, from the markup added when calculating the second rate (rate), which is the quote price for buying and selling large orders and small orders as counterparties in a transaction between the trader of the large order and the trader of the small order, or from the spread obtained from the price difference between a sell order, which is one of the large order and the small order, and a buy order, which is the other.

本発明によれば、マッチング処理を効率化し、処理パフォーマンスを格段に向上させながら、大口取引と小口取引とを合わせた取引など、取引所のレート作成の際に上乗せするマークアップを算出するためのマークアップ率が異なる顧客同士の取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行うことが可能な、デジタル資産を用いた取引注文処理システムが得られる。 The present invention provides a trading order processing system using digital assets that can streamline matching processes and dramatically improve processing performance while also enabling transactions between clients with different markup rates for calculating the markup to be added when creating exchange rates, such as transactions that combine large and small transactions, by combining streaming (market-like orders) and leave orders (limit-like orders).

本発明の第1実施形態に係るデジタル資産を用いた取引注文処理システムの全体構成を概略的に示す説明図である。1 is an explanatory diagram illustrating an outline of the overall configuration of a trading order processing system using digital assets according to a first embodiment of the present invention. FIG. 図1のデジタル資産を用いた取引注文処理システムにおけるマークアップ率管理テーブルの機能及び構成例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of the function and configuration of a markup rate management table in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおけるマークアップ率取得用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a smart contract for obtaining a markup rate in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける第1レート(基準レート)作成用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a smart contract for creating a first rate (base rate) in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける第2レート(レート)作成用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a smart contract for creating a second rate (rate) in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける第2レート(レート)配信用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a smart contract for delivering a second rate (rate) in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおけるストリーミング約定用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a streaming contract smart contract in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおけるリーブオーダー約定用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a smart contract for leaving order execution in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける取引資産管理用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a smart contract for managing trading assets in the trading order processing system using digital assets in FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおけるレンディング用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a lending smart contract in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける清算用スマートコントラクトに備わる機能の概要を示す説明図である。FIG. 2 is an explanatory diagram showing an overview of the functions of a clearing smart contract in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける処理の流れの一例の一部分を示す説明図である。FIG. 2 is an explanatory diagram showing a portion of an example of a process flow in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける処理の流れの一例の続き部分を示す説明図である。FIG. 2 is an explanatory diagram showing a continuation of the example of the process flow in the trading order processing system using digital assets of FIG. 1. 図1のデジタル資産を用いた取引注文処理システムにおける大口取引と小口取引とを合わせた取引における清算処理までの流れの一例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of the flow up to the clearing process in a transaction that combines large and small transactions in the trading order processing system using digital assets of FIG. 1.

実施形態の説明に先立ち、本発明を導出するに至った経緯、及び本発明の作用効果について説明する。 Before describing the embodiments, we will explain how the invention was developed and the effects of the invention.

上述のとおり、近年、デジタル化技術により、資産の経済的価値をデジタルで表現した、デジタル資産が取引され易くなっている。
特に定型化された経済的価値を有する資産、例えば、コモディティ(商品取引所で取引されている商品等)類は、経済的価値がデジタルで表現された、デジタル資産として取引することのできる特性が強い。
As mentioned above, in recent years, digitalization technology has made it easier to trade digital assets, which represent the economic value of assets digitally.
In particular, assets that have standardized economic value, such as commodities (such as products traded on a commodity exchange), have strong characteristics that allow them to be traded as digital assets, whose economic value is represented digitally.

しかし、上述したように、従来の商品取引所には、トークン等のデジタル資産の取引注文を処理するシステムは構築されていない。
将来、暗号資産やデジタル通貨、もしくはSTOなどデジタル証券のようなメジャーなデジタル価値(資産)に限らず、製品や食品など個別に定義された物やサービスというマイナーな価値についてデジタル表現したものも広く、交換・取引の対象になることが想定される。
However, as mentioned above, conventional commodity exchanges do not have systems in place to process trading orders for digital assets such as tokens.
In the future, it is expected that not only major digital values (assets) such as cryptocurrencies, digital currencies, or digital securities such as STOs, but also digital representations of minor values such as individually defined goods and services, such as products and food, will become the subject of exchange and trading.

そこで、本件発明者は、デジタル資産を用いた取引注文を処理するシステムを構築すべく、考察・検討を重ねた。その際、デジタル資産の注文データを迅速かつ効率的に処理するために、スマートコントラクトを用いた分散処理を考えた。
その上で、本件発明者が、デジタル資産を用いた取引注文での銘柄の売買における小数点以下の数値に対する処理、注文方式(成行的な注文、指値的な注文)、レートの作成、注文板の処理、清算方法等に関し、考察・検討したところ、大口取引と小口取引とを合わせた取引など、取引所のレート作成の際に上乗せするマークアップを算出するためのマークアップ率が異なる顧客同士の取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行う場合等において、マッチング処理が複雑化し、処理パフォーマンスに悪影響を与えることが判明した。以下、詳しく説明する。
Therefore, the inventors of the present invention have been studying and examining ways to build a system for processing trading orders using digital assets. In doing so, they have come up with the idea of distributed processing using smart contracts in order to process order data for digital assets quickly and efficiently.
Based on this, the inventor of the present invention considered and examined the processing of decimal points in buying and selling stocks in trading orders using digital assets, order methods (market orders, limit orders), rate creation, order book processing, settlement methods, etc., and found that in cases where transactions between customers with different markup rates for calculating the markup added when creating rates at the exchange, such as transactions that combine large and small transactions, are performed by combining streaming (market orders) and leave orders (limit orders), the matching process becomes complicated and has a negative impact on processing performance. This will be explained in detail below.

銘柄の売買における小数点の数値に対する処理
本件発明者が考察・検討するデジタル資産を用いた取引注文を処理するシステムにおいては、注文の指定項目は「売買」の区分、価格、数量が基本となる。
そして、価格×数量(指定項目として銘柄単位での倍率がある場合は、価格×数量×倍率)により、約定金額を算出し、約定金額に所定の上乗せ金額を加えた受け渡し金額を決定する。
価格と数量は小数点が付いた数値となり得るが、受け渡し金額は、通貨の最小単位の整数刻み(例えば、日本¥をベースにした場合では1円刻み)とする。
各国通貨が基準となる場合、受け渡し金額は、当該国の通貨の最小単位の整数未満の数値を丸める。
Processing of decimal points in buying and selling stocks In the system for processing trading orders using digital assets that the inventor of the present invention has considered and examined, the basic items to be specified in an order are the "buy/sell" category, price, and quantity.
Then, the contract amount is calculated by multiplying the price by the quantity (if a multiplier is specified for each stock, the price by the quantity by the multiplier), and the delivery amount is determined by adding a specified surcharge to the contract amount.
The price and quantity may be expressed as numbers with a decimal point, but the transfer amount will be in whole increments of the smallest unit of the currency (for example, in increments of 1 yen when based on the Japanese yen).
When the currency of each country is used as the base currency, the transfer amount will be rounded off to the nearest integer of the smallest unit of that country's currency.

ここで、銘柄の売買において、受け渡し金額が通貨の最小単位(例えば、日本では1円)未満の小数点以下が付いた数値になり得るような場合、1円未満の小数点の丸め方が問題となる。
本件発明者は、デジタル資産を用いた取引に関し、受け渡し金額が通貨の最小単位(例えば、日本では1円)未満の小数点が付いた数値になるような場合において、取引所が、顧客の注文に対して取引の相手方として売買する場合の数値の丸め方について、次のように、考察・検討した。
Here, when buying and selling stocks, if the amount to be delivered may be a number with decimal points less than the smallest unit of currency (for example, 1 yen in Japan), how to round off decimals less than 1 yen becomes an issue.
The inventors of the present invention have considered and examined the following regarding how an exchange, as the counterparty to a customer's order, should round off a number in a transaction using digital assets in which the amount to be delivered is a number with a decimal point less than the smallest unit of currency (e.g., 1 yen in Japan) when buying or selling the number.

取引所は、自己が有利になるように、小数点が付いた代金(約定金額)を丸めることを望む。一方で、顧客保護の観点より、顧客が価格を指定する場合は、顧客の指定した価格に比べて顧客が不利となる価格での約定価格にすることは許されない。 Exchanges would like to round up prices (contract amounts) with decimal points to their own advantage. On the other hand, from the perspective of customer protection, if a customer specifies a price, it is not permitted to set the contract price at a price that puts the customer at a disadvantage compared to the price specified by the customer.

そこで、本件発明者は、取引所が、指値的な注文(リーブオーダーという)に対しては、顧客に対し最初に提示するレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)を作成する際、自己が不利になるように1円未満の小数点の丸め処理を行っても、利益が出るように、スプレッドやマークアップなどの上乗せ金額を上乗せしておくことを考えた。 The inventors of this case therefore came up with the idea that when an exchange creates the rate (the quote at which it will buy and sell as the counterparty to a customer's order) that it initially presents to customers for limit-type orders (called leave orders), it should add additional amounts such as spreads and markups so that it can still make a profit even if it rounds off the rate to the nearest yen, putting it at a disadvantage.

また、本件発明者は、成行的な注文(ストリーミングという)に対しては、顧客に不利になること(実際には許容できるスリッページ(注文価格と約定価格との差)の範囲を指定)が認められ得ることから、取引所が、自己が有利となるようにレートの1円未満の小数点の丸め処理を行い、上乗せ金額(マークアップ)を上乗せしておくことを考えた。 The inventors of this case also came up with the idea that since market orders (known as streaming) can be disadvantageous to customers (in practice, by specifying the range of allowable slippage (the difference between the order price and the contract price)), the exchange should round off the rate to the nearest yen and add a markup to be more advantageous to itself.

また、本件発明者は、取引において、自己が顧客の注文に対して取引の相手方として売買を行う気配値となるレートは、取引所が、ベースとなる基準レートに所定の上乗せ金額(スプレッド、マークアップ)を上乗せして作成し、顧客に提示することを考えた。 The inventors also considered that the exchange should create the rate at which it will buy and sell as the counterparty to a customer's order by adding a specified amount (spread, markup) to the base reference rate, and present this to the customer.

ところで、大口注文と小口注文とでは、取引所の提示するレートが異なったものとなると考えられる。
大口注文は、注文数量が大きい。このため、本件発明者は、大口注文に対しては、取引所が約定金額を丸める必要がないように、最低注文数量を設定することを考えた。
Incidentally, it is thought that the rates offered by the exchange will differ between large orders and small orders.
Large orders have large order quantities. For this reason, the inventors of the present invention have come up with the idea of setting a minimum order quantity for large orders so that the exchange does not have to round up the contract amount.

しかし、小口注文を大口注文に合わせると、呼び値(売買する際の価格の刻み幅)が大口注文において小数点になり、また、小口注文の注文数量を合わせても、約定金額が1円単位にならず、1円未満の小数点の部分が発生する場合が想定される。 However, when small orders are combined with large orders, the bid price (the price increment when buying and selling) for the large order will be a decimal point, and even if the order quantities of the small orders are combined, the contract amount will not be in units of 1 yen, and it is expected that there will be cases where the decimal point is less than 1 yen.

ストリーミング(成行的な注文)における小数点の数値に対する処理
(数量を指定するタイプのストリーミング(成行的な注文)の場合)
本件発明者は、小口注文(ここではストリーミング(成行的な注文)を想定)における小数点の数値に対する処理について、次のように考察・検討した。
顧客が、注文時に数量を先に指定する一般的な注文方式であるストリーミング(成行的な注文)を用いて、小口注文を発注する場合、取引所は、小口注文用のレートを作成する際に、顧客が最小の数量単位で注文したものとして、数量を最小単位に固定し、1単位の小口注文に対して、本来の大口注文用のレートを最低注文数量で除算し、自己(取引所)が有利となるように丸めて顧客に提示する。
顧客は、取引所の提示した、小口注文用に小数点を丸める修正が施されたレートに対して小口注文を発注し、取引所は1円刻みの約定金額で約定を返す。
Handling of decimal numbers in streaming (market-type orders) (in the case of streaming (market-type) orders with a specified quantity)
The inventors of the present invention have considered and examined the processing of decimal numbers in small orders (assuming streaming (market-style orders) here) as follows.
When a customer places a small order using streaming (market-like order), a common ordering method in which the quantity is specified in advance when placing the order, the exchange, when creating a rate for small orders, fixes the quantity to the smallest unit, assuming that the customer has ordered in the smallest unit, and for a small order of 1 unit, divides the rate for large orders by the minimum order quantity, rounds it off to its (the exchange's) advantage, and presents it to the customer.
A customer places a small order at a rate provided by the exchange, which has been adjusted to round off the decimal point for small orders, and the exchange returns a contract in increments of 1 yen.

約定金額が大きくなる場合、数量は最小の数量単位に固定してあるため、価格で誤差を吸収する。取引所は、約定金額が顧客有利となるように価格の微修正を行い、修正レートを作成して顧客に提示する。顧客は修正レートに対して小口注文を発注する。 When the contract amount is large, the price absorbs any discrepancies because the quantity is fixed to the smallest unit of measure. The exchange makes slight adjustments to the price so that the contract amount is favorable to the customer, creates an adjusted rate, and presents it to the customer. The customer places a small order at the adjusted rate.

取引所は、小口注文用のレートを作成する際に、価格を大口注文と同じ価格に固定する場合は、最低取引数量を設定する。そして、取引所は、基準となる最低取引数量以上の数値を前提として、自己が有利となるように最低取引数量(小数点有)を丸めてレート情報に加えて顧客に提示し、提示した内容で顧客に発注処理を行ってもらい、1円刻みの約定金額で約定を返す。
約定金額が大きくなる場合の誤差は、数量で吸収する。取引所は、約定金額が顧客有利となるように数量の微修正を行い、修正レートを作成して顧客に提示する。顧客は修正レートに対して小口注文を発注する。
When creating a rate for small orders, if the exchange wants to fix the price at the same price as for large orders, it sets a minimum transaction amount.Then, assuming a value equal to or greater than the standard minimum transaction amount, the exchange rounds off the minimum transaction amount (with decimal point) to a value that is favorable to the exchange, adds it to the rate information, and presents it to the customer.The exchange then has the customer place an order based on the presented amount, and returns the contract in 1 yen increments.
When the contract amount becomes large, the error is absorbed by the quantity. The exchange makes slight adjustments to the quantity so that the contract amount is favorable to the customer, creates an adjusted rate, and presents it to the customer. The customer places a small order at the adjusted rate.

即ち、小口注文の場合、取引所が提示できる小口注文用のレートには、最小の数量単位に数量を固定(数量固定)して作成したレートと、大口注文と同じ価格に価格を固定(価格固定)して作成したレートがあり、小口注文の取引者は、発注前にいずれかのレートの提示を選択し、取引所は、選択されたレートと注文方式を提示する。 In other words, for small orders, the rates that an exchange can offer are either a rate created by fixing the quantity to the smallest unit of measure (quantity fixing), or a rate created by fixing the price to the same price as a large order (price fixing). Traders of small orders can choose which rate to offer before placing an order, and the exchange will offer the selected rate and order method.

(約定金額を指定するタイプのストリーミング(成行的な注文)の場合)
さらに、顧客が約定金額を指定するタイプのストリーミング(成行的な注文)が上記以外に存在する。その場合、取引所は価格と数量のいずれか一方を顧客からの選択にしたがって固定し、固定しない他方を上記と同様に自己(取引所)が有利となるように小数点以下を丸める。一般的には、顧客は数量を選択し、取引所は数量を固定するものと考えられる。
(For streaming orders where the contract amount is specified)
In addition to the above, there is a type of streaming (market-like order) where the client specifies the contract amount. In that case, the exchange fixes either the price or the volume according to the client's selection, and rounds the other to the nearest integer in the same way as above to be favorable to the exchange. In general, it is considered that the client selects the volume, and the exchange fixes the volume.

約定金額を指定するタイプのストリーミング(成行的な注文)の場合は、取引所が顧客に対しレートを提示するのではなく、取引所は、顧客が指定した約定金額をレートで除算した数量を最低取引単位に自己(取引所)が有利となるように小数点を丸めて修正し、さらに、指定約定金額をこの修正した数量で除算した価格を微修正して顧客に提示し、顧客からの発注に対して約定処理を行う。 In the case of streaming orders (market orders) where the contract amount is specified, the exchange does not present a rate to the customer, but rather the exchange rounds off the decimal point to adjust the quantity obtained by dividing the contract amount specified by the customer by the rate to the smallest trading unit in a way that is advantageous to the exchange (the exchange), and then makes minor adjustments to the price obtained by dividing the specified contract amount by this adjusted quantity, presenting it to the customer and processing the contract for the customer's order.

これらは、決済などを考慮した機能であり、約定金額、受け渡し金額を明確にすることを目的とし、顧客からのストリーミング(成行的な注文)に対し即時約定し円換算できることを前提とした機能である。 These are functions that take into consideration settlement, etc., and are intended to clarify the contract amount and the delivery amount, and are based on the premise that streaming orders (market orders) from customers can be instantly executed and converted into yen.

ストリーミング(成行的な注文)は、マークアップが上乗せされた売りと買いのレートに対しての、即時約定を目的とし、マークアップの変動を許容するスリッページを付加した注文方式である。 Streaming (market-like orders) is an order method that aims for immediate execution at buy and sell rates with a markup added, and adds slippage to allow for fluctuations in the markup.

これに対し、リーブオーダー(指値的な注文)は、板方式の注文処理(板の顧客間の注文が対当することにより約定処理し、別途手数料に相当する分の金額をスプレッドとして徴収する形態)での注文方式である。
指値的な注文のほうが成行的な注文に比べて金額面で顧客に有利であるため、顧客が銘柄の単純売買を行う際には、リーブオーダー(指値的な注文)を発注する場合が考えられる。
In contrast, a leave order (a limit order) is an order method used in order book processing (a form of order processing in which orders between customers on the order book are matched and an amount equivalent to a separate commission is collected as a spread).
Since limit orders are more advantageous to customers in terms of price than market orders, customers may place leave orders (limit orders) when simply buying or selling stocks.

リーブオーダー(指値的な注文)では、顧客は価格と数量を指定するが、約定金額が1円にならない場合、顧客は上述の数量固定、価格固定のいずれかを選択する。取引所は、顧客が数量固定を選択した場合は価格を微修正し、顧客が価格固定を選択した場合は数量を微修正して、顧客に提示する。顧客は、提示された内容を(画面などで)確認した後に発注する。 In a leave order (a limit-type order), the customer specifies the price and quantity, but if the contract amount is not 1 yen, the customer can choose either the fixed quantity or fixed price as mentioned above. The exchange will present the price to the customer if the customer selects fixed quantity, or the quantity if the customer selects fixed price. The customer can then confirm the presented details (on a screen, for example) before placing the order.

金額指定のリーブオーダー(指値的な注文)の場合は、顧客は上述の数量固定、価格固定のいずれかを選択して、選択した数量又は価格を指定し、取引所は、顧客が指定した代金÷数量(もしくは価格)=価格(もしくは数量)を計算し、微修正して、顧客に提示する。顧客は、提示された内容(数量と価格)を確認した後に発注する。 In the case of a leave order with a specified amount (a limit-type order), the customer selects either the fixed quantity or fixed price mentioned above and specifies the selected quantity or price, and the exchange calculates the customer's specified amount ÷ quantity (or price) = price (or quantity), makes minor adjustments, and presents the result to the customer. The customer places the order after confirming the presented details (quantity and price).

また、取引所は、顧客よりリーブオーダー(指値的な注文)が発注された場合は、指値を管理する注文板を作成する。 In addition, when a customer places a leave order (a limit order), the exchange creates an order book to manage the limit order.

本来の指値注文は、発注がなされたときに注文板に直接乗るものであるのに対し、リーブオーダー(指値的な注文)は、取引所の作成するレート価格が顧客の指定する指値に合致したときに発動するアルゴリズム発注的な処理である。 A traditional limit order is placed directly on the order book when the order is placed, whereas a leave order (a limit-like order) is an algorithmic ordering process that is triggered when the rate price set by the exchange matches the limit price specified by the customer.

本件発明者は、リーブオーダー(指値的な注文)がなされた場合の約定処理を次のようにすることを考えた。
注文板に顧客の注文が乗るが、顧客の約定相手は別の顧客ではなく必ず自己(取引所)とする。また、取引所は、顧客間の売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となったときに、そのスプレッドを自己の上乗せ金額として、ベースとなる基準レートに上乗せして、売りと買いのレートを作成する。
The inventors of the present invention have conceived of the following contract processing when a leave order (a limit order) is made.
Customer orders are placed on the order book, but the counterparty of the customer is always the exchange (the exchange) and not another customer. Also, when the price difference between a sell order and a buy order between customers exceeds a specified spread that the exchange must collect, the exchange adds that spread as its own surcharge to the base rate to create the buy and sell rates.

そして、本件発明者は、デジタル資産を用いた取引注文を処理するシステムを、注文板を用いた処理とレートを用いた処理(いわゆる「2WAY」)を融合し、システムの内部では注文板を用いた処理を行い、外部的にはレートを用いた処理を行うように構成することを着想し、考察・検討した。 The inventors of the present invention then came up with the idea, considered and examined a system for processing trading orders using digital assets that combines processing using an order book and processing using rates (so-called "2-way"), configuring the system to process using an order book internally and to process using rates externally.

取引所は、注文板における最良注文(最も安い売り注文、最も高い買い注文)の価格を基準レート(基準値:最良気配)とし、この基準レートにマークアップを上乗せして、レート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)を作成する。 The exchange sets the price of the best order on the order book (the cheapest sell order, the highest buy order) as the base rate (base value: best quote), and adds a markup to this base rate to create a rate (the quote price at which the exchange will buy or sell as the counterparty to a customer's order).

リーブオーダー(指値的な注文)の指値を管理する注文板においては、価格と数量は小数点以下を実装する。しかし、取引所は、その板から算出するレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)については、1円刻みになるように小数点以下を丸めた価格を顧客に対し配信する。
そして、取引所は、顧客からの注文の指値が取引所の配信するレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)と対当した場合に約定させる。
In the order book that manages limit orders (limit-like orders), prices and quantities are implemented with decimal points. However, the exchange distributes to customers the rates calculated from the book (the quotes at which the exchange will buy and sell as the counterparty to customer orders) rounded to the nearest 1 yen.
The exchange then executes a contract when the limit price of the order from the customer matches a rate distributed by the exchange (a quote at which the exchange will buy and sell as the counterparty to the customer's order).

ここで、ストリーミング(成行的な注文)、リーブオーダー(指値的な注文)で、顧客が「数量固定」、「価格固定」のいずれかを選択した場合における丸め処理の例を示す。
本例では、顧客が1500円での購入意思があるものとする。
例えば、ストリーミングで1g(1トークン)=6953円の売りレートとなっているものに対しての処理は、顧客の買いが6953円であり、1500/6953=0.2157トークン(本例は、小数点4桁まで指定可能であり、小数点5桁から切り捨てる場合)として、数量を設定する。
また、例えば、顧客がリーブオーダーで「数量固定」を選択した場合において、代金が1500円指定で数量が0.211トークンの購入を所望する場合、1500/0.211=7109円(本例は、小数点以下を切り捨てる場合)の指値とする。
また、例えば、顧客がリーブオーダーで「価格固定」を選択した場合において、代金が1500円指定で価格6950円でのトークンの購入を所望する場合、1500/6950=0.2158トークン(本例は、小数点4桁まで指定可能であり、小数点5桁から切り捨てる場合)として、数量を設定する。
Here, an example of rounding processing will be shown when a customer selects either "fixed quantity" or "fixed price" for streaming (market order) or leave order (limit order).
In this example, it is assumed that the customer is willing to purchase the item for 1,500 yen.
For example, in the case of a streaming selling rate of 1g (1 token) = 6,953 yen, the customer's buying amount is 6,953 yen, and the quantity is set as 1500/6953 = 0.2157 tokens (in this example, up to four decimal places can be specified, and the fifth decimal place is truncated).
Also, for example, if a customer selects "fixed quantity" in a leave order and wishes to purchase 0.211 tokens at a specified price of 1,500 yen, the limit price would be 1,500/0.211 = 7,109 yen (in this example, decimals are rounded down).
Also, for example, if a customer selects "fixed price" in a leave order and wishes to purchase tokens at a price of 6,950 yen with a specified price of 1,500 yen, the quantity is set as 1,500/6,950 = 0.2158 tokens (in this example, up to four decimal places can be specified, and the quantity is rounded down to the fifth decimal place).

なお、ここまでの説明は、¥での清算を前提とし、1円という通貨の最小単位に約定金額を丸めることを想定したものであるが、1円未満の清算も将来的には出現する可能性がある。また、¥での決済の他に、$やゴールド等での決済も考えられる。このため、本件発明者が考察・検討するデジタル資産を用いた取引注文を処理するシステムにおいては、¥の小数点以下についても所定の小数点部により約定金額を丸めることや、さらには、$やゴールド等についてもそれらの単位の小数点以下について所定の小数点部により約定金額を丸めることは想定し得る。 Note that the explanation so far has been based on the assumption that settlement will be in ¥ and that the contract amount will be rounded to the smallest unit of currency, which is 1 yen; however, settlements of less than 1 yen may emerge in the future. In addition to settlement in ¥, settlement in dollars, gold, etc. may also be considered. For this reason, in a system for processing trading orders using digital assets as considered and examined by the present inventor, it is conceivable that the contract amount may be rounded to a predetermined decimal point for the decimal places of ¥, and further, that the contract amount may be rounded to a predetermined decimal point for the decimal places of dollars, gold, etc.

大口取引と小口取引とを合わせた取引などにおける相違点
(レートの相違)
ところで、例えば、流動性の異なる、大型株と小型株とでは、取引所の採算性の観点から検討した場合、流動性の低い株のほうが一単位の取引における収益を上げないと採算が悪くなる。
即ち、小型株であるほど取引量が少なくなり、取引所が取引に介在することによる収益が小さくなるため、マークアップを大きくする必要がある。
なお、取引所がマークアップを上乗せしてレートを提示する取引方式は、約定後に手数料を徴収する取引方式に比べて、銘柄単位で収益率を調整できるメリットがあると考えられる。
Differences in transactions that combine large and small amounts (rate differences)
Incidentally, for example, when considering large and small stocks, which have different liquidity, from the perspective of the profitability of an exchange, the stocks with lower liquidity will be unprofitable unless they can increase profits per unit of trading.
In other words, the smaller the stock, the smaller the trading volume, and the smaller the profits that the exchange can make by intervening in the transaction, so a larger markup is required.
In addition, a trading method in which the exchange presents a rate by adding a markup is thought to have the advantage of being able to adjust the profit rate on a stock-by-stock basis, compared to a trading method in which a fee is collected after the transaction is concluded.

また、顧客の与信等に応じて優遇率を異ならせる必要があると考えられる。手数料の場合は、顧客毎に優遇率を異ならせた手数料の設定が煩雑となるが、レートの場合は、一律にマークアップ率の調整で対応し易い。
そこで、本件発明者は、取引所が手数料を徴収するのではなく、外部向けにマークアップを上乗せしたレートを提示して取引を行う構成を考えた。
ただし、流動性調整は注文を集中したほうが良い。しかるに、レートを提示する取引方式は、マーケットメイク型の取引方式であって、メイカー単位で個々にレートが提示されると、流動性の調整が煩雑となる。このため、本件発明者は、注文処理は板として集中管理する構成を考えた。
It is also considered necessary to vary the preferential rate depending on the customer's creditworthiness, etc. In the case of commission, it would be complicated to set different preferential rates for each customer, but in the case of rates, it is easy to deal with this by adjusting the markup rate uniformly.
Therefore, the inventors of the present invention have devised a structure in which the exchange does not collect fees, but instead presents rates to external parties that include a markup and conducts transactions by doing so.
However, it is better to centralize orders to adjust liquidity. However, the trading method that presents rates is a market-making type trading method, and if rates are presented individually by makers, adjusting liquidity becomes complicated. For this reason, the inventor of the present invention came up with a structure in which order processing is centrally managed as a book.

ところで、顧客別のレート作成に関しては、顧客単位でマークアップ率が異なり、レート(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)を異ならせる必要がある。
例えば、大口注文の取引を行う企業は、小口注文の取引を行う個人に比べて、注文量が大きい。このため、大口注文の取引を行う企業向けのマークアップ率は、マークアップとしての上乗せ金額が小口注文の取引を行う個人に比べて少なくなるように設定することが考えられる。
Incidentally, when creating rates for individual customers, the markup rate differs for each customer, and it is necessary to set different rates (the quotes at which the exchange (itself) buys and sells as the counterparty to a customer's order).
For example, since companies that trade large orders have larger order volumes than individuals that trade small orders, it may be possible to set the markup rate for companies that trade large orders so that the markup amount is smaller than that for individuals that trade small orders.

(清算処理方式の相違)
大口取引はホールセール業務、小口取引はリテール業務であり、本来は取引注文の処理方法や取引の目的などが異なる。このため、取引所は、基本的には、大口取引と小口取引とを、別々に処理する。
大口取引者には与信があることを想定し、大口取引では、証拠金程度の担保差し入れで、注文代金は後払い、銘柄も後渡し、清算日が後日となるクリアリング方式(ネットDVP)の清算処理を行う。
小口取引者には与信が無いことを想定し、小口取引では、買うための金銭は前払いで、売るための銘柄は預けておく必要があり、約定後に即時に注文代金、銘柄を受け渡す(グロス)セトルメント方式の清算処理を行う。
(Differences in liquidation methods)
Large-lot transactions are wholesale transactions, while small-lot transactions are retail transactions, and the methods of processing trading orders and the purposes of transactions are fundamentally different. For this reason, exchanges basically process large-lot transactions and small-lot transactions separately.
It is assumed that large traders have credit, and for large trades, the order amount is paid later, the stock is delivered later, and the settlement date is a clearing method (net DVP) in which the order is settled by providing collateral equivalent to a margin.
It is assumed that retail traders have no credit, and in retail transactions, the money to buy is paid in advance and the stock to sell must be deposited. After the transaction is concluded, the order amount and stock are immediately handed over using the (gross) settlement method.

大口取引と小口取引とを合わせた取引などにおける課題
(課題1:レートの作成、注文板の処理、清算方法の複雑化)
さらに、本件発明者は、大口取引と小口取引とを合わせた取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行うようにした場合等における、レートの作成、注文板の処理、清算方法に関し、考察・検討を行った。
Issues with transactions that combine large and small amounts (Issue 1: Complexity of rate creation, order book processing, and clearing methods)
Furthermore, the inventors of the present invention have considered and examined the creation of rates, processing of order books, and methods of clearing in cases where transactions that combine large and small lot transactions are conducted by combining streaming (market-like orders) and leave orders (limit-like orders).

(清算方法の検討)
従来一般の取引市場における、大口取引と小口取引とを合わせた取引では、清算方法を大口取引のルールに適合させて小口取引を処理している。本件発明者は、小口取引側の処理も小口取引の本来の特性で処理できるようにすることについて、考察・検討を行った。
(Consideration of liquidation methods)
In the past, in transactions that combined large and small lot transactions in general trading markets, small lot transactions were processed by adjusting the clearing method to the rules for large lot transactions. The inventors of this case have considered and examined how to process small lot transactions with the original characteristics of small lot transactions.

(課題1の解決手段:清算方法を小口取引のルールに適合させる方策-レンディングを活用した、清算対象物の受け渡し日のギャップの解消)
清算方法については、大口取引ではT+2など約定日よりも後日のDVP(Delivery Versus Payment:約定金額と銘柄の同時受け渡し)クリアリング方式の清算処理が一般的である。大口取引に当日受け渡しの小口取引を融合させると、大口取引と小口取引とで、約定金額と銘柄の受け渡しに2日のギャップが生じる。本件発明者は、そのギャップをレンディング(貸借)機能を有するスマートコントラクトで解消することを考えた。
大口取引者と小口取引者との間で売買が成立した取引の約定金額と銘柄の受け渡しには、小口取引者が大口取引者側に銘柄を渡して、約定金額を受け取る場合と、小口取引者が大口取引者側に約定金額を支払い、銘柄を受け取る場合がある。
(Method of solving issue 1: Measures to adapt the clearing method to the rules for small-lot transactions - Eliminating the gap in the delivery date of the items to be cleared by utilizing lending)
Regarding the settlement method, large-scale transactions generally use the DVP (Delivery Versus Payment: simultaneous delivery of the contract amount and the name) clearing method, which is set after the contract date, such as T+2. When large-scale transactions are combined with small-scale transactions that are delivered on the same day, a two-day gap occurs between the contract amount and the delivery of the name between large-scale transactions and small-scale transactions. The inventors of this invention have come up with the idea of eliminating this gap with a smart contract that has a lending function.
When a transaction is concluded between a large trader and a small trader, the contract amount and the stock are handed over in two ways: the small trader hands over the stock to the large trader and receives the contract amount, or the small trader pays the contract amount to the large trader and receives the stock.

小口取引者が大口取引者側に銘柄を渡して、大口取引者側から約定金額を得る場合は、取引所は、銘柄を2日間管理し、管理する銘柄を担保として、レンディング(貸借)機能を有するスマートコントラクトを介して、借り入れ先から約定金額分を借り入れて小口取引者側に約定金額を支払う。次いで、取引所は、2日後に大口取引者側に銘柄を引き渡す。引き渡した段階で大口取引者側から取引所に約定金額が入る。次いで、取引所は、その約定金額を借り入れ先に返済する。
この約定金額分の貸借により発生する、借り入れ先に支払うべき金利は、大口取引者と小口取引者との間の取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値であるレートを算出する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する。
When a small trader hands over a stock to a large trader and receives an agreement amount from the large trader, the exchange manages the stock for two days, borrows the agreement amount from the borrower via a smart contract with a lending function using the managed stock as collateral, and pays the agreement amount to the small trader. The exchange then delivers the stock to the large trader two days later. At the time of delivery, the exchange receives the agreement amount from the large trader. The exchange then repays the agreement amount to the borrower.
The interest to be paid to the borrower on the loan of this contract amount is covered by the markup added when calculating the rate, which is the indicative price at which each party buys and sells large and small orders in transactions between large and small traders, or by the spread obtained from the price difference between a sell order (one of the large and small orders) and a buy order (the other).

小口取引者が大口取引者側に約定金額を渡して、大口取引者側から銘柄を得る場合は、取引所は、約定金額を2日間管理し、管理する約定金額を担保として、レンディング(貸借)機能を有するスマートコントラクトを介して、借り入れ先から銘柄を借り入れて小口取引者側に銘柄を渡す。次いで、取引所は、2日後に大口取引者側に約定金額を引き渡す。引き渡した段階で大口取引者側から銘柄が入る。次いで、取引所は、その銘柄を借り入れ先に返却する。
この銘柄の貸借により発生する、借り入れ先に支払うべき品貸金利は、大口取引者と小口取引者との間の取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値であるレートを算出する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッド等から充当する。
When a small trader delivers an agreement amount to a large trader and obtains stocks from the large trader, the exchange manages the agreement amount for two days, borrows stocks from the borrower via a smart contract with a lending function using the managed agreement amount as collateral, and delivers the stocks to the small trader. The exchange then delivers the agreement amount to the large trader two days later. At the delivery stage, the stocks are received from the large trader. The exchange then returns the stocks to the borrower.
The interest rate to be paid to the borrower arising from the lending and borrowing of this stock is funded from the markup added when calculating the rate, which is the indicative price at which large and small orders are bought and sold as the counterparty in a transaction between a large trader and a small trader, or from the spread obtained from the price difference between a sell order (one of the large and small orders) and a buy order (the other).

(レートの作成に際しての、売りと買いの注文数量の状況に応じたマークアップの調整)
また、本件発明者は、取引所のレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)の作成に際しては、板の売りと買いの注文数量の状況に応じて、マークアップの数値を微調整して自己のレートとして配信することを考えた。
マークアップの数値を微調整する理由は、板の売りと買いの注文数量を極力均等にするためである。板の売りと買いにおける注文数量の少ないほうに対するレートを優遇して注文数量が多くなるよう誘導するべく、売り注文と買い注文の夫々に対し取引所(自己)が取引の相手方として売買を行う気配値となるレート作成の際に上乗せするマークアップの数値を微調整する。
(Adjusting markups based on the size of buy and sell orders when creating rates)
In addition, when creating exchange rates (the quotes at which the company will buy and sell as the counterparty to customer orders), the inventors considered fine-tuning the markup value depending on the situation of the buy and sell order quantities on the order book and distributing it as their own rate.
The reason for fine-tuning the markup value is to make the order quantities of buy and sell orders on the order book as equal as possible. In order to favor the rate for the smaller order quantities on the order book and induce larger order quantities, the markup value added when creating the rate that the exchange (itself) uses as the counterparty for buying and selling is fine-tuned for each sell order and buy order.

例えば、注文価格が取引所のレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲内にある売りと買いの注文に関し、板の売り側の合計注文数量が100、板の買い側の合計注文数量が200であった場合、買い心理が(2倍)強く働いているものとして、レート(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)の作成に際し、売り側と買い側の夫々のマークアップ率を5%上げるなどして調整する(1方向修正)。
マークアップ率(%)は、売りと買いの心理の相対的な倍率に応じて、例えば、買い心理が売り心理の3倍である場合は8%、1.5倍である場合には2%などのように調整する。
For example, in the case of buy and sell orders whose order prices are within a range that can be contracted with the exchange rate (the indicative price at which the exchange (its own) will buy and sell as a trading counterparty to customer orders), if the total order quantity on the sell side of the book is 100 and the total order quantity on the buy side of the book is 200, it is assumed that buying sentiment is (twice) stronger, and when creating the rate (the indicative price at which the exchange (its own) will buy and sell as a trading counterparty to customer orders), an adjustment is made by, for example, increasing the markup rate on the sell side and the buy side by 5% (one-way correction).
The markup rate (%) is adjusted according to the relative ratio of selling and buying sentiment, for example, 8% when buying sentiment is three times that of selling sentiment, 2% when buying sentiment is 1.5 times that of selling sentiment, and so on.

また、価格の安定、不安定は、単位時間あたりの出来高に応じて判断する。例えば、1日あたり10分刻みの単位時間で、単位時間あたりの出来高の水準が、過去の実績データ(例えば、30日平均値)に基づいて算出される。単位時間(ここでは、10分間)あたり出来高が30日平均値に比べて2倍多い場合は、価格が短期間で暴騰又は暴落し、売りと買いの注文数量が一方に偏っていると考えられる。そこで、例えば、価格が暴落していると考えられるときには、売り側のマークアップ率を2%上げるとともに、買い側のマークアップ率を2%下げるなど、マークアップ率の幅修正(広げる)処理を組み合わせる。
例えば、1日あたり10分刻みの出来高が、30日平均値に比べて3倍多い場合は売り側のマークアップ率の上げ率、買い側のマークアップ率の下げ率を夫々5%にするなど、30日平均値と比較し、マークアップ率(%)の値を調整する。
なお、マークアップ率は、銘柄単位にテーブルデータで管理する。
In addition, price stability or instability is judged according to the volume per unit time. For example, the volume per unit time is calculated based on past performance data (e.g., 30-day average value) for a unit time of 10 minutes per day. If the volume per unit time (here, 10 minutes) is twice as high as the 30-day average value, it is considered that the price has risen or fallen sharply in a short period of time, and the order quantities for selling and buying are biased to one side. Therefore, when it is considered that the price is falling sharply, for example, a process of correcting (widening) the range of the markup rate is combined, such as increasing the markup rate on the selling side by 2% and decreasing the markup rate on the buying side by 2%.
For example, if the trading volume in 10-minute increments per day is three times higher than the 30-day average, the markup rate (%) is adjusted in comparison with the 30-day average, such that the increase rate of the selling markup rate and the decrease rate of the buying markup rate are set to 5% and 5%, respectively.
The markup rate is managed by table data for each issue.

(課題2:顧客ごとにマークアップ率が異なることによるリーブオーダー(指値的な注文)に対するクロッシング処理の煩雑化)
リーブオーダー(指値的な注文)に対するクロッシング処理においては、
・顧客単位でマークアップ率が異なることによりレート(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)が異なる。
・各顧客からのリーブオーダー(指値的な注文)やストリーミング(成行的な注文)に対して、他者のリーブオーダー(指値的な注文)とも対当条件になると約定する。
・各顧客からのリーブオーダー(指値的な注文)を受け付ける。
という上記3つの条件が組み合わさると、クロッシング処理が非常に複雑化し、処理速度が大幅に低下する。
各顧客に対して個別にマークアップを上乗せしたレート(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)を配信した後に受注した、顧客からのリーブオーダー(指値的な注文)に対しては、顧客からの注文価格が取引所のレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲内にあるか否かに応じて約定処理を行う必要がある。
即ち、各顧客に対して個別に異なるマークアップ率で算出したマークアップを上乗せしたレート(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)を配信した後に受注した、顧客からの注文価格が取引所のレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲内にあるリーブオーダー(指値的な注文)に対しては、取引所は、マッチングサーバの板に乗せる段階で、取引の相手方としての売買により当該注文を約定させ、マッチングサーバの板には乗せないようにする必要があると考えられる。
一方、注文価格が取引所のレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲から外れた、売りと買いのリーブオーダー(指値的な注文)に対しては、取引所は、マッチングサーバの板に乗せ、マークアップ率とは無関係に、売りと買いのリーブオーダー(指値的な注文)間の価格差が、取引所の徴収すべき所定のスプレッドになったときに、売りと買いのリーブオーダー(指値的な注文)夫々に対して取引の相手方として売買を行って約定させなければならないと考えられる。
(Issue 2: Complicated crossing processing for leave orders (limit-price orders) due to different markup rates for each customer)
In crossing processing for leave orders (limit orders),
- The markup rate differs for each customer, so the rate (the quote price at which the exchange (own) buys and sells as the counterparty to a customer's order) differs.
- Leave orders (limit orders) and streaming orders (market orders) from each customer are matched against leave orders (limit orders) from other parties.
・Accept leave orders (limit orders) from each customer.
When these three conditions are combined, the crossing process becomes very complicated and the processing speed drops significantly.
For leave orders (limit-type orders) received from customers after the delivery of a rate with a markup added individually to each customer (the indicative price at which the exchange (its own) will buy and sell as the counterparty to the customer's order), a contract process must be carried out depending on whether the order price from the customer is within the range that can be contracted with the exchange's rate (the indicative price at which the exchange (its own) will buy and sell as the counterparty to the customer's order).
In other words, for leave orders (limit-type orders) received after a rate (the price at which the exchange (itself) will buy or sell as a trading counterparty to a customer's order) with a markup calculated based on a different markup rate added to it is distributed to each customer, and the order price from the customer is within a range at which it can be executed against the exchange's rate (the price at which the exchange will buy or sell as a trading counterparty to a customer's order), the exchange is considered to need to execute the order by buying or selling as a trading counterparty at the stage of placing the order on the matching server's order book, and not to place the order on the matching server's order book.
On the other hand, for buy and sell leave orders (limit-type orders) whose order prices are outside the range in which they can be executed with the exchange's rates (the indicative prices at which the exchange will buy and sell as the counterparty to customer orders), the exchange is considered to have to post the orders on the matching server's board, and when the price difference between the buy and sell leave orders (limit-type orders) reaches a specified spread that the exchange must collect, regardless of the markup rate, it is necessary for the exchange to act as the counterparty to the transaction and execute the orders.

処理性能の面を考慮すると、リーブオーダー(指値的な注文)は受け付けず、ストリーミング注文(成行的な注文)のみを受け付けて、注文を受けた瞬間に顧客毎の当該条件を適用した一時的に特別な板を作成して約定させることが望まれる。
リーブオーダー(指値注文や、さらには逆指値(ストップ)注文)まで受け付けると、一時的に特別な板を作成することによるマッチング処理では済まなくなり、マークアップ率が同じに設定されている顧客毎に板を作成し同期(ロック)して同時にメンテナンスを続けなければならなくなる。
即ち、マークアップ率が同じに設定されている顧客数分の注文板が存在することになり、マッチング処理が非常に複雑化し、処理パフォーマンスに悪影響を及ぼすことになる。
When considering processing performance, it is desirable to not accept leave orders (limit orders), but only accept streaming orders (market orders), and to create a temporary special order book that applies the relevant conditions for each customer the moment the order is received, and then execute the order.
If leave orders (limit orders and even stop orders) are accepted, matching processing by temporarily creating a special order book will no longer be sufficient; it will be necessary to create an order book for each customer with the same markup rate, synchronize (lock) it, and continue to maintain it simultaneously.
In other words, there will be an order book with the same markup rate set for each customer, making the matching process extremely complicated and adversely affecting processing performance.

本発明者はこのような問題等を鑑み、さらに、考察・検討した結果、本発明のデジタル資産を用いた取引注文処理システムを導出するに至った。 In consideration of these problems and other issues, and as a result of further consideration and investigation, the inventor has come up with the trading order processing system using digital assets of the present invention.

本発明のデジタル資産を用いた取引注文処理システムは、トークン(ブロックチェーン等の分散技術においてデジタルで定義される価値などの総称であって、暗号資産を含む)、デジタル通貨、トークンとデジタル通貨、もしくはトークン同士、デジタル通貨同士など、あらゆる形態のデジタル資産間による取引を管理するための、少なくとも1種類のブロックチェーン等の分散技術における分散型台帳と、該分散型台帳に管理されるデジタル資産を用いた所定の処理を行うためのスマートコントラクトを備えて構築される、デジタル資産を用いた取引注文処理システムであって、顧客単位で多様な数値に設定された各銘柄についてのマークアップ率を管理するマークアップ率管理テーブルと、前記マークアップ率管理テーブルから、各銘柄における夫々の顧客のマークアップ率を取得する機能を有するマークアップ率取得用スマートコントラクトと、顧客の注文に対して取引の相手方として売買を行う気配値である第2レート(レート)を作成するベースとなる第1レート(基準レート)を作成する機能を有する第1レート(基準レート)作成用スマートコントラクトと、夫々の顧客について、前記第1レート(基準レート)作成用スマートコントラクトが作成した前記第1レート(基準レート)に、前記マークアップ率取得用スマートコントラクトが取得した当該顧客のマークアップ率を掛け合わせることによりマークアップを算出し、算出したマークアップを前記第1レート(基準レート)に上乗せして前記第2レート(レート)を作成する機能を有する第2レート(レート)作成用スマートコントラクトと、前記第2レート(レート)作成用スマートコントラクトが作成した夫々の顧客についての前記第2レート(レート)を当該顧客に配信する機能を有する第2レート(レート)配信用スマートコントラクトと、前記第2レート(レート)配信用スマートコントラクトが配信した顧客毎に異なる前記第2レート(レート)に対して発注された、顧客からのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させ、当該顧客に対し約定を返す機能を少なくとも有するストリーミング約定用スマートコントラクトと、顧客から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板に乗せる機能と、前記注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で当該売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す機能と、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客に対する共通の前記第2レート(レート)として全顧客に配信する機能と、を有するリーブオーダー約定用スマートコントラクトと、を少なくとも有する。 The trading order processing system using digital assets of the present invention is constructed with at least one distributed ledger in distributed technology such as blockchain for managing transactions between all forms of digital assets such as tokens (a general term for values defined digitally in distributed technology such as blockchain, including crypto assets), digital currencies, tokens and digital currencies, or between tokens or between digital currencies, and a smart contract for performing a predetermined process using the digital assets managed in the distributed ledger. The system is constructed with a markup rate management table for managing the markup rate for each stock, which is set to various numerical values on a customer basis, and a markup rate management table for managing the markup rate for each stock, which is set to various numerical values on a customer basis, and a smart contract for performing a predetermined process using the digital assets managed in the distributed ledger. a smart contract for obtaining a markup rate, which has a function of obtaining the markup rate of each customer for each stock from the markup rate management table; a smart contract for creating a first rate (base rate), which is a base for creating a second rate (rate), which is an indicative price at which a transaction is conducted as a counterparty to a customer's order; and a smart contract for calculating a markup for each customer by multiplying the first rate (base rate) created by the smart contract for creating a first rate (base rate) by the markup rate of the customer obtained by the smart contract for obtaining a markup rate, and adding the calculated markup to the first rate (base rate). a second rate (rate) creation smart contract having a function of creating the second rate (rate) by matching the second rate (rate) with the second rate (rate) creation smart contract; a second rate (rate) distribution smart contract having a function of distributing the second rate (rate) for each customer created by the second rate (rate) creation smart contract to the customer; a streaming contract smart contract having at least a function of acting as a counterparty in a transaction to buy and sell streaming (market orders) from customers placed for the second rate (rate) different for each customer distributed by the second rate (rate) distribution smart contract, entering into a contract, and returning the contract to the customer; The system has at least a leave order execution smart contract having the following functions: placing all sell and buy leave orders (limit-type orders) on the order book, trading as the counterparty to each of the sell and buy leave orders (limit-type orders) at the limit price of at least some of the sell and buy leave orders (limit-type orders) where the price difference between the sell orders and buy orders on the order book is equal to or greater than a predetermined spread to be collected by the exchange, executing the orders, and returning the execution to each of the customers who placed the sell and buy leave orders (limit-type orders), and instantly distributing the execution price to all customers as the second rate (rate) common to all customers immediately before executing the leave orders (limit-type orders).

本発明のデジタル資産を用いた取引注文処理システムのように、トークン(ブロックチェーン等の分散技術においてデジタルで定義される価値などの総称であって、暗号資産を含む)、デジタル通貨、トークンとデジタル通貨、もしくはトークン同士、デジタル通貨同士など、あらゆる形態のデジタル資産間による取引を管理するための、少なくとも1種類のブロックチェーン等の分散技術における分散型台帳と、該分散型台帳に管理されるデジタル資産を用いた所定の処理を行うためのスマートコントラクトを備えた構成とすれば、分散型台帳に記録された価値を有するトークンそのものを、スマートコントラクトを介して処理できるため、注文処理の発注管理をデータベースに依存して行っていた従来の取引市場発注管理システムとは異なり、注文処理から決済(清算)処理までを即時に行うことができ、処理時間が飛躍的に向上する。
その上で、本発明のデジタル資産を用いた取引注文処理システムのように、第2レート(レート)作成用スマートコントラクト、第2レート(レート)配信用スマートコントラクトが、取引所による顧客別に第1レート(基準レート)にマークアップを上乗せした第2レート(レート)(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)を作成して配信する機能を有し、ストリーミング約定用スマートコントラクトが、顧客毎に異なるレートに対して発注された、顧客からのストリーミング(成行的な注文)に対して約定を返し、リーブオーダー(指値的な注文)が発注された場合は、リーブオーダー約定用スマートコントラクトが、顧客からの注文価格が取引所のレート(自己が顧客の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲内にあるか否かにかかわらず、顧客から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板にそのまま乗せて、注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で売りと買いのリーブオーダー(指値的な注文)夫々に対して取引の相手方として売買を行って約定させるように構成すれば、顧客単位でマークアップ率が異なることにより第2レート(レート)(取引所(自己)が顧客の注文に対して取引の相手方として売買を行う気配値)が異なる、各顧客からのリーブオーダー(指値的な注文)に対して、マークアップ率が同じに設定されている顧客数分の注文板を設けることなく、共通の板に乗せてマッチング処理を行うことができ、マッチング処理が簡素化され、処理パフォーマンスを格段に向上させることができる。
また、リーブオーダー約定用スマートコントラクトが、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客に対する共通の第2レート(レート)として配信するように構成すれば、顧客のリーブオーダー(指値的な注文)の指値に対し、取引所が提示した第2レート(レート)が約定したことをブロックチェーン上に履歴として残すことができる。
Like the trading order processing system using digital assets of the present invention, which is configured with at least one type of distributed ledger in distributed technology such as blockchain for managing transactions between all forms of digital assets, such as tokens (a general term for value defined digitally in distributed technology such as blockchain, including crypto assets), digital currencies, tokens and digital currencies, or between tokens or between digital currencies, and a smart contract for performing specified processing using the digital assets managed in the distributed ledger, the tokens themselves, which have value recorded in the distributed ledger, can be processed via the smart contract, so unlike conventional market order management systems that relied on a database for order management of order processing, orders can be processed through settlement (clearing) processing in an instant, dramatically improving processing time.
In addition, as in the trading order processing system using digital assets of the present invention, the smart contract for creating a second rate (rate) and the smart contract for distributing a second rate (rate) have the function of creating and distributing a second rate (rate) (an indicative price at which the exchange (itself) will buy and sell as a counterparty to a customer's order) that is a first rate (base rate) plus a markup for each customer of the exchange, the smart contract for streaming contract returns a contract for streaming (market-like orders) from customers that are placed at rates that differ for each customer, and when a leave order (limit-like order) is placed, the smart contract for leave order contract returns a contract for the order price from the customer regardless of whether the order price from the customer is within a range that can be contracted with the exchange's rate (an indicative price at which the exchange (itself) will buy and sell as a counterparty to a customer's order). In this configuration, all sell and buy leave orders (limit-like orders) placed on the order book as they are, and at least some of the sell and buy leave orders (limit-like orders) where the price difference between the sell orders and buy orders on the order book is equal to or greater than the specified spread to be collected by the exchange, are traded at the limit price of the sell and buy leave orders (limit-like orders) as the counterparty to the transaction, and the sell and buy leave orders (limit-like orders) are traded at the limit price of the sell and buy leave orders (limit-like orders) as the counterparty to the transaction, and the trades are settled. In this configuration, the mark-up rate differs from customer to customer, and therefore the second rate (rate) (the indicative price at which the exchange (self) trades for and against customer orders as the counterparty) differs. Therefore, it is possible to place the leave orders (limit-like orders) from each customer on a common book and perform matching processing without having to prepare order books for the number of customers with the same mark-up rate, which simplifies the matching processing and significantly improves processing performance.
Furthermore, if the smart contract for executing leave orders is configured to instantly distribute the price at which the leave order (a limit-type order) is executed as a common second rate (rate) for all customers immediately before the leave order (a limit-type order) is executed, it is possible to leave a history on the blockchain indicating that the second rate (rate) presented by the exchange has been executed against the limit price of the customer's leave order (a limit-type order).

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記リーブオーダー約定用スマートコントラクトは、前記注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となったリーブオーダー(指値的な注文)であり且つ指値が前記第2レート(レート)配信用スマートコントラクトが各顧客に配信した顧客毎に異なる前記第2レート(レート)のうちで最良となる前記第2レート(レート)と対当する当該顧客からの売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す機能を有する。
このように構成すれば、顧客が不利益を被ることなく、取引所は最大の利益を得ることができるようになる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the smart contract for executing leave orders has a function of acting as the counterparty to a transaction for each of sell and buy leave orders (limit-like orders) from a customer where the price difference between a sell order and a buy order on the order book is equal to or exceeds a predetermined spread to be collected by the exchange and where the limit price corresponds to the best second rate (rate) among the second rates (rates) that differ for each customer and are delivered to each customer by the smart contract for delivering the second rate (rate), thereby buying and selling, and returning the execution to each of the customers who placed the sell and buy leave orders (limit-like orders).
This arrangement allows the exchange to maximize its profits without causing any disadvantage to its customers.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記第1レート(基準レート)作成用スマートコントラクトは、顧客からのリーブオーダー(指値的な注文)における売りと買い夫々の最良注文(最も安い売り注文、最も高い買い注文)の価格と外部の流動性供給者からのカバー取引可能な第3レート(外部レート)の価格のうち、有利となる方の価格を選択して前記第1レート(基準レート)を作成する機能をさらに有する。
このように構成すれば、取引所は、自己に最も有利な第1レート(基準レート)、第2レート(レート)を得ることができる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the smart contract for creating the first rate (reference rate) further has a function of creating the first rate (reference rate) by selecting the more advantageous price between the price of the best selling and buying orders (the cheapest selling order and the highest buying order) in leave orders (limit-like orders) from customers and the price of a third rate (external rate) available for cover trading from an external liquidity provider.
With this configuration, an exchange can obtain the first rate (base rate) and the second rate (rate) that are most advantageous to it.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記第1レート(基準レート)作成用スマートコントラクトは、外部の流動性供給者からのカバー取引可能な第3レート(外部レート)の価格を用いて前記第1レート(基準レート)を作成する機能をさらに有する。
このように構成しても、取引所は、自己に最も有利な第1レート(基準レート)、第2レート(レート)を得ることが可能となる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the smart contract for creating the first rate (reference rate) further has a function of creating the first rate (reference rate) using the price of a third rate (external rate) available for cover trading from an external liquidity provider.
Even with this configuration, the exchange can obtain the first rate (base rate) and the second rate (rate) that are most advantageous to itself.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記ストリーミング約定用スマートコントラクトは、前記第2レート(レート)配信用スマートコントラクトが配信した顧客毎に異なる前記第2レート(レート)に対して発注された、顧客からの売り又は買いのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させるとともに、外部の流動性供給者からのカバー取引可能な第3レート(外部レート)に対して、カバー取引用の注文を発注し、当該顧客に対し約定を返す機能を有する。
このように構成すれば、取引所は、顧客からの売り又は買いのストリーミング(成行的な注文)に対して、最大の利益を得ることができるようになる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the streaming contract for contracting has the function of acting as the counterparty to a transaction to buy or sell streaming (market orders) from a customer, which are placed at the second rate (rate) that differs for each customer and is distributed by the smart contract for distributing the second rate (rate), and of contracting the order for a cover transaction at a third rate (external rate) from an external liquidity supplier that allows for cover transactions, and of returning the contract to the customer.
This arrangement allows the exchange to maximize profits for streaming buys or sells from customers.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記第2レート(レート)作成用スマートコントラクトは、前記第2レート(レート)を作成する際に、前記マークアップ率取得用スマートコントラクトが取得した顧客の売り側と買い側の夫々のマークアップ率を、前記注文板における売りの注文数量と買いの注文数量との比率に応じて調整する機能をさらに有する。
このように構成すれば、板の売りと買いの注文数量を極力均等にすることが可能となる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the smart contract for creating the second rate (rate) further has a function of adjusting the markup rates for the customer's sell and buy sides acquired by the smart contract for obtaining markup rates when creating the second rate (rate), in accordance with the ratio of the sell order quantity and the buy order quantity in the order book.
With this configuration, it is possible to make the order quantities for selling and buying as equal as possible.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記第2レート(レート)作成用スマートコントラクトは、前記第2レート(レート)を作成する際に、前記マークアップ率取得用スマートコントラクトが取得した顧客の売り側と買い側の夫々のマークアップ率を、所定単位時間における現在の出来高の、所定単位時間における過去の出来高の平均値との比率に応じて調整する機能をさらに有する。
このように構成すれば、価格が短期間で暴騰又は暴落し、売りと買いの注文数量が一方に偏っている場合おける、板の売りと買いの注文数量を極力均等にすることが可能となる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the smart contract for creating the second rate (rate) further has a function of adjusting the markup rates of the customer's selling and buying sides acquired by the smart contract for obtaining markup rates when creating the second rate (rate) in accordance with the ratio of the current volume in a specified unit time to the average value of the past volumes in a specified unit time.
With this configuration, when prices rise or fall sharply in a short period of time and the quantities of buy and sell orders are biased to one side, it is possible to equalize the quantities of buy and sell orders on the order book as much as possible.

また、本発明のデジタル資産を用いた取引注文処理システムにおいては、好ましくは、前記リーブオーダー(指値的な注文)又は前記ストリーミング(成行的な注文)を介した、顧客である大口注文の取引者と顧客である小口注文の取引者との取引において、前記小口注文の取引者が発注に際し預け入れた、前記大口注文の取引者に渡すべき約定金額相当の金銭又はデジタル資産を管理する機能を有する取引資産管理用スマートコントラクトと、前記大口注文と前記小口注文とが約定したときに、前記取引資産管理用スマートコントラクトが管理する前記約定金額相当の金銭又はデジタル資産を担保として、所定の借り入れ先から、前記大口注文の取引者から受けるべきデジタル資産又は約定金額相当の金銭を借り入れる機能を有するレンディング用スマートコントラクトと、前記大口注文と前記小口注文との約定後に、デジタル資産および約定金額相当の金銭についての清算を行う機能を有する清算用スマートコントラクトと、をさらに有し、前記清算用スマートコントラクトは、前記大口注文と前記小口注文とが約定した当日に、前記レンディング用スマートコントラクトが借り入れたデジタル資産又は約定金額相当の金銭を、前記小口注文の取引者に渡す機能と、前記大口注文と前記小口注文とが約定した日から所定日数経過後に、前記大口注文の取引者から、デジタル資産又は約定金額相当の金銭を受けると同時に、前記取引資産管理用スマートコントラクトが管理する前記大口注文の取引者に渡すべき約定金額相当の金銭又はデジタル資産を、前記大口注文の取引者に渡す機能と、前記大口注文の取引者から受けた、デジタル資産又は約定金額相当の金銭を、借り入れにより生じた利息分の金銭とともに、前記借り入れ先に返済する機能と、を少なくとも有する。
このように構成すれば、大口取引と小口取引とを合わせた取引における、大口取引者と小口取引者との間で売買が成立した取引の清算対象物(約定金額と銘柄)の受け渡し日のギャップを解消することが可能となる。
Furthermore, in the trading order processing system using digital assets of the present invention, preferably, in a transaction between a large order client and a small order client via the leave order (limit order) or the streaming (market order), the system includes a trading asset management smart contract having a function of managing money or digital assets equivalent to the contract amount to be delivered to the large order client, which is deposited by the small order client when placing an order, a lending smart contract having a function of borrowing digital assets or money equivalent to the contract amount to be received from the large order client from a specified lender, using the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract as collateral when the large order and the small order are contracted, and a lending smart contract having a function of borrowing digital assets or money equivalent to the contract amount to be received from the large order client from a specified lender, using the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract as collateral when the large order and the small order are contracted, and and a clearing smart contract having a function of clearing the digital assets or money equivalent to the contract amount borrowed by the lending smart contract, to the trader of the small order on the day the large order and the small order are contracted, and the clearing smart contract has at least a function of delivering the digital assets or money equivalent to the contract amount borrowed by the lending smart contract to the trader of the small order on the day the large order and the small order are contracted, a function of receiving the digital assets or money equivalent to the contract amount from the trader of the large order a predetermined number of days after the day the large order and the small order are contracted, and at the same time delivering to the trader of the large order the money or digital assets managed by the trading asset management smart contract equivalent to the contract amount to be delivered to the trader of the large order, and a function of repaying the digital assets or money equivalent to the contract amount received from the trader of the large order, together with interest accrued from the borrowing, to the borrower.
By configuring it in this manner, it becomes possible to eliminate the gap in the delivery dates of the items to be cleared (contract amount and name) in a transaction that combines large and small lot transactions and in which a sale and purchase is concluded between a large lot trader and a small lot trader.

また、本発明のデジタル資産を用いた取引注文処理システムは、好ましくは、前記清算用スマートコントラクトは、前記レンディング用スマートコントラクトのデジタル資産又は約定金額相当の金銭の借り入れにより生じる、前記借り入れ先に支払うべき利息分の金銭を、前記大口注文の取引者と前記小口注文の取引者との取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値である前記第2レート(レート)を算出する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する機能をさらに有する。
このように構成すれば、取引者に対し別途コストを徴収することなく、大口取引と小口取引とを合わせた取引における、大口注文の取引者と小口注文の取引者との間で売買が成立した取引の清算対象物(約定金額と銘柄)の受け渡し日のギャップを解消することが可能となる。
In addition, in the trading order processing system using digital assets of the present invention, preferably, the clearing smart contract further has a function of allocating the amount of interest to be paid to the borrower, which arises from the borrowing of the digital assets or money equivalent to the contract amount of the lending smart contract, from a markup added when calculating the second rate (rate), which is an indicative price at which large orders and small orders are bought and sold as counterparties in a transaction between the trader of the large order and the trader of the small order, or from a spread obtained from the price difference between a sell order, which is one of the large orders and the small orders, and a buy order, which is the other.
With this configuration, it is possible to eliminate the gap in the delivery dates of the items to be cleared (contract amount and name) in a transaction that combines large and small lot transactions and where a purchase and sale is concluded between a trader of a large order and a trader of a small order, without charging any additional costs to the traders.

このため、本発明によれば、マッチング処理を効率化し、処理パフォーマンスを格段に向上させながら、大口取引と小口取引とを合わせた取引など、取引所のレート作成の際に上乗せするマークアップを算出するためのマークアップ率が異なる顧客同士の取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行うことが可能な、デジタル資産を用いた取引注文処理システムが得られる。
以下、図面を参照して、本発明を実施するための形態の説明を行うこととする。
Therefore, according to the present invention, a trading order processing system using digital assets is obtained that makes it possible to perform matching processes more efficiently and significantly improve processing performance, while also enabling transactions between clients who have different markup rates for calculating the markup to be added when creating rates at the exchange, such as transactions that combine large and small transactions, by combining streaming (market-like orders) and leave orders (limit-like orders).
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1実施形態
図1は本発明の第1実施形態に係るデジタル資産を用いた取引注文処理システムの全体構成を概略的に示す説明図である。
第1実施形態のデジタル資産を用いた取引注文処理システムは、トークン(ブロックチェーン等の分散技術においてデジタルで定義される価値などの総称であって、暗号資産を含む)、デジタル通貨、トークンとデジタル通貨、もしくはトークン同士、デジタル通貨同士など、あらゆる形態のデジタル資産間による取引を管理するための、少なくとも1種類のブロックチェーン等の分散技術における分散型台帳と、該分散型台帳に管理されるデジタル資産を用いた所定の処理を行うためのスマートコントラクトを備えて構築され、マークアップ率管理テーブル11と、マークアップ率取得用スマートコントラクト12と、第1レート(基準レート)作成用スマートコントラクト13と、第2レート(レート)作成用スマートコントラクト14と、第2レート(レート)配信用スマートコントラクト15と、ストリーミング約定用スマートコントラクト16と、リーブオーダー約定用スマートコントラクト17と、取引資産管理用スマートコントラクト18と、レンディング用スマートコントラクト19と、清算用スマートコントラクト20と、を有している。
First Embodiment FIG. 1 is an explanatory diagram showing in outline the overall configuration of a trading order processing system using digital assets according to a first embodiment of the present invention.
The trading order processing system using digital assets of the first embodiment is constructed with at least one type of distributed ledger in distributed technology such as blockchain for managing transactions between all forms of digital assets, such as tokens (a general term for values defined digitally in distributed technology such as blockchain, including crypto assets), digital currencies, tokens and digital currencies, or between tokens or between digital currencies, and smart contracts for performing predetermined processing using digital assets managed in the distributed ledger, and has a markup rate management table 11, a smart contract for markup rate acquisition 12, a smart contract for creating a first rate (base rate) 13, a smart contract for creating a second rate (rate) 14, a smart contract for distributing a second rate (rate) 15, a smart contract for streaming contract 16, a smart contract for leave order contract 17, a smart contract for managing trading assets 18, a smart contract for lending 19, and a smart contract for clearing 20.

マークアップ率管理テーブル
マークアップ率管理テーブル11は、例えば、図2に示すように、顧客単位で多様な数値に設定された各銘柄についてのマークアップ率を管理するように構成されている。
Markup Rate Management Table The markup rate management table 11 is configured to manage the markup rates for each brand, which are set to various values for each customer, as shown in FIG.

マークアップ率取得用スマートコントラクト
マークアップ率取得用スマートコントラクト12は、例えば、図3に示すように、マークアップ率管理テーブル11から、各銘柄における夫々の顧客40のマークアップ率を取得する機能を有するように構成されている。
Smart Contract for Obtaining Markup Rate The smart contract for obtaining markup rate 12 is configured to have the function of obtaining the markup rate of each customer 40 for each stock from the markup rate management table 11, for example, as shown in FIG. 3.

第1レート(基準レート)作成用スマートコントラクト
第1レート(基準レート)作成用スマートコントラクト13は、例えば、図4に示すように、顧客40の注文に対して取引の相手方として売買を行う気配値である第2レート(レート)を作成するベースとなる第1レート(基準レート)を作成する機能を有するように構成されている。
また、第1レート(基準レート)作成用スマートコントラクト13は、顧客40からのリーブオーダー(指値的な注文)における売りと買い夫々の最良注文(最も安い売り注文、最も高い買い注文)の価格と外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)の価格のうち、有利となる方の価格を選択して第1レート(基準レート)を作成する機能をさらに有するように構成されている。
なお、第1レート(基準レート)作成用スマートコントラクト13は、外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)の価格を用いて第1レート(基準レート)を作成する機能をさらに有するように構成してもよい。
Smart contract for creating first rate (base rate) The smart contract for creating the first rate (base rate) 13 is configured to have the function of creating a first rate (base rate) that serves as the basis for creating a second rate (rate), which is an indicative price at which buying and selling is conducted as a counterparty to a transaction in response to an order from a customer 40, as shown in FIG. 4, for example.
In addition, the smart contract 13 for creating the first rate (base rate) is further configured to have the function of selecting the more advantageous price between the price of the best buy and sell orders (the cheapest sell order and the highest buy order) in the leave orders (limit-like orders) from the customer 40 and the price of a third rate (external rate) available for cover trading from an external liquidity provider 50, to create the first rate (base rate).
In addition, the smart contract 13 for creating the first rate (base rate) may be configured to further have the function of creating the first rate (base rate) using the price of a third rate (external rate) available for cover trading from an external liquidity provider 50.

第2レート(レート)作成用スマートコントラクト
第2レート(レート)作成用スマートコントラクト14は、例えば、図5に示すように、夫々の顧客40について、第1レート(基準レート)作成用スマートコントラクト13が作成した第1レート(基準レート)に、マークアップ率取得用スマートコントラクト12が取得した当該顧客40のマークアップ率を掛け合わせることによりマークアップを算出し、算出したマークアップを第1レート(基準レート)に上乗せして第2レート(レート)を作成する機能を有するように構成されている。
また、第2レート(レート)作成用スマートコントラクト14は、第2レート(レート)を作成する際に、マークアップ率取得用スマートコントラクト12が取得した顧客40の売り側と買い側の夫々のマークアップ率を、注文板における売りの注文数量と買いの注文数量との比率に応じて調整する機能をさらに有するように構成されている。
また、第2レート(レート)作成用スマートコントラクト14は、第2レート(レート)を作成する際に、マークアップ率取得用スマートコントラクト12が取得した顧客40の売り側と買い側の夫々のマークアップ率を、所定単位時間における現在の出来高の、所定単位時間における過去の出来高の平均値との比率に応じて調整する機能をさらに有するように構成されている。
Smart contract for creating second rate (rate) The smart contract for creating second rate (rate) 14 is configured to have the function of calculating a markup for each customer 40 by multiplying the first rate (base rate) created by the smart contract for creating first rate (base rate) 13 by the markup rate for that customer 40 acquired by the smart contract for acquiring markup rate 12, and adding the calculated markup to the first rate (base rate) to create a second rate (rate), for example, as shown in FIG. 5.
In addition, the smart contract 14 for creating the second rate (rate) is further configured to have the function of adjusting the respective markup rates of the selling and buying sides of the customer 40 acquired by the smart contract 12 for acquiring the markup rate when creating the second rate (rate) in accordance with the ratio between the selling order quantity and the buying order quantity in the order book.
In addition, the smart contract 14 for creating the second rate (rate) is further configured to have the function of adjusting the markup rates of the selling and buying sides of the customer 40 acquired by the smart contract 12 for acquiring the markup rate when creating the second rate (rate) in accordance with the ratio of the current volume in a specified unit time to the average value of the past volumes in a specified unit time.

第2レート(レート)配信用スマートコントラクト
第2レート(レート)配信用スマートコントラクト15は、例えば、図6に示すように、第2レート(レート)作成用スマートコントラクト14が作成した夫々の顧客40についての第2レート(レート)を当該顧客40に配信する機能を有するように構成されている。
Smart contract for distributing second rate (rate) The smart contract for distributing second rate (rate) 15 is configured to have the function of distributing the second rate (rate) for each customer 40 created by the smart contract for creating second rate (rate) 14 to the customer 40, for example, as shown in Figure 6.

ストリーミング約定用スマートコントラクト
ストリーミング約定用スマートコントラクト16は、例えば、図7に示すように、第2レート(レート)配信用スマートコントラクト15が配信した顧客毎に異なる第2レート(レート)に対して発注された、顧客40からのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させ、当該顧客40に対し約定を返す機能を少なくとも有するように構成されている。
好ましくは、ストリーミング約定用スマートコントラクト16は、第2レート(レート)配信用スマートコントラクト15が配信した顧客毎に異なる第2レート(レート)に対して発注された、顧客40からの売り又は買いのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させるとともに、外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)に対して、カバー取引用の注文を発注し、当該顧客40に対し約定を返す機能を有するように構成されている。
The streaming contract smart contract 16 is configured to have at least the function of acting as a counterparty in a transaction to buy and sell streaming (market orders) from a customer 40, which are placed at a second rate (rate) different for each customer and distributed by the second rate (rate) distribution smart contract 15, as shown in FIG. 7, to conclude the transaction, and return the contract to the customer 40.
Preferably, the streaming contract 16 is configured to have the function of acting as a counterparty to a transaction to buy or sell streaming (market orders) from a customer 40, which is placed at a second rate (rate) different for each customer and distributed by the second rate (rate) distribution smart contract 15, and to execute a contract, and also to place an order for a cover transaction at a third rate (external rate) from an external liquidity provider 50 that allows cover transactions, and to return the contract to the customer 40.

リーブオーダー約定用スマートコントラクト
リーブオーダー約定用スマートコントラクト17は、例えば、図8に示すように、顧客40から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板に乗せる機能と、注文板における売り注文と買い注文との価格差が取引所30の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で当該売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客40に対し約定を返す機能と、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客40に対する共通の第2レート(レート)として全顧客40に配信する機能と、を有するように構成されている。
なお、本実施形態では、リーブオーダー約定用スマートコントラクト17は、注文板における売り注文と買い注文との価格差が取引所30の徴収すべき所定のスプレッド以上となったリーブオーダー(指値的な注文)であり且つ指値が第2レート(レート)配信用スマートコントラクト15が各顧客40に配信した顧客毎に異なる第2レート(レート)のうちで最良となる第2レート(レート)と対当する当該顧客40からの売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客40に対し約定を返す機能を有するように構成されている。
The leave order execution smart contract 17 is configured to have the following functions, for example, as shown in FIG. 8 : a function of placing all buy and sell leave orders (limit-type orders) placed by customers 40 on an order book; a function of acting as a counterparty to a transaction for each of the sell and buy leave orders (limit-type orders) at the limit price of at least some of the sell and buy leave orders (limit-type orders) where the price difference between the sell orders and the buy orders on the order book is equal to or greater than a predetermined spread to be collected by the exchange 30, thereby executing the sell and buy leave orders (limit-type orders), and returning the execution to each of the customers 40 who placed the sell and buy leave orders (limit-type orders); and a function of instantly distributing the execution price to all customers 40 as a common second rate (rate) for all customers 40 immediately before executing the leave orders (limit-type orders).
In this embodiment, the smart contract 17 for leave order execution is configured to have the function of acting as the counterparty in a transaction for each of the sell and buy leave orders (limit-like orders) from a customer 40 where the price difference between the sell order and the buy order in the order book is equal to or exceeds the predetermined spread to be collected by the exchange 30 and the limit price corresponds to the best second rate (rate) among the second rates (rates) that differ for each customer and that are delivered to each customer 40 by the smart contract 15 for delivering the second rate (rate), thereby executing the sell and buy leave orders (limit-like orders), and returning the execution to each of the customers 40 who placed the sell and buy leave orders (limit-like orders).

取引資産管理用スマートコントラクト
取引資産管理用スマートコントラクト18は、例えば、図9に示すように、リーブオーダー(指値的な注文)又はストリーミング(成行的な注文)を介した、顧客40である大口注文の取引者40Aと顧客40である小口注文の取引者40Bとの取引において、小口注文の取引者40Bが発注に際し預け入れた、大口注文の取引者40Aに渡すべき約定金額相当の金銭又はデジタル資産を管理する機能を有するように構成されている。
Smart Contract for Trading Asset Management The smart contract for trading asset management 18 is configured to have the function of managing money or digital assets equivalent to the contract amount to be delivered to a large order trader 40A, which is deposited by a small order trader 40B when placing an order, in a transaction between a customer 40, a large order trader 40A, and a customer 40, a small order trader 40B, via a leave order (limit order) or streaming (market order), as shown in FIG. 9, for example.

レンディング用スマートコントラクト
レンディング用スマートコントラクト19は、例えば、図10に示すように、大口注文と小口注文とが約定したときに、取引資産管理用スマートコントラクト18が管理する約定金額相当の金銭又はデジタル資産を担保として、所定の借り入れ先60から、大口注文の取引者40Aから受けるべきデジタル資産又は約定金額相当の金銭を借り入れる機能を有するように構成されている。
The lending smart contract 19 is configured to have the function of borrowing digital assets or money equivalent to the contract amount to be received from the trader 40A of the large order from a specified borrower 60, using money or digital assets equivalent to the contract amount managed by the trading asset management smart contract 18 as collateral, when a large order and a small order are contracted, as shown in Figure 10.

清算用スマートコントラクト
清算用スマートコントラクト20は、例えば、図11に示すように、大口注文と小口注文との約定後に、デジタル資産および約定金額相当の金銭についての清算を行う機能を有するように構成されている。
より詳しくは、清算用スマートコントラクト20は、大口注文と小口注文とが約定した当日に、レンディング用スマートコントラクト19が借り入れたデジタル資産又は約定金額相当の金銭を、小口注文の取引者40Bに渡す機能と、大口注文と小口注文とが約定した日から所定日数経過後に、大口注文の取引者40Aから、デジタル資産又は約定金額相当の金銭を受けると同時に、取引資産管理用スマートコントラクト18が管理する大口注文の取引者40Aに渡すべき約定金額相当の金銭又はデジタル資産を、大口注文の取引者40Aに渡す機能と、大口注文の取引者40Aから受けた、デジタル資産又は約定金額相当の金銭を、借り入れにより生じた利息分の金銭とともに、借り入れ先60に返済する機能と、を少なくとも有するように構成されている。
また、清算用スマートコントラクト20は、レンディング用スマートコントラクト19のデジタル資産又は約定金額相当の金銭の借り入れにより生じる、借り入れ先60に支払うべき利息分の金銭を、大口注文の取引者40Aと小口注文の取引者40Bとの取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値である第2レート(レート)を作成する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する機能をさらに有するように構成されている。
Clearing Smart Contract The clearing smart contract 20 is configured to have the function of clearing digital assets and money equivalent to the contract amount after a large order and a small order are contracted, for example, as shown in FIG. 11 .
More specifically, the clearing smart contract 20 is configured to have at least the following functions: on the day the large order and the small order are agreed upon, to deliver the digital assets or money equivalent to the agreed amount borrowed by the lending smart contract 19 to the trader of the small order 40B; a function to receive the digital assets or money equivalent to the agreed amount from the trader of the large order 40A a predetermined number of days after the day the large order and the small order are agreed upon, and at the same time deliver the money or digital assets equivalent to the agreed amount to be delivered to the trader of the large order 40A managed by the trading asset management smart contract 18 to the trader of the large order 40A; and a function to repay the digital assets or money equivalent to the agreed amount received from the trader of the large order 40A to the borrower 60, together with the interest accrued from the borrowing.
In addition, the clearing smart contract 20 is further configured to have the function of covering the interest payable to the borrower 60 arising from the borrowing of digital assets or money equivalent to the contract amount of the lending smart contract 19 from the markup added when creating a second rate (rate), which is an indicative price at which large orders and small orders are bought and sold as counterparties in a transaction between a large order trader 40A and a small order trader 40B, or from the spread obtained from the price difference between a sell order, which is one of the large orders and the small orders, and a buy order, which is the other.

その他、本実施形態のデジタル資産を用いた取引注文処理システムは、注文入力手段21と、注文管理用スマートコントラクト22を有している。 In addition, the trading order processing system using digital assets in this embodiment has an order input means 21 and an order management smart contract 22.

注文入力手段
注文入力手段21は、例えば、コンピュータの端末や、携帯情報端末等の他の電子機器の画面表示部と入力部を介して、所定形態のデジタル資産(例えば、トークンとデジタル通貨)による取引についての注文(例えば、トークンによる売り注文、デジタル通貨による買い注文)を入力することができるように構成されている。注文の入力項目は、銘柄、売買区分、数量単位、通貨単位、注文価格、注文数量、注文方式、大口注文・小口注文、価格固定・数量固定、交換先(のデジタル資産の種類)等が挙げられる。
なお、第2レート(レート)作成用スマートコントラクト14は、第2レート(レート)を作成する際に、注文入力手段21を介して入力された銘柄、売買区分、数量単位、通貨単位、注文価格、注文数量、注文方式、大口注文・小口注文、価格固定・数量固定等の入力項目に応じて、上述した所定の丸め処理を行う機能を備えて構成され得る。
Order Input Means The order input means 21 is configured to allow input of orders (e.g., sell orders for tokens, buy orders for digital currency) for transactions using digital assets of a predetermined form (e.g., tokens and digital currency) via a screen display unit and an input unit of a computer terminal or other electronic device such as a mobile information terminal. Items input for an order include brand, buy/sell category, quantity unit, currency unit, order price, order quantity, order method, large order/small order, fixed price/fixed quantity, exchange destination (type of digital asset), etc.
In addition, the smart contract 14 for creating the second rate (rate) may be configured with a function to perform the above-mentioned predetermined rounding processing depending on the input items such as the stock, buy/sell category, quantity unit, currency unit, order price, order quantity, order method, large order/small order, fixed price/fixed quantity, etc. input via the order input means 21 when creating the second rate (rate).

注文管理用スマートコントラクト
注文管理用スマートコントラクト22は、注文者(顧客、取引者40)により注文入力手段21を介して入力された注文データ(例えば、トークンによる売り注文、デジタル通貨による買い注文のデータ)を分散型台帳に記録・保存する機能を有するように構成されている。
Smart Contract for Order Management The smart contract for order management 22 is configured to have the function of recording and storing order data (e.g., data on a sell order using tokens or a buy order using digital currency) input by an orderer (customer, trader 40) via the order input means 21 in a distributed ledger.

このように構成された本実施形態のデジタル資産を用いた取引注文処理システムにおける処理の流れの一例を、図12~図13を用いて説明する。
なお、本実施形態のデジタル資産を用いた取引注文処理システムでは、コンピュータの端末や、携帯情報端末等の他の電子機器の画面表示部と入力部を有する注文入力手段21を介して、入力されたIDについて、個人はマイナンバー、法人は法人番号を用いた本人確認処理を自動で行い、上記各スマートコントラクトは、承認されたIDに対して処理を行う。
注文者(顧客、取引者40)により注文入力手段21を介して注文(売り注文、買い注文)を入力されると、注文管理用スマートコントラクト22は、注文者(顧客、取引者40)により注文入力手段21を介して入力された銘柄単位の注文についての注文データ(売り注文、買い注文のデータ)を、分散型台帳に記録・保存する。
注文系情報については、注文管理用スマートコントラクト22や、ストリーミング約定用スマートコントラクト16、リーブオーダー約定用スマートコントラクト17により、注文電文や、約定電文の内容がデータ管理領域(ブロックチェーン等)に記録され、ストリーミング約定用スマートコントラクト16、リーブオーダー約定用スマートコントラクト17により注文データの記録内容が更新される。
指値の場合は、注文管理用スマートコントラクト22により先に注文データがデータ管理領域に記録される。
データ管理領域には、注文系情報の他に、扱い銘柄の取引仕様(銘柄名、銘柄コード、取引単位など)が記録される。
「金額」を指定するタイプの注文は、基本的には成行処理(第2レート(レート)配信用スマートコントラクト15により提示されている第2レート(レート)をベースに「数量」が定まる)になる。しかし、注文者(顧客、取引者40)が「金額」を指定するタイプの注文で指値処理を行うことを所望する場合は、「金額」指定の他に「価格」もしくは「数量」を指定する必要がある。
An example of the process flow in the trading order processing system using digital assets according to this embodiment configured as above will be described with reference to FIGS.
In addition, in the trading order processing system using digital assets of this embodiment, the ID entered via the order input means 21 having a screen display unit and input unit of a computer terminal or other electronic device such as a mobile information terminal automatically undergoes identity verification processing using the My Number for individuals and the Corporate Number for corporations, and each of the above smart contracts performs processing on the approved ID.
When an order (sell order, buy order) is input by an orderer (customer, trader 40) via the order input means 21, the order management smart contract 22 records and stores in a distributed ledger the order data (sell order, buy order data) for the stock-based order input by the orderer (customer, trader 40) via the order input means 21.
With regard to order-related information, the contents of order messages and contract messages are recorded in a data management area (such as a blockchain) by the order management smart contract 22, the streaming contract smart contract 16, and the leave order contract smart contract 17, and the recorded contents of the order data are updated by the streaming contract smart contract 16 and the leave order contract smart contract 17.
In the case of a limit order, the order data is first recorded in the data management area by the order management smart contract 22.
In the data management area, in addition to order-related information, transaction specifications for handled stocks (stock name, stock code, trading unit, etc.) are recorded.
An order that specifies an "amount" is basically processed at market price (the "quantity" is determined based on the second rate (rate) presented by the smart contract 15 for distributing the second rate (rate)). However, if an orderer (customer, trader 40) wishes to perform limit order processing for an order that specifies an "amount", he or she must specify a "price" or "quantity" in addition to specifying an "amount".

第1レート(基準レート)の作成
まず、図12に示すように、第1レート(基準レート)作成用スマートコントラクト13が、顧客40からのリーブオーダー(指値的な注文)における売りと買い夫々の最良注文(最も安い売り注文、最も高い買い注文)の価格と外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)の価格のうち、有利となる方の価格を選択して第1レート(基準レート)を作成する。
あるいは、第1レート(基準レート)作成用スマートコントラクト13が、外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)の価格を用いて第1レート(基準レート)を作成する。
Creation of the First Rate (Reference Rate) First, as shown in FIG. 12, the smart contract 13 for creating the first rate (reference rate) selects the more advantageous price between the price of the best buy and sell orders (the cheapest sell order and the highest buy order) in the leave orders (limit-like orders) from the customers 40 and the price of the third rate (external rate) available for cover trading from the external liquidity provider 50, and creates the first rate (reference rate).
Alternatively, the smart contract 13 for creating the first rate (base rate) creates the first rate (base rate) using the price of a third rate (external rate) available for cover trading from an external liquidity provider 50.

マークアップ率の取得
また、マークアップ率取得用スマートコントラクト12が、マークアップ率管理テーブル11から、各銘柄における夫々の顧客40のマークアップ率を取得する。
Obtaining the markup rate The markup rate obtaining smart contract 12 obtains the markup rate of each customer 40 for each issue from the markup rate management table 11.

第2レート(レート)の作成及び提示
次に、第2レート(レート)作成用スマートコントラクト14が、夫々の顧客40について、第1レート(基準レート)作成用スマートコントラクト13が作成した第1レート(基準レート)に、マークアップ率取得用スマートコントラクト12が取得した当該顧客40のマークアップ率を掛け合わせることによりマークアップを算出し、算出したマークアップを第1レート(基準レート)に上乗せして第2レート(レート)を作成する。
次に、第2レート(レート)配信用スマートコントラクト15が、第2レート(レート)作成用スマートコントラクト14が作成した夫々の顧客40についての第2レート(レート)を当該顧客40に配信する。
Creation and presentation of second rate (rate) Next, the smart contract 14 for creating the second rate (rate) calculates a markup for each customer 40 by multiplying the first rate (base rate) created by the smart contract 13 for creating the first rate (base rate) by the markup rate for that customer 40 acquired by the smart contract 12 for acquiring the markup rate, and creates a second rate (rate) by adding the calculated markup to the first rate (base rate).
Next, the smart contract 15 for distributing the second rate (rate) distributes the second rate (rate) for each customer 40 created by the smart contract 14 for creating the second rate (rate) to that customer 40.

顧客から発注されたストリーミング(成行的な注文)に対する処理
ここで、顧客40からストリーミング(成行的な注文)が発注された場合は、図13に示すように、ストリーミング約定用スマートコントラクト16が、第2レート(レート)配信用スマートコントラクト15が配信した顧客毎に異なる第2レート(レート)に対して発注された、顧客40からのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させ、当該顧客40に対し約定を返す。
あるいは、ストリーミング約定用スマートコントラクト16は、第2レート(レート)配信用スマートコントラクト15が配信した顧客毎に異なる第2レート(レート)に対して発注された、顧客40からの売り又は買いのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させるとともに、外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)に対して、カバー取引用の注文を発注し、当該顧客40に対し約定を返す。
Processing of streaming (market order) placed by a customer Here, when a streaming (market order) is placed by a customer 40, as shown in FIG. 13, the smart contract for streaming contract 16 acts as the counterparty to the transaction to buy and sell the streaming (market order) from the customer 40, which was placed at the second rate (rate) that differs for each customer and is distributed by the smart contract for second rate (rate) distribution 15, to conclude the transaction, and return the contract to the customer 40.
Alternatively, the streaming contract 16 acts as the counterparty to a transaction in which streaming buy or sell (market orders) from a customer 40 are placed at a second rate (rate) that differs for each customer and is distributed by the second rate (rate) distribution smart contract 15, and buys and sells, thereby completing the transaction, and also places an order for a cover transaction at a third rate (external rate) from an external liquidity provider 50 that allows cover transactions, and returns the transaction to the customer 40.

顧客から発注されたリーブオーダー(指値的な注文)に対する処理
また、顧客40からリーブオーダー(指値的な注文)が発注された場合は、図13に示すように、リーブオーダー約定用スマートコントラクト17が、顧客40から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板に乗せる。
次に、リーブオーダー約定用スマートコントラクト17が、注文板における売り注文と買い注文との価格差が取引所30の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で当該売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客40に対し約定を返す。
なお、本例では、リーブオーダー約定用スマートコントラクト17が、注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となったリーブオーダー(指値的な注文)であり且つ指値が第2レート(レート)配信用スマートコントラクト15が各顧客に配信した顧客毎に異なる第2レート(レート)のうちで最良となる第2レート(レート)と対当する当該顧客からの売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す。
また、リーブオーダー約定用スマートコントラクト17は、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客40に対する共通の第2レート(レート)として全顧客40に配信する。
これにより、マークアップ率の異なる顧客40から発注された、リーブオーダー(指値的な注文)の指値に対し、取引所30の提示したレート(第2レート)が約定したことをブロックチェーン上に履歴として記録される。
Processing of leave orders (limit-type orders) placed by customers When a leave order (limit-type order) is placed by a customer 40, as shown in FIG. 13, the leave order execution smart contract 17 places all buy and sell leave orders (limit-type orders) placed by the customer 40 on the order book.
Next, the smart contract 17 for leaving order execution acts as the counterparty to the transaction for each of the leaving orders for selling and buying (limit-type orders) at the limit price of at least some of the leaving orders for selling and buying (limit-type orders) where the price difference between the selling orders and the buying orders on the order board is equal to or greater than the specified spread to be collected by the exchange 30, thereby executing the order, and returning the execution to each of the clients 40 who placed the leaving orders for selling and buying (limit-type orders).
In this example, the smart contract 17 for leave order execution buys and sells as the counterparty to the transaction for each of the sell and buy leave orders (limit-like orders) from the customer where the price difference between the sell order and the buy order on the order board is equal to or exceeds the specified spread to be collected by the exchange and the limit price corresponds to the best second rate (rate) among the second rates (rates) that differ for each customer and are delivered to each customer by the smart contract 15 for delivering the second rate (rate), and executes the transaction, and returns the execution to each of the customers who placed the sell and buy leave orders (limit-like orders).
In addition, the smart contract 17 for leave order execution instantly distributes the execution price to all customers 40 as a common second rate (rate) for all customers 40 immediately before executing the leave order (a limit order).
As a result, a history is recorded on the blockchain indicating that the rate (second rate) offered by the exchange 30 has been agreed to in response to a leave order (a limit-like order) placed by a customer 40 with a different markup rate.

大口取引と小口取引とを合わせた取引における清算処理
大口取引と小口取引とを合わせた取引においては、図14に示すように、取引資産管理用スマートコントラクト18が、リーブオーダー(指値的な注文)又はストリーミング(成行的な注文)を介した、顧客40である大口注文の取引者40Aと顧客40である小口注文の取引者40Bとの取引において、小口注文の取引者40Bが発注に際し預け入れた、大口注文の取引者40Aに渡すべき約定金額相当の金銭又はデジタル資産を管理する。
そして、レンディング用スマートコントラクト19が、大口注文と小口注文とが約定したときに、取引資産管理用スマートコントラクト18が管理する約定金額相当の金銭又はデジタル資産を担保として、所定の借り入れ先60から、大口注文の取引者40Aから受けるべきデジタル資産又は約定金額相当の金銭を借り入れる。
大口注文と小口注文とが約定した当日に、清算用スマートコントラクト20が、レンディング用スマートコントラクト19が借り入れたデジタル資産又は約定金額相当の金銭を、小口注文の取引者40Bに渡す。
大口注文と小口注文とが約定した日から所定日数経過後に、清算用スマートコントラクト20が、大口注文の取引者40Aから、デジタル資産又は約定金額相当の金銭を受けると同時に、取引資産管理用スマートコントラクト18が管理する大口注文の取引者40Aに渡すべき約定金額相当の金銭又はデジタル資産を、大口注文の取引者40Aに渡す。
次に、清算用スマートコントラクト20が、大口注文の取引者40Aから受けた、デジタル資産又は約定金額相当の金銭を、借り入れにより生じた利息分の金銭とともに、借り入れ先60に返済する。
なお、レンディング用スマートコントラクト19のデジタル資産又は約定金額相当の金銭の借り入れにより生じる、借り入れ先60に支払うべき利息分の金銭については、清算用スマートコントラクト20が、大口注文の取引者40Aと小口注文の取引者40Bとの取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値である第2レート(レート)を作成する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する。
Clearing processing for combined large and small lot transactions In combined large and small lot transactions, as shown in Figure 14, a smart contract 18 for managing trading assets manages the money or digital assets equivalent to the contract amount to be delivered to the large order trader 40A, which is deposited by the small order trader 40B when placing an order, in a transaction between a customer 40, a large order trader 40A, and a customer 40, a small order trader 40B, via a leave order (limit order) or streaming (market order).
Then, when the large order and the small order are contracted, the lending smart contract 19 borrows digital assets or money equivalent to the contract amount to be received from the trader 40A of the large order from a specified borrower 60, using as collateral the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract 18.
On the day that the large order and the small order are contracted, the clearing smart contract 20 transfers the digital assets borrowed by the lending smart contract 19 or money equivalent to the contracted amount to the trader 40B of the small order.
A specified number of days after the large order and the small order are contracted, the clearing smart contract 20 receives digital assets or money equivalent to the contracted amount from the trader 40A of the large order, and at the same time delivers to the trader 40A of the large order the money or digital assets equivalent to the contracted amount that should be delivered to the trader 40A of the large order, which are managed by the trading asset management smart contract 18, to the trader 40A of the large order.
Next, the clearing smart contract 20 repays the digital assets or money equivalent to the contract amount received from the large order trader 40A to the borrower 60, together with the interest accrued on the borrowing.
In addition, the interest to be paid to the borrower 60, which arises from the borrowing of digital assets or money equivalent to the contract amount by the lending smart contract 19, will be funded from the markup added by the clearing smart contract 20 when creating the second rate (rate), which is the indicative price at which large and small orders are bought and sold as counterparties in the transaction between the large order trader 40A and the small order trader 40B, or from the spread obtained from the price difference between a sell order, which is one of the large and small orders, and a buy order, which is the other.

売りと買いの注文数量の状況に応じたマークアップの調整処理
なお、第2レート(レート)作成用スマートコントラクト14は、第2レート(レート)を作成する際に用いるマークアップを、売りと買いの注文数量の状況に応じて調整する。
Markup adjustment process according to the status of buy and sell order quantities . Note that the smart contract 14 for creating the second rate (rate) adjusts the markup used when creating the second rate (rate) according to the status of buy and sell order quantities.

詳しくは、第2レート(レート)作成用スマートコントラクト14は、第2レート(レート)を作成する際に、マークアップ率取得用スマートコントラクト12が取得した顧客40の売り側と買い側の夫々のマークアップ率を、注文板における売りの注文数量と買いの注文数量との比率に応じて調整する。
例えば、第2レート(レート)作成用スマートコントラクト14は、注文価格が取引所30のレート(自己が顧客40の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲内にある売りと買いの注文に関し、板の売り側の合計注文数量が100、板の買い側の合計注文数量が200であった場合、買い心理が(2倍)強く働いているものとして、レート(取引所30(自己)が顧客40の注文に対して取引の相手方として売買を行う気配値)の作成に際し、売り側と買い側の夫々のマークアップ率を5%上げるなどして調整する(1方向修正)。
即ち、第2レート(レート)作成用スマートコントラクト14は、マークアップ率(%)を、売りと買いの心理の相対的な倍率に応じて、例えば、買い心理が売り心理の3倍である場合は8%、1.5倍である場合には2%などのように調整する。
In detail, when creating the second rate (rate), the smart contract 14 for creating the second rate (rate) adjusts the markup rates of the selling and buying sides of the customer 40 acquired by the smart contract 12 for acquiring the markup rate in accordance with the ratio of the selling order quantity to the buying order quantity in the order book.
For example, in the case of buy and sell orders whose order prices are within a range that can be contracted with the exchange 30's rate (the quote price at which the exchange 30 (itself) will buy and sell as the counterparty to the order of the customer 40), if the total order quantity on the sell side of the book is 100 and the total order quantity on the buy side of the book is 200, the second rate (rate) creating smart contract 14 assumes that buying sentiment is (twice) stronger and adjusts the markup rate of each of the sell and buy sides by, for example, increasing it by 5% when creating the rate (the quote price at which the exchange 30 (itself) will buy and sell as the counterparty to the order of the customer 40) (one-way correction).
That is, the smart contract 14 for creating the second rate (rate) adjusts the markup rate (%) according to the relative ratio of buying and selling sentiment, for example, 8% when buying sentiment is three times that of selling sentiment, 2% when buying sentiment is 1.5 times, etc.

あるいは、第2レート(レート)作成用スマートコントラクト14は、第2レート(レート)を作成する際に、マークアップ率取得用スマートコントラクト12が取得した顧客40の売り側と買い側の夫々のマークアップ率を、所定単位時間における現在の出来高の、所定単位時間における過去の出来高の平均値との比率に応じて調整する。
例えば、1日あたり10分刻みの単位時間で、単位時間あたりの出来高の水準が、過去の実績データ(例えば、30日平均値)に基づいて算出される。単位時間(ここでは、10分間)あたり出来高が30日平均値に比べて2倍多い場合は、価格が短期間で暴騰又は暴落し、売りと買いの注文数量が一方に偏っていると考えられる。そこで、第2レート(レート)作成用スマートコントラクト14は、例えば、価格が暴落していると考えられるときには、売り側のマークアップ率を2%上げるとともに、買い側のマークアップ率を2%下げるなど、マークアップ率の幅修正(広げる)を行う。
例えば、第2レート(レート)作成用スマートコントラクト14は、1日あたり10分刻みの出来高が、30日平均値に比べて3倍多い場合は売り側のマークアップ率の上げ率、買い側のマークアップ率の下げ率を夫々5%にするなど、30日平均値と比較し、マークアップ率(%)の値を調整する。
Alternatively, when creating the second rate (rate), the smart contract 14 for creating the second rate (rate) adjusts the markup rates of the selling and buying sides of the customer 40 obtained by the smart contract 12 for obtaining the markup rate according to the ratio of the current volume in a specified unit time to the average value of the past volumes in a specified unit time.
For example, the volume level per unit time is calculated based on past performance data (e.g., 30-day average value) for a unit time of 10 minutes per day. If the volume per unit time (here, 10 minutes) is twice as high as the 30-day average value, it is considered that the price has risen or fallen sharply in a short period of time, and the order quantities for selling and buying are biased to one side. Therefore, the second rate (rate) creation smart contract 14 corrects (widens) the range of the markup rate, for example, by increasing the markup rate on the selling side by 2% and decreasing the markup rate on the buying side by 2% when it is considered that the price is falling sharply.
For example, the smart contract 14 for creating the second rate (rate) adjusts the value of the markup rate (%) in comparison with the 30-day average value, such as by setting the increase rate of the selling markup rate and the decrease rate of the buying markup rate to 5% each if the volume in 10-minute increments per day is three times higher than the 30-day average value.

本実施形態のデジタル資産を用いた取引注文処理システムの効果
本実施形態のデジタル資産を用いた取引注文処理システムによれば、トークン(ブロックチェーン等の分散技術においてデジタルで定義される価値などの総称であって、暗号資産を含む)、デジタル通貨、トークンとデジタル通貨、もしくはトークン同士、デジタル通貨同士など、あらゆる形態のデジタル資産間による取引を管理するための、少なくとも1種類のブロックチェーン等の分散技術における分散型台帳と、該分散型台帳に管理されるデジタル資産を用いた所定の処理を行うためのスマートコントラクトを備えた構成としたので、分散型台帳に記録された価値を有するトークンそのものを、スマートコントラクトを介して処理できるため、注文処理の発注管理をデータベースに依存して行っていた従来の取引市場発注管理システムとは異なり、注文処理から決済(清算)処理までを即時に行うことができ、処理時間が飛躍的に向上する。
その上で、本実施形態のデジタル資産を用いた取引注文処理システムによれば、第2レート(レート)作成用スマートコントラクト14、第2レート(レート)配信用スマートコントラクト15が、取引所30による顧客別に第1レート(基準レート)にマークアップを上乗せした第2レート(レート)(取引所30(自己)が顧客40の注文に対して取引の相手方として売買を行う気配値)を作成して配信する機能を有し、ストリーミング約定用スマートコントラクト16が、顧客40毎に異なる第2レート(レート)に対して発注された、顧客40からのストリーミング(成行的な注文)に対して約定を返し、リーブオーダー(指値的な注文)が発注された場合は、リーブオーダー約定用スマートコントラクト17が、顧客40からの注文価格が取引所30のレート(自己が顧客40の注文に対して取引の相手方として売買を行う気配値)と約定し得る範囲内にあるか否かにかかわらず、顧客40から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板にそのまま乗せて、注文板における売り注文と買い注文との価格差が取引所30の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で売りと買いのリーブオーダー(指値的な注文)夫々に対して取引の相手方として売買を行って約定させるように構成したので、顧客単位でマークアップ率が異なることにより第2レート(レート)(取引所30(自己)が顧客40の注文に対して取引の相手方として売買を行う気配値)が異なる、各顧客40からのリーブオーダー(指値的な注文)に対して、マークアップ率が同じに設定されている顧客数分の注文板を設けることなく、共通の板に乗せてマッチング処理を行うことができ、マッチング処理が簡素化され、処理パフォーマンスを格段に向上させることができる。
また、リーブオーダー約定用スマートコントラクト17が、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客40に対する共通の第2レート(レート)として配信するように構成したので、顧客40のリーブオーダー(指値的な注文)の指値に対し、取引所30が提示した第2レート(レート)が約定したことをブロックチェーン上に履歴として残すことができる。
Effects of the trading order processing system using digital assets of the present embodiment The trading order processing system using digital assets of the present embodiment is configured to include at least one type of distributed ledger in distributed technology such as blockchain for managing transactions between all forms of digital assets, such as tokens (a general term for value defined digitally in distributed technology such as blockchain, and including crypto assets), digital currencies, tokens and digital currencies, or between tokens or between digital currencies, and to perform predetermined processing using the digital assets managed in the distributed ledger. Therefore, the tokens themselves, which have value recorded in the distributed ledger, can be processed via the smart contract. Therefore, unlike conventional market order management systems that rely on a database for order management of order processing, orders can be processed through settlement (clearing) processing in an instant, dramatically improving processing time.
In addition, according to the trading order processing system using digital assets of this embodiment, the smart contract 14 for creating the second rate (rate) and the smart contract 15 for distributing the second rate (rate) have a function of creating and distributing a second rate (rate) (an indicative price at which the exchange 30 (itself) will buy and sell as a counterparty to an order from a customer 40) that is a markup added to the first rate (base rate) for each customer of the exchange 30, and the smart contract 16 for streaming contract returns a contract for a streaming (market-like order) from the customer 40 that is placed at a second rate (rate) that differs for each customer 40, and when a leave order (limit-like order) is placed, the smart contract 17 for leave order contract returns a contract based on whether or not the order price from the customer 40 is within a range that can be contracted with the rate of the exchange 30 (an indicative price at which the exchange 30 (itself) will buy and sell as a counterparty to an order from the customer 40). Regardless of the above, all sell and buy leave orders (limit-like orders) placed by the customers 40 are placed on the order book as they are, and the sell and buy leave orders (limit-like orders) are traded and executed as the counterparty of the transaction at the limit price of at least some of the sell and buy leave orders (limit-like orders) where the price difference between the sell orders and the buy orders on the order book is equal to or greater than the predetermined spread to be collected by the exchange 30. Therefore, for leave orders (limit-like orders) from each customer 40 in which the second rate (rate) (the indicative price at which the exchange 30 (itself) trades and executes transactions as the counterparty of the order of the customer 40) differs due to the difference in markup rate for each customer, it is possible to place them on a common book and perform matching processing without preparing order books for the number of customers with the same markup rate, which simplifies the matching processing and significantly improves processing performance.
In addition, the leave order execution smart contract 17 is configured to instantly distribute the execution price as a common second rate (rate) to all customers 40 immediately before executing the leave order (limit order), so that it is possible to leave a history on the blockchain that the second rate (rate) presented by the exchange 30 has been executed against the limit price of the leave order (limit order) of the customer 40.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、リーブオーダー約定用スマートコントラクト17が、注文板における売り注文と買い注文との価格差が取引所30の徴収すべき所定のスプレッド以上となったリーブオーダー(指値的な注文)であり且つ指値が第2レート(レート)配信用スマートコントラクト15が各顧客40に配信した顧客毎に異なる第2レート(レート)のうちで最良となる第2レート(レート)と対当する当該顧客40からの売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客40に対し約定を返す機能を有するように構成したので、顧客40が不利益を被ることなく、取引所30は最大の利益を得ることができる。 In addition, according to the trading order processing system using digital assets of this embodiment, the leave order execution smart contract 17 is configured to have the function of acting as the counterparty to a transaction for each of the sell and buy leave orders (limit-type orders) from a customer 40 whose price difference between a sell order and a buy order in the order book is equal to or exceeds the predetermined spread to be collected by the exchange 30 and whose limit price corresponds to the best second rate (rate) among the second rates (rates) that differ for each customer and that are delivered to each customer 40 by the second rate (rate) delivery smart contract 15, thereby executing the sell and buy leave orders (limit-type orders), and returning the execution to each of the customers 40 who placed the sell and buy leave orders (limit-type orders). This allows the exchange 30 to obtain maximum profits without causing any disadvantage to the customers 40.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、第1レート(基準レート)作成用スマートコントラクト13が、顧客40からのリーブオーダー(指値的な注文)における売りと買い夫々の最良注文(最も安い売り注文、最も高い買い注文)の価格と外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)の価格のうち、有利となる方の価格を選択して第1レート(基準レート)を作成する機能をさらに有するように構成したので、取引所30は、自己に最も有利な第1レート(基準レート)、第2レート(レート)を得ることができる。 In addition, according to the trading order processing system using digital assets of this embodiment, the smart contract 13 for creating the first rate (base rate) is further configured to have the function of creating the first rate (base rate) by selecting the more advantageous price between the price of the best selling and buying orders (the cheapest selling order and the highest buying order) in the leave orders (limit-like orders) from the customer 40 and the price of the third rate (external rate) available for cover trading from the external liquidity provider 50, so that the exchange 30 can obtain the first rate (base rate) and second rate (rate) that are most advantageous to itself.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、第1レート(基準レート)作成用スマートコントラクト13が、外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)の価格を用いて第1レート(基準レート)を作成する機能をさらに有するように構成したので、取引所30は、自己に最も有利な第1レート(基準レート)、第2レート(レート)を得ることが可能となる。 In addition, according to the trading order processing system using digital assets of this embodiment, the smart contract 13 for creating the first rate (base rate) is further configured to have the function of creating the first rate (base rate) using the price of the third rate (external rate) available for cover trading from the external liquidity provider 50, so that the exchange 30 can obtain the first rate (base rate) and second rate (rate) that are most advantageous to itself.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、ストリーミング約定用スマートコントラクト16が、第2レート(レート)配信用スマートコントラクト15が配信した顧客毎に異なる第2レート(レート)に対して発注された、顧客40からの売り又は買いのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させるとともに、外部の流動性供給者50からのカバー取引可能な第3レート(外部レート)に対して、カバー取引用の注文を発注し、当該顧客40に対し約定を返す機能を有するように構成したので、取引所30は、顧客40からの売り又は買いのストリーミング(成行的な注文)に対して、最大の利益を得ることができるようになる。 In addition, according to the trading order processing system using digital assets of this embodiment, the streaming contract 16 is configured to have the function of acting as the counterparty to a transaction for buying or selling (market orders) streaming from a customer 40, which is placed at a second rate (rate) different for each customer and distributed by the second rate (rate) distribution smart contract 15, to buy or sell as a trading partner and to execute the contract, and also to place an order for a cover transaction at a third rate (external rate) available for cover trading from an external liquidity provider 50 and to return the contract to the customer 40, so that the exchange 30 can obtain maximum profits from the selling or buying streaming (market orders) from the customer 40.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、第2レート(レート)作成用スマートコントラクト14が、第2レート(レート)を作成する際に、マークアップ率取得用スマートコントラクト12が取得した顧客の売り側と買い側の夫々のマークアップ率を、注文板における売りの注文数量と買いの注文数量との比率に応じて調整する機能をさらに有するように構成したので、板の売りと買いの注文数量を極力均等にすることが可能となる。 In addition, according to the trading order processing system using digital assets of this embodiment, the second rate (rate) creating smart contract 14 is configured to further have a function of adjusting the respective markup rates of the customer's sell side and buy side acquired by the markup rate acquisition smart contract 12 when creating the second rate (rate) in accordance with the ratio of the sell order quantity and the buy order quantity in the order book, making it possible to make the sell order quantity and the buy order quantity in the order book as equal as possible.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、第2レート(レート)作成用スマートコントラクト14が、第2レート(レート)を作成する際に、マークアップ率取得用スマートコントラクト12が取得した顧客の売り側と買い側の夫々のマークアップ率を、所定単位時間における現在の出来高の、所定単位時間における過去の出来高の平均値との比率に応じて調整する機能をさらに有するように構成したので、価格が短期間で暴騰又は暴落し、売りと買いの注文数量が一方に偏っている場合おける、板の売りと買いの注文数量を極力均等にすることが可能となる。 In addition, according to the trading order processing system using digital assets of this embodiment, the smart contract 14 for creating the second rate (rate) is further configured to have a function of adjusting the respective markup rates of the customer's selling side and buying side acquired by the smart contract 12 for acquiring the markup rate when creating the second rate (rate) in accordance with the ratio of the current volume in a specified unit time to the average value of the past volume in a specified unit time. This makes it possible to equalize the selling and buying order quantities on the order book as much as possible when prices rise or fall sharply in a short period of time and the selling and buying order quantities are biased towards one side.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、リーブオーダー(指値的な注文)又はストリーミング(成行的な注文)を介した、顧客40である大口注文の取引者40Aと顧客40である小口注文の取引者40Bとの取引において、小口注文の取引者40Bが発注に際し預け入れた、大口注文の取引者40Aに渡すべき約定金額相当の金銭又はデジタル資産を管理する機能を有する取引資産管理用スマートコントラクト18と、大口注文と小口注文とが約定したときに、取引資産管理用スマートコントラクト18が管理する約定金額相当の金銭又はデジタル資産を担保として、所定の借り入れ先60から、大口注文の取引者40Aから受けるべきデジタル資産又は約定金額相当の金銭を借り入れる機能を有するレンディング用スマートコントラクト19と、大口注文と小口注文との約定後に、デジタル資産および約定金額相当の金銭についての清算を行う機能を有する清算用スマートコントラクト20と、をさらに有し、清算用スマートコントラクト20が、大口注文と小口注文とが約定した当日に、レンディング用スマートコントラクト19が借り入れたデジタル資産又は約定金額相当の金銭を、小口注文の取引者40Bに渡す機能と、大口注文と小口注文とが約定した日から所定日数経過後に、大口注文の取引者40Aから、デジタル資産又は約定金額相当の金銭を受けると同時に、取引資産管理用スマートコントラクト18が管理する大口注文の取引者40Aに渡すべき約定金額相当の金銭又はデジタル資産を、大口注文の取引者40Aに渡す機能と、大口注文の取引者40Aから受けた、デジタル資産又は約定金額相当の金銭を、借り入れにより生じた利息分の金銭とともに、借り入れ先60に返済する機能と、を少なくとも有するように構成したので、大口取引と小口取引とを合わせた取引における、大口取引者と小口取引者との間で売買が成立した取引の清算対象物(約定金額と銘柄)の受け渡し日のギャップを解消することが可能となる。 In addition, according to the trading order processing system using digital assets of this embodiment, in a transaction between a customer 40, a trader 40A of a large order, and a customer 40, a trader 40B of a small order, via a leave order (a limit order) or a streaming order (a market order), a trading asset management smart contract 18 having a function of managing money or digital assets equivalent to the contract amount to be delivered to the large order trader 40A, which is deposited by the small order trader 40B when placing an order; a lending smart contract 19 having a function of borrowing digital assets or money equivalent to the contract amount to be received from the large order trader 40A from a specified borrower 60, using the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract 18 as collateral when the large order and the small order are contracted; and a clearing smart contract 20 having a function of clearing the digital assets and money equivalent to the contract amount after the large order and the small order are contracted. The clearing smart contract 20 has a function of delivering the digital assets or money equivalent to the contract amount borrowed by the lending smart contract 19 to the trader 40B of the small order on the day when the large order and the small order are contracted, and a function of receiving the digital assets or money equivalent to the contract amount from the trader 40A of the large order a predetermined number of days after the day when the large order and the small order are contracted, and at the same time, receiving the digital assets or money equivalent to the contract amount managed by the trading asset management smart contract 18 to be delivered to the trader 40A of the large order. It is configured to have at least the function of delivering an equivalent amount of money or digital assets to trader 40A of the large order, and the function of repaying the digital assets or money equivalent to the contract amount received from trader 40A of the large order to borrower 60 together with the interest accrued from the borrowing, so that it is possible to eliminate the gap in the delivery date of the items to be cleared (contract amount and name) for a transaction that is concluded between a large trader and a small trader in a transaction that combines large and small transactions.

また、本実施形態のデジタル資産を用いた取引注文処理システムによれば、清算用スマートコントラクト20が、レンディング用スマートコントラクト19のデジタル資産又は約定金額相当の金銭の借り入れにより生じる、借り入れ先60に支払うべき利息分の金銭を、大口注文の取引者40Aと小口注文の取引者40Bとの取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値である第2レート(レート)を算出する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する機能をさらに有するように構成したので、取引者に対し別途コストを徴収することなく、大口取引と小口取引とを合わせた取引における、大口注文の取引者40Aと小口注文の取引者40Bとの間で売買が成立した取引の清算対象物(約定金額と銘柄)の受け渡し日のギャップを解消することが可能となる。 In addition, according to the present embodiment of the trading order processing system using digital assets, the clearing smart contract 20 is further configured to have a function of paying the interest amount to the borrower 60, which arises from the borrowing of the digital assets or money equivalent to the contract amount of the lending smart contract 19, from the markup added when calculating the second rate (rate), which is the indicative price at which the large order and the small order are traded between the large order trader 40A and the small order trader 40B, or from the spread obtained from the price difference between the sell order, which is one of the large order and the small order, and the buy order, which is the other, in a transaction that combines large and small orders. This makes it possible to eliminate the gap in the delivery date of the items to be cleared (the contract amount and the name) of a transaction in which a transaction is concluded between the large order trader 40A and the small order trader 40B, without collecting additional costs from the traders.

このため、本実施形態によれば、マッチング処理を効率化し、処理パフォーマンスを格段に向上させながら、大口取引と小口取引とを合わせた取引など、取引所のレート作成の際に上乗せするマークアップを算出するためのマークアップ率が異なる顧客同士の取引を、ストリーミング(成行的な注文)とリーブオーダー(指値的な注文)とを融合させて行うことが可能な、デジタル資産を用いた取引注文処理システムが得られる。 Therefore, according to this embodiment, a trading order processing system using digital assets is obtained that can make matching processing more efficient and dramatically improve processing performance, while also enabling transactions between customers with different markup rates for calculating the markup to be added when creating exchange rates, such as transactions that combine large and small transactions, by combining streaming (market-like orders) and leave orders (limit-like orders).

以上、本発明の好ましい実施形態について詳説したが、本発明は、上述した実施形態に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施形態に種々の変形及び置換を加えることができる。 Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention.

本発明のデジタル資産を用いた取引注文処理システムは、貴金属、非鉄金属、石油・ガス・電力などのエネルギー類、コメ・砂糖などの保存可能な農作物、美術品、飲料水など、広範囲に販売されているものや、その他の経済的価値をデジタルで表現された、デジタル資産を用いて取引を扱う分野に有用である。 The trading order processing system using digital assets of the present invention is useful in fields that handle transactions using digital assets, such as precious metals, non-ferrous metals, energy such as oil, gas, and electricity, storable agricultural products such as rice and sugar, art, and drinking water, which are sold widely, as well as other items whose economic value is digitally represented.

11 マークアップ率管理テーブル
12 マークアップ率取得用スマートコントラクト
13 第1レート(基準レート)作成用スマートコントラクト
14 第2レート(レート)作成用スマートコントラクト
15 第2レート(レート)配信用スマートコントラクト
16 ストリーミング約定用スマートコントラクト
17 リーブオーダー約定用スマートコントラクト
18 取引資産管理用スマートコントラクト
19 レンディング用スマートコントラクト
20 清算用スマートコントラクト
21 注文入力手段
22 注文管理用スマートコントラクト
30 取引所(又は取引機能を有する場)
40 顧客
40A 大口注文の取引者
40B 小口注文の取引者
50 外部の流動性供給者
60 (デジタル資産又は約定金額相当の金銭の)借り入れ先
11 Markup rate management table 12 Smart contract for obtaining markup rate 13 Smart contract for creating first rate (base rate) 14 Smart contract for creating second rate (rate) 15 Smart contract for distributing second rate (rate) 16 Smart contract for streaming contract 17 Smart contract for leave order contract 18 Smart contract for managing trading assets 19 Smart contract for lending 20 Smart contract for clearing 21 Order input means 22 Smart contract for order management 30 Exchange (or a place with trading functions)
40 Customer 40A Large order trader 40B Small order trader 50 External liquidity provider 60 Borrower (of digital assets or money equivalent to the contract amount)

Claims (9)

トークン(分台帳技術においてデジタルで定義される価値の総称であって、暗号資産を含む)、デジタル通貨、トークンとデジタル通貨、もしくはトークン同士、デジタル通貨同士という形態のデジタル資産間による取引を管理するための、少なくとも1種類の分台帳技術における分散型台帳と、該分散型台帳に管理されるデジタル資産を用いた所定の処理を行うためのスマートコントラクトを備えて構築される、デジタル資産を用いた取引注文処理システムであって、
顧客単位で多様な数値に設定された各銘柄についてのマークアップ率を管理するマークアップ率管理テーブルと、
前記マークアップ率管理テーブルから、各銘柄における夫々の顧客のマークアップ率を取得する機能を有するマークアップ率取得用スマートコントラクトと、
顧客の注文に対して取引の相手方として売買を行う気配値である第2レート(レート)を作成するベースとなる第1レート(基準レート)を作成する機能を有する第1レート(基準レート)作成用スマートコントラクトと、
夫々の顧客について、前記第1レート(基準レート)作成用スマートコントラクトが作成した前記第1レート(基準レート)に、前記マークアップ率取得用スマートコントラクトが取得した当該顧客のマークアップ率を掛け合わせることによりマークアップを算出し、算出したマークアップを前記第1レート(基準レート)に上乗せして前記第2レート(レート)を作成する機能を有する第2レート(レート)作成用スマートコントラクトと、
前記第2レート(レート)作成用スマートコントラクトが作成した夫々の顧客についての前記第2レート(レート)を当該顧客に配信する機能を有する第2レート(レート)配信用スマートコントラクトと、
前記第2レート(レート)配信用スマートコントラクトが配信した顧客毎に異なる前記第2レート(レート)に対して発注された、顧客からのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させ、当該顧客に対し約定を返す機能を少なくとも有するストリーミング約定用スマートコントラクトと、
顧客から発注された売りと買いのリーブオーダー(指値的な注文)の全てを注文板に乗せる機能と、前記注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となった少なくとも一部の売りと買いのリーブオーダー(指値的な注文)における指値価格で当該売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す機能と、リーブオーダー(指値的な注文)を約定させる直前に、瞬間的に、約定させる値段を全顧客に対する共通の前記第2レート(レート)として全顧客に配信する機能と、を有するリーブオーダー約定用スマートコントラクトと、
を少なくとも有することを特徴とするデジタル資産を用いた取引注文処理システム。
A transaction order processing system using digital assets, the system being constructed with at least one distributed ledger in distributed ledger technology for managing transactions between digital assets in the form of tokens ( a general term for value defined digitally in distributed ledger technology, including crypto assets ) , digital currencies, tokens and digital currencies, or between tokens or between digital currencies, and a smart contract for performing a predetermined process using the digital assets managed in the distributed ledger,
a markup rate management table for managing the markup rate for each brand, which is set to various values on a customer-by-customer basis;
A markup rate acquisition smart contract having a function of acquiring the markup rate of each customer for each stock from the markup rate management table;
a smart contract for creating a first rate (base rate) that has a function of creating a first rate (base rate) that serves as a base for creating a second rate (rate), which is an indicative price at which a transaction is made as a counterparty to a customer order;
a smart contract for creating a second rate (rate), which has a function of calculating a markup for each customer by multiplying the first rate (base rate) created by the smart contract for creating the first rate (base rate) by the markup rate of the customer acquired by the smart contract for acquiring a markup rate, and adding the calculated markup to the first rate (base rate) to create the second rate (rate);
A smart contract for distributing a second rate (rate), which has a function of distributing the second rate (rate) for each customer created by the smart contract for creating the second rate (rate), to the customer;
A streaming contract smart contract that has at least a function of buying and selling as a counterparty to a transaction for a streaming (market order) from a customer, which is placed for the second rate (rate) that is different for each customer and distributed by the second rate (rate) distribution smart contract, making a contract, and returning the contract to the customer;
a smart contract for executing leave orders having the following functions: placing all sell and buy leave orders (limit-type orders) placed by customers on an order book; conducting transactions as a trading counterparty for each of the sell and buy leave orders (limit-type orders) at the limit price of at least some of the sell and buy leave orders (limit-type orders) where the price difference between the sell orders and the buy orders on the order book is equal to or greater than a predetermined spread to be collected by an exchange; and returning the execution to each of the customers who placed the sell and buy leave orders (limit-type orders); and instantly distributing the execution price to all customers as the second rate (rate) common to all customers immediately before executing the leave orders (limit-type orders);
1. A system for processing trade orders using digital assets, comprising at least:
前記リーブオーダー約定用スマートコントラクトは、前記注文板における売り注文と買い注文との価格差が取引所の徴収すべき所定のスプレッド以上となったリーブオーダー(指値的な注文)であり且つ指値が前記第2レート(レート)配信用スマートコントラクトが各顧客に配信した顧客毎に異なる前記第2レート(レート)のうちで最良となる前記第2レート(レート)と対当する当該顧客からの売りと買いのリーブオーダー(指値的な注文)の夫々に対して取引の相手方として売買を行い、約定させ、当該売りと買いのリーブオーダー(指値的な注文)を発注した夫々の当該顧客に対し約定を返す機能を有することを特徴とする請求項1に記載のデジタル資産を用いた取引注文処理システム。 The leave order execution smart contract has a function of acting as a counterparty in a transaction for each of the sell and buy leave orders (limit-type orders) from a customer where the price difference between the sell order and the buy order in the order book is equal to or exceeds a predetermined spread to be collected by the exchange and the limit price corresponds to the best second rate (rate) among the second rates (rates) that differ for each customer and are delivered to each customer by the second rate (rate) delivery smart contract, to buy and sell, to execute the transaction, and to return the execution to each of the customers who placed the sell and buy leave orders (limit-type orders). The transaction order processing system using digital assets described in claim 1. 前記第1レート(基準レート)作成用スマートコントラクトは、顧客からのリーブオーダー(指値的な注文)における売りと買い夫々の最良注文(最も安い売り注文、最も高い買い注文)の価格と外部の流動性供給者からのカバー取引可能な第3レート(外部レート)の価格のうち、有利となる方の価格を選択して前記第1レート(基準レート)を作成する機能をさらに有することを特徴とする請求項1又は2に記載のデジタル資産を用いた取引注文処理システム。 The trading order processing system using digital assets according to claim 1 or 2, characterized in that the smart contract for creating the first rate (reference rate) further has a function of selecting the more advantageous price between the price of the best buy and sell orders (the cheapest sell order and the highest buy order) in leave orders (limit-like orders) from customers and the price of a third rate (external rate) available for cover trading from an external liquidity provider to create the first rate (reference rate). 前記第1レート(基準レート)作成用スマートコントラクトは、外部の流動性供給者からのカバー取引可能な第3レート(外部レート)の価格を用いて前記第1レート(基準レート)を作成する機能をさらに有することを特徴とする請求項1~3のいずれかに記載のデジタル資産を用いた取引注文処理システム。 A trading order processing system using digital assets as described in any one of claims 1 to 3, characterized in that the smart contract for creating the first rate (reference rate) further has a function of creating the first rate (reference rate) using the price of a third rate (external rate) that is available for cover trading from an external liquidity provider. 前記ストリーミング約定用スマートコントラクトは、前記第2レート(レート)配信用スマートコントラクトが配信した顧客毎に異なる前記第2レート(レート)に対して発注された、顧客からの売り又は買いのストリーミング(成行的な注文)に対して、取引の相手方として売買を行い、約定させるとともに、外部の流動性供給者からのカバー取引可能な第3レート(外部レート)に対して、カバー取引用の注文を発注し、当該顧客に対し約定を返す機能を有することを特徴とする請求項3又は4に記載のデジタル資産を用いた取引注文処理システム。 The trading order processing system using digital assets described in claim 3 or 4, characterized in that the streaming contract for contracting has a function of acting as the counterparty to a transaction to buy or sell streaming (market orders) from a customer, which is placed at the second rate (rate) that is different for each customer and that is distributed by the smart contract for distributing the second rate (rate), and of placing an order for a cover transaction at a third rate (external rate) from an external liquidity provider that allows cover transactions, and of returning the contract to the customer. 前記第2レート(レート)作成用スマートコントラクトは、前記第2レート(レート)を作成する際に、前記マークアップ率取得用スマートコントラクトが取得した顧客の売り側と買い側の夫々のマークアップ率を、前記注文板における売りの注文数量と買いの注文数量との比率に応じて調整する機能をさらに有することを特徴とする請求項1~5のいずれかに記載のデジタル資産を用いた取引注文処理システム。 A trading order processing system using digital assets according to any one of claims 1 to 5, characterized in that the smart contract for creating the second rate (rate) further has a function of adjusting the markup rates of the customer's sell side and buy side acquired by the smart contract for acquiring the markup rate in accordance with the ratio of the sell order quantity and the buy order quantity in the order book when creating the second rate (rate). 前記第2レート(レート)作成用スマートコントラクトは、前記第2レート(レート)を作成する際に、前記マークアップ率取得用スマートコントラクトが取得した顧客の売り側と買い側の夫々のマークアップ率を、所定単位時間における現在の出来高の、所定単位時間における過去の出来高の平均値との比率に応じて調整する機能をさらに有することを特徴とする請求項1~6のいずれかに記載のデジタル資産を用いた取引注文処理システム。 A trading order processing system using digital assets according to any one of claims 1 to 6, characterized in that the smart contract for creating the second rate (rate) further has a function of adjusting the markup rates of the customer's selling side and buying side acquired by the smart contract for acquiring the markup rate when creating the second rate (rate) in accordance with the ratio of the current volume in a given unit time to the average value of the past volume in a given unit time. 前記リーブオーダー(指値的な注文)又は前記ストリーミング(成行的な注文)を介した、顧客である大口注文の取引者と顧客である小口注文の取引者との取引において、前記小口注文の取引者が発注に際し預け入れた、前記大口注文の取引者に渡すべき約定金額相当の金銭又はデジタル資産を管理する機能を有する取引資産管理用スマートコントラクトと、
前記大口注文と前記小口注文とが約定したときに、前記取引資産管理用スマートコントラクトが管理する前記約定金額相当の金銭又はデジタル資産を担保として、所定の借り入れ先から、前記大口注文の取引者から受けるべきデジタル資産又は約定金額相当の金銭を借り入れる機能を有するレンディング用スマートコントラクトと、
前記大口注文と前記小口注文との約定後に、デジタル資産および約定金額相当の金銭についての清算を行う機能を有する清算用スマートコントラクトと、
をさらに有し、
前記清算用スマートコントラクトは、
前記大口注文と前記小口注文とが約定した当日に、前記レンディング用スマートコントラクトが借り入れたデジタル資産又は約定金額相当の金銭を、前記小口注文の取引者に渡す機能と、
前記大口注文と前記小口注文とが約定した日から所定日数経過後に、前記大口注文の取引者から、デジタル資産又は約定金額相当の金銭を受けると同時に、前記取引資産管理用スマートコントラクトが管理する前記大口注文の取引者に渡すべき約定金額相当の金銭又はデジタル資産を、前記大口注文の取引者に渡す機能と、
前記大口注文の取引者から受けた、デジタル資産又は約定金額相当の金銭を、借り入れにより生じた利息分の金銭とともに、前記借り入れ先に返済する機能と、
を少なくとも有することを特徴とする請求項1~7のいずれかに記載のデジタル資産を用いた取引注文処理システム。
a smart contract for managing transaction assets, which has a function of managing money or digital assets equivalent to a contract amount to be delivered to a trader of a large order, deposited by a trader of a small order when placing an order, in a transaction between a trader of a large order (a client) and a trader of a small order (a client) via the leave order (a limit order) or the streaming order (a market order);
a lending smart contract having a function of borrowing, when the large order and the small order are contracted, from a specified borrower, the digital assets or money equivalent to the contract amount to be received from the trader of the large order, using the money or digital assets equivalent to the contract amount managed by the trading asset management smart contract as collateral;
a clearing smart contract having a function of clearing the digital assets and money equivalent to the contract amount after the large order and the small order are contracted;
and
The clearing smart contract comprises:
A function of delivering the borrowed digital assets or money equivalent to the contract amount to the trader of the small order on the same day that the large order and the small order are contracted;
a function of receiving digital assets or money equivalent to the contract amount from the trader of the large order a predetermined number of days after the large order and the small order are contracted, and at the same time, delivering to the trader of the large order the money or digital assets equivalent to the contract amount that should be delivered to the trader of the large order, which are managed by the smart contract for managing trading assets;
A function of repaying the digital assets or money equivalent to the contract amount received from the trader of the large order to the borrower together with the interest amount generated by the borrowing;
8. A trading order processing system using digital assets according to claim 1, comprising at least:
前記清算用スマートコントラクトは、前記レンディング用スマートコントラクトのデジタル資産又は約定金額相当の金銭の借り入れにより生じる、前記借り入れ先に支払うべき利息分の金銭を、前記大口注文の取引者と前記小口注文の取引者との取引における、大口注文、小口注文の夫々に対して取引の相手方として売買を行う気配値である前記第2レート(レート)を算出する際に上乗せしたマークアップ、又は、大口注文、小口注文のうちの一方である売り注文と他方である買い注文との価格差より得られるスプレッドから充当する機能をさらに有することを特徴とする請求項8に記載のデジタル資産を用いた取引注文処理システム。 The clearing smart contract further has a function of covering the interest payable to the borrower arising from the borrowing of digital assets or money equivalent to the contract amount of the lending smart contract from a markup added when calculating the second rate (rate), which is an indicative price at which large orders and small orders are bought and sold as counterparties in a transaction between the trader of the large order and the trader of the small order, or from a spread obtained from the price difference between a sell order, which is one of the large orders and the small orders, and a buy order, which is the other. A trading order processing system using digital assets as described in claim 8, characterized in that the clearing smart contract further has a function of covering the interest payable to the borrower arising from the borrowing of digital assets or money equivalent to the contract amount of the lending smart contract, from a markup added when calculating the second rate (rate), which is an indicative price at which large orders and small orders are bought and sold as counterparties in a transaction between the trader of the large order and the trader of the small order, or from a spread obtained from the price difference between a sell order, which is one of the large orders and the small orders, and a buy order, which is the other.
JP2021185302A 2021-11-12 2021-11-12 Digital Asset Trading Order Processing System Active JP7498449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021185302A JP7498449B2 (en) 2021-11-12 2021-11-12 Digital Asset Trading Order Processing System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021185302A JP7498449B2 (en) 2021-11-12 2021-11-12 Digital Asset Trading Order Processing System

Publications (2)

Publication Number Publication Date
JP2023072608A JP2023072608A (en) 2023-05-24
JP7498449B2 true JP7498449B2 (en) 2024-06-12

Family

ID=86424642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021185302A Active JP7498449B2 (en) 2021-11-12 2021-11-12 Digital Asset Trading Order Processing System

Country Status (1)

Country Link
JP (1) JP7498449B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001290943A (en) 2000-04-10 2001-10-19 Tokyo Forex Traders Securities Co Ltd Counterparty transaction processing device, method thereof, and recording medium recording program therefor
JP2004005741A (en) 1999-09-14 2004-01-08 Kabu.Com Securities Co Ltd System and method for automatic dealing order system
JP2005018287A (en) 2003-06-24 2005-01-20 Osamu Hirashima Stock buying/selling order making system and method
WO2018227092A1 (en) 2017-06-09 2018-12-13 World Property Exchange Group, Inc. Digital transaction matching and acquisition platform
US20190333051A1 (en) 2018-04-27 2019-10-31 SharesPost, Inc. Global liquidity and settlement system
JP2021086320A (en) 2019-11-26 2021-06-03 株式会社インタートレード Settlement processing system using digital assets

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005741A (en) 1999-09-14 2004-01-08 Kabu.Com Securities Co Ltd System and method for automatic dealing order system
JP2001290943A (en) 2000-04-10 2001-10-19 Tokyo Forex Traders Securities Co Ltd Counterparty transaction processing device, method thereof, and recording medium recording program therefor
JP2005018287A (en) 2003-06-24 2005-01-20 Osamu Hirashima Stock buying/selling order making system and method
WO2018227092A1 (en) 2017-06-09 2018-12-13 World Property Exchange Group, Inc. Digital transaction matching and acquisition platform
US20190333051A1 (en) 2018-04-27 2019-10-31 SharesPost, Inc. Global liquidity and settlement system
JP2021086320A (en) 2019-11-26 2021-06-03 株式会社インタートレード Settlement processing system using digital assets

Also Published As

Publication number Publication date
JP2023072608A (en) 2023-05-24

Similar Documents

Publication Publication Date Title
US7487123B1 (en) Computer-implemented securities trading system with virtual currency and virtual specialist
KR102172699B1 (en) Method for intermediation of foreign exchange dealings through the medium of digital assets based on block-chain technology including crypto currency
US7908199B2 (en) System and method of responding to orders in a securities trading system
US20030009421A1 (en) Online e-commerce transactions incorporating effects of uncertainty and risk factors
US10269068B1 (en) System and method for matching users in a wireless communication system
JP2003536169A (en) Credit handling in anonymous trading systems
WO2000026745A2 (en) Computer-implemented securities trading system with virtual currency and virtual specialist
US20100191639A1 (en) Exchanges for creating and trading derivative securities
EP1234266A2 (en) Method and apparatus for aggregated securities brokerage service
US20080097877A1 (en) Method and System for Investing in Commodity Futures Contracts
JP7015492B1 (en) Transaction order processing system using digital assets
WO2016012217A1 (en) Computer systems and methods for balancing indexes
US8626640B2 (en) System and method for implementing and managing bundled option box futures
JP7511820B1 (en) Digital Asset Swap System
JP7498449B2 (en) Digital Asset Trading Order Processing System
US7778918B2 (en) System and method for providing an index linked to separately managed accounts
US20090187504A1 (en) Non-traditional futures contract and associated processing systems
JP7551068B2 (en) Insurance premium reduction system using digital assets
CN101308563A (en) Online web system for checking order possibilities for new futures/options orders
US7983967B2 (en) Method for stock exchange for handling a currency exchange
JP2002358470A (en) Centralized funds management system between companies, exchange mediation device, exchange mediation method, computer-readable storage medium storing exchange mediation program, exchange server computer, exchange method, exchange server program, exchange client computer, exchange request method Exchange request program, netting device, netting method, netting program
WO2019147069A1 (en) Currency exchange and foreign exchange transaction method of using blockchain-based digital assets including cryptocurrency as intermediary
JP7525106B1 (en) ST transaction processing system
JP2002109417A (en) Multi-currency pricing
JP5437663B2 (en) Securities trading processing system and program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20211228

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240222

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20240222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240312

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240416

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240521

R150 Certificate of patent or registration of utility model

Ref document number: 7498449

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150