JP2009053787A - Inter-account transfer processing apparatus and program - Google Patents

Inter-account transfer processing apparatus and program Download PDF

Info

Publication number
JP2009053787A
JP2009053787A JP2007217877A JP2007217877A JP2009053787A JP 2009053787 A JP2009053787 A JP 2009053787A JP 2007217877 A JP2007217877 A JP 2007217877A JP 2007217877 A JP2007217877 A JP 2007217877A JP 2009053787 A JP2009053787 A JP 2009053787A
Authority
JP
Japan
Prior art keywords
order
identification information
data
purchase
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.)
Granted
Application number
JP2007217877A
Other languages
Japanese (ja)
Other versions
JP2009053787A5 (en
JP5188762B2 (en
Inventor
Hisafumi Iida
尚史 飯田
Shigeru Saito
繁 齊藤
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.)
Daiwa Securities Group Inc
Original Assignee
Daiwa Securities Group Inc
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 Daiwa Securities Group Inc filed Critical Daiwa Securities Group Inc
Priority to JP2007217877A priority Critical patent/JP5188762B2/en
Publication of JP2009053787A publication Critical patent/JP2009053787A/en
Publication of JP2009053787A5 publication Critical patent/JP2009053787A5/ja
Application granted granted Critical
Publication of JP5188762B2 publication Critical patent/JP5188762B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inter-account transfer processing apparatus which can dispense with labor of an individual investor searching for a resale partner by performing inter-account transfer in response to a trade order of government bonds for individual investors from a customer. <P>SOLUTION: An inter-account transfer processing apparatus 20 includes: a buying order storage part 24 and a selling order storage part 44 where buying order data and selling order data of government bonds for individual investors from the customers are stored respectively; and a transfer processing part 26 which handles the ordered denomination of buying order comprising the total sum of smaller one of the total ordered denomination of buying order data stored in the buying order storage part 24 and the total ordered denomination of selling order data stored in the selling order storage part 44 as a contract denomination to perform the transfer processing of government bonds for individual investors and their price between customers' accounts, and handles the ordered denomination of selling order comprising the total sum as a contract denomination to perform the transfer processing of government bonds for individual investors and their price between the customers' accounts. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、個人向け国庫債券等の有価証券を顧客口座間で振り替えるための口座間振替処理装置及びプログラムに関する。   The present invention relates to an inter-account transfer processing apparatus and program for transferring securities such as national treasury bonds between customer accounts.

個人向け国庫債券に関する文献としては、例えば特許文献1に記載の公開特許公報がある。この公報には、個人向け国庫債券等の有価証券を保有者から特定者へ特定の個人間で転売するための有価証券転売支援システムが開示されている。なお、機関投資家システムからの有価証券の注文要求に応答して当該注文の約定を成立させる約定処理を行い、約定結果を機関投資家システムに送信する金融商品決済管理システムが知られている(特許文献2参照)。
個人向け国庫債券を償還期限前に換金する方法としては、日本銀行に買取請求する方法と、他人に転売する方法がある。日本銀行に買取請求した場合、中途換金の手数料として所定回数分の利子相当額が差し引かれた金額で国が買い取ることになり、例えば個人向け利付国庫債券(変動・10年)の場合は2回分の利子相当額が差し引かれた金額で国が買い取ることになる。すなわち、買取金額=額面金額+経過利子相当額−直前2回分の利子(税引前)相当額である。また、個人向け国庫債券には発行から一定の期間は原則中途換金ができない期間があり、この期間は例えば個人向け利付国庫債券(変動・10年)では発行から1年間となっている。
An example of a document related to a personal treasury bond is an open patent publication described in Patent Document 1, for example. This gazette discloses a securities resale support system for reselling securities such as national treasury bonds for individuals from a holder to a specific person between specific individuals. In addition, there is known a financial product settlement management system that performs a contract processing for establishing a contract for the order in response to an order request for securities from the institutional investor system, and transmits the contract result to the institutional investor system ( Patent Document 2).
There are two ways to redeem a national treasury bond before the redemption date: requesting purchases from the Bank of Japan and reselling to others. When requesting purchase from the Bank of Japan, the country will purchase the amount of interest equivalent to a certain number of times as an interim cashing fee. For example, in the case of an interest-bearing national treasury bond (variable, 10 years) The country will buy it at the amount deducted. That is, the purchase amount = the face value + the accrued interest equivalent amount−the interest twice before tax (before tax). In addition, there is a period during which a national treasury bond for personal use cannot be redeemed in principle for a certain period after it is issued.

特開2004−171550号公報JP 2004-171550 A 特開2002−358414号公報JP 2002-358414 A

このため、個人向け国庫債券の保有者が個人向け国庫債券を償還期限前に換金するために他人に転売することを希望した場合、個人向け国庫債券は購入者が個人に限られていて流動性が高くないため、転売相手の個人を探すのに労力を要する。   For this reason, if a holder of a personal treasury bond wants to resell the personal treasury bond to another person to redeem it before the redemption date, the personal treasury bond is liquid and the buyer is limited to the individual. Because it is not expensive, it takes effort to find individuals to resell.

本発明は上記のような事情に鑑みてなされたものであり、その目的は、個人向け国庫債券等の有価証券の売買注文を受けて当該有価証券及びその代金を顧客の口座間で相互に振り替える処理を行うことができ、その保有者が転売相手を探す労力を不要にすることができる口座間振替処理装置及びプログラムを提供することにある。   The present invention has been made in view of the circumstances as described above, and its purpose is to receive a trading order of securities such as a national treasury bond and transfer the securities and the price between customer accounts to each other. An object of the present invention is to provide an inter-account transfer processing apparatus and program that can perform processing and can eliminate the labor of the owner to search for a reseller.

本発明の第1の形態の口座間振替処理装置は、金融機関の顧客の口座に預けられた前記顧客の資金の残高を示す資金残高データ及び前記顧客の口座に預けられた前記顧客の個人向け国庫債券等の有価証券の銘柄を識別する銘柄識別情報と当該銘柄の有価証券残高を示す有価証券残高データを、前記顧客の口座番号に対応付けて格納する顧客口座データベースと、前記顧客を識別する顧客識別情報と当該顧客の口座番号を対応付けて格納する顧客データベースと、前記有価証券の注文の内容を示す注文データと当該注文の約定数量をレコードに格納することにより、当該注文データと当該約定数量を対応付けて格納する振替処理データベースとを具備し、前記顧客の口座間で前記有価証券の振替を行うための口座間振替処理装置において、
前記顧客の端末装置から送信された前記顧客からの前記有価証券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報並びに前記有価証券の銘柄識別情報、売買区分及び注文数量を含む注文データを受信し、受信した前記注文データを注文データ記憶部に記憶する注文受付部と、
前記注文データに含まれる前記有価証券の銘柄識別情報に対応するブロックを備えた買注文用記憶部及び売注文用記憶部と、
前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データを格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データを格納する売買区分判定部と、
前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データに含まれる注文数量の合計数量である売注文合計数量と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データに含まれる注文数量の合計数量である買注文合計数量との大小関係を判定し、前記売注文合計数量と前記買注文合計数量のうち小さいほうの合計数量を成す買注文の約定数量と当該買注文の注文データとを対応付けて前記振替処理データベースに格納するとともに、前記小さいほうの合計数量を成す売注文の約定数量と当該売注文の注文データとを対応付けて前記振替処理データベースに格納する処理を予め定められた所定時刻に銘柄識別情報毎に行う注文数量判定部と、
前記振替処理データベースに格納された注文データ及び約定数量をレコード毎に読み出し、読み出した当該レコードの注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として加算するとともに当該買注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、読み出した当該レコードの注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として減算するとともに当該売注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行う振替処理部とを具備することを特徴とするものである。
The inter-account transfer processing device according to the first aspect of the present invention is fund balance data indicating a balance of the customer's funds deposited in a customer account of a financial institution and for the customer's individual deposited in the customer account A customer account database for storing brand identification information for identifying a brand of securities such as a national treasury bond and securities balance data indicating a securities balance of the brand in association with the account number of the customer, and identifying the customer The customer database storing the customer identification information and the account number of the customer in association with each other, the order data indicating the order contents of the securities, and the contract constant amount of the order are stored in the record, so that the order data and the contract are stored. In the inter-account transfer processing device for transferring the securities between the customer accounts, comprising a transfer processing database that stores the quantity in association with each other,
Order data including information indicating the contents of the order of the securities from the customer transmitted from the terminal device of the customer, the customer identification information of the customer, the brand identification information of the securities, the trading category and the order An order receiving unit that receives order data including a quantity, and stores the received order data in an order data storage unit;
A buy order storage unit and a sell order storage unit comprising a block corresponding to the brand identification information of the securities included in the order data;
The buy / sell order storage unit determines the buy / sell classification included in the order data from the customer stored in the order data storage unit, and the order data is buy order data whose buy / sell category is information indicating buying. The buy order data is stored in a record of a block corresponding to the brand identification information of the buy order data, and the sell order when the order data is sell order data whose sale classification indicates sale A buy / sell category determination unit that stores the sell order data in a record of a block corresponding to the brand identification information of the sell order data among the blocks of the storage unit;
The sell order total quantity that is the total quantity of the order quantities included in each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage section, and the brand identification information in the buy order storage section The purchase order total quantity, which is the total quantity of the order quantities included in each purchase order data stored in the record of the block corresponding to, is determined, and the smaller of the sell order total quantity and the buy order total quantity The contracted quantity of the buy order that forms the total quantity of the other and the order data of the buy order are stored in the transfer processing database in association with each other, and the fixed quantity of the sell order that forms the smaller total quantity and the sales order An order quantity determination unit that performs processing for associating the order data with each other and storing the transfer data in the transfer processing database for each brand identification information at a predetermined time,
The order data stored in the transfer processing database and the approximate constant amount are read for each record, and when the read order data of the record is purchase order data, customer identification information included in the purchase order data is added to the customer database. Based on the account number of the associated purchase order customer, the securities balance of the issue of the issue identification information included in the purchase order data stored in the customer account database in association with the account number of the purchase order customer In addition, a transfer process for a purchase order is performed in which the contract amount is added as a transfer quantity, and the amount equivalent to the price of the securities of the contract amount is reduced as a transfer amount on the purchase order side with respect to the funds balance of the purchase order customer. The customer identification information included in the sell order data when the order data of the record read is the sell order data Based on the account number of the sales order customer associated in the customer database, the product identification information included in the sales order data stored in the customer account database in association with the account number of the sales order customer For a sell order that subtracts the contract amount from the securities balance as a transfer quantity, and increases the amount equivalent to the price of the contract for the contract amount as the transfer amount on the sell order side. And a transfer processing unit that performs the transfer process.

本発明の第1の形態の口座間振替処理装置において、前記顧客からの前記有価証券の注文の内容を示す前記注文データ毎に管理番号を一定方向に更新して前記顧客からの前記注文データの管理番号を生成する注文管理部をさらに具備し、
前記売買区分判定部は、前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと前記注文管理部の当該買注文データの管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと前記注文管理部の当該売注文データの管理番号を対応付けて格納するものであり、
前記注文数量判定部は、
前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である売注文合計数量と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データの注文数量の合計数量である買注文合計数量との大小関係を判定し、大小関係に応じた第1から第3のケースの処理を所定時刻に銘柄識別情報毎に行うものであって、
(1)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である前記売注文合計数量が前記買注文合計数量よりも大きい第1のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文数量が前記買注文合計数量以上である場合に当該管理番号に対応する売注文データと前記買注文合計数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文数量が前記買注文合計数量未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する売注文データの注文数量を合計した合計数量が前記買注文合計数量未満で最大となる合計数量とそのときの管理番号である最大管理番号を求め、前記売注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する売注文データと前記最大の合計数量から前記買注文合計数量までの超過数量からなる約定数量とを対応付けて前記振替処理データベースに格納する第1の注文データ格納処理を行い、
(2)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である前記売注文合計数量が前記買注文合計数量と等しい第2のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納する第2の注文データ格納処理を行い、
(3)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である前記売注文合計数量が前記買注文合計数量よりも小さい第3のケースでは、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記買注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文数量が前記売注文合計数量以上である場合に当該管理番号に対応する買注文データと前記売注文合計数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文数量が前記売注文合計数量未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する買注文データの注文数量を合計した合計数量が前記売注文合計数量未満で最大となる合計数量とそのときの管理番号である最大管理番号を求め、前記買注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する買注文データと前記最大の合計数量から前記売注文合計数量までの超過数量からなる約定数量とを対応付けて前記振替処理データベースに格納する第3の注文データ格納処理を行うようにしてもよい。
In the inter-account transfer processing device according to the first aspect of the present invention, the management number is updated in a certain direction for each order data indicating the order contents of the securities from the customer, and the order data from the customer is updated. An order management unit for generating a management number;
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit, and the order data is buy order data that is information indicating that the trading category indicates buying. Storing the purchase order data and the management number of the purchase order data of the order management unit in association with the record of the block corresponding to the brand identification information of the purchase order data among the blocks of the purchase order storage unit, In the case where the order data is sell order data which is information indicating that the trade classification is sell, the sell order data and the record of the block corresponding to the brand identification information of the sell order data in the block of the sell order storage unit The management number of the sales order data of the order management unit is stored in association with each other,
The order quantity determination unit
Corresponds to the sell order total quantity which is the total quantity of the order quantity of each sell order data stored in the block record corresponding to the brand identification information of the sell order storage section and the brand identification information of the buy order storage section Determining the magnitude relationship with the purchase order total quantity, which is the total quantity of the order quantity of each purchase order data stored in the record of the block to be performed, and processing the first to third cases according to the magnitude relation at a predetermined time This is done for each brand identification information,
(1) The sell order total quantity, which is the total quantity of the order quantity of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is larger than the buy order total quantity In the first case, the transfer is performed by associating each purchase order data stored in a record of a block corresponding to the brand identification information in the storage unit for purchase order with a constant amount made up of the order quantity of the purchase order data. Update in the predetermined direction based on the management number of the sales order data stored in the processing database and stored in association with the sales order data in the record of the block corresponding to the brand identification information in the sales order storage unit When the order quantity of the sell order data corresponding to the smallest management number is equal to or greater than the total purchase order quantity, the sell order data corresponding to the management number and the total buy order When the order quantity of the selling order data corresponding to the management number with the smallest update in the certain direction is less than the total quantity of the buy order The total quantity that the order quantity of the sales order data corresponding to the management number in the order of few updates in a certain direction is the maximum when the total quantity is less than the total purchase order quantity and the maximum management number that is the management number at that time Each selling order data corresponding to each management number from the management number with the smallest update in the fixed direction to the maximum management number in the block corresponding to the brand identification information in the selling order storage unit and the selling order Stores in the transfer processing database in association with a contracted amount consisting of the order quantity of data, and further updates the maximum management number in the block First order data storage process in which sell order data corresponding to a management number which is a number and a contracted constant amount consisting of an excess quantity from the maximum total quantity to the buy order total quantity are associated with each other and stored in the transfer process database And
(2) The sell order total quantity, which is the total quantity of the order quantity of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is equal to the buy order total quantity. In the second case, the transfer process is performed by associating each purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit with a constant amount of the order quantity of the purchase order data. The transfer process by associating each selling order data stored in a database and stored in a record of a block corresponding to the brand identification information in the selling order storage unit with a constant amount consisting of the order quantity of the selling order data Perform the second order data storage process stored in the database,
(3) The sell order total quantity, which is the total quantity of the order quantities of each sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit, is smaller than the buy order total quantity In the third case, each transfer order data stored in a record of a block corresponding to the brand identification information in the sell order storage unit is associated with an approximate constant amount made up of the order quantity of the sell order data in association with the transfer. Update in the certain direction based on the management number of the purchase order data stored in the processing database and stored in association with the purchase order data in the record of the block corresponding to the brand identification information in the storage unit for purchase order If the order quantity of the buy order data corresponding to the smallest management number is greater than or equal to the total quantity of the sell orders, the buy order data corresponding to the management number and the sell order total When the order quantity of the purchase order data corresponding to the management number with the smallest update in the certain direction is less than the total quantity sold, The total quantity that is the largest total when the total quantity of the purchase order data corresponding to the management number is less than the total quantity of the selling order and the maximum management number that is the management number at that time, in order of decreasing update in a certain direction. Each purchase order data corresponding to each management number from the management number with the smallest update in the fixed direction to the maximum management number in the block corresponding to the brand identification information in the purchase order storage unit and the purchase order Stores in the transfer processing database in association with a contracted amount consisting of the order quantity of data, and further updates the maximum management number in the block The third order data storage process for associating the purchase order data corresponding to the management number, which is an issue number, with the contracted quantity consisting of the excess quantity from the maximum total quantity to the sell order total quantity and storing them in the transfer process database May be performed.

本発明の第1の形態の口座間振替処理装置において、前記買注文顧客及び売注文顧客の口座番号の口座間における前記有価証券の振替処理の内容を示す情報を前記買注文顧客及び売注文顧客の端末装置に送信する振替報告書発行部をさらに具備し、
前記顧客データベースは、前記顧客を識別する顧客識別情報と当該顧客の口座番号と当該顧客のメールアドレスを対応付けて格納するものであり、
前記振替処理部は、前記振替処理データベースに格納された約定数量及び注文データをレコード毎に読み出し、
読み出した当該レコードの前記注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として加算するとともに当該買注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、前記買注文側の代金相当額と当該買注文用の振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報を当該レコードに格納する処理を行うものであり、
読み出した当該レコードの前記注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として減算するとともに当該売注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行い、前記売注文側の代金相当額と当該売注文用の振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報を当該レコードに格納する処理を行うものであり、
前記振替報告書発行部は、
前記振替処理部により前記振替処理データベースに格納された注文データ、約定数量、代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、前記約定数量である前記振替数量、前記代金相当額である振替金額、前記振替処理識別番号及び前記振替日の日付情報を含む振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて前記顧客データベースに格納された当該注文顧客のメールアドレスと当該振替報告書の電子書面データとを対応付けて振替報告書データベースに格納する処理を、前記読み出した前記振替処理データベースの前記レコード毎に行う電子書面生成手段と、
前記振替報告書データベースに対応付けて格納された前記顧客のメールアドレスと当該顧客用の振替報告書の電子書面データを読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信する通知手段とを備える構成としてもよい。
In the inter-account transfer processing apparatus according to the first aspect of the present invention, information indicating the contents of the transfer process of the securities between the accounts of the account numbers of the purchase order customer and the sell order customer is indicated as the purchase order customer and the sell order customer. Further comprising a transfer report issuing unit for transmitting to the terminal device of
The customer database stores customer identification information for identifying the customer, an account number of the customer, and an email address of the customer in association with each other,
The transfer processing unit reads the approximate constant amount and order data stored in the transfer processing database for each record,
When the order data of the read record is purchase order data, the purchase order customer's account number is associated with the customer identification information included in the purchase order data in the customer database. The contract amount is added as a transfer quantity to the securities balance of the issue identification information included in the purchase order data stored in the customer account database in association with an account number, and the purchase order customer's funds Perform a transfer process for the purchase order to reduce the amount equivalent to the amount of the securities of the contract amount corresponding to the balance as a transfer amount on the purchase order side, and perform a transfer process for the purchase order side and the purchase order transfer amount A process of storing the transfer process identification number for identifying the date information indicating the transfer date on which the transfer process is performed in the record,
When the order data of the read record is sell order data, based on the account number of the sell order customer associated with the customer identification information included in the sell order data in the customer database, The contract amount is subtracted as a transfer quantity from the securities balance of the issue identification information included in the sale order data stored in the customer account database in association with an account number, and the sale order customer's funds Perform a transfer process for sell order to increase the amount equivalent to the price of the securities for the contract amount as the transfer amount on the sell order side, and transfer process for the sell order side and the equivalent price for the sell order A process of storing the transfer process identification number for identifying the date information indicating the transfer date on which the transfer process is performed in the record,
The transfer report issuing department
The order data stored in the transfer processing database by the transfer processing unit, the contract amount, the price equivalent amount, the transfer process identification number, and the date information of the transfer date are read for each record, and the brand identification information and trading information included in the order data Generate electronic document data of a transfer report including classification, the transfer quantity that is the constant amount, the transfer amount that is the price equivalent, the transfer process identification number, and date information of the transfer date, and include the order data Processing for storing the order customer's e-mail address stored in the customer database in association with the customer identification information and the electronic document data of the transfer report in association with the read report database. Electronic document generation means for each record in the processing database;
The customer's email address stored in association with the transfer report database and the electronic document data of the customer's transfer report are read out, and the electronic document data of the customer's transfer report is read as the customer's email address. It is good also as a structure provided with the notification means to transmit.

本発明の第1の形態の口座間振替処理装置において、個人向け利付国庫債券からなる前記有価証券の銘柄毎の利払日及び現在の適用利率を、当該銘柄を識別する銘柄識別情報に対応付けて格納する国債データベースと、前記顧客からの前記有価証券の注文の内容を示す前記注文データ毎に管理番号を一定方向に更新して前記顧客からの前記注文データの管理番号を生成する注文管理部とをさらに具備し、
前記振替処理データベースは、前記有価証券の注文の内容を示す注文データと当該注文の約定額面金額をレコードに格納することにより、当該注文データと当該約定額面金額を対応付けて格納するものであり、
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記有価証券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを前記注文データ記憶部に記憶し、
前記売買区分判定部は、前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと前記注文管理部の当該買注文データの管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと前記注文管理部の当該売注文データの管理番号を対応付けて格納するものであり、
前記注文数量判定部は、
前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データの注文額面金額の合計額面金額である買注文合計額面金額との大小関係を判定し、大小関係に応じた第1から第3のケースの処理を所定時刻に銘柄識別情報毎に行うものであって、
(1)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも大きい第1のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額以上である場合に当該管理番号に対応する売注文データと前記買注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する売注文データの注文額面金額を合計した合計額面金額が前記買注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記売注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する売注文データと前記最大の合計額面金額から前記買注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第1の注文データ格納処理を行い、
(2)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額と等しい第2のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第2の注文データ格納処理を行い、
(3)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも小さい第3のケースでは、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記買注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額以上である場合に当該管理番号に対応する買注文データと前記売注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する買注文データの注文額面金額を合計した合計額面金額が前記売注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記買注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する買注文データと前記最大の合計額面金額から前記売注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第3の注文データ格納処理を行うものであり、
前記振替処理部は、前記振替処理データベースに格納された注文データ及び約定額面金額をレコード毎に読み出し、
読み出した当該レコードの注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として加算するとともに当該買注文顧客の資金残高に対して当該約定額面金額の前記個人向け利付国庫債券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、
読み出した当該レコードの注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として減算するとともに当該売注文顧客の資金残高に対して当該約定額面金額の前記個人向け利付国庫債券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行うようにしてもよい。
In the inter-account transfer processing device according to the first aspect of the present invention, the interest payment date and the current applicable interest rate for each stock of the securities composed of personal interest-bearing national treasury bonds are associated with the stock identification information for identifying the stock And an order management unit that generates a management number for the order data from the customer by updating the management number in a certain direction for each order data indicating the order contents of the securities from the customer. And further comprising
The transfer processing database stores the order data indicating the order contents of the securities and the contract face amount of the order in a record, and stores the order data and the contract face amount in association with each other.
The order receiving unit is order data including information indicating the order contents of the securities from the customer transmitted from the terminal device of the customer, wherein the customer identification information of the customer, the interest-bearing national treasury bond Receiving the order data including the brand identification information, the trading category, and the order amount, and storing the received order data in the order data storage unit,
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit, and the order data is buy order data that is information indicating that the trading category indicates buying. Storing the purchase order data and the management number of the purchase order data of the order management unit in association with the record of the block corresponding to the brand identification information of the purchase order data among the blocks of the purchase order storage unit, In the case where the order data is sell order data which is information indicating that the trade classification is sell, the sell order data and the record of the block corresponding to the brand identification information of the sell order data in the block of the sell order storage unit The management number of the sales order data of the order management unit is stored in association with each other,
The order quantity determination unit
The total face value of the sell order, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information of the sell order storage unit, and the brand identification of the buy order storage unit First to third cases in which the magnitude relationship with the purchase order total face value, which is the total face value of the order face value of each purchase order data stored in the block corresponding to the information, is determined, and according to the magnitude relationship Is performed for each brand identification information at a predetermined time,
(1) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a first case that is larger than the amount of money, each purchase order data stored in a record of a block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data, In association with the transfer processing database, based on the management number of the selling order data stored in association with selling order data in the record of the block corresponding to the brand identification information of the selling order storage unit, Corresponds to the management number when the order face value of the sales order data corresponding to the management number with the smallest update in a certain direction is greater than or equal to the total purchase face value The sales order data and the contracted par amount consisting of the total purchase par value are stored in the transfer processing database, and the order par value of the sales order data corresponding to the management number with the smallest update in a certain direction. Is less than the buy order total face value, the total face value of the order face values of the selling order data corresponding to the management number is less than the buy order total face value in the order from the smallest update in the certain direction. The maximum management number that is the total face value and the management number at that time is obtained, and the maximum management is started from the management number with the smallest update in the certain direction in the block corresponding to the brand identification information of the selling order storage unit Each transfer order data corresponding to each management number up to the number is associated with a contract face amount consisting of the order face value of the sell order data, and the transfer processing data And a contract comprising selling order data corresponding to a management number that is the next update number of the maximum management number in the block and an excess face amount from the maximum total face amount to the buy order total face amount. Performing a first order data storage process in which the face value is associated with the transfer amount and stored in the transfer process database;
(2) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In the second case equal to the amount of money, each purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data are A contract denomination that is stored in the transfer processing database in association with each other and stored in the block record corresponding to the brand identification information in the sell order storage unit and the order denomination of the sell order data And a second order data storage process for storing in the transfer process database in association with
(3) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a third case that is smaller than the amount of money, each of the selling order data stored in the record of the block corresponding to the brand identification information in the selling order storage unit and the contracted amount of the face amount of the selling order data, In association with the transfer processing database, based on the management number of the purchase order data stored in association with the purchase order data in the record of the block corresponding to the brand identification information in the purchase order storage unit, Corresponds to the management number when the order face value of the purchase order data corresponding to the management number with the smallest update in a certain direction is greater than or equal to the total face value of the sell order The purchase order data and the contracted face value composed of the total order value of the sell order are stored in the transfer processing database in association with each other, and the order face value of the purchase order data corresponding to the management number with the smallest update in a certain direction is stored. Is less than the sell order total face value, the total face value of the order face values of the purchase order data corresponding to the management number in order from the smallest update in the certain direction is less than the sell order total face value. The maximum management number that is the total face value and the management number at that time is obtained, and the maximum management is started from the management number that is least updated in the certain direction in the block corresponding to the stock identification information in the purchase order storage unit. Each transfer order data corresponding to each management number up to the number is associated with a contract face amount consisting of the order face amount of the purchase order data, and the transfer processing data A purchase order data stored in the database and corresponding to a management number that is the next update number of the maximum management number in the block and a contract consisting of an excess par amount from the maximum total par amount to the sell order total par amount Performing a third order data storage process of storing a face value in association with the transfer process database;
The transfer processing unit reads the order data and the contract face amount stored in the transfer processing database for each record,
When the read order data of the record is purchase order data, the account of the purchase order customer is based on the account number of the purchase order customer associated with the customer identification information included in the purchase order data in the customer database. The contract face amount is added as the transfer face amount to the personal interest-bearing national treasury bond balance of the issue with the issue identification information included in the buy order data stored in the customer account database in association with the number and Perform a transfer process for the purchase order that reduces the amount equivalent to the price of the above-mentioned personal interest-bearing national treasury bond of the order customer's funds balance as the transfer amount on the purchase order side,
When the read order data of the record is sell order data, the account of the sell order customer is based on the account number of the sell order customer associated with the customer identification information included in the sell order data in the customer database. The contract face amount is subtracted as the transfer face amount from the individual interest-bearing national treasury bond balance of the issue identification information included in the sell order data stored in the customer account database in association with the number and You may make it perform the transfer process for sale orders which increases the amount equivalent to the price of the said personal interest-bearing national treasury bond of the said contract face amount as the transfer amount of the selling order side with respect to the order customer's fund balance.

また、前記買注文顧客及び売注文顧客の口座番号の口座間における前記個人向け利付国庫債券の振替処理の内容を示す情報を前記買注文顧客及び売注文顧客の端末装置に送信する振替報告書発行部をさらに具備し、
前記顧客データベースは、前記顧客を識別する顧客識別情報と当該顧客の口座番号と当該顧客のメールアドレスを対応付けて格納するものであり、
前記振替報告書発行部は、
前記振替処理部により前記振替処理データベースに格納された注文データ、約定額面金額、代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、前記約定額面金額である前記振替額面金額、前記代金相当額である振替金額、前記振替処理識別番号及び前記振替日の日付情報を含む振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて前記顧客データベースに格納された当該注文顧客のメールアドレスと当該振替報告書の電子書面データとを対応付けて振替報告書データベースに格納する処理を、前記読み出した前記振替処理データベースの前記レコード毎に行う電子書面生成手段と、
前記振替報告書データベースに格納された前記顧客のメールアドレスと当該顧客用の振替報告書の電子書面データとを読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信する通知手段とを備える構成としてもよい。
Also, issuing a transfer report for transmitting information indicating the contents of the transfer process of the personal interest-bearing national treasury bond between accounts of the purchase order customer and the sell order customer to the terminal device of the purchase order customer and the sell order customer Further comprising
The customer database stores customer identification information for identifying the customer, an account number of the customer, and an email address of the customer in association with each other,
The transfer report issuing department
Order data stored in the transfer processing database by the transfer processing unit, contract face amount, price equivalent, transfer process identification number and transfer date date information for each record, brand identification information included in the order data, and Generate electronic document data of a transfer report that includes a trading category, the transfer face amount that is the contracted face amount, a transfer amount that is the price equivalent, the transfer process identification number, and date information of the transfer date. The process of storing in the transfer report database the mail address of the order customer stored in the customer database associated with the customer identification information included in the data and the electronic document data of the transfer report in association with each other Electronic document generation means for each record of the transfer processing database;
The customer's email address stored in the transfer report database and the electronic document data of the customer's transfer report are read, and the electronic document data of the customer's transfer report is sent to the customer's email address. It is good also as a structure provided with a notification means.

一例として、前記顧客の端末装置に前記個人向け利付国庫債券の板情報を表示するための板情報画面のデータを生成して前記顧客の端末装置に送信して表示させる板情報画面送信手段をさらに具備し、
前記板情報画面送信手段は、前記個人向け利付国庫債券の銘柄識別情報に対応する前記売注文用記憶部の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する前記売注文用記憶部から前記銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、前記個人向け利付国庫債券の銘柄識別情報に対応する前記買注文用記憶部の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する前記買注文用記憶部から前記銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、前記銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて前記板情報として表示するための板情報画面のデータを生成して記憶手段に記憶し、前記顧客の端末装置から前記個人向け利付国庫債券の板情報の表示を要求する要求データを受け取ると前記記憶手段に記憶されている前記板情報画面のデータを前記顧客の端末装置に送信して当該板情報画面を表示させるようにしてもよい。
As an example, there is further provided a board information screen transmission means for generating board information screen data for displaying board information of the personal interest-bearing national treasury bond on the customer terminal device, and transmitting and displaying the data on the customer terminal device. Equipped,
The board information screen transmission means is for each brand identification information obtained by totaling the order face amounts of the sales order data stored in the record in each block of the selling order storage unit corresponding to the brand identification information of the personal interest-bearing national treasury bond. Obtaining the total amount of the order face value of the selling order for each of the brand identification information from the selling order storage unit that outputs the total amount of the order face value of the selling order, and the brand identification information of the personal interest-bearing national treasury bond The buy order storage for outputting the total amount of the order face value of the purchase order for each brand identification information obtained by adding up the order face amounts of the purchase order data stored in the record in each block of the buy order storage unit corresponding to The total amount of the order face value of the purchase order for each of the brand identification information from the section, and the total amount of the sell order and the order face value of the purchase order for each of the brand identification information Data of a board information screen to be displayed in association with the board information is generated and stored in a storage unit, and request data for requesting display of board information of the personal interest-bearing national treasury bond is received from the customer terminal device The board information screen data stored in the storage means may be transmitted to the customer terminal device to display the board information screen.

さらに、前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記個人向け利付国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを当該注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶するとともに当該注文を識別するための注文識別番号を前記売買区分判定部に送り、
前記注文管理部は、前記売買区分判定部による買注文の判定毎に買注文用の管理番号を一定方向に更新して当該買注文データの管理番号を生成する買注文区分判定管理手段と、前記売買区分判定部による売注文の判定毎に売注文用の管理番号を一定方向に更新して当該売注文データの管理番号を生成する売注文区分判定管理手段とを備えており、
前記売買区分判定部は、前記注文受付部からの前記注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文区分判定管理手段の前記買注文用の管理番号を更新して前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと前記買注文区分判定管理手段の当該買注文データの管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文区分判定管理手段の前記売注文用の管理番号を更新して前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと前記売注文区分判定管理手段の当該売注文データの管理番号を対応付けて格納するようにしてもよい。
Further, the order receiving unit is order data including information indicating the content of the order of the personal interest-bearing national treasury bond from the customer transmitted from the customer's terminal device, the customer identification information of the customer, Order data storage unit for receiving order data including brand identification information of personal interest-bearing national treasury bonds, trading category and order face value and associating the received order data with an order identification number for identifying the order And sending an order identification number for identifying the order to the trading category determination unit,
The order management unit is configured to update a purchase order management number in a certain direction every time a buy order is determined by the buy / sell category determination unit, and generate a purchase order data management number. A sales order category judgment management means for updating the management number for selling orders in a certain direction and generating a management number of the selling order data for each judgment of the selling order by the trading category judgment unit;
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit in association with an order identification number for identifying the order from the order receiving unit. , When the order data is buy order data in which the buy / sell category is information indicating buy, the management number for the buy order of the buy order category judgment managing means is updated and the buy order storage block The record of the block corresponding to the brand identification information of the purchase order data is stored in association with the purchase order data and the management number of the purchase order data of the purchase order category determination management means, and the order data is sold by the trading category. The selling order management number is updated by the selling order category determination management means, and the selling order data in the block of the selling order storage unit is updated. It may be stored in association with the record of the corresponding block to the stock identification information of data with the sales order data management number of the sales order data of the selling order category determination management unit.

具体的には、前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記個人向け利付国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを当該注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶するとともに当該注文を識別するための注文識別番号を前記売買区分判定部に送り、
前記注文管理部は、前記売買区分判定部による買注文の判定毎に買注文の銘柄用の管理番号を増大方向に更新して当該買注文データの銘柄用の管理番号を生成する買注文区分判定管理手段と、前記売買区分判定部による売注文の判定毎に売注文の銘柄用の管理番号を増大方向に更新して当該売注文データの銘柄用の管理番号を生成する売注文区分判定管理手段とを備えており、
前記売買区分判定部は、前記注文受付部からの前記注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新して前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと当該買注文を識別するための注文識別番号と前記買注文区分判定管理手段の当該銘柄識別情報の銘柄用の管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新して前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと当該売注文を識別するための注文識別番号と前記売注文区分判定管理手段の当該銘柄識別情報の銘柄用の管理番号を対応付けて格納するものであり、
前記注文数量判定部は、
(1)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも大きい第1のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づいて最も小さい管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額以上である場合に当該管理番号に対応する売注文データと前記買注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記最も小さい管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額未満である場合に番号の小さい順に前記管理番号に対応する売注文データの注文額面金額を合計した合計額面金額が前記買注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記売注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記最も小さい管理番号から前記最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する売注文データと前記最大の合計額面金額から前記買注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第1の注文データ格納処理を行い、
(2)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額と等しい第2のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第2の注文データ格納処理を行い、
(3)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも小さい第3のケースでは、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記買注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づいて最も小さい管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額以上である場合に当該管理番号に対応する買注文データと前記売注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記最も小さい管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額未満である場合に番号の小さい順に前記管理番号に対応する買注文データの注文額面金額を合計した合計額面金額が前記売注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記買注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記最も小さい管理番号から前記最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する買注文データと前記最大の合計額面金額から前記売注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第3の注文データ格納処理を行うものとしてもよい。
Specifically, the order receiving unit is order data including information indicating details of an order for the personal interest-bearing national treasury bond from the customer transmitted from the terminal device of the customer, the customer identification of the customer Receiving the order data including the information, the brand identification information of the personal interest-bearing national treasury bond, the buying and selling classification, and the order amount, and the received order data in association with the order identification number for identifying the order. Sending the order identification number for identifying the order to be stored in the data storage unit to the trading category determination unit,
The order management unit is configured to update a management number for a brand of a purchase order in an increasing direction every time a purchase order is determined by the trading category determination unit to generate a management number for a brand of the purchase order data. Management unit and selling order category judgment management unit for generating a management number for the brand of the selling order data by updating the management number for the brand of the selling order in an increasing direction for each judgment of the selling order by the trading category judgment unit And
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit in association with an order identification number for identifying the order from the order receiving unit. When the order data is buy order data whose buy / sell classification is information indicating buy, the management number for the brand in the brand identification information of the order data in the buy order category judgment management means is updated and the purchase order Among the blocks in the storage unit, in the record of the block corresponding to the brand identification information of the purchase order data, the order identification number for identifying the purchase order data and the purchase order, and the brand identification of the purchase order category determination management means A management number for information brands is stored in association with each other, and when the order data is sell order data in which the buy / sell category is information indicating sell, the sell order category judgment management means The management number for the brand in the brand identification information of the order data is updated, and the selling order data and the selling data are recorded in the record of the block corresponding to the brand identification information of the selling order data in the block of the selling order storage unit. An order identification number for identifying an order and a management number for the brand of the brand identification information of the selling order category determination management means are stored in association with each other,
The order quantity determination unit
(1) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a first case that is larger than the amount of money, each purchase order data stored in a record of a block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data, Is stored in the transfer processing database in association with each other, and based on the management number of the sell order data stored in association with the sell order data in the record of the block corresponding to the brand identification information in the sell order storage unit When the order par value of the sales order data corresponding to the smallest management number is equal to or greater than the total purchase par value, the sales order data corresponding to the management number and the A contracted face value consisting of the total order value is stored in the transfer process database in association with the order value and the order value in the selling order data corresponding to the smallest management number is less than the total purchase order value. The total face value that is the sum of the face value of the order in the selling order data corresponding to the management number in ascending order is the maximum face value that is less than the purchase order total face value and the maximum control number that is the management number at that time And each selling order data corresponding to each management number from the smallest management number to the maximum management number in the block corresponding to the brand identification information in the selling order storage unit, and the order face value of the selling order data The contract amount is stored in the transfer processing database in association with each other, and the update number next to the maximum management number in the block The first order stored in the transfer processing database in association with the sales order data corresponding to the management number and the contracted face value consisting of the excess face value from the maximum face value to the buy order face value Perform data storage processing,
(2) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In the second case equal to the amount of money, each purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data are A contract denomination that is stored in the transfer processing database in association with each other and stored in the block record corresponding to the brand identification information in the sell order storage unit and the order denomination of the sell order data And a second order data storage process for storing in the transfer process database in association with
(3) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a third case that is smaller than the amount of money, each of the selling order data stored in the record of the block corresponding to the brand identification information in the selling order storage unit and the contracted amount of the face amount of the order amount of the selling order data, In association with the purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit in association with the purchase order data. When the order face value of the purchase order data corresponding to the smallest management number is equal to or larger than the total order value of the selling order, the purchase order data corresponding to the management number and the A contracted face value consisting of the total order value is stored in the transfer process database in association with the order value and the order value in the purchase order data corresponding to the smallest management number is less than the sell order value. The total face value that is the sum of the face value of the purchase order data corresponding to the management number in ascending order is the maximum face value that is less than the total value of the selling order and the maximum control number that is the management number at that time , Each purchase order data corresponding to each management number from the smallest management number to the maximum management number in the block corresponding to the brand identification information of the purchase order storage unit, and the order amount of the purchase order data The contract amount is stored in the transfer processing database in association with each other, and the update number next to the maximum management number in the block The third order stored in the transfer processing database in association with the purchase order data corresponding to the management number and the contracted face value consisting of the excess face value from the maximum total face value to the sell order total face value Data storage processing may be performed.

なお、前記国債データベースは、前記個人向け利付国庫債券の銘柄毎の発行日、償還期限、利払日及び現在の適用利率を、当該銘柄を識別する銘柄識別情報に対応付けて格納するものであり、
前記板情報画面送信手段は、前記国債データベースに発行日及び償還期限が格納された前記個人向け利付国庫債券の銘柄の銘柄識別情報のうち、前記板情報画面のデータの生成日当日を前記発行日から前記償還期限の前日以前の所定期間に含む取引可能な銘柄の銘柄識別情報を検出し、当該取引可能な銘柄の銘柄識別情報に対応する前記売注文用記憶部の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する前記売注文用記憶部から前記銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、当該取引可能な銘柄の銘柄識別情報に対応する前記買注文用記憶部の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する前記買注文用記憶部から前記銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、前記取引可能な銘柄の銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて前記板情報として表示するための板情報画面のデータを生成して記憶手段に記憶し、前記顧客の端末装置から前記個人向け利付国庫債券の板情報の表示を要求する要求データを受け取ると前記記憶手段に記憶されている前記板情報画面のデータを前記顧客の端末装置に送信して当該板情報画面を表示させるようにしてもよい。
The government bond database stores the issue date, redemption date, interest payment date, and current applicable interest rate for each issue of the individual interest-bearing national treasury bonds in association with the issue identification information for identifying the issue. ,
The board information screen transmission means includes the generation date of the data of the board information screen among the issue identification information of the issue of the individual interest-bearing national treasury bond whose issue date and redemption date are stored in the government bond database. To detect the brand identification information of the tradeable brands included in the predetermined period before the redemption deadline, and stored in the record in each block of the selling order storage unit corresponding to the brand identification information of the tradeable brands Output the total amount of the order face value of the sales order for each brand identification information obtained by adding up the order face values of the sold order data. The total amount of the order face value of the sell order for each of the brand identification information from the sell order storage unit And the order face value of the purchase order data stored in the record in each block of the purchase order storage unit corresponding to the brand identification information of the tradeable brand is combined. Output the total amount of the order face value of the purchase order for each brand identification information obtained from the storage unit for purchase order, the total amount of the order face value of the purchase order for each of the brand identification information, Generate and store in the storage means data on a board information screen for displaying the total amount of the order value of the selling order and the buying order for each brand identification information as the board information in association with the brand identification information; When request data for requesting display of the board information of the personal interest-bearing national treasury bond is received from the customer terminal device, the board information screen data stored in the storage means is transmitted to the customer terminal device to A board information screen may be displayed.

本発明の第1の形態の口座間振替処理装置において、前記顧客の端末装置に前記有価証券の板情報を表示するための板情報画面のデータを生成して前記顧客の端末装置に送信して表示させる板情報画面送信手段をさらに具備し、
前記有価証券は、個人向け国庫債券であり、
前記有価証券の注文数量は、前記個人向け国庫債券の注文額面金額であり、
前記有価証券の約定数量は、前記個人向け国庫債券の約定額面金額であり、
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記個人向け国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを前記注文データ記憶部に記憶するものであり、
前記注文数量判定部は、前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データに含まれる注文額面金額の合計額面金額である売注文合計額面金額と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データに含まれる注文額面金額の合計額面金額である買注文合計額面金額との大小関係を判定し、前記売注文合計額面金額と前記買注文合計額面金額のうち小さいほうの合計額面金額を成す買注文の約定額面金額と当該買注文の注文データとを対応付けて前記振替処理データベースに格納し、前記小さいほうの合計額面金額を成す売注文の約定額面金額と当該売注文の注文データとを対応付けて前記振替処理データベースに格納する処理を所定時刻に銘柄識別情報毎に行うものであり、
前記板情報画面送信手段は、前記個人向け国庫債券の銘柄識別情報に対応する前記売注文用記憶部の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する前記売注文用記憶部から前記銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、前記個人向け国庫債券の銘柄識別情報に対応する前記買注文用記憶部の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する前記買注文用記憶部から前記銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、前記銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて前記板情報として一覧表示するための板情報画面のデータを生成して記憶手段に記憶し、前記顧客の端末装置から前記個人向け国庫債券の板情報の表示を要求する要求データを受け取ると前記記憶手段に記憶されている前記板情報画面のデータを前記顧客の端末装置に送信して当該板情報画面を表示させるようにしてもよい。
In the inter-account transfer processing device according to the first aspect of the present invention, the board information screen data for displaying the board information of the securities on the customer terminal device is generated and transmitted to the customer terminal device. Further comprising a board information screen transmission means for displaying,
The securities are national treasury bonds,
The order quantity of the securities is the face value of the order of the personal treasury bond,
The contract amount of the securities is the contract face value of the national treasury bond,
The order reception unit is order data including information indicating the content of an order of the personal treasury bond from the customer transmitted from the terminal device of the customer, the customer identification information of the customer, the national treasury of the customer Receiving order data including bond brand identification information, trading category, and order face value, and storing the received order data in the order data storage unit;
The order quantity determination unit includes a sell order total face value that is a total face value of an order face value included in each sell order data stored in a record of a block corresponding to the brand identification information of the sell order storage unit, and Determining a magnitude relationship with a purchase order total face value that is a total face value of an order face value included in each purchase order data stored in a record of a block corresponding to the brand identification information of the purchase order storage unit, and The contract face amount of the purchase order that forms the smaller total face amount of the sell order and the total amount of the purchase order face value and the order data of the purchase order are stored in the transfer processing database in association with each other, and the smaller The process of associating the contract face amount of the sales order that forms the total face amount of the order with the order data of the sell order and storing them in the transfer processing database at a predetermined time It is those performed for each broadcast,
The board information screen transmission means is for each brand identification information obtained by summing up the order par value of the selling order data stored in the record in each block of the selling order storage unit corresponding to the brand identification information of the national treasury bond for the individual. Outputs the total amount of the face value of the sell order, obtains the total amount of the order amount of the sell order for each of the brand identification information from the sell order storage unit, and corresponds to the brand identification information of the personal treasury bond From the buy order storage unit that outputs the total amount of the order face value of the purchase order for each brand identification information obtained by adding up the order face amounts of the purchase order data stored in the record in each block of the purchase order storage unit Acquire the total amount of the order face value of the purchase order for each of the brand identification information, and associate each total amount of the sell order and the order amount of the purchase order for each of the brand identification information with the brand identification information. The board information screen data for list display as the board information is generated and stored in the storage means, and when the request data for requesting the display of the board information of the personal treasury bond is received from the customer terminal device, You may make it display the said board information screen by transmitting the data of the said board information screen memorize | stored in the memory | storage means to the said customer's terminal device.

前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記有価証券の注文の内容を示す前記注文データを複数の注文受付時間帯に受信し、受信した前記注文データを当該注文を識別するための注文識別情報に対応付けて前記注文データ記憶部に記憶し、
前記売買区分判定部は、前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと当該買注文の注文識別情報と前記注文管理部の当該買注文データの管理番号と未約定を示す約定フラグを対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと当該売注文の注文識別情報と前記注文管理部の当該売注文データの管理番号と未約定を示す約定フラグを対応付けて格納するものであり、
前記注文数量判定部は、前記売注文用記憶部の銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である売注文合計数量Uと前記買注文用記憶部の当該銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各買注文データの注文数量の合計数量である買注文合計数量Kとの大小関係を判定し、大小関係に応じた第1から第3のケースの約定処理を前記複数の注文受付時間帯の各々に対応する約定処理時刻に銘柄識別情報毎に行うものであって、
(1)前記売注文用記憶部の前記銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である前記売注文合計数量Uが前記買注文合計数量Kよりも大きい第1のケースでは、
(1−1)前記買注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(1−1−1)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記買注文用記憶部で対応付けされた一部約定の前記買注文データの注文数量を加算し、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(1−1−2)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(1−2)前記売注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(1−2−1)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックに対応付けされた売注文データの注文数量が前記買注文合計数量Kよりも大きい場合に、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックに対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該買注文合計数量Kを加算するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データの注文数量に対して前記買注文合計数量Kを減算し、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データと当該買注文合計数量Kからなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データの注文数量に対して前記買注文合計数量Kを減算し、
(1−2−2)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックに対応付けされた売注文データの注文数量が前記買注文合計数量K以下である場合に、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該売注文データの注文数量を加算するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記更新処理後にさらに、当該売注文データの注文数量を合計数量Σmの初期値として記憶する合計数量記憶手段と初期値が1である番号iを記憶する番号記憶手段と約定算出数量yを記憶する約定算出数量記憶手段を用いて、前記合計数量記憶手段に記憶された合計数量Σmが前記買注文合計数量Kと等しいか判定する第1の処理と、前記第1の処理による判定結果が等しくないことを示すものである場合に、前記買注文合計数量Kから前記合計数量記憶手段の合計数量Σmを減算した数量(K−Σm)を約定算出数量yとして前記約定算出数量記憶手段に記憶するとともに前記番号記憶手段の番号iを1だけ増加させ、次に前記一定方向への更新がi番目に少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報と売注文データを読み出して当該売注文データの注文数量を前記合計数量記憶手段の合計数量Σmに加算する第2の処理と、前記第2の処理による加算後の合計数量Σmが前記買注文合計数量K以下であるか判定する第3の処理と、前記第3の処理による判定結果が前記買注文合計数量K以下であることを示すものである場合に、前記第2の処理で読み出した当該売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記売注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する第4の処理を、前記第1の処理による判定結果が等しいことを示すものとなるか前記第3の処理による判定結果が前記買注文合計数量Kよりも大きいことを示すものとなるまで繰り返して行い、前記第3の処理による判定結果が前記買注文合計数量Kよりも大きいことを示すものとなった場合に、前記第2の処理で読み出した当該売注文データと前記約定算出数量記憶手段に記憶されている前記約定算出数量yからなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データの注文数量に対して当該約定算出数量yを減算し、
(2)前記売注文用記憶部の前記銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である前記売注文合計数量Uが前記買注文合計数量Kと等しい第2のケースでは、
(2−1)前記買注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(2−1−1)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記買注文用記憶部で対応付けされた一部約定の前記買注文データの注文数量を加算し、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−1−2)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−2)前記売注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(2−2−1)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記売注文用記憶部で対応付けされた一部約定の前記売注文データの注文数量を加算し、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−2−2)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3)前記売注文用記憶部の前記銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である前記売注文合計数量Uが前記買注文合計数量Kよりも小さい第3のケースでは、
(3−1)前記売注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(3−1−1)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記売注文用記憶部で対応付けされた一部約定の前記売注文データの注文数量を加算し、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3−1−2)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3−2)前記買注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(3−2−1)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックに対応付けされた買注文データの注文数量が前記売注文合計数量Uよりも大きい場合に、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックに対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該売注文合計数量Uを加算するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データの注文数量に対して前記売注文合計数量Uを減算し、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データと当該売注文合計数量Uからなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データの注文数量に対して前記売注文合計数量Uを減算し、
(3−2−2)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックに対応付けされた買注文データの注文数量が前記売注文合計数量U以下である場合に、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該買注文データの注文数量を加算するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記更新処理後にさらに、当該買注文データの注文数量を合計数量Σmの初期値として記憶する合計数量記憶手段と初期値が1である番号iを記憶する番号記憶手段と約定算出数量yを記憶する約定算出数量記憶手段を用いて、前記合計数量記憶手段に記憶された合計数量Σmが前記売注文合計数量Uと等しいか判定する第1の処理と、前記第1の処理による判定結果が等しくないことを示すものである場合に、前記売注文合計数量Uから前記合計数量記憶手段の合計数量Σmを減算した数量(U−Σm)を約定算出数量yとして前記約定算出数量記憶手段に記憶するとともに前記番号記憶手段の番号iを1だけ増加させ、次に前記一定方向への更新がi番目に少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報と買注文データを読み出して当該買注文データの注文数量を前記合計数量記憶手段の合計数量Σmに加算する第2の処理と、前記第2の処理による加算後の合計数量Σmが前記売注文合計数量U以下であるか判定する第3の処理と、前記第3の処理による判定結果が前記売注文合計数量K以下であることを示すものである場合に、前記第2の処理で読み出した当該買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記買注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する第4の処理を、前記第1の処理による判定結果が等しいことを示すものとなるか前記第3の処理による判定結果が前記売注文合計数量Uよりも大きいことを示すものとなるまで繰り返して行い、前記第3の処理による判定結果が前記売注文合計数量Uよりも大きいことを示すものとなった場合に、前記第2の処理で読み出した当該買注文データと前記約定算出数量記憶手段に記憶されている前記約定算出数量yからなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データの注文数量に対して当該約定算出数量yを減算するものであり、
前記振替処理部は、前記未振替を示す振替フラグに対応付けて前記振替処理データベースに格納された注文識別情報、注文データ及び約定数量をレコード毎に読み出し、
読み出した当該レコードの前記注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として加算するとともに当該買注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理と、当該買注文用の振替処理の後に前記読み出した前記注文識別情報に対応付けされた振替フラグを未振替から振替済を示す情報に更新する振替フラグ更新処理を行い、
読み出した当該レコードの前記注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として減算するとともに当該売注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理と、当該売注文用の振替処理の後に前記読み出した前記注文識別情報に対応付けされた振替フラグを未振替から振替済を示す情報に更新する振替フラグ更新処理を行うようにしてもよい。
The order reception unit receives the order data indicating the order contents of the securities from the customer transmitted from the customer terminal device in a plurality of order reception time zones, and receives the received order data in the order Is stored in the order data storage unit in association with the order identification information for identifying,
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit, and the order data is buy order data that is information indicating that the trading category indicates buying. In the block of the storage unit for purchase order, the purchase order data, the order identification information of the purchase order, and the management of the purchase order data of the order management unit are recorded in the block corresponding to the brand identification information of the purchase order data. A number and a contract flag indicating unsettled are stored in association with each other, and when the order data is sell order data which is information indicating that the trade classification is sell, the sell order data of the block of the sell order storage unit In the record of the block corresponding to the brand identification information, the selling order data, the order identification information of the selling order, the management number of the selling order data of the order management unit, and the uncommitted Is intended to store in association with the flag,
The order quantity determination unit is the total quantity of the order quantities of each sale order data stored in association with the unfilled execution flag in the record of the brand block that is a block corresponding to the brand identification information in the selling order storage unit Of the order quantity of each purchase order data stored in association with the unfilled execution flag in the record of the brand block which is the block corresponding to the brand identification information in the buy order storage unit The size relationship with the total purchase order quantity K, which is the total quantity, is determined, and the contract processing of the first to third cases according to the size relationship is executed at the contract processing time corresponding to each of the plurality of order reception time zones. For each piece of identification information,
(1) The sell order total which is the total quantity of the order quantities of each sell order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sell order storage unit In the first case where the quantity U is larger than the total purchase order quantity K,
(1-1) Update in a certain direction among management numbers of purchase order data stored in association with uncommitted execution flags in a record of a brand block corresponding to the brand identification information of the buy order storage unit Based on each management number from the lowest management number to the highest management number,
(1-1-1) The order identification information of the purchase order associated with the management number with the smallest update in the certain direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the purchase order storage unit associates the order identification information with the approximate constant amount stored in the transfer processing database in association with the order identification information. Add the order quantity of the buy order data of the contract execution, and from the management number that is the update number next to the management number with the smallest update in the fixed direction in the brand block of the storage unit for purchase order, Shows the purchase order data associated with each management number up to the management number with the most updates, the contract amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, and untransferred Transfer flags are associated with each other and stored in the transfer processing database, and each brand number in the buy order storage unit corresponds to each management number from the smallest management number to the largest management number in the fixed direction. Update the attached execution flag to information indicating that the execution has been executed
(1-1-2) The order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the buy order storage unit Stored in the transfer processing database by associating the purchase order data, a contracted amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order and the transfer flag indicating untransferred, and further updating in the certain direction The contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the brand block of the storage unit for purchase order is set from unfilled to filled. To update the information indicating the,
(1-2) Update in the certain direction of the management number of the sales order data stored in association with the unsettled execution flag in the record of the brand block corresponding to the brand identification information in the selling order storage unit Based on each management number from the lowest management number to the highest management number,
(1-2-1) The order quantity of the sell order data associated with the brand block in the sell order storage unit with the management number with the smallest update in the certain direction is larger than the total buy order quantity K In case,
The order identification information of the sell order associated with the brand number in the storage unit for sell order is stored in the transfer processing database in association with the untransferred transfer flag to the management number with the smallest update in the certain direction. The purchase order total quantity K is added to the contracted amount stored in the transfer processing database in association with the order identification information, and the sell order storage unit corresponds to the order identification information. Subtracting the total purchase order quantity K from the order quantity of the attached sales order data,
The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is stored in the transfer processing database in association with the untransferred transfer flag. If not, the sales order data associated with the order identification information in the storage unit for sales order, a contract amount consisting of the total purchase order quantity K, the order identification information of the sales order, and a transfer flag indicating untransferred Is stored in the transfer processing database, and the total purchase order quantity K is subtracted from the order quantity of the sell order data associated with the order identification information in the sell order storage unit,
(1-2-2) The order quantity of the sell order data associated with the brand block of the sell order storage unit with the management number with the smallest update in a certain direction is equal to or less than the total buy order quantity K In case,
The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is stored in the transfer processing database in association with the untransferred transfer flag. The order quantity of the sales order data is added to the approximate constant amount stored in the transfer processing database in association with the order identification information, and the sales order storage unit stores the order identification information. Perform an update process to update the associated deal flag from unfilled to information indicating the deal,
The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is stored in the transfer processing database in association with the untransferred transfer flag. If the sales order data associated with the sales order storage unit is associated with the order identification information, the contract quantity consisting of the order quantity of the sales order data, the order identification information of the sales order, and the transfer indicating untransferred A flag is stored in the transfer processing database, and an update process is performed to update a contract flag associated with the order identification information in the sales order storage unit from uncommitted to information indicating contracted,
After the update process, the total quantity storage means for storing the order quantity of the sales order data as the initial value of the total quantity Σm, the number storage means for storing the number i whose initial value is 1, and the contract calculated quantity y are stored. The first process for determining whether the total quantity Σm stored in the total quantity storage means is equal to the buy order total quantity K using the contract calculated quantity storage means is not equal to the determination result by the first process. When the total quantity Σm of the total quantity storage means is subtracted from the total purchase order quantity K, the quantity (K−Σm) is stored in the execution quantity storage means as the execution quantity y. A selling order in which the number i of the number storage means is incremented by 1, and then the i-th smallest management number is associated with the management block in the brand block of the selling order storage unit The second process of reading the order identification information and the sell order data and adding the order quantity of the sell order data to the total quantity Σm of the total quantity storage means, and the total quantity Σm after the addition by the second process is In the second process, when the third process for determining whether the total purchase order quantity is K or less and the determination result by the third process indicate that the total purchase order quantity is K or less Stored in the transfer processing database is a read-ahead order data, an approximate constant amount consisting of the order quantity of the sell order data, order identification information of the sell order, and a transfer flag indicating untransferred, and the sell order is stored in the order identification information. Whether or not the fourth process of updating the contract flag associated with the storage unit from the uncommitted information to the information indicating the contracted condition indicates that the determination results of the first process are equal to each other. When the determination result according to the third processing is repeated until it shows that the determination result is greater than the total purchase order quantity K, and the determination result by the third process indicates that the determination result is greater than the total purchase order quantity K In addition, the sales order data read out in the second process, the contract amount calculated from the contract calculation quantity y stored in the contract calculation quantity storage means, the order identification information of the sell order, and a transfer flag indicating untransferred Is stored in the transfer processing database, and the contract calculated quantity y is subtracted from the order quantity of the sell order data associated with the order identification information in the sell order storage unit,
(2) The sell order total that is the total quantity of the order quantities of each sell order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sell order storage unit In the second case where the quantity U is equal to the total purchase order quantity K,
(2-1) Update in the certain direction among the management numbers of the purchase order data stored in association with the unconfirmed execution flag in the record of the issue block corresponding to the issue identification information in the storage unit for purchase order Based on each management number from the lowest management number to the highest management number,
(2-1-1) The order identification information of the purchase order associated with the management number with the smallest update in the certain direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the purchase order storage unit associates the order identification information with the approximate constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the buy order data of the contract is added, and the management number that is the update number next to the management number with the smallest update in the fixed direction in the brand block of the storage unit for purchase order is changed to the fixed direction. Shows the purchase order data associated with each management number up to the management number with the most updates, the contract amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, and untransferred Transfer flags are associated with each other and stored in the transfer processing database, and each brand number in the buy order storage unit corresponds to each management number from the smallest management number to the largest management number in the fixed direction. Update the attached execution flag to information indicating that the execution has been executed
(2-1-2) The order identification information of the purchase order associated with the management number with the smallest update in the certain direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the buy order storage unit Stored in the transfer processing database by associating the purchase order data, a contracted amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order and the transfer flag indicating untransferred, and further updating in the certain direction The contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the brand block of the storage unit for purchase order is set from unfilled to filled. To update the information indicating the,
(2-2) Update in a certain direction among management numbers of sell order data stored in association with unfilled execution flags in the record of the brand block corresponding to the brand identification information of the sell order storage unit Based on each management number from the lowest management number to the highest management number,
(2-2-1) The order identification information of the selling order associated with the management number with the smallest update in the certain direction in the brand block of the selling order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the sales order storage unit associates the order identification information with the approximate constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the sell order data of the contract is added, and the management number which is the update number next to the management number with the smallest update in the fixed direction in the brand block of the sell order storage unit is changed to the fixed direction. Shows each selling order data associated with each management number up to the management number with the most updates, a contract amount consisting of the order quantity of the selling order data, order identification information of the selling order, and untransferred A transfer flag is associated and stored in the transfer processing database, and each brand number in the selling order storage unit corresponds to each management number from the smallest management number to the largest management number in the fixed direction. Update the attached execution flag to information indicating that the execution has been executed
(2-2-2) The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the selling order storage unit Stored in the transfer processing database in association with the sales order data, a contracted amount consisting of the order quantity of the sell order data, the order identification information of the sell order and the transfer flag indicating untransferred, and further update in the certain direction A contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the stock block of the selling order storage unit is set from unfilled to filled. To update the information indicating the,
(3) The sell order total which is the total quantity of the order quantities of each sell order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sell order storage unit In the third case where the quantity U is smaller than the total purchase order quantity K,
(3-1) Update in the certain direction among the management numbers of sell order data stored in association with unfilled execution flags in the record of the brand block corresponding to the brand identification information in the sell order storage unit Based on each management number from the lowest management number to the highest management number,
(3-1-1) The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the sales order storage unit associates the order identification information with the approximate constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the sell order data of the contract is added, and the management number which is the update number next to the management number with the smallest update in the fixed direction in the brand block of the sell order storage unit is changed to the fixed direction. Shows each selling order data associated with each management number up to the management number with the most updates, a contract amount consisting of the order quantity of the selling order data, order identification information of the selling order, and untransferred A transfer flag is associated and stored in the transfer processing database, and each brand number in the selling order storage unit corresponds to each management number from the smallest management number to the largest management number in the fixed direction. Update the attached execution flag to information indicating that the execution has been executed
(3-1-2) The order identification information of the selling order associated with the management number with the least number of updates in the certain direction in the brand block of the selling order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the selling order storage unit Stored in the transfer processing database in association with the sales order data, a contracted amount consisting of the order quantity of the sell order data, the order identification information of the sell order and the transfer flag indicating untransferred, and further update in the certain direction A contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the stock block of the selling order storage unit is set from unfilled to filled. To update the information indicating the,
(3-2) Update in the certain direction among the management numbers of the purchase order data stored in association with the unconfirmed execution flag in the record of the issue block corresponding to the issue identification information in the storage unit for purchase order Based on each management number from the lowest management number to the highest management number,
(3-2-1) The order quantity of the purchase order data associated with the brand number block of the buy order storage unit with the management number with the smallest update in the certain direction is larger than the sell order total quantity U In case,
Order identification information of a purchase order associated with the brand block of the storage unit for purchase order with the management number with the smallest update in a certain direction is stored in the transfer processing database in association with an untransferred transfer flag. The sales order total quantity U is added to the contracted amount stored in the transfer processing database in association with the order identification information, and the purchase order storage unit corresponds to the order identification information. Subtracting the selling order total quantity U from the order quantity of the attached purchase order data,
Order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is stored in the transfer processing database in association with an untransferred transfer flag. If there is not, the purchase order data associated with the order identification information in the purchase order storage unit, the contract quantity consisting of the total order quantity U, the order identification information of the purchase order, and a transfer flag indicating untransferred In the transfer processing database, and subtract the sell order total quantity U from the order quantity of the purchase order data associated with the order identification information in the buy order storage unit,
(3-2-2) The order quantity of the purchase order data associated with the brand number block of the purchase order storage unit with the management number with the smallest update in the certain direction is equal to or less than the sell order total quantity U In case,
Order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is stored in the transfer processing database in association with an untransferred transfer flag. The order quantity of the purchase order data is added to the contract amount stored in the transfer processing database in association with the order identification information, and the purchase order storage unit adds the order quantity to the order identification information. Perform an update process to update the associated deal flag from unfilled to information indicating the deal,
Order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is stored in the transfer processing database in association with an untransferred transfer flag. If the purchase order data associated with the purchase order storage unit and the order quantity of the purchase order data, a fixed amount of the purchase order data, the order identification information of the purchase order and a transfer indicating untransferred A flag is stored in the transfer processing database, and an update process is performed to update the contract flag associated with the order identification information in the purchase order storage unit from uncommitted to information indicating contracted,
After the update process, the total quantity storage means for storing the order quantity of the purchase order data as the initial value of the total quantity Σm, the number storage means for storing the number i whose initial value is 1, and the contract calculated quantity y are stored. The first process for determining whether the total quantity Σm stored in the total quantity storage means is equal to the sell order total quantity U using the contract calculated quantity storage means is not equal to the determination result by the first process. In this case, a quantity (U−Σm) obtained by subtracting the total quantity Σm of the total quantity storage means from the sell order total quantity U is stored in the contract calculation quantity storage means as a contract calculation quantity y. A purchase order in which the number i of the number storage means is incremented by 1, and then the i-th smallest management number is associated with the management number in the brand block of the purchase order storage unit The second process of reading the order identification information and the purchase order data and adding the order quantity of the purchase order data to the total quantity Σm of the total quantity storage means, and the total quantity Σm after the addition by the second process is In the second process, when the third process for determining whether the total sales order quantity is equal to or less than U and the determination result of the third process indicates that the total sales order quantity is equal to or less than K Stored in the transfer processing database is the read processing order data, an approximate constant amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, and a transfer flag indicating untransferred, and the purchase order is stored in the order identification information. Whether or not the fourth process of updating the contract flag associated with the storage unit from the uncommitted information to the information indicating the contracted condition indicates that the determination results of the first process are equal to each other. When the determination result according to the third processing is repeated until the determination result is larger than the selling order total quantity U, and the determination result by the third process indicates that it is larger than the selling order total quantity U In addition, the purchase order data read out in the second process, the contract amount calculated from the contract calculated quantity y stored in the contract calculated quantity storage means, the order identification information of the purchase order, and a transfer flag indicating untransferred Is stored in the transfer processing database, and the contract calculated quantity y is subtracted from the order quantity of the purchase order data associated with the order identification information in the purchase order storage unit,
The transfer processing unit reads the order identification information, the order data, and the approximate constant amount stored in the transfer processing database in association with the transfer flag indicating the non-transfer, for each record.
When the order data of the read record is purchase order data, the purchase order customer's account number is associated with the customer identification information included in the purchase order data in the customer database. The contract amount is added as a transfer quantity to the securities balance of the issue identification information included in the purchase order data stored in the customer account database in association with an account number, and the purchase order customer's funds A transfer process for a purchase order that reduces the amount equivalent to the amount of the securities of the contract amount as a transfer amount on the purchase order side with respect to the balance, and the read order identification information after the transfer process for the purchase order Perform a transfer flag update process to update the associated transfer flag from untransferred to information indicating that the transfer has been completed,
When the order data of the read record is sell order data, based on the account number of the sell order customer associated with the customer identification information included in the sell order data in the customer database, The contract amount is subtracted as the transfer quantity from the securities balance of the brand identification information included in the sell order data stored in the customer account database in association with the account number, and the cash of the sell order customer In the order identification information read after the transfer process for the sell order to increase the amount equivalent to the value of the securities of the contract amount as the transfer amount on the sell order side with respect to the balance, and after the transfer process for the sell order You may be made to perform the transfer flag update process which updates the transfer flag matched with the information which shows transfer completed from untransferred.

なお、本発明の第1の形態の口座間振替処理装置において、前記有価証券を個人向け国庫債券とし、前記有価証券の注文数量を前記個人向け国庫債券の注文額面金額とし、前記有価証券の約定数量を前記個人向け国庫債券の約定額面金額とし、前記買注文側の前記有価証券の代金相当額を前記個人向け国庫債券の約定額面金額に所定の振替手数料が加えられた額とし、前記売注文側の前記有価証券の代金相当額を、前記個人向け国庫債券の約定額面金額から所定の振替手数料が減じられた額としてもよい。   In the inter-account transfer processing device according to the first aspect of the present invention, the securities are the national treasury bonds, the order quantity of the securities is the order face value of the personal treasury bonds, and the securities are contracted. The amount is the contract face amount of the personal treasury bond, the amount equivalent to the price of the securities on the purchase order side is an amount obtained by adding a predetermined transfer fee to the contract face amount of the personal treasury bond, and the selling order The value equivalent to the price of the securities on the side may be an amount obtained by subtracting a predetermined transfer fee from the contract face amount of the national treasury bond for individuals.

本発明の第2の形態は、コンピュータを、上記本発明の第1の形態の口座間振替処理装置として機能させるためのプログラムである。   The second aspect of the present invention is a program for causing a computer to function as the inter-account transfer processing apparatus according to the first aspect of the present invention.

本発明によれば、顧客から個人向け国庫債券等の有価証券の売買注文を受けて所定時刻に約定処理を行って約定注文の有価証券及びその代金を顧客の口座間で振り替える処理を行うことができ、個人向け国庫債券等の流通市場を形成してその保有者が転売相手を探す労力を不要にすることができる口座間振替処理装置及びプログラムを提供することができる。また、個人向け利付国庫債券からなる有価証券の保有者に対して個人向け利付国庫債券の発行から原則中途換金ができない一定期間においても転売相手を探す労力を不要にするとともに個人向け利付国庫債券を転売可能とし、個人向け利付国庫債券の換金の利便性を提供することができ、個人向け利付国庫債券の購入希望者に対しては年4回の発行時期(募集期間)以外の時期にも口座間振替処理装置を通じて購入できるようにすることができ、個人投資家に対して個人向け利付国庫債券への投資の利便性を提供することができる。   According to the present invention, it is possible to receive a trading order for securities such as personal treasury bonds from a customer, perform a contract processing at a predetermined time, and perform a process of transferring the securities of the contract order and its price between customer accounts. In addition, it is possible to provide an inter-account transfer processing apparatus and program that can form a secondary market for personal treasury bonds, etc., and can eliminate the labor for the owner to search for a reseller. In addition, for the holder of securities consisting of individual interest-bearing national treasury bonds, the labor to search for resale partners is not required even during a certain period when the interest-bearing national treasury bond issuance is not possible. It is possible to resell and provide the convenience of redeeming individual interest-bearing treasury bonds. For those who wish to purchase individual interest-bearing national treasury bonds, an account is also available at a time other than the quarterly issue period (offer period) It can be made available for purchase through the interim transfer processing device, and the convenience of investing in the interest-bearing national treasury bonds can be provided to individual investors.

以下、本発明の実施形態について図面を参照して説明する。
図1は、有価証券の転売処理システムの構成例を示す概略図である。この転売処理システムは、本発明の一実施形態に係る口座間振替処理装置20に、複数の顧客の端末装置10を通信回線15を介して接続したものであり、通信回線15として例えばインターネット等のコンピュータネットワークを用いたものである。口座間振替処理装置20は金融機関によって管理されており、口座間振替処理装置20を管理している金融機関には、端末装置10の使用者である各顧客が、有価証券、資金等を預けるための口座が開設されているものとする。口座間振替処理装置20は、顧客の口座に預けられている有価証券、資金等の残高データを管理する。有価証券としては例えば個人向け国庫債券等の債券としてもよく、一例として個人向け利付国庫債券(変動・10年)としてもよい。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic diagram showing a configuration example of a securities resale processing system. In this resale processing system, a plurality of customer terminal devices 10 are connected to an inter-account transfer processing device 20 according to an embodiment of the present invention via a communication line 15. A computer network is used. The inter-account transfer processing device 20 is managed by a financial institution, and each customer who is a user of the terminal device 10 deposits securities, funds, etc. in the financial institution managing the inter-account transfer processing device 20. Suppose an account has been opened. The inter-account transfer processing device 20 manages balance data such as securities and funds deposited in the customer's account. The securities may be bonds such as personal treasury bonds, for example, and may be interest-bearing national treasury bonds (floating, 10 years) as an example.

顧客は、顧客の端末装置(顧客端末)10から有価証券の注文の内容を示す注文データを通信回線15を通じて口座間振替処理装置20に送信する。顧客からの有価証券の注文データには、有価証券の銘柄を示す銘柄識別情報、売買区分、注文数量等が含まれている。口座間振替処理装置20は、注文データの売買区分が互いに反対である対当する買注文データ及び売注文データを組み合わせてマッチングさせ、売注文データを送信した顧客(売注文顧客)の口座の残高データ、及び買注文データを送信した顧客(買注文顧客)の口座の残高データをそれぞれ更新することにより、注文に係る有価証券及びその注文代金を相互に顧客口座間で振り替える振替処理を行う。また、口座間振替処理装置20は、振替処理の内容を示す振替報告書の電子書面データを生成して取引当事者である顧客の端末装置10に送信することにより振替内容を口座の名義人である当該顧客に通知する。以下、金融機関として証券会社を例にして説明する。   The customer transmits order data indicating the order contents of the securities from the customer terminal device (customer terminal) 10 to the inter-account transfer processing device 20 through the communication line 15. The order data of securities from customers includes brand identification information indicating the brand of the securities, trade classification, order quantity, and the like. The inter-account transfer processing device 20 combines and matches corresponding purchase order data and sell order data in which the order data trading categories are opposite to each other, and balance data of the account of the customer (sell order customer) who sent the sell order data. , And the balance data of the account of the customer (buy order customer) that sent the purchase order data, respectively, thereby performing transfer processing for transferring the securities related to the order and the order price between the customer accounts. Further, the inter-account transfer processing device 20 is the name holder of the account by generating electronic document data of a transfer report indicating the content of the transfer processing and transmitting it to the terminal device 10 of the customer who is the transaction party. Notify the customer. Hereinafter, a securities company will be described as an example of a financial institution.

図2は、口座間振替処理装置20の構成の一例を説明するためのブロック図である。この口座間振替処理装置20は、注文受付部21、注文データ記憶部22、売買区分判定部23、買注文用記憶部24、振替処理部26、売注文用記憶部44、注文数量判定部45、振替報告書発行部51、顧客データベース(顧客DB)52、国債データベース(国債DB)53、顧客口座データベース(顧客口座DB)58、振替処理データベース(振替処理DB)59、及び振替報告書データベース(振替報告書DB)60を有しており、注文数量判定部45は約定処理部を構成している。この約定処理部は、買注文用記憶部24と売注文用記憶部44と注文数量判定部45を備えるものとしてもよい。   FIG. 2 is a block diagram for explaining an example of the configuration of the inter-account transfer processing device 20. This inter-account transfer processing device 20 includes an order receiving unit 21, an order data storage unit 22, a trade classification determination unit 23, a purchase order storage unit 24, a transfer processing unit 26, a sales order storage unit 44, and an order quantity determination unit 45. , Transfer report issuing unit 51, customer database (customer DB) 52, government bond database (government bond DB) 53, customer account database (customer account DB) 58, transfer process database (transfer process DB) 59, and transfer report database ( (Transfer Report DB) 60, and the order quantity determination unit 45 constitutes a contract processing unit. The contract processing unit may include a purchase order storage unit 24, a sales order storage unit 44, and an order quantity determination unit 45.

注文受付部21は、顧客の端末装置10との間で種々のデータを送受信する機能を有しており、顧客の端末装置10から送信された顧客からの有価証券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、有価証券の銘柄識別情報、売買区分、及び注文数量を含む注文データを受信し、受信した注文データを当該注文を識別する注文識別番号に対応付けて注文データ記憶部22に記憶する。なお、有価証券が個人向け利付国庫債券等の個人向け国庫債券である場合は、注文数量として注文額面金額を用い、約定数量として約定額面金額を用いる。   The order receiving unit 21 has a function of transmitting and receiving various data to and from the customer terminal device 10, and displays information indicating the contents of the securities order from the customer transmitted from the customer terminal device 10. Order data including customer identification information of the customer, securities brand identification information, trading category, and order quantity, and the received order data corresponds to an order identification number that identifies the order. At the same time, it is stored in the order data storage unit 22. When the securities are individual national treasury bonds such as personal interest-bearing national treasury bonds, the order face value is used as the order quantity and the contract face amount is used as the contract amount.

例えば、注文受付部21は、有価証券の注文内容を示す注文データを入力するための注文入力画面のウェブページを顧客の端末装置10に表示させる。顧客は、顧客の端末装置10に表示された注文入力画面のウェブページに注文内容を示す注文データを入力して注文入力画面のウェブページに表示された送信ボタンをマウス等のポインティングデバイスを用いてクリック等の操作を行うことにより注文データを口座間振替処理装置20の注文受付部21に送信し、例えば顧客の端末装置10は当該顧客の顧客識別情報をブラウザ等のメモリ(例えばクッキー等)に記憶しておき、送信ボタンの操作により注文内容と顧客識別情報とを含む注文データを送信するようにしてもよい。
注文受付部21は、顧客の端末装置10から送信された顧客からの有価証券の注文(顧客注文)の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、有価証券の銘柄識別情報、売買区分、及び注文数量を含む注文データを受信すると注文受付部21のデータ受信を識別するための受信識別番号に対応付けて受信記憶手段に記憶し、受信記憶手段に記憶した当該注文データ及び受信識別番号を含む注文確認画面のウェブページの表示用データを生成して顧客の端末装置10に送信し、顧客注文の注文データの内容を顧客が確認するための注文確認画面のウェブページを顧客の端末装置10に表示させる。顧客は、当該顧客の端末装置10に表示された注文確認画面のウェブページの表示内容を確認して注文確認画面に表示された確認ボタンをマウス等でクリック等の操作を行うことにより、注文内容を確認した旨の確認データと受信識別番号と当該顧客の顧客識別情報が顧客の端末装置10から注文受付部21に送信されるようになっている。注文確認画面の確認ボタンとしては例えば発注ボタンを用いてもよい。注文受付部21は、顧客の端末装置10から確認データと受信識別番号と当該顧客の顧客識別情報を受信すると、当該受信識別番号に対応付けされた注文データであって当該顧客の顧客識別情報を含む注文データを受信記憶手段から読み出し、読み出した注文データを当該顧客注文を識別するための注文識別番号と当該確認データを受信した注文受付日を示す日付情報とに対応付けて注文データ記憶部22に記憶するとともに、当該顧客注文の注文識別番号を売買区分判定部23に送る。注文識別番号としては、例えば顧客の端末装置10からの注文内容を示す注文データ又は注文内容を顧客が確認したことを示す確認データの受信回数を計数するカウンタを注文受付部21に備えて当該カウンタのカウント値を用いる構成としてもよい。
注文データ記憶部22は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客からの有価証券の注文の内容を示す注文データを格納するための注文データフィールド、当該顧客からの当該有価証券の注文を識別する注文識別番号を格納するための注文識別番号フィールド、当該顧客からの当該有価証券の注文の内容を確認した旨の確認データを受信した注文受付日の日付情報(日付データ)を格納するための注文受付日フィールドをレコード毎に設けて、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文識別番号等と当該レコードを対応付けるようにしてもよい。
For example, the order receiving unit 21 displays on the customer terminal device 10 a web page of an order input screen for inputting order data indicating the order contents of securities. The customer inputs order data indicating the contents of the order on the web page of the order input screen displayed on the terminal device 10 of the customer, and uses a pointing device such as a mouse for the send button displayed on the web page of the order input screen. By performing an operation such as clicking, the order data is transmitted to the order receiving unit 21 of the inter-account transfer processing device 20, and for example, the customer terminal device 10 stores the customer identification information of the customer in a memory such as a browser (for example, a cookie). You may make it memorize | store and transmit the order data containing order content and customer identification information by operation of a transmission button.
The order reception unit 21 is order data including information indicating the contents of the order of the securities from the customer (customer order) transmitted from the terminal device 10 of the customer, the customer identification information of the customer, the brand of the securities When order data including identification information, trade classification, and order quantity is received, the order is stored in the reception storage means in association with the reception identification number for identifying data reception of the order receiving unit 21, and the order stored in the reception storage means Order confirmation screen web page including data and reception identification number is generated and transmitted to the terminal device 10 of the customer, and the order confirmation screen web page for the customer to confirm the contents of the order data of the customer order Is displayed on the terminal device 10 of the customer. The customer confirms the display content of the web page of the order confirmation screen displayed on the terminal device 10 of the customer and clicks the confirmation button displayed on the order confirmation screen with a mouse etc. The confirmation data, the reception identification number, and the customer identification information of the customer are transmitted from the customer terminal device 10 to the order receiving unit 21. For example, an order button may be used as a confirmation button on the order confirmation screen. When receiving the confirmation data, the reception identification number, and the customer identification information of the customer from the customer terminal device 10, the order reception unit 21 receives the customer identification information of the customer as the order data associated with the reception identification number. The order data storage unit 22 reads the order data included from the reception storage means, and associates the read order data with the order identification number for identifying the customer order and the date information indicating the order reception date when the confirmation data is received. And the order identification number of the customer order is sent to the trade classification determination unit 23. As the order identification number, for example, the order reception unit 21 includes a counter that counts the number of receptions of order data indicating the order content from the customer terminal device 10 or confirmation data indicating that the customer has confirmed the order content. The count value may be used.
The order data storage unit 22 is configured by using, for example, a relational database (RDB), an order data field for storing order data indicating the order contents of securities from the customer, and the securities from the customer. Stores the order identification number field for storing the order identification number for identifying the order, date information (date data) of the order reception date when the confirmation data indicating that the content of the order of the securities from the customer has been confirmed. For this purpose, an order reception date field may be provided for each record so that these data stored in the same record are associated with each other and the order identification number and the record are associated with each other.

売買区分判定部23は、注文受付部21から顧客注文の注文識別番号を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、当該顧客注文の注文データに含まれる売買区分が買いを示す情報であるか売りを示す情報であるかを判定する。そして売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である場合に、当該注文データである新規の買注文データと当該買注文の注文識別番号と未約定を示す約定フラグを対応付けて買注文用記憶部24に記憶する。一方、顧客注文の注文データの売買区分が売りを示す情報である場合に、当該注文データである新規の売注文データと当該売注文の注文識別番号と未約定を示す約定フラグを対応付けて売注文用記憶部44に記憶する。この売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である場合に買注文用記憶部24のブロックのうち当該注文データである新規の買注文データの銘柄識別情報に対応するブロックのレコードに当該新規の買注文データを格納し、顧客注文の注文データの売買区分が売りを示す情報である場合に売注文用記憶部44のブロックのうち当該注文データである新規の売注文データの銘柄識別情報に対応するブロックのレコードに当該新規の売注文データを格納する。   When receiving the order identification number of the customer order from the order receiving unit 21, the trade classification determining unit 23 acquires the order data associated with the received order identification number from the order data storage unit 22, and the order data of the customer order It is determined whether the trade classification included in is information indicating buying or information indicating selling. Then, when the trading category of the order data of the customer order is information indicating buying, the buying / selling category determining unit 23 is a new buy order data as the order data, an order identification number of the buy order, and a promise indicating unsettled. The flag is associated and stored in the purchase order storage unit 24. On the other hand, when the sales category of the order data of the customer order is information indicating sell, the new sell order data as the order data, the order identification number of the sell order, and the contract flag indicating unsettled are associated with each other. Store in the order storage unit 44. This buying and selling category determination unit 23 uses the brand identification information of the new buying order data as the order data in the block of the buying order storage unit 24 when the buying and selling category of the order data of the customer order is information indicating buying. The new buy order data is stored in the corresponding block record, and when the order classification of the customer order is information indicating sale, the new order order data in the block of the sell order storage unit 44 is stored. The new sell order data is stored in a block record corresponding to the brand identification information of the sell order data.

注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応するブロックのレコードに記憶された未約定の各売注文データに含まれる注文数量の合計数量である売注文合計数量と買注文用記憶部24の当該銘柄識別情報に対応するブロックのレコードに記憶された未約定の各買注文データに含まれる注文数量の合計数量である買注文合計数量との大小関係を判定し、売注文合計数量と買注文合計数量のうち小さいほうの合計数量を成す買注文の約定数量と当該買注文の注文データとを対応付けて振替処理DB59に格納し、当該小さいほうの合計数量を成す売注文の約定数量と当該売注文の注文データとを対応付けて振替処理DB59に格納する処理を予め定められた所定時刻に各銘柄識別情報について行うようになっている。   The order quantity determination unit 45 includes a total order quantity and a purchase order that are the total quantity of the order quantities included in each unsold sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit 44. Determine the magnitude relationship with the purchase order total quantity that is the total quantity of the order quantities included in each uncommitted purchase order data stored in the block record corresponding to the brand identification information in the order storage unit 24, and sell The contract quantity of the purchase order that forms the smaller total quantity of the order total quantity and the purchase order total quantity and the order data of the purchase order are stored in the transfer processing DB 59 in association with each other, and the sale that forms the smaller total quantity A process of associating the contracted constant quantity of the order with the order data of the selling order and storing it in the transfer process DB 59 is performed for each brand identification information at a predetermined time.

このように、売買区分判定部23と注文数量判定部45により、注文データ記憶部22に記憶された注文データのうち買注文データを買注文用記億部24に記憶するとともに売注文データを売注文用記憶部44に記憶し、同じ銘柄識別情報を含む買注文データの注文数量と売注文データの注文数量とがマッチングする約定数量を求め、約定注文の約定数量と注文データを対応付けて振替処理DB59に格納するようになっている。   In this way, the buying / selling classification determination unit 23 and the order quantity determination unit 45 store the purchase order data in the purchase order storage unit 24 among the order data stored in the order data storage unit 22 and sell the sales order data. The order storage unit 44 stores the order quantity of the purchase order data including the same brand identification information and the order quantity of the sales order data, and obtains a contract quantity that matches the order quantity of the trade order. The data is stored in the processing DB 59.

振替処理DB59は、顧客からの有価証券の注文の約定を識別するための約定識別番号と約定数量と注文データと振替フラグと生成フラグをレコードに格納することにより、当該約定識別番号と当該約定数量と当該注文データと当該振替フラグと当該生成フラグを対応付けて格納する。この振替処理DB59は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客からの有価証券の注文の約定を識別するための約定識別番号を格納するための約定識別番号フィールドと、有価証券の注文の約定数量を格納するための約定数量フィールドと、注文データを格納するための注文データフィールドと、振替フラグを格納するための振替フラグフィールドと、生成フラグを格納するための生成フラグフィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該約定識別番号と当該レコードを対応付けるようにしてもよい。
一例として振替処理DB59は、リレーショナル・データベース(RDB)を用いて構成し、顧客からの有価証券の注文の約定を識別する約定識別番号を格納するための約定識別番号フィールドと、有価証券の注文の約定数量を格納するための約定数量フィールドと、注文データを格納するための注文データフィールドと、振替フラグを格納するための振替フラグフィールドと、生成フラグを格納するための生成フラグフィールドと、注文代金相当額を格納するための注文代金相当額フィールドと、振替処理を識別するための振替処理識別番号を格納するための振替処理識別番号フィールドと、振替処理をした振替日を示す日付情報を格納するための振替日フィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該約定識別番号等と当該レコードを対応付け、また当該振替処理識別番号等と当該レコードを対応付けるようにしてもよい。
The transfer process DB 59 stores the contract identification number and the contract constant quantity by storing the contract identification number, contract constant quantity, order data, transfer flag, and generation flag for identifying the contract execution of the securities from the customer in the record. And the order data, the transfer flag, and the generation flag are stored in association with each other. The transfer processing DB 59 is configured by using, for example, a relational database (RDB), and includes a contract identification number field for storing a contract identification number for identifying a contract of a security order from a customer, Records a contract amount field for storing a contract constant amount, an order data field for storing order data, a transfer flag field for storing a transfer flag, and a generation flag field for storing a generation flag. It may be provided for each, and these data stored in the same record may be associated with each other and the contract identification number may be associated with the record.
As an example, the transfer processing DB 59 is configured using a relational database (RDB), and includes a contract identification number field for storing a contract identification number for identifying the contract execution of a securities order from a customer, A contract field for storing a contract quantity, an order data field for storing order data, a transfer flag field for storing a transfer flag, a generation flag field for storing a generation flag, and an order price An order price equivalent amount field for storing an equivalent amount, a transfer process identification number field for storing a transfer process identification number for identifying a transfer process, and date information indicating a transfer date on which the transfer process has been performed are stored. For each record, and these data stored in the same record Correspondence, etc. and the record the contract identification number along with giving response, also may be associated with such a corresponding record the transfer process identification number.

振替処理部26は、振替処理DB59に格納された約定数量と注文データをレコード毎に読み出し、読み出した当該レコードの注文データが買注文データである第1の場合に、当該買注文データに含まれる顧客識別情報に顧客DB52で対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて顧客口座DB58に格納されている買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を加算するとともに当該買注文顧客の資金残高に対して当該約定数量の有価証券の代金相当額を減額する買注文用の振替処理を行い、読み出した当該レコードの注文データが売注文データである第2の場合に、当該売注文データに含まれる顧客識別情報に顧客DB52で対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて顧客口座DB58に格納されている売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を減算するとともに当該売注文顧客の資金残高に対して当該約定数量の有価証券の代金相当額を増額する売注文用の振替処理を行う。一例として、振替処理部26は、未振替を示す振替フラグに対応付けて振替処理DB59に格納された約定識別番号、約定数量、及び注文データをレコード毎に読み出す。そして、読み出した当該レコードの約定識別番号、約定数量、及び注文データに基づき、当該注文データに含まれる顧客識別情報に対応付けされた注文顧客の口座番号を顧客DB52から読み出し、注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該注文データが買注文データである第1の場合には当該約定数量を振替数量として加算するとともに当該注文顧客の資金残高に対して当該約定数量に当該有価証券の単位数量の取引基準価格が乗じられた買注文側の注文代金相当額を買注文側の振替金額として減額し、また、注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該注文データが売注文データである第2の場合には当該約定数量を振替数量として減算するとともに当該注文顧客の資金残高に対して当該約定数量に当該有価証券の単位数量の取引基準価格が乗じられた売注文側の注文代金相当額を売注文側の振替金額として増額する振替処理と、注文代金相当額と当該振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報を当該約定識別番号に対応する振替処理DB59のレコードに格納するとともに当該約定識別番号に対応する振替処理DB59のレコードに格納された振替フラグを未振替から振替済を示す情報に更新する振替フラグ更新処理を、振替処理部26が読み出した上記レコード毎に行うようにしてもよい。   The transfer processing unit 26 reads the contracted constant amount and the order data stored in the transfer processing DB 59 for each record, and is included in the purchase order data in the first case where the read order data of the record is the purchase order data. Based on the account number of the purchase order customer associated with the customer identification information in the customer DB 52, the product identification information included in the purchase order data stored in the customer account DB 58 in association with the account number of the purchase order customer Add the contracted amount to the securities balance of the purchase order and reduce the amount equivalent to the price of the contracted amount of the securities to the purchase order customer's funds balance, and read the record In the second case, the order data of the sales order customer is associated with the customer identification information included in the sales order data in the customer DB 52 in the second case. Based on the seat number, the contract constant amount is subtracted from the securities balance of the brand of the brand identification information included in the sell order data stored in the customer account DB 58 in association with the account number of the sell order customer. Transfer processing for a selling order is performed to increase the amount equivalent to the value of the approximately certain amount of securities with respect to the fund balance of the selling order customer. As an example, the transfer processing unit 26 reads the contract identification number, the contract amount, and the order data stored in the transfer processing DB 59 in association with the transfer flag indicating untransferred for each record. Based on the read contract identification number, contract constant amount, and order data of the record, the order customer account number associated with the customer identification information included in the order data is read from the customer DB 52, and the order customer account number is read. In the first case where the order data is buy order data with respect to the securities balance of the brand of the brand identification information included in the order data stored in the customer account DB 58 in association with the transaction data, the contract amount is transferred. The amount equivalent to the purchase order, which is obtained by multiplying the contract customer's funds balance by the transaction base price of the unit quantity of the securities, is reduced as the transfer amount on the purchase order side. In addition, the securities of the brand of the brand identification information included in the order data stored in the customer account DB 58 in association with the account number of the order customer In the second case, when the order data is sell order data, the contract quantity is subtracted as the transfer quantity, and the transaction of the unit quantity of the securities to the contract quantity is subtracted from the order customer's funds balance. Transfer processing to increase the order price equivalent amount of the selling order multiplied by the base price as the transfer amount of the selling order side, transfer processing identification number for identifying the order price equivalent amount and the transfer processing, and the transfer processing The date information indicating the transferred transfer date is stored in the record of the transfer process DB 59 corresponding to the contract identification number, and the transfer flag stored in the record of the transfer process DB 59 corresponding to the contract identification number is indicated as being transferred from untransferred. You may make it perform the transfer flag update process updated to information for every said record which the transfer process part 26 read.

振替報告書発行部51は、未生成を示す生成フラグに対応付けて振替処理DB59に格納されている注文データ、約定数量、有価証券の代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出す。そして、当該注文データに含まれる銘柄識別情報及び売買区分、約定数量である振替数量、代金相当額である振替金額、振替処理識別番号及び振替日の日付情報を含む振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該顧客のメールアドレスの端末装置10に送信する振替報告書送信処理と、当該振替処理識別番号に対応付けて振替処理DB59のレコードに格納された生成フラグを未生成から生成済みを示す情報に更新する生成フラグ更新処理を行う。例えば、振替報告書発行部51は未生成を示す生成フラグに対応付けて振替処理DB59に格納されている注文データ、約定数量、注文代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出す。そして、当該注文データに含まれる銘柄識別情報及び売買区分、約定数量である振替数量、注文代金相当額である振替金額、振替処理識別番号及び振替日の日付情報を含む振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該顧客のメールアドレスの端末装置10に送信する振替報告書送信処理と、当該振替処理識別番号に対応付けて振替処理DB59のレコードに格納された生成フラグを未生成から生成済みを示す情報に更新する生成フラグ更新処理を、振替報告書発行部51が読み出した上記レコード毎に行うようにしてもよい。   The transfer report issuing unit 51 stores the order data, the contract amount, the amount equivalent to the value of the securities, the transfer process identification number, and the date information of the transfer date stored in the transfer process DB 59 in association with the generation flag indicating that the transfer has not been generated. Read for each record. Then, the electronic document data of the transfer report including the brand identification information and trading classification included in the order data, the transfer quantity that is a constant amount, the transfer amount that is the price equivalent, the transfer process identification number, and the date information of the transfer date A transfer report transmission process that is generated and transmitted to the terminal device 10 at the mail address of the customer stored in the customer DB 52 in association with the customer identification information included in the order data, and in association with the transfer process identification number A generation flag update process is performed in which the generation flag stored in the record of the transfer process DB 59 is updated from ungenerated to information indicating that it has been generated. For example, the transfer report issuing unit 51 records the order data stored in the transfer processing DB 59 in association with the generation flag indicating that it has not been generated, the contract amount, the amount equivalent to the order price, the transfer process identification number, and the date information of the transfer date. Read every time. And the electronic document data of the transfer report including the brand identification information and trading category included in the order data, the transfer quantity that is the contract amount, the transfer amount that is the order price equivalent, the transfer process identification number, and the date information of the transfer date Is generated and associated with the customer identification information included in the order data, and is transmitted to the terminal device 10 of the customer's mail address stored in the customer DB 52, and is associated with the transfer process identification number. Then, the generation flag update process for updating the generation flag stored in the record of the transfer process DB 59 to the information indicating that it has been generated may be performed for each record read by the transfer report issuing unit 51.

振替報告書発行部51は、一例として、未生成を示す生成フラグに対応付けて振替処理DB59に格納されている注文データ、約定数量、注文代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、約定数量である振替数量、注文代金相当額である振替金額、振替処理識別番号及び振替日の日付情報を含む注文顧客用の振替報告書の電子書面データを生成し、当該注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該注文顧客のメールアドレスと当該振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と未通知を示す通知フラグとを対応付けて振替報告書DB60に格納し、当該振替処理識別番号に対応付けされた振替処理DB59のレコードの生成フラグを未生成から生成済みを示す情報に更新する処理を、読み出した上記レコード毎に行う電子書面生成手段と、未通知を示す通知フラグに対応付けて振替報告書DB60に格納された顧客のメールアドレスと当該顧客用の振替報告書の電子書面データと当該電子書面データの電子書面識別番号を読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信し、当該電子書面データの電子書面識別番号に対応付けされた振替報告書DB60の通知フラグを未通知から通知済みを示す情報に更新する通知手段とを備える構成としてもよい。   For example, the transfer report issuing unit 51, as an example, orders data stored in the transfer process DB 59 in association with a generation flag indicating non-generated, contract amount, order price equivalent, transfer process identification number, and date information of transfer date For each customer, including the brand identification information and trading category included in the order data, the transfer amount that is a constant amount, the transfer amount that is equivalent to the order price, the transfer process identification number, and the date information of the transfer date The electronic report data of the transfer report is generated, the mail address of the order customer stored in the customer DB 52 in association with the customer identification information included in the order data, the electronic document data of the transfer report, and the transfer report An electronic document identification number for identifying electronic document data of a document and a notification flag indicating unnotified are stored in the transfer report DB 60 in association with each other, and the transfer process In the electronic document generation means for performing the process of updating the generation flag of the transfer process DB 59 associated with the identification number to the information indicating that the record has been generated from not generated, and the notification flag indicating unnotified The customer's e-mail address, the electronic document data of the customer's transfer report, and the electronic document identification number of the electronic document data, which are stored in the transfer report DB 60 in association with each other, are read out and the electronic document of the customer's transfer report is read out A notification means for transmitting data to the mail address of the customer and updating the notification flag of the transfer report DB 60 associated with the electronic document identification number of the electronic document data from unreported to information indicating notified It is good.

振替報告書DB60は、顧客のメールアドレスと当該顧客用の振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と通知フラグとを対応付けて格納する。この振替報告書DB60は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客のメールアドレスを格納するためのメールアドレスフィールドと、当該顧客用の振替報告書の電子書面データを格納するための電子書面データフィールドと、当該振替報告書の電子書面データを識別する電子書面識別番号を格納するための電子書面識別番号フィールドと、通知フラグを格納するための通知フラグフィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該電子書面識別番号等と当該レコードを対応付けるようにしてもよい。   The transfer report DB 60 stores a customer's e-mail address, electronic document data of the customer's transfer report, an electronic document identification number for identifying the electronic document data of the transfer report, and a notification flag in association with each other. . The transfer report DB 60 is configured using, for example, a relational database (RDB), and stores an email address field for storing a customer's email address and electronic document data of the customer's transfer report. An electronic document data field, an electronic document identification number field for storing an electronic document identification number for identifying the electronic document data of the transfer report, and a notification flag field for storing a notification flag are provided for each record. These data stored in the record may be associated with each other and the electronic document identification number or the like may be associated with the record.

なお、注文受付部21は、顧客の端末装置10に有価証券の板情報のウェブページを表示させる板情報画面送信手段を備えており、買注文用記憶部24に記憶された未約定の買注文データに含まれる銘柄識別情報及び注文数量と、売注文用記憶部44に記憶された未約定の売注文データに含まれる銘柄識別情報及び注文数量に基づいて注文状況を示す板情報画面のウェブページを生成し、顧客が端末装置10の表示画面(例えば注文入力画面のウェブページ又は証券会社のホームページ等)に表示された、板情報画面の表示要求ボタンをマウス等でクリック等して操作することにより、板情報画面のウェブページを顧客の端末装置10に送信して板情報画面のウェブページを表示させるようになっている。例えば板情報画面送信手段は、個人向け国庫債券の銘柄識別情報に対応する売注文用記憶部44の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する売注文用記憶部44から銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、個人向け国庫債券の銘柄識別情報に対応する買注文用記憶部24の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する買注文用記憶部24から銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて板情報として一覧表示するための板情報画面のデータを生成して記憶手段に記憶し、顧客の端末装置10から個人向け国庫債券の板情報の表示を要求する要求データを受け取ると記憶手段に記憶されている板情報画面のデータを顧客の端末装置10に送信して当該板情報画面を表示させるようにしてもよい。顧客は板情報画面を参照することで個人向け国庫債券の銘柄間の流動性や注文額面金額を比較して判断することができ、板情報画面上で流動性の高い銘柄の個人向け国庫債券を選択して当該銘柄を注文銘柄として注文入力画面に入力して売買注文を出すことができる。   The order receiving unit 21 includes a board information screen transmitting means for displaying a web page of securities board information on the customer terminal device 10, and an unconfirmed buy order stored in the buy order storage unit 24. Web page of the board information screen showing the order status based on the brand identification information and order quantity included in the data, and the brand identification information and order quantity included in the unfilled sell order data stored in the sell order storage unit 44 And the customer operates the display request button on the board information screen displayed on the display screen of the terminal device 10 (for example, the web page of the order entry screen or the homepage of the securities company) with a mouse or the like. Thus, the web page of the board information screen is transmitted to the customer terminal device 10 to display the web page of the board information screen. For example, the board information screen transmission means sells each piece of brand identification information obtained by totaling the order amount of the selling order data stored in the record in each block of the selling order storage unit 44 corresponding to the brand identification information of the national treasury bond for individuals. The purchase order corresponding to the brand identification information of the national treasury bonds for individuals is acquired from the selling order storage unit 44 that outputs the total order face value of the order and the total order price of the sale order for each brand identification information is acquired. The brand identification information from the purchase order storage unit 24 for outputting the total amount of the order par value of the purchase order for each brand identification information obtained by summing up the order par value of the purchase order data stored in the record in each block of the storage unit 24 The total amount of the order face value of each purchase order is acquired, and the total amount of the selling order and purchase order face value of each brand identification information is associated with the brand identification information as one board information. The board information screen data to be displayed is generated and stored in the storage means, and the board stored in the storage means is received when request data requesting the display of the board information of the personal treasury bond is received from the customer terminal device 10. The information screen data may be transmitted to the customer terminal device 10 to display the board information screen. Customers can make judgments by comparing the liquidity of individual treasury bonds and the face value of orders by referring to the board information screen. A purchase order can be made by selecting and inputting the brand as an order brand on the order input screen.

一例として、有価証券を個人向け利付国庫債券として個人向け利付国庫債券の個人間売買に適用する場合は、以下のようにしてもよい。注文受付部21は、顧客の端末装置10から送信された顧客からの個人向け利付国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文数量に相当する注文額面金額を含む注文データを受信し、受信した注文データを当該注文を識別するための注文識別番号に対応付けて注文データ記憶部22に記憶する。   As an example, when applying securities as an individual interest-bearing national treasury bond to individual trading of individual interest-bearing national treasury bonds, the following may be performed. The order reception unit 21 is order data including information indicating the content of an order for an individual interest-bearing national treasury bond from a customer transmitted from the customer's terminal device 10, wherein the customer identification information, the personal interest-bearing national treasury bond The order data including the brand identification information, the trading category, and the order face value corresponding to the order quantity is received, and the received order data is associated with the order identification number for identifying the order in the order data storage unit 22. Remember.

例えば注文受付部21は、個人向け利付国庫債券の注文内容を示す注文データを入力するための注文入力画面のウェブページを顧客の端末装置10に表示させる。顧客は、顧客の端末装置10に表示された注文入力画面のウェブページに注文内容を示す注文データを入力して注文入力画面のウェブページに表示された送信ボタンをマウス等でクリック等の操作を行うことにより注文データを口座間振替処理装置20の注文受付部21に送信し、例えば顧客の端末装置10は当該顧客の顧客識別情報をブラウザ等のメモリ(例えばクッキー等)に記憶しておき、送信ボタンの操作により注文内容と顧客識別情報とを含む注文データを送信するようにしてもよい。
注文受付部21は、顧客の端末装置10から送信された顧客からの個人向け利付国庫債券の注文(顧客注文)の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信すると注文受付部21のデータ受信を識別するための受信識別番号に対応付けて受信記憶手段に記憶し、受信記憶手段に記憶した注文データ及び受信識別番号を含む注文確認画面のウェブページの表示用データを生成して顧客の端末装置10に送信し、顧客注文の注文データの内容を顧客が確認するための注文確認画面のウェブページを顧客の端末装置10に表示させる。顧客は、当該顧客の端末装置10に表示された注文確認画面のウェブページの表示内容を確認して注文確認画面に表示された確認ボタンをマウス等でクリック等の操作を行うことにより、注文内容を確認した旨の確認データと受信識別番号と当該顧客の顧客識別情報が顧客の端末装置10から注文受付部21に送信される。注文受付部21は、顧客の端末装置10から確認データと受信識別番号と当該顧客の顧客識別情報を受信すると、当該受信識別番号に対応付けされた注文データであって当該顧客の顧客識別情報を含む注文データを受信記憶手段から読み出し、読み出した注文データを当該顧客注文を識別するための注文識別番号及び当該確認データを受信した注文受付日を示す日付情報とに対応付けて注文データ記憶部22に記憶するとともに、当該注文識別番号を売買区分判定部23に送る。注文識別番号としては、例えば顧客の端末装置10からの注文内容を示す注文データ又は注文内容を顧客が確認したことを示す確認データの受信回数を計数するカウンタを注文受付部21に備えて当該カウンタのカウント値を用いる構成としてもよい。
注文データ記憶部22は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客からの個人向け利付国庫債券の注文の内容を示す注文データを格納するための注文データフィールド、当該顧客からの当該個人向け利付国庫債券の注文を識別する注文識別番号を格納するための注文識別番号フィールド、当該顧客からの当該個人向け利付国庫債券の注文の内容を確認した旨の確認データを受信した注文受付日の日付情報(日付データ)を格納するための注文受付日フィールドをレコード毎に設けて、同一レコードに格納されたデータを互いに対応付けるとともに当該注文識別番号等と当該レコードを対応付けるようにしてもよい。
For example, the order receiving unit 21 displays on the customer terminal device 10 a web page of an order input screen for inputting order data indicating the order contents of the personal interest-bearing national treasury bond. The customer inputs order data indicating the contents of the order on the web page of the order input screen displayed on the terminal device 10 of the customer, and performs an operation such as clicking a transmission button displayed on the web page of the order input screen with a mouse or the like. By doing so, the order data is transmitted to the order receiving unit 21 of the inter-account transfer processing device 20, for example, the customer terminal device 10 stores the customer identification information of the customer in a memory such as a browser (for example, a cookie). Order data including order contents and customer identification information may be transmitted by operating a transmission button.
The order reception unit 21 is order data including information indicating the content of an individual interest-bearing national treasury bond order (customer order) transmitted from the customer's terminal device 10, and includes customer identification information of the customer, individual When receiving the order data including the issue identification information of the interest-bearing national treasury bond, the trading category, and the order face value, it is stored in the receiving storage means in association with the receiving identification number for identifying the data reception of the order receiving unit 21. Data for displaying the web page of the order confirmation screen including the order data stored in the storage means and the reception identification number is generated and transmitted to the terminal device 10 of the customer, and the customer confirms the contents of the order data of the customer order. The web page of the order confirmation screen is displayed on the customer terminal device 10. The customer confirms the display content of the web page of the order confirmation screen displayed on the terminal device 10 of the customer and clicks the confirmation button displayed on the order confirmation screen with a mouse etc. Confirmation data indicating that the customer has been confirmed, a reception identification number, and customer identification information of the customer are transmitted from the customer terminal device 10 to the order receiving unit 21. When receiving the confirmation data, the reception identification number, and the customer identification information of the customer from the customer terminal device 10, the order reception unit 21 receives the customer identification information of the customer as the order data associated with the reception identification number. The order data storage unit 22 reads the order data included from the reception storage means, and associates the read order data with the order identification number for identifying the customer order and the date information indicating the order reception date when the confirmation data is received. And the order identification number is sent to the buying / selling division determination unit 23. As the order identification number, for example, the order reception unit 21 includes a counter that counts the number of receptions of order data indicating the order content from the customer terminal device 10 or confirmation data indicating that the customer has confirmed the order content. The count value may be used.
The order data storage unit 22 is configured using, for example, a relational database (RDB), and an order data field for storing order data indicating the content of an order for a personal interest-bearing national treasury bond from a customer. Order identification number field for storing an order identification number for identifying an order for a personal interest-bearing treasury bond, an order reception date when confirmation data indicating that the content of the order for the personal interest-bearing treasury bond from the customer has been confirmed has been received An order acceptance date field for storing the date information (date data) may be provided for each record so that the data stored in the same record are associated with each other and the order identification number and the like are associated with each other.

注文受付部21又は売買区分判定部23には、顧客からの個人向け利付国庫債券の注文の内容を示す前記注文データ毎に注文の管理番号を一定方向(例えば増大方向)に更新して顧客からの注文データの管理番号を生成する注文管理手段を設ける。なお、注文の管理番号としてはカウント値からなる注文識別番号を用いることもできる。
売買区分判定部23は、注文受付部21から顧客注文の注文識別番号を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、当該顧客注文の注文データに含まれる売買区分を判定する。そして、売買区分判定部23は、当該注文データの売買区分が買いを示す情報である場合に買注文用記憶部24のブロックのうち当該注文データである新規の買注文データの銘柄識別情報に対応するブロックのレコードに当該新規の買注文データと注文管理手段の当該買注文データの管理番号と当該注文識別番号と未約定を示す約定フラグを対応付けて格納し、当該注文データの売買区分が売りを示す情報である場合に売注文用記憶部44のブロックのうち当該注文データである新規の売注文データの銘柄識別情報に対応するブロックのレコードに当該新規の売注文データと注文管理手段の当該売注文データの管理番号と当該注文識別番号と未約定を示す約定フラグを対応付けて格納する。
The order reception unit 21 or the trade classification determination unit 23 updates the order management number in a certain direction (for example, an increasing direction) for each order data indicating the content of the order for the personal interest-bearing national treasury bond from the customer. Order management means for generating a management number of the order data is provided. An order identification number consisting of a count value can also be used as the order management number.
When receiving the order identification number of the customer order from the order receiving unit 21, the trade classification determining unit 23 acquires the order data associated with the received order identification number from the order data storage unit 22, and the order data of the customer order The trading category included in is determined. The buying / selling category determination unit 23 corresponds to the brand identification information of the new buying order data which is the order data in the block of the buying order storage unit 24 when the buying / selling category of the order data is information indicating buying. The new purchase order data, the management number of the purchase order data of the order management means, the order identification number, and the execution flag indicating unsettled are stored in association with the record of the block to be processed, and the trade classification of the order data is sold. In the block of the sales order storage unit 44 in the block corresponding to the brand identification information of the new sales order data which is the order data, the new sales order data and the order management means A management number of sales order data, the order identification number, and a contract flag indicating unsettled are stored in association with each other.

注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定を示す約定フラグ(未約定の約定フラグ)に対応付けて記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額Uと買注文用記憶部24の当該銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各買注文データの注文額面金額の合計額面金額である買注文合計額面金額Kとの大小関係を判定し、大小関係に応じた第1から第3のケースの処理を所定時刻に銘柄識別情報毎に行う。   The order quantity determination unit 45 stores each sale stored in association with a deal flag (unfilled deal flag) indicating unfilled in the record of the brand block that is a block corresponding to the brand identification information in the sell order storage unit 44. The selling order total face value U which is the total face value of the order face value in the order data and the record of the brand block which is a block corresponding to the brand identification information in the purchase order storage unit 24 are associated with the uncommitted execution flag. Determine the magnitude relation with the purchase order total face value K, which is the total face value of the order face value of each stored purchase order data, and process the first to third cases according to the magnitude relation at a predetermined time This is done for each piece of identification information.

(1a)買注文合計額面金額K<売注文合計額面金額U(買注文と売注文のうち全部の買注文が約定する第1のケース)
注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額Uが買注文合計額面金額Kよりも大きいと判定した場合は、買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額と当該買注文の約定識別番号及び注文識別番号と未振替の振替フラグとを対応付けて振替処理DB59に格納し、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づき、一定方向への更新が最も少ない管理番号(一定方向が増大方向の場合は最も小さい管理番号)に対応する売注文データの注文額面金額が買注文合計額面金額K以上である場合に当該管理番号に対応する売注文データと買注文合計額面金額Kからなる約定額面金額と当該買注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納し、一定方向への更新が最も少ない管理番号に対応する売注文データの注文額面金額が買注文合計額面金額K未満である場合に一定方向への更新が少ない順(一定方向が増大方向の場合は番号の小さい順)に管理番号に対応する売注文データの注文額面金額を合計した合計額面金額が買注文合計額面金額K未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックにおいて一定方向への更新が最も少ない管理番号(一定方向が増大方向の場合は最も小さい管理番号)から最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文額面金額からなる約定額面金額と当該売注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納し、さらに当該ブロックにおける最大管理番号の次の更新番号である管理番号に対応する売注文データと上記最大の合計額面金額から買注文合計額面金額Kまでの超過額面金額からなる約定額面金額と当該売注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納する第1の注文データ格納処理を行う。また、注文数量判定部45は、注文の注文データの注文額面金額(注文残額面金額)を当該注文の約定額面金額とした場合には、当該注文が全部約定(全部出来)に係る注文として、当該注文の注文識別番号に対応する約定フラグを未約定から約定済を示す情報に更新する処理を行うものとし、注文の注文データの注文額面金額(注文残額面金額)を当該注文の約定額面金額としない場合には、当該注文が一部約定(一部出来)に係る注文として、当該注文の注文識別番号に対応付けされた記憶部24,44(ここでは売注文用記憶部44)の注文データの注文額面金額を約定額面金額だけ減算する処理を行うものとする。
(1a) Buy order total face value K <Sell order total face value U (first case where all buy orders are executed out of buy orders and sell orders)
The order quantity determination unit 45 buys a sell order total face value U which is a total face value of the order face value of each sell order data stored in the record of the brand block corresponding to the brand identification information in the sell order storage unit 44. If it is determined that the order total face value K is greater than the order total face value K, from each purchase order data stored in the record of the brand block corresponding to the brand identification information in the buy order storage unit 24 and the order face value of the purchase order data The contract block amount, the contract identification number of the purchase order, the order identification number, and the untransferred transfer flag are stored in the transfer processing DB 59 in association with each other, and the brand block corresponding to the brand identification information in the selling order storage unit 44 Based on the management number of the sales order data stored in the record corresponding to the sales order data, the management number with the smallest update in a certain direction (if the certain direction is increasing) Is the contract face value consisting of the sales order data corresponding to the management number and the purchase order total face value K when the order face value of the sales order data corresponding to the smallest management number is equal to or greater than the total purchase order face value K. The contract identification number of the buy order and the order identification number and a transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the order face value of the sell order data corresponding to the management number with the smallest update in a certain direction is The total of the order amount of the selling order data corresponding to the management number in the order of few updates in a certain direction when the total amount of the purchase order is less than K (in order of increasing numbers if the certain direction is increasing) The maximum face value and the maximum management number, which is the management number at that time, are the largest when the face value is less than the purchase order total face value K, and correspond to the brand identification information in the selling order storage unit 44. Each selling order data corresponding to each management number from the management number with the smallest update in a certain direction in the stock block (the smallest management number when the fixed direction is increasing) to the maximum management number and the order of the selling order data The contract face amount consisting of the face amount, the contract identification number of the sales order, the order identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the update number next to the maximum management number in the block Shows the sales order data corresponding to a certain management number, the contracted face value consisting of the above-mentioned maximum total face value and the excess face value from the purchase order total face value K, the contract identification number of the sell order, the order identification number, and untransfer A first order data storage process is performed in which a transfer flag is associated and stored in the transfer process DB 59. Further, when the order face value (order balance value) in the order data of the order is the contract face value of the order, the order quantity determination unit 45 is able to The contract flag corresponding to the order identification number of the relevant order is updated from unfilled to information indicating that it has been filled, and the order face value (order balance value) of the order data is the contract face value of the order. If not, the order in the storage units 24 and 44 (here, the sales order storage unit 44) associated with the order identification number of the order as an order related to the partial execution (partially completed). It is assumed that processing for subtracting the order amount of the order amount of data by the contract amount of amount is performed.

(2a)買注文合計額面金額=売注文合計額面金額(買注文と売注文の全部が約定する第2のケース)
注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額Uが買注文合計額面金額Kと等しいと判定した場合は、買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額と当該買注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納し、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額と当該売注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納する第2の注文データ格納処理を行う。また、注文数量判定部45は、注文の約定額面金額を当該注文の注文データの注文額面金額としており、当該注文が全部約定(全部出来)に係る注文として、当該注文の注文識別番号に対応する約定フラグを未約定から約定済を示す情報に更新する処理を行うものとする。
(2a) Buy order total face value = Sell order total face value (second case where both buy and sell orders are executed)
The order quantity determination unit 45 buys a sell order total face value U which is a total face value of the order face value of each sell order data stored in the record of the brand block corresponding to the brand identification information in the sell order storage unit 44. If it is determined that it is equal to the order total face value K, it consists of each purchase order data stored in the record of the brand block corresponding to the brand identification information in the buy order storage unit 24 and the order face value of the purchase order data. The contract face amount, the contract identification number of the purchase order, the order identification number, and a transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the brand block corresponding to the brand identification information in the sell order storage unit 44 is stored. Indicates the contract face value consisting of each sell order data stored in the record and the order face value of the sell order data, the contract identification number of the sell order, the order identification number, and untransferred In association with replacement flag performs second order data storage process to store the transfer processing DB 59. In addition, the order quantity determination unit 45 uses the contracted par value of the order as the order par value of the order data of the order, and the order corresponds to the order identification number of the order as an order related to all the orders (completed). It is assumed that processing for updating the contract flag from uncommitted to information indicating contracted is performed.

(3a)買注文合計額面金額>売注文合計額面金額(買注文と売注文のうち売注文が全部約定する第3のケース)
注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額Uが買注文合計額面金額Kよりも小さい第3のケースでは、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額と当該売注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納し、買注文用記憶部24の銘柄識別情報に対応する銘柄ブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づき、一定方向への更新が最も少ない管理番号(一定方向が増大方向の場合は最も小さい管理番号)に対応する買注文データの注文額面金額が売注文合計額面金額U以上である場合に当該管理番号に対応する買注文データと売注文合計額面金額Uからなる約定額面金額と当該買注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて前記振替処理データベースに格納し、一定方向への更新が最も少ない管理番号(一定方向が増大方向の場合は最も小さい管理番号)に対応する買注文データの注文額面金額が売注文合計額面金額U未満である場合に一定方向への更新が少ない順(一定方向が増大方向の場合は番号の小さい順)に管理番号に対応する買注文データの注文額面金額を合計した合計額面金額が売注文合計額面金額U未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックにおいて一定方向への更新が最も少ない管理番号(一定方向が増大方向の場合は最も小さい管理番号)から最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文額面金額からなる約定額面金額と当該買注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納し、さらに当該ブロックにおける最大管理番号の次の更新番号である管理番号に対応する買注文データと上記最大の合計額面金額から売注文合計額面金額Uまでの超過額面金額からなる約定額面金額と当該買注文の約定識別番号及び注文識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に格納する第3の注文データ格納処理を行う。また、注文数量判定部45は、注文の注文データの注文額面金額(注文残額面金額)を当該注文の約定額面金額とした場合には、当該注文が全部約定(全部出来)に係る注文として、当該注文の注文識別番号に対応する約定フラグを未約定から約定済を示す情報に更新する処理を行うものとし、注文の注文データの注文額面金額(注文残額面金額)を当該注文の約定額面金額としない場合には、当該注文が一部約定(一部出来)に係る注文として、当該注文の注文識別番号に対応付けされた注文記憶部24,44の注文データの注文額面金額を約定額面金額だけ減算する処理を行うものとする。
(3a) Buy order total face value> Sell order total face value (third case in which sell orders are filled out of buy orders and sell orders)
The order quantity determination unit 45 buys a sell order total face value U which is a total face value of the order face value of each sell order data stored in the record of the brand block corresponding to the brand identification information in the sell order storage unit 44. In the third case, which is smaller than the order total face value K, from each sell order data stored in the record of the brand block corresponding to the brand identification information in the sell order storage unit 44 and the order face value of the sell order data The contract face amount, the contract identification number of the selling order, the order identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the brand block corresponding to the brand identification information in the purchase order storage unit 24 is stored. Based on the management number of the purchase order data stored in the record in association with the purchase order data, the management number with the fewest updates in a certain direction (if the certain direction is increasing) When the order face value of the purchase order data corresponding to the smallest management number) is equal to or greater than the total order amount U of the sales order, the contract face amount consisting of the purchase order data corresponding to the management number and the total order amount U of the sell order The contract identification number of the purchase order and the order identification number and the transfer flag indicating untransferred are stored in the transfer processing database in association with each other, and the management number with the smallest update in a certain direction (the smallest if the certain direction is an increasing direction) If the order face value of the purchase order data corresponding to the control number) is less than the total order face value U, the management number in the order of few updates in a certain direction (in the order of increasing numbers if the constant direction is increasing) The total face value that is the sum of the order face values of the purchase order data corresponding to, and the maximum face value that is less than the sell order total face value U, and the maximum management number that is the management number at that time From the management number with the smallest update in a certain direction in the brand block corresponding to the brand identification information in the buy order storage unit 24 (the smallest management number when the certain direction is an increasing direction) to the maximum management number. Transfer processing DB 59 in which each purchase order data corresponding to each management number, a contract face amount consisting of an order face value of the purchase order data, a contract identification number of the purchase order, an order identification number and a transfer flag indicating untransferred are associated with each other. And the contract amount of the purchase order data corresponding to the management number which is the next update number of the maximum management number in the block and the excess face amount from the maximum total face amount to the selling order total amount U. The third order data rating stored in the transfer process DB 59 in association with the execution identification number of the purchase order, the order identification number, and the transfer flag indicating untransferred Perform payment processing. Further, when the order face value (order balance value) in the order data of the order is the contract face value of the order, the order quantity determination unit 45 is able to The contract flag corresponding to the order identification number of the relevant order is updated from unfilled to information indicating that it has been filled, and the order face value (order balance value) of the order data is the contract face value of the order. If not, the order par value of the order data in the order storage units 24 and 44 associated with the order identification number of the order as the order related to the partial contract (partial completion) is the contract par amount Only the subtraction process is performed.

振替処理DB59は、顧客からの個人向け利付国庫債券の注文の約定を識別するための約定識別番号と約定額面金額と当該注文の注文データ及び注文識別情報と振替フラグと生成フラグを対応付けて格納する。この振替処理DB59は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客からの個人向け利付国庫債券の注文の約定を識別する約定識別番号を格納するための約定識別番号フィールドと、個人向け利付国庫債券の注文の約定額面金額を格納するための約定額面金額フィールドと、注文データを格納するための注文データフィールドと、注文識別情報(例えば注文識別番号)を格納するための注文識別情報フィールドと、振替フラグを格納するための振替フラグフィールドと、生成フラグを格納するための生成フラグフィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該約定識別番号等と当該レコードを対応付け、さらに当該注文識別情報と当該レコードを対応付けるようにしてもよい。生成フラグの初期値として未生成を示す情報を用いるようにしてもよい。
一例として振替処理DB59が備える買注文用の振替処理DBは、リレーショナル・データベース(RDB)を用いて構成し、顧客からの個人向け利付国庫債券の注文の約定を識別する約定識別番号を格納するための約定識別番号フィールドと、個人向け利付国庫債券の注文の約定額面金額を格納するための約定額面金額フィールドと、注文データを格納するための注文データフィールドと、注文識別情報を格納するための注文識別情報フィールドと、振替フラグを格納するための振替フラグフィールドと、生成フラグを格納するための生成フラグフィールドと、注文代金相当額を格納するための注文代金相当額フィールドと、振替処理を識別する振替処理識別番号を格納するための振替処理識別番号フィールドと、振替処理をした振替日を示す日付情報を格納するための振替日フィールドと、経過利子相当額を格納するための経過利子相当額フィールドと、中途換金調整額を格納するための中途換金調整額フィールドと、振替手数料を格納するための振替手数料フィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該約定識別番号等と当該レコードを対応付けるようにし、当該注文識別情報と当該レコードを対応付けるようにし、また当該振替処理識別番号等と当該レコードを対応付けるようにしてもよい。
The transfer process DB 59 stores a contract identification number, a contract face amount, order data for the order, order identification information, a transfer flag, and a generation flag in association with each other to identify a contract for an individual interest-bearing national treasury bond from a customer. To do. The transfer processing DB 59 is configured by using, for example, a relational database (RDB), a contract identification number field for storing a contract identification number for identifying a contract of an order for a personal interest-bearing treasury bond from a customer, A contract face amount field for storing the contract face amount of the interest-bearing treasury bond order, an order data field for storing order data, and an order identification information field for storing order identification information (for example, an order identification number). A transfer flag field for storing a transfer flag, and a generation flag field for storing a generation flag for each record, associating these data stored in the same record with each other, Corresponding records, and associating the order identification information with the record It may be so that. Information indicating non-generation may be used as the initial value of the generation flag.
As an example, the transfer processing DB for purchase order provided in the transfer processing DB 59 is configured using a relational database (RDB), and stores a contract identification number for identifying a contract of an order for a personal interest-bearing national treasury bond from a customer. A contract identification number field, a contract face value field for storing the contract face value of orders for individual interest-bearing treasury bonds, an order data field for storing order data, and an order for storing order identification information The identification information field, the transfer flag field for storing the transfer flag, the generation flag field for storing the generation flag, the order price equivalent field for storing the order price equivalent, and the transfer process are identified. The transfer process identification number field for storing the transfer process identification number and the transfer date on which the transfer process was performed A transfer date field for storing the date information, an accrued interest equivalent field for storing the accrued interest equivalent, an intermediate cash adjustment amount field for storing the intermediate cash adjustment amount, and a transfer fee. A transfer fee field for each record, and associating the data stored in the same record with each other, associating the contract identification number with the record, associating the order identification information with the record, and The transfer process identification number or the like may be associated with the record.

振替処理部26は、未振替を示す振替フラグに対応付けて振替処理DB59に格納された約定識別番号、約定額面金額、及び注文データをレコード毎に読み出す。そして、読み出した当該レコードの約定識別番号、約定額面金額、及び注文データに基づき、当該注文データに含まれる顧客識別情報に対応付けされた注文顧客の口座番号を顧客DB52から読み出し、当該注文データが売買区分が買いを示す情報からなる買注文データである第1の場合に、顧客DB52から読み出した当該買注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該買注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として加算するとともに当該買注文顧客の資金残高に対して当該約定額面金額に国債DB53で当該銘柄識別情報に対応付けされた当該銘柄の直前の利払日からの経過日数及び振替日現在の適用利率に応じた経過利子相当額が加えられた買注文側の注文代金相当額(=約定額面金額+経過利子相当額)を買注文側の振替金額として減額する振替処理と、買注文側の注文代金相当額と当該買注文用の振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報と経過利子相当額と中途換金調整額と振替手数料を当該約定識別番号に対応する振替処理DB59のレコードに格納するとともに当該約定識別番号に対応する振替処理DB59のレコードに格納された振替フラグを未振替から振替済みを示す情報に更新する振替フラグ更新処理を行い、一方、当該注文データが売買区分が売りを示す情報からなる売注文データである第2の場合に、顧客DB52から読み出した当該売注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該売注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として減算するとともに当該売注文顧客の資金残高に対して当該約定額面金額に国債DB53で当該銘柄識別情報に対応付けされた当該銘柄の直前の利払日からの経過日数及び振替日現在の適用利率に応じた経過利子相当額が加えられ、振替手数料が減じられた売注文側の注文代金相当額(=約定額面金額+経過利子相当額−振替手数料)を売注文側の振替金額として増額する振替処理と、売注文側の注文代金相当額と当該売注文用の振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報と経過利子相当額と中途換金調整額と振替手数料を当該約定識別番号に対応する振替処理DB59のレコードに格納するとともに当該約定識別番号に対応する振替処理DB59のレコードに格納された振替フラグを未振替から振替済みを示す情報に更新する振替フラグ更新処理を行い、振替処理と振替フラグ更新処理を振替処理部26が読み出した振替処理DB59のレコード毎に行うようにしてもよい。
経過利子相当額については、例えば約定日翌日受渡しとした場合、銘柄識別情報に対応付けて国債DB53に格納された情報を用いて、約定日に対応する前利払日から受渡日である約定日翌日までの経過日数と銘柄識別情報の約定日翌日の適用利率(%)から、約定額面金額×経過日数/365×適用利率/100として計算することができる。一例として経過利子相当額については、例えば約定日から所定日数後を振替日(受渡日)とした場合、銘柄識別情報に対応付けて国債DB53に格納された情報を用いて、約定日に対応する前利払日から受渡日までの経過日数と銘柄識別情報の受渡日の適用利率(%)から、約定額面金額×経過日数/365×適用利率/100として計算するようにしてもよい。中途換金調整額は、一例として銘柄識別情報に対応する国債DB53の前回及び前々回の適用利率(%)を用いて、約定額面金額×前2回分の適用利率/100×1/2として計算することができる。また、振替手数料は、一例として振替手数料の上限額を約定額面金額×定数とし、上限額と経過利子相当額を比較して上限額以下のほうの値として求めてもよく、約定額面金額に一定比率を乗じた値としてもよい。なお、買注文側及び売注文側の注文代金相当額として約定額面金額を用いる構成としてもよく、売注文側の注文代金相当額として約定額面金額から振替手数料を減じた額を用いる構成としてもよく、買注文側の注文代金相当額として約定額面金額に振替手数料を加えた額を用いる構成としてもよく、このように受渡代金には経過利子を考慮せずに売注文顧客側(売手側)が経過利子を放棄するとともに買注文顧客側(買手側)が経過利子なしで購入できるようにしてもよい。
The transfer processing unit 26 reads the contract identification number, the contract face amount, and the order data stored in the transfer processing DB 59 in association with the transfer flag indicating untransferred for each record. Then, based on the read contract identification number, contract face amount, and order data of the record, the order customer account number associated with the customer identification information included in the order data is read from the customer DB 52, and the order data is Included in the purchase order data stored in the customer account DB 58 in association with the account number of the purchase order customer read from the customer DB 52 in the first case where the trade category is purchase order data consisting of information indicating purchase The contract face amount is added as a transfer face amount to the individual interest-bearing national treasury bond balance of the issue of the stock identification information, and the stock identification information is added to the contract face amount with respect to the fund balance of the purchase order customer in the government bond DB 53. The accrued interest equivalent amount corresponding to the applicable interest rate as of the transfer date and the number of days elapsed since the interest payment date immediately preceding the issue Transfer processing to reduce the purchase order side equivalent amount (= contracted face value + accrued interest equivalent amount) as the transfer amount on the purchase order side, the purchase order side equivalent amount and the purchase order The transfer process identification number for identifying the transfer process, the date information indicating the transfer date on which the transfer process was performed, the accrued interest equivalent amount, the intermediate adjustment amount, and the transfer fee are stored in the record of the transfer process DB 59 corresponding to the contract identification number. The transfer flag update process is performed to update the transfer flag stored in the record of the transfer process DB 59 corresponding to the contract identification number from the untransferred to the information indicating that the transfer has been completed. In the second case, which is sales order data consisting of information indicating the information stored in the customer account DB 58 in association with the account number of the sales order customer read from the customer DB 52 The contract face amount is subtracted as the transfer face amount from the individual interest-bearing national treasury bond balance of the issue of the issue identification information included in the sell order data, and the contract face amount is added to the sale order customer's funds balance. A sales order in which the amount of accrued interest corresponding to the applicable interest rate as of the transfer date and the number of days elapsed from the interest payment date immediately preceding the issue associated with the issue identification information in the JGB DB 53 is added, and the transfer fee is reduced Transfer process to increase the order price equivalent amount (= contracted face value + accrued interest equivalent amount-transfer fee) as the transfer amount on the sell order side, and the order price equivalent on the sell order side and the transfer process for the sell order side A transfer process identification number for identifying the date, date information indicating the transfer date on which the transfer process was performed, accrued interest equivalent amount, mid-term cash adjustment amount and transfer fee corresponding to the contract identification number The transfer flag update process is performed to update the transfer flag stored in the record of the transfer process DB 59 corresponding to the contract identification number from the untransferred information to the information indicating that the transfer has been completed. The process may be performed for each record of the transfer process DB 59 read by the transfer processing unit 26.
For the accrued interest equivalent amount, for example, when it is delivered on the next day of the contract date, the contract date that is the delivery date from the previous interest payment date corresponding to the contract date using the information stored in the government bond DB 53 in association with the brand identification information From the number of days until the next day and the applicable interest rate (%) on the day after the contract date of the brand identification information, it can be calculated as the contract face amount × elapsed days / 365 × applicable interest rate / 100. As an example, the accrued interest equivalent amount corresponds to the contract date using, for example, information stored in the government bond DB 53 in association with the issue identification information, when the transfer date (delivery date) is a predetermined number of days after the contract date. From the number of days elapsed from the previous interest payment date to the delivery date and the applicable interest rate (%) on the date of delivery of the brand identification information, it may be calculated as contract face amount × elapsed days / 365 × applied interest rate / 100. As an example, the half-time redemption adjustment amount is calculated as the contracted face value × the applicable interest rate for the previous two times / 100 × 1/2, using the previous and previous applicable interest rates (%) of the JGB DB 53 corresponding to the issue identification information. Can do. In addition, the transfer fee may be calculated as, for example, the upper limit of the transfer fee as the contract face amount x a constant, and the upper limit and the accrued interest equivalent may be compared and calculated as the value less than the upper limit. It is good also as a value which multiplied the ratio. In addition, it may be configured to use the contract amount as the order price equivalent for the purchase order and sell order, or may be configured to use the amount obtained by subtracting the transfer fee from the contract amount as the order price for the sell order. The purchase order side may be configured to use the amount of the contract face value plus the transfer fee as the order price equivalent, and the sales order customer side (seller side) does not consider the accrued interest in this way. The accrued interest may be abandoned and the purchase order customer side (buyer side) may be allowed to purchase without accrued interest.

振替報告書発行部51は、未生成を示す生成フラグに対応付けて振替処理DB59に格納されている買注文データ、約定額面金額、注文代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出す。そして、当該注文データの売買区分が買いを示す情報である第1の場合に当該注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、注文代金相当額である振替金額、振替処理識別番号及び振替日の日付情報を含む買注文顧客用の振替報告書の電子書面データを生成して当該買注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該顧客のメールアドレスの端末装置10に送信し、当該注文データの売買区分が売りを示す情報である第2の場合に当該注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、注文代金相当額である振替金額、振替処理識別番号及び振替日の日付情報を含む売注文顧客用の振替報告書の電子書面データを生成して当該売注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該顧客のメールアドレスの端末装置10に送信する振替報告書送信処理と、当該振替処理識別番号に対応する振替処理DB59のレコードに格納された生成フラグを未生成から生成済を示す情報に更新する生成フラグ更新処理を、振替報告書発行部51が読み出した振替処理DB59のレコード毎に行う。   The transfer report issuing unit 51 stores the purchase order data, the contract face amount, the order price equivalent amount, the transfer process identification number, and the transfer date date information stored in the transfer process DB 59 in association with the generation flag indicating not generated. Read for each record. Then, in the first case where the trade classification of the order data is information indicating purchase, the brand identification information and the trade classification included in the order data, the transfer par value that is the contract par value, and the transfer amount that is equivalent to the order price The electronic document data of the transfer report for the purchase order customer including the transfer process identification number and the transfer date date information is generated and stored in the customer DB 52 in association with the customer identification information included in the purchase order data. In the second case, the order identification data included in the order data is sent to the terminal device 10 of the customer's email address, and the order amount is the information indicating sale. Generate electronic document data for the transfer report for the sales order customer, including the amount, transfer amount equivalent to the order price, transfer process identification number, and date information of the transfer date. A transfer report transmission process to be transmitted to the terminal device 10 of the customer's e-mail address stored in the customer DB 52 in association with the customer identification information included in the data, and a record in the transfer process DB 59 corresponding to the transfer process identification number. The generation flag update processing for updating the stored generation flag from information not generated to information indicating generation is performed for each record in the transfer processing DB 59 read by the transfer report issuing unit 51.

一例として、振替報告書発行部51は、未生成を示す生成フラグに対応付けて振替処理DB59に格納されている注文データ、約定額面金額、注文代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データの売買区分が買いを示す情報である第1の場合に当該買注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、買注文側の注文代金相当額である買注文側の振替金額、経過利子相当額、中途換金調整額、振替処理識別番号及び振替日の日付情報を含む買注文顧客用の振替報告書の電子書面データを生成して当該買注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該買注文顧客のメールアドレスと当該振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と未通知を示す通知フラグとを対応付けて振替報告書DB60に格納し、当該注文データの売買区分が売りを示す情報である第2の場合に当該売注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、売注文側の注文代金相当額である売注文側の振替金額、経過利子相当額、中途換金調整額、振替処理識別番号及び振替日の日付情報を含む売注文顧客用の振替報告書の電子書面データを生成して当該売注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該売注文顧客のメールアドレスと当該振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と未通知を示す通知フラグとを対応付けて振替報告書DB60に格納し、読み出した当該振替処理識別番号に対応付けされた振替処理DB59のレコードの生成フラグを未生成から生成済みを示す情報に更新する処理を、読み出した振替処理DB59のレコード毎に行う電子書面生成手段と、未通知を示す通知フラグに対応付けて振替報告書DB60に格納された顧客のメールアドレスと当該顧客用の振替報告書の電子書面データと当該電子書面データの電子書面識別番号を読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信し、当該電子書面データの電子書面識別番号に対応付けされた振替報告書DB60の通知フラグを未通知から通知済を示す情報に更新する通知手段とを備える構成としてもよい。   As an example, the transfer report issuing unit 51 associates the order data stored in the transfer process DB 59 in association with the generation flag indicating that the transfer has not been generated, the contract face amount, the order price equivalent, the transfer process identification number, and the date of the transfer date. Information is read for each record, and in the first case where the purchase / sale category of the order data is information indicating purchase, the brand identification information and trade category included in the purchase order data, the transfer par amount, which is the contract par amount, the purchase order The electronic document data of the transfer report for the purchase order customer including the transfer amount of the purchase order, which is equivalent to the purchase order side, the accrued interest equivalent amount, the mid-term change adjustment amount, the transfer process identification number, and the date information of the transfer date The email address of the purchase order customer stored in the customer DB 52 in association with the customer identification information included in the purchase order data, the electronic document data of the transfer report, and the transfer The electronic document identification number for identifying the electronic document data of the declaration and the notification flag indicating non-notification are stored in the transfer report DB 60 in association with each other, and the trading category of the order data is information indicating sale. In this case, the issue identification information and trading classification included in the relevant sales order data, the transfer face value that is the contract face value, the transfer amount that is the order price equivalent to the sell order, the accrued interest equivalent amount, and the intermediate exchange amount The electronic document data of the transfer report for the sales order customer including the adjustment amount, the transfer process identification number, and the date information of the transfer date is generated and stored in the customer DB 52 in association with the customer identification information included in the sell order data. The email address of the sales order customer, the electronic document data of the transfer report, the electronic document identification number for identifying the electronic document data of the transfer report, and the notification flag indicating unnotified A process for updating the generation flag of the record in the transfer process DB 59 associated with the read transfer process identification number and updating it to information indicating that it has been generated is stored in the transfer report DB 60 and read out. Electronic document generation means for each record, customer email address stored in the transfer report DB 60 in association with a notification flag indicating unnotified, electronic document data of the customer transfer report, and the electronic document data The electronic document identification number is read out, the electronic document data of the transfer report for the customer is transmitted to the mail address of the customer, and the notification flag of the transfer report DB 60 associated with the electronic document identification number of the electronic document data It is good also as a structure provided with the notification means to update to information which shows notification completion from unreported.

振替報告書DB60は、顧客のメールアドレスと当該顧客用の振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と通知フラグとを対応付けて格納する。この振替報告書DB60は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客のメールアドレスを格納するためのメールアドレスフィールドと、当該顧客用の振替報告書の電子書面データを格納するための電子書面データフィールドと、当該振替報告書の電子書面データを識別する電子書面識別番号を格納するための電子書面識別番号フィールドと、通知フラグを格納するための通知フラグフィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該電子書面識別番号等と当該レコードを対応付けるようにしてもよい。   The transfer report DB 60 stores a customer's e-mail address, electronic document data of the customer's transfer report, an electronic document identification number for identifying the electronic document data of the transfer report, and a notification flag in association with each other. . The transfer report DB 60 is configured using, for example, a relational database (RDB), and stores an email address field for storing a customer's email address and electronic document data of the customer's transfer report. An electronic document data field, an electronic document identification number field for storing an electronic document identification number for identifying the electronic document data of the transfer report, and a notification flag field for storing a notification flag are provided for each record. These data stored in the record may be associated with each other and the electronic document identification number or the like may be associated with the record.

なお、注文受付部21は、顧客の端末装置10に個人向け利付国庫債券の板情報のウェブページを表示させる板情報画面送信手段を備えており、買注文用記憶部24に記憶された未約定の買注文データの銘柄識別情報及び注文額面金額(注文残額面金額)と、売注文用記憶部44に記憶された未約定の売注文データの銘柄識別情報及び注文額面金額(注文残額面金額)に基づいて注文状況を示す板情報画面のウェブページを生成し、顧客が端末装置10の表示画面(例えば注文入力画面又は証券会社のホームページ等)に表示された、個人向け利付国庫債券の板情報画面の表示要求ボタンをマウス等でクリック等して操作することにより、個人向け利付国庫債券の板情報画面のウェブページを顧客の端末装置10に送信して当該板情報画面のウェブページを表示させるようにしてもよい。   The order receiving unit 21 includes a board information screen transmission means for displaying a web page of board information of personal interest-bearing national treasury bonds on the customer's terminal device 10, and the uncommitted information stored in the purchase order storage unit 24. Identification information and order face value (order balance value) of the purchase order data, and brand identification information and order face value (order balance value) of unsold sales order data stored in the storage unit 44 for sale order A board information screen web page indicating the order status is generated based on the information, and the board information of the personal interest-bearing national treasury bonds displayed on the display screen of the terminal device 10 (for example, the order entry screen or the homepage of a securities company) by the customer By clicking and operating the display request button on the screen with a mouse or the like, the web page of the board information screen of the personal interest-bearing national treasury bond is transmitted to the customer's terminal device 10 and the board information screen Ebupeji may be allowed to display the.

図3は、国債DB53のデータ構成の一例をテーブル形式で示す説明図である。国債DB53は、個人向け利付国庫債券の銘柄識別情報の銘柄毎に、当該銘柄に関する詳細データ、例えば発行日を示すデータ、償還期限を示すデータ、利払日を示すデータ、直前期間(すなわち現在の年月日を含む期間)に適用される利率(すなわち現在の適用利率)を示すデータを格納する。なお、適用利率を示すデータとしては、税引前のデータを格納するものを例示しているが税引後のデータを格納してもよい。国債DB53は、例えばリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の銘柄を示す銘柄識別情報を格納するための銘柄識別情報フィールド、当該銘柄識別情報が示す銘柄の個人向け利付国庫債券の発行日の日付情報(日付データ)を格納するための発行日フィールド、当該銘柄識別情報が示す銘柄の個人向け利付国庫債券の償還期限の日付情報(日付データ)を格納するための償還期限フィールドと、当該銘柄識別情報が示す銘柄の個人向け利付国庫債券の利払日の日付情報(日付データ)を格納するための利払日フィールド、当該銘柄識別情報が示す銘柄の個人向け利付国庫債券の現在の適用利率を格納するための現在適用利率フィールド、当該銘柄識別情報が示す銘柄の個人向け利付国庫債券の前回の適用利率を格納するための前回適用利率フィールド、当該銘柄識別情報が示す銘柄の個人向け利付国庫債券の前々回の適用利率を格納するための前々回適用利率フィールドをレコード毎に設けて、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該銘柄識別情報等と当該レコードを対応付けるようにしてもよい。
図3の国債DB53には、個人向け利付国庫債券の銘柄(銘柄識別情報)「第1回債(変動10年)」に対応付けて、当該第1回債の発行日「平成15年3月10日」を示すデータ、償還期限「平成25年3月10日」を示すデータ、利払日「3月10日・9月10日」を示すデータ、現在の適用利率「1.13%」を示すデータ、前回の適用利率「0.75%」を示すデータ、前々回の適用利率「0.57%」を示すデータが格納されている。
FIG. 3 is an explanatory diagram showing an example of the data structure of the government bond DB 53 in a table format. The government bond DB 53 includes, for each issue of the issue identification information of the interest-bearing national treasury bond, detailed data related to the issue, for example, data indicating the issue date, data indicating the redemption date, data indicating the interest payment date, immediately preceding period (that is, the current period) Data indicating the interest rate applied in the period including the date) (that is, the current applied interest rate) is stored. The data indicating the applicable interest rate is exemplified by data storing data before tax, but data after tax may be stored. The government bond DB 53 is configured using, for example, a relational database (RDB), a brand identification information field for storing brand identification information indicating the brand of the personal interest-bearing national treasury bond, and an interest rate for the brand indicated by the brand identification information Issuance date field for storing the date information (date data) of the issue date of the national treasury bond, redemption for storing the date information (date data) of the redemption date of the personal interest-bearing national treasury bond of the issue indicated by the issue identification information Expiration date field, interest payment date field for storing date information (date data) of interest-paid national treasury bond of the issue indicated by the issue identification information, and interest-bearing national treasury of issue indicated by the issue identification information Current applicable interest rate field to store the current applicable interest rate of the bond The previous applied interest rate field for storing the applied interest rate, and the previous applied interest rate field for storing the applied interest rate for the previous interest of the national interest-bearing national treasury bond of the issue indicated by the issue identification information are provided for each record and stored in the same record. These pieces of data may be associated with each other and the brand identification information and the like may be associated with the record.
In the government bond DB 53 of FIG. 3, the issue date of the first bond “March 2003” is associated with the issue (brand identification information) “first bond (variable 10 years)” of the interest-bearing national treasury bond for individuals. Data indicating “10th”, data indicating redemption date “March 10, 2013”, data indicating interest payment date “March 10 / September 10”, current applicable interest rate “1.13%” , Data indicating the previous applied interest rate “0.75%”, and data indicating the previous applied interest rate “0.57%” are stored.

また、国債DB53には、個人向け利付国庫債券の銘柄「第2回債(変動10年)」に対応付けて、当該第2回債の発行日「平成15年4月10日」を示すデータ、償還期限「平成25年4月10日」を示すデータ、利払日「4月10日・10月10日」を示すデータ、現在の適用利率「0.92%」を示すデータ、前回の適用利率「0.85%」を示すデータ、前々回の適用利率「0.55%」を示すデータが格納されている(不図示)。
また、国債DB53には、個人向け利付国庫債券の銘柄「第3回債(変動10年)」に対応付けて、当該第3回債の発行日「平成15年7月10日」を示すデータ、償還期限「平成25年7月10日」を示すデータ、利払日「1月10日・7月10日」を示すデータ、現在の適用利率「1.10%」を示すデータ、前回の適用利率「0.68%」を示すデータ、前々回の適用利率「0.45%」を示すデータが格納されている(不図示)。
また、国債DB53には、個人向け利付国庫債券の銘柄「第4回債(変動10年)」に対応付けて、当該第4回債の発行日「平成15年10月10日」を示すデータ、償還期限「平成25年10月10日」を示すデータ、利払日「4月10日・10月10日」を示すデータ、現在の適用利率「0.92%」を示すデータ、前回の適用利率「0.85%」を示すデータ、前々回の適用利率「0.55%」を示すデータが格納されている(不図示)。
また、国債DB53には、個人向け利付国庫債券の銘柄「第5回債(変動10年)」に対応付けて、当該第5回債の発行日「平成16年1月13日」を示すデータ、償還期限「平成26年1月10日」を示すデータ、利払日「1月10日・7月10日」を示すデータ、現在の適用利率「1.10%」を示すデータ、前回の適用利率「0.68%」を示すデータ、前々回の適用利率「0.45%」を示すデータが格納されている(不図示)。
In addition, the government bond DB 53 includes data indicating the issue date “April 10, 2003” of the second bond in association with the brand “second bond (variable 10 years)” of the interest-bearing national treasury bond. , Data indicating redemption date “April 10, 2013”, data indicating interest payment date “April 10 / October 10”, data indicating current applicable interest rate “0.92%”, previous data Data indicating the applied interest rate “0.85%” and data indicating the last applied interest rate “0.55%” are stored (not shown).
Further, in the government bond DB 53, data indicating the issue date “July 10, 2003” of the third bond in association with the brand “third bond (fluctuation 10 years)” of the interest-bearing national treasury bond for individuals. , Data showing redemption date “July 10, 2013”, data showing interest payment date “January 10 / July 10”, data showing current applicable interest rate “1.10%”, previous data Data indicating the applied interest rate “0.68%” and data indicating the last applied interest rate “0.45%” are stored (not shown).
Further, in the government bond DB 53, data indicating the issue date “October 10, 2003” of the fourth bond in association with the brand “Fourth bond (fluctuating 10 years)” of the interest-bearing national treasury bond for individuals , Data indicating redemption date “October 10, 2013”, data indicating interest payment date “April 10 / October 10”, data indicating current applicable interest rate “0.92%”, previous data Data indicating the applied interest rate “0.85%” and data indicating the last applied interest rate “0.55%” are stored (not shown).
Further, in the government bond DB 53, data indicating the issue date “January 13, 2004” of the fifth bond in association with the brand “Fifth bond (fluctuation 10 years)” of the interest-bearing national treasury bond for individuals , Data indicating redemption date “January 10, 2014”, data indicating interest payment date “January 10 / July 10”, data indicating current applicable interest rate “1.10%”, previous data Data indicating the applied interest rate “0.68%” and data indicating the last applied interest rate “0.45%” are stored (not shown).

図4は、顧客DB52のデータ構成の一例をテーブル形式で示す説明図である。この顧客DB52は、顧客を識別するための顧客識別情報(顧客ID)に対応付けて当該顧客の氏名、住所、生年月日、電話番号、メールアドレス、口座番号等を格納する。なお、顧客IDは、個人の顧客と法人の顧客とで系統が異なっており、例えば異なる範囲の数字を用いて構成されており、これにより、顧客の顧客IDによって当該顧客が個人であるか法人であるかを注文受付部21等が判別できるようになっており、一例として4桁目が「K」の顧客IDは個人投資家に割り当てて個人投資家の顧客IDに用い、4桁目が「H」の顧客IDは法人である機関投資家に割り当てて法人の顧客IDに用いるようにしてもよい。
顧客DB52は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客を識別する顧客識別情報(顧客ID)を格納するための顧客IDフィールド、当該顧客IDの顧客の氏名を格納するための氏名フィールド、当該顧客IDの顧客の住所を格納するための住所フィールド、当該顧客IDの顧客の生年月日を格納するための生年月日フィールド、当該顧客IDの顧客の電話番号を格納するための電話番号フィールド、当該顧客IDの顧客のメールアドレスを格納するためのメールアドレスフィールド、当該顧客IDの顧客の口座番号を格納するための口座番号フィールドをレコード毎に設けて、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該顧客ID等と当該レコードを対応付けるようにしてもよい。
図4の顧客DB52には、顧客の顧客ID「K001」に対応付けて、当該顧客の氏名「山田太郎」、当該顧客の住所「東京都千代田区・・・」、当該顧客の生年月日「昭和40年1月×日」、当該顧客の電話番号「03−3243−××××」、当該顧客のメールアドレス「×××@abcdef.com」、当該顧客の口座番号「010−12345×」等が格納されている。
また、顧客DB52には、顧客の顧客ID「K002」に対応付けて、当該顧客の氏名「鈴木花子」、当該顧客の住所「東京都新宿区・・・」、当該顧客の生年月日「昭和45年1月△日」、当該顧客の電話番号「03−5366−△△△△」、当該顧客のメールアドレス「△△△@fghijk.com」、当該顧客の口座番号「010−23456△」等が格納されている(不図示)。
FIG. 4 is an explanatory diagram showing an example of the data configuration of the customer DB 52 in a table format. This customer DB 52 stores the name, address, date of birth, telephone number, e-mail address, account number, etc. of the customer in association with customer identification information (customer ID) for identifying the customer. Note that the customer IDs have different systems for individual customers and corporate customers. For example, the customer IDs are configured using different ranges of numbers. As an example, the customer ID whose fourth digit is “K” is assigned to the individual investor and used as the customer ID of the individual investor. The customer ID “H” may be assigned to a corporate institutional investor and used as a corporate customer ID.
The customer DB 52 is configured by using, for example, a relational database (RDB), a customer ID field for storing customer identification information (customer ID) for identifying the customer, and a name for storing the customer name of the customer ID. Field, address field for storing the customer address of the customer ID, date of birth field for storing the date of birth of the customer of the customer ID, telephone for storing the telephone number of the customer of the customer ID A number field, an email address field for storing the customer's email address of the customer ID, and an account number field for storing the customer's account number of the customer ID are provided for each record and stored in the same record. Are associated with each other and the customer ID is associated with the record. There.
In the customer DB 52 of FIG. 4, the customer's name “Taro Yamada”, the customer ’s address “Chiyoda-ku, Tokyo,” and the date of birth of the customer are associated with the customer ID “K001”. Showa 40th x Sun ", the customer's phone number" 03-3243-xxx ", the customer's email address" xxx@abcdef.com ", the customer's account number" 010-12345x " And the like are stored.
In addition, in the customer DB 52, the customer's name “Hanako Suzuki”, the customer ’s address “Shinjuku-ku, Tokyo ...”, the date of birth of the customer “Showa” are associated with the customer ID “K002”. 1/45 ”, the customer's telephone number“ 03-5366-ΔΔΔΔ ”, the customer's email address“ ΔΔΔ@fghijk.com ”, the customer's account number“ 010-23456Δ ” Etc. are stored (not shown).

図5は、顧客口座DB58のデータ構成の一例をテーブル形式で示す説明図である。この顧客口座DB58には、顧客の口座番号に対応付けて、当該顧客の顧客ID、当該顧客の口座に預けられている当該顧客の資金の残高、当該顧客の口座に預けられている当該顧客の個人向け利付国庫債券の銘柄別の数量(額面残高)を示す証券残高等が格納されている。顧客口座DB58は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客の口座番号を格納するための顧客口座フィールド、当該口座番号の顧客の顧客IDを格納するための顧客IDフィールド、当該顧客の口座番号の口座に預けられている資金の残高を格納するための資金残高フィールド、当該顧客の口座番号の口座に預けられている個人向け利付国庫債券の銘柄別の数量(額面残高)を示す証券残高を当該銘柄の銘柄識別情報に対応付けて格納するための証券残高フィールド(個人向け利付国庫債券残高フィールド)をレコード毎に設けて、同一のレコードに格納されたこれらのデータを互いに対応付けるとともに当該口座番号等と当該レコードを対応付けるようにしてもよい。
図5の顧客口座DB58には、顧客の口座番号「010−12345×」に対応付けて、当該顧客の顧客ID「K001」、当該顧客の資金残高「500,000円」、銘柄「第1回債(変動10年)」の額面残高「200,000円」、銘柄「第5回債(変動10年)」の額面残高「100,000円」等が格納されている。
また、顧客口座DB58には、顧客の口座番号「010−23456×」に対応付けて、当該顧客の顧客ID「K002」、当該顧客の資金残高「600,000円」、銘柄「第1回債(変動10年)」の額面残高「400,000円」、銘柄「第3回債(変動10年)」の額面残高「300,000円」等が格納されている(不図示)。
FIG. 5 is an explanatory diagram showing an example of the data configuration of the customer account DB 58 in a table format. In this customer account DB 58, the customer ID of the customer, the balance of the customer's funds deposited in the customer's account, the customer's account deposited in the customer's account, in correspondence with the customer's account number. Stores securities balances indicating the amount (face value balance) of individual interest-bearing national treasury bonds. The customer account DB 58 is configured using, for example, a relational database (RDB), a customer account field for storing a customer account number, a customer ID field for storing a customer ID of the customer of the account number, and the customer The funds balance field for storing the balance of funds deposited in the account of the customer's account number, and the quantity (face value balance) of each individual interest-bearing national treasury bond deposited in the account of the customer's account number A security balance field (individual interest-bearing national treasury bond balance field) for storing the security balance in association with the stock identification information of the stock is provided for each record, and these data stored in the same record are associated with each other. The account number or the like may be associated with the record.
In the customer account DB 58 of FIG. 5, the customer ID “K001” of the customer, the funds balance of the customer “500,000 yen”, the brand “first time” are associated with the customer account number “010-12345 ×”. The face value balance “200,000 yen” of the “bond (change 10 years)”, the face value balance “100,000 yen” of the brand “5th bond (change 10 years)”, and the like are stored.
Further, in the customer account DB 58, the customer's customer ID “K002”, the customer's funds balance “600,000 yen”, the brand “first bond” are associated with the customer account number “010-23456 ×”. A face value balance of “400,000 yen” for “Fluctuation 10 years”, a face value balance of “300,000 yen” for the brand “Third Bond (Change 10 years)”, and the like are stored (not shown).

図6は、買注文用記憶部24のデータ構成の一例をテーブル形式で示す説明図である。この買注文用記憶部24は、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを備えており、各銘柄に対応するブロックは当該銘柄の注文データを格納するためのレコードを備えており、顧客の端末装置10からの個人向け利付国庫債券の注文内容を示す注文データのうち売買区分が買いを示す情報であると売買区分判定部23により判定された買注文データがレコードに格納されるようになっている。
図6の買注文用記憶部24の第1回債(変動10年)買注文用ブロックの一のレコードには、注文ID「006」、顧客ID「K001」、銘柄(銘柄識別情報)「第1回債(変動10年)」、売買区分「買い」、注文額面金額「100,000円」、約定フラグ「未約定」が格納されており、顧客ID「K001」である山田太郎からの、銘柄「第1回債(変動10年)」、売買区分「買い」、注文額面金額「100,000円」の注文データが未約定の状態であることを示しており、第1回債(変動10年)買注文用ブロックのレコードに格納された買注文データにおける未約定買注文の注文額面金額の合計額は100,000円であることを示している。第2回債(変動10年)買注文用ブロック、第3回債(変動10年)買注文用部ブロック、第4回債(変動10年)買注文用ブロック、第5回債(変動10年)買注文用ブロック等についても同様のデータが格納されている。
FIG. 6 is an explanatory diagram showing an example of the data configuration of the purchase order storage unit 24 in a table format. The buy order storage unit 24 includes a block corresponding to each brand identification information of the interest-bearing national treasury bond, and each block corresponding to each brand includes a record for storing order data of the brand. In the record, the purchase order data determined by the trading category judgment unit 23 that the trading category is information indicating buying among the order data indicating the order contents of the personal interest-bearing national treasury bond from the customer terminal device 10 is stored in the record. It has come to be.
One record of the first bond (fluctuating 10 years) buy order block in the buy order storage unit 24 in FIG. 6 includes an order ID “006”, a customer ID “K001”, a brand (brand identification information) “No. From "Taro Yamada", which stores "1st Bond (Fluctuation 10 Years)", Trading Category "Buy", Order Face Value "100,000 Yen", Contract Flag "Uncommitted", Customer ID "K001" This indicates that the order data for the issue “First Bond (10 years change)”, “Buy / Sell”, Order Value “100,000 Yen” is uncommitted. 10 years) It is shown that the total amount of the order face value of the undetermined buy order in the buy order data stored in the record of the buy order block is 100,000 yen. 2nd Bond (10-year variable) buy order block, 3rd Bond (10-year variable) buy order block, 4th Bond (10-year variable) buy order block, 5th bond (10 variable) The same data is also stored for blocks for purchase orders.

買注文用記憶部24は、例えばリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを設け、各銘柄に対応するブロックは当該銘柄の注文データと当該注文の注文識別番号(注文ID)と約定フラグを格納するためのレコードと、未約定を示す約定フラグが格納されたレコードの注文データの注文額面金額である未約定買注文の注文額面金額の合計額を自動的に計算して出力する出力部とを備え、レコード毎に個人向け利付国庫債券の注文を識別する注文IDを格納するための注文IDフィールド、当該個人向け利付国庫債券の注文内容を示す注文データに含まれる顧客IDを格納するための顧客IDフィールド、当該注文データに含まれる銘柄識別情報を格納するための銘柄フィールド、当該注文データに含まれる売買区分を格納するための売買区分フィールド、当該注文データに含まれる注文額面金額を格納するための注文額面金額フィールド、注文の未約定又は約定済みの状態を示す約定フラグを格納するための約定フラグフィールドを設けて同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文識別番号等と当該レコードを対応付けるようにしてもよい。
買注文用記憶部24は、一例としてリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを設け、各銘柄に対応するブロックは当該銘柄の注文データと当該注文の注文識別番号(注文ID)と約定フラグと使用フラグを格納するためのレコードと、未約定を示す約定フラグが格納されたレコードの注文データの注文額面金額である未約定買注文の注文額面金額の合計額を自動的に計算して出力する出力部とを備え、レコード毎に個人向け利付国庫債券の注文を識別する注文IDを格納するための注文IDフィールド、当該個人向け利付国庫債券の注文内容を示す注文データに含まれる顧客IDを格納するための顧客IDフィールド、当該注文データに含まれる銘柄識別情報を格納するための銘柄フィールド、当該注文データに含まれる売買区分を格納するための売買区分フィールド、当該注文データに含まれる注文額面金額を格納するための注文額面金額フィールド、注文の未約定又は約定済みの状態を示す約定フラグを格納するための約定フラグフィールド、管理番号を格納するための管理番号フィールド、レコードの使用状態を示す使用フラグを格納するための使用フラグフィールドを設けて同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文ID等と当該レコードを対応付けるようにしてもよく、また当該管理番号等と当該レコードを対応付けるようにしてもよく、注文データを格納していない未使用のレコードには使用フラグフィールドに未使用を示す使用フラグを予め格納しておき、売買区分判定部23は買注文データをレコードに格納する場合に当該買注文データの銘柄識別情報に対応するブロックにおいて未使用の使用フラグが格納された未使用のレコードに注文データを格納するとともに当該注文データ格納時又は格納直後に当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新し、各ブロックの出力部は当該ブロックにおいて未約定を示す約定フラグ及び使用済みを示す使用フラグが格納されたレコードの注文データの注文額面金額である未約定買注文の注文額面金額の合計額を自動的に計算して出力する構成としてもよい。
買注文用記憶部24は、一例としてリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを設け、各銘柄に対応するブロックは当該銘柄の注文データと当該注文データの注文額面金額を初期値とする注文残額面金額と当該注文の注文識別番号(注文ID)と約定フラグと使用フラグを格納するためのレコードと、未約定を示す約定フラグが格納されたレコードの注文残額面金額である未約定買注文の注文残額面金額の合計額を自動的に計算して出力する出力部とを備え、レコード毎に個人向け利付国庫債券の注文を識別する注文IDを格納するための注文IDフィールド、当該個人向け利付国庫債券の注文内容を示す注文データに含まれる顧客IDを格納するための顧客IDフィールド、当該注文データに含まれる銘柄識別情報を格納するための銘柄フィールド、当該注文データに含まれる売買区分を格納するための売買区分フィールド、当該注文データに含まれる注文額面金額を格納するための注文額面金額フィールド、当該注文データに含まれる注文額面金額を初期値とする注文残額面金額を格納するための注文残額面金額フィールド、注文の未約定又は約定済みの状態を示す約定フラグを格納するための約定フラグフィールド、管理番号を格納するための管理番号フィールド、レコードの使用状態を示す使用フラグを格納するための使用フラグフィールドを設けて同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文ID等と当該レコードを対応付けるようにしてもよく、また当該管理番号等と当該レコードを対応付けるようにしてもよく、注文データを格納していない未使用のレコードには使用フラグフィールドに未使用を示す使用フラグを予め格納しておき、売買区分判定部23は買注文データをレコードに格納する場合に当該買注文データの銘柄識別情報に対応するブロックにおいて未使用の使用フラグが格納された未使用のレコードに注文データを格納するとともに当該注文データ格納時又は格納直後に当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新し、各ブロックの出力部は当該ブロックにおいて未約定を示す約定フラグ及び使用済みを示す使用フラグが格納されたレコードの注文残額面金額である未約定買注文の注文残額面金額の合計額を自動的に計算して出力する構成としてもよい。そして、注文数量判定部45は買注文が一部約定した場合に一部約定した約定額面金額を買注文用記憶部24の当該買注文の注文残額面金額から減算して当該買注文の注文残額面金額を更新するようにしてもよい。
The purchase order storage unit 24 is configured by using, for example, a relational database (RDB), and a block corresponding to each issue identification information of the interest-bearing national treasury bond is provided, and the block corresponding to each issue is assigned to the issue. An order for an uncommitted order that is the order face value of the order data of the order data, the record for storing the order identification number (order ID) of the order and the contract flag, and the record that stores the contract flag indicating the unsettled An order ID field for storing an order ID for identifying an order for a personal interest-bearing national treasury bond for each record, and an output section for automatically calculating and outputting the total amount of the face value The customer ID field for storing the customer ID included in the order data indicating the order contents of the item, and the brand identification information included in the order data are stored. Brand name field, trading category field for storing the trading category included in the order data, order nominal value field for storing the order nominal value included in the order data, and the uncommitted or filled status of the order. A contract flag field for storing the contract flag shown may be provided so that these data stored in the same record are associated with each other and the order identification number or the like is associated with the record.
The storage unit for purchase order 24 is configured by using a relational database (RDB) as an example, and a block corresponding to each issue identification information of the interest-bearing national treasury bond is provided, and the block corresponding to each issue is the corresponding issue Order data of the order data of the order data of the order data of the order data of the order data of the order data of the order, the record for storing the order identification number (order ID) of the order, the execution flag and the use flag, and the execution flag indicating the uncommitted An order ID field for storing an order ID for identifying an order for a personal interest-bearing national treasury bond for each record, and an output unit that automatically calculates and outputs the total amount of the order face value of the buy order A customer ID field for storing a customer ID included in order data indicating the order contents of the interest-bearing national treasury bond, a brand identification included in the order data Stock field for storing information, trading section field for storing trading section included in the order data, order face amount field for storing order face amount included in the order data, uncommitted order or A contract flag field for storing a contract flag indicating a contracted state, a management number field for storing a management number, and a use flag field for storing a use flag indicating a use state of a record are provided in the same record. These stored data may be associated with each other and the order ID or the like may be associated with the record, or the management number or the like may be associated with the record. In the record of, use flag indicating unused in the use flag field in advance When the buy / sell data is stored in the record, the buy / sell classification determining unit 23 stores the order data in the unused record in which the unused use flag is stored in the block corresponding to the brand identification information of the buy order data. And at the time of storing the order data or immediately after the storage of the order data, the usage flag of the unused record is updated to information indicating that the unused record has been used. A configuration may be adopted in which the total amount of the order amount of the unsettled purchase order, which is the order amount of the order data of the record in which the use flag indicating used is stored, is automatically calculated and output.
The storage unit for purchase order 24 is configured by using a relational database (RDB) as an example, and a block corresponding to each issue identification information of the interest-bearing national treasury bond is provided, and the block corresponding to each issue is the corresponding issue Order data, order balance value with the initial value as the initial value of the order data, a record for storing the order identification number (order ID), execution flag and usage flag of the order, and a contract indicating unsettled Orders for individual interest-bearing national treasury bonds for each record, with an output section that automatically calculates and outputs the total amount of the order balance value of the unfinished purchase order, which is the order balance value of the record in which the flag is stored An order ID field for storing the order ID for identifying the customer ID included in the order data indicating the order contents of the personal interest-bearing national treasury bond. In order to store an ID field, a brand field for storing brand identification information included in the order data, a trading section field for storing a trading section included in the order data, and an order face value included in the order data The order face value field, the order balance value field for storing the order balance value with the order face value included in the order data as the initial value, and the execution flag indicating whether the order is uncommitted or filled A contract flag field for storing, a management number field for storing a management number, and a usage flag field for storing a usage flag indicating the usage status of a record are provided, and these data stored in the same record are associated with each other. The order ID or the like may be associated with the record. The management number or the like may be associated with the record, and an unused record in which no order data is stored stores a usage flag indicating unused in the usage flag field in advance. Stores the order data in an unused record in which an unused use flag is stored in a block corresponding to the brand identification information of the purchase order data when the purchase order data is stored in the record and when the order data is stored or Immediately after storage, the usage flag of the unused record is updated to information indicating that the unused record has been used, and the output unit of each block stores the execution flag indicating the unsettled status and the usage flag indicating the used status in the block. It is configured to automatically calculate and output the total amount of the order balance value of the unsettled purchase order that is the order balance value of the record. May be. Then, the order quantity determination unit 45 subtracts the part of the contract face amount that has been partially fulfilled from the order face value of the purchase order in the purchase order storage unit 24 when the purchase order is partly executed, and the order balance of the purchase order. The face amount may be updated.

図7は、売注文用記憶部44のデータ構成の一例をテーブル形式で示す説明図である。この売注文用記憶部44は、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを備えており、各銘柄に対応するブロックは当該銘柄の注文データを格納するためのレコードを備えており、顧客の端末装置10からの個人向け利付国庫債券の注文内容を示す注文データのうち売買区分が売りを示す情報であると売買区分判定部23により判定された売注文データがレコードに格納されるようになっている。
図7の売注文用記憶部44の第1回債(変動10年)買注文用ブロックの一のレコードには、注文ID「002」、顧客ID「K002」、銘柄「第1回債(変動10年)」、売買区分「売り」、注文額面金額「100,000円」、フラグ「約定済」が格納されており、顧客ID「K002」である鈴木花子からの、銘柄「第1回債(変動10年)」、売買区分「売り」、注文額面金額「100,000円」の注文データが約定済の状態であることを示しており、第1回債(変動10年)売注文用ブロックのレコードに格納された売注文データにおける未約定売注文の注文額面金額の合計額は0円であることを示している。第2回債(変動10年)売注文用ブロック、第3回債(変動10年)売注文用部ブロック、第4回債(変動10年)売注文用ブロック、第5回債(変動10年)売注文用ブロック等についても同様のデータが格納されている。
FIG. 7 is an explanatory diagram showing an example of the data configuration of the sales order storage unit 44 in a table format. The selling order storage unit 44 includes a block corresponding to each brand identification information of the interest-bearing national treasury bond, and the block corresponding to each brand includes a record for storing order data of the brand. The sales order data determined by the trading category determination unit 23 in the order data indicating the order contents of the personal interest-bearing national treasury bonds from the customer's terminal device 10 is stored in the record. It has come to be.
In the record of the first bond (fluctuating 10 years) buy order block of the selling order storage unit 44 in FIG. 7, the order ID “002”, the customer ID “K002”, the brand “first bond (variable) 10 years) ", trading category" sell ", order face value" 100,000 yen ", flag" contracted ", and the brand" first bond "from Hanako Suzuki, customer ID" K002 " (Fluctuation 10 years) ”,“ Sale ”, order value“ 100,000 Yen ”indicates that the order data is in a contracted state and is for the first bond (variable 10 years) selling order. This indicates that the total amount of the face value of unsold orders in the sell order data stored in the block record is 0 yen. Block for second order (variable 10 years) sell order, Block for third order bond (variable 10 years) sell order, Block for 4th bond (variable 10 years) sell order, Fifth bond (variable 10) The same data is stored for sales order blocks and the like.

売注文用記憶部44は、例えばリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを設け、各銘柄に対応するブロックは当該銘柄の注文データと当該注文の注文識別番号(注文ID)と約定フラグを格納するためのレコードと、未約定を示す約定フラグが格納されたレコードの注文データの注文額面金額である未約定売注文の注文額面金額の合計額を自動的に計算して出力する出力部とを備え、レコード毎に個人向け利付国庫債券の注文を識別する注文IDを格納するための注文IDフィールド、当該個人向け利付国庫債券の注文内容を示す注文データに含まれる顧客IDを格納するための顧客IDフィールド、当該注文データに含まれる銘柄識別情報を格納するための銘柄フィールド、当該注文データに含まれる売買区分を格納するための売買区分フィールド、当該注文データに含まれる注文額面金額を格納するための注文額面金額フィールド、注文の未約定又は約定済みの状態を示す約定フラグを格納するための約定フラグフィールドを設けて同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文ID等と当該レコードを対応付けるようにしてもよい。
売注文用記憶部44は、一例としてリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを設け、各銘柄に対応するブロックは当該銘柄の注文データと当該注文の注文識別番号(注文ID)と約定フラグと使用フラグを格納するためのレコードと、未約定を示す約定フラグが格納されたレコードの注文データの注文額面金額である未約定売注文の注文額面金額の合計額を自動的に計算して出力する出力部とを備え、レコード毎に個人向け利付国庫債券の注文を識別する注文IDを格納するための注文IDフィールド、当該個人向け利付国庫債券の注文内容を示す注文データに含まれる顧客IDを格納するための顧客IDフィールド、当該注文データに含まれる銘柄識別情報を格納するための銘柄フィールド、当該注文データに含まれる売買区分を格納するための売買区分フィールド、当該注文データに含まれる注文額面金額を格納するための注文額面金額フィールド、注文の未約定又は約定済みの状態を示す約定フラグを格納するための約定フラグフィールド、管理番号を格納するための管理番号フィールド、レコードの使用状態を示す使用フラグを格納するための使用フラグフィールドを設けて同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文ID等と当該レコードを対応付けるようにしてもよく、当該管理番号等と当該レコードを対応付けるようにしてもよく、注文データを格納していない未使用のレコードには使用フラグフィールドに未使用を示す使用フラグを予め格納しておき、売買区分判定部23は売注文データをレコードに格納する場合に当該売注文データの銘柄識別情報に対応するブロックにおいて未使用の使用フラグが格納された未使用のレコードに注文データを格納するとともに当該注文データ格納時又は格納直後に当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新し、各ブロックの出力部は当該ブロックにおいて未約定を示す約定フラグ及び使用済みを示す使用フラグが格納されたレコードの注文データの注文額面金額である未約定売注文の注文額面金額の合計額を自動的に計算して出力する構成としてもよい。
売注文用記憶部44は、一例としてリレーショナル・データベース(RDB)を用いて構成し、個人向け利付国庫債券の各銘柄識別情報の銘柄に対応するブロックを設け、各銘柄に対応するブロックは当該銘柄の注文データと当該注文データの注文額面金額を初期値とする注文残額面金額と当該注文の注文識別番号(注文ID)と約定フラグと使用フラグを格納するためのレコードと、未約定を示す約定フラグが格納されたレコードの注文残額面金額である未約定売注文の注文残額面金額の合計額を自動的に計算して出力する出力部とを備え、レコード毎に個人向け利付国庫債券の注文を識別する注文IDを格納するための注文IDフィールド、当該個人向け利付国庫債券の注文内容を示す注文データに含まれる顧客IDを格納するための顧客IDフィールド、当該注文データに含まれる銘柄識別情報を格納するための銘柄フィールド、当該注文データに含まれる売買区分を格納するための売買区分フィールド、当該注文データに含まれる注文額面金額を格納するための注文額面金額フィールド、当該注文データに含まれる注文額面金額を初期値とする注文残額面金額を格納するための注文残額面金額フィールド、注文の未約定又は約定済みの状態を示す約定フラグを格納するための約定フラグフィールド、管理番号を格納するための管理番号フィールド、レコードの使用状態を示す使用フラグを格納するための使用フラグフィールドを設けて同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該注文ID等と当該レコードを対応付けるようにしてもよく、当該管理番号等と当該レコードを対応付けるようにしてもよく、注文データを格納していない未使用のレコードには使用フラグフィールドに未使用を示す使用フラグを予め格納しておき、売買区分判定部23は売注文データをレコードに格納する場合に当該売注文データの銘柄識別情報に対応するブロックにおいて未使用の使用フラグが格納された未使用のレコードに注文データを格納するとともに当該注文データ格納時又は格納直後に当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新し、各ブロックの出力部は当該ブロックにおいて未約定を示す約定フラグ及び使用済みを示す使用フラグが格納されたレコードの注文残額面金額である未約定売注文の注文残額面金額の合計額を自動的に計算して出力する構成としてもよい。そして、注文数量判定部45は売注文が一部約定した場合に一部約定した約定額面金額を売注文用記憶部44の当該売注文の注文残額面金額から減算して当該売注文の注文残額面金額を更新するようにしてもよい。
The sales order storage unit 44 is configured using, for example, a relational database (RDB), and has a block corresponding to each issue identification information item of the interest-bearing national treasury bond, and the block corresponding to each issue is a block of the issue. An order for an unsold order that is the face value of the order data in the order data, the record for storing the order identification number (order ID) of the order and the contract flag, and the record in which the contract flag indicating unsettled is stored An order ID field for storing an order ID for identifying an order for a personal interest-bearing national treasury bond for each record, and an output section for automatically calculating and outputting the total amount of the face value The customer ID field for storing the customer ID included in the order data indicating the order contents of the item, and the brand identification information included in the order data are stored. Brand name field, trading category field for storing the trading category included in the order data, order par value field for storing the order par value included in the order data, order unfilled or filled status A contract flag field for storing the contract flag shown may be provided so that these data stored in the same record are associated with each other and the order ID and the record are associated with each other.
The sales order storage unit 44 is configured by using a relational database (RDB) as an example, and a block corresponding to each issue identification information item of the interest-bearing national treasury bond is provided, and the block corresponding to each issue is the issue issue Order data of the order data of the order data of the order data of the order data of the order data of the order data of the order, the record for storing the order identification number (order ID) of the order, the execution flag and the use flag, and the execution flag indicating the uncommitted An order ID field for storing an order ID for identifying an order of a personal interest-bearing national treasury bond for each record, and an output unit that automatically calculates and outputs the total amount of the order face value of the sell order, the individual Customer ID field for storing a customer ID included in order data indicating the order contents of the interest-bearing national treasury bond, and a brand identification included in the order data Stock field for storing information, trading section field for storing trading section included in the order data, order face amount field for storing order face amount included in the order data, uncommitted order or A contract flag field for storing a contract flag indicating a contracted state, a management number field for storing a management number, and a use flag field for storing a use flag indicating a use state of a record are provided in the same record. These stored data may be associated with each other and the order ID or the like may be associated with the record, or the management number or the like may be associated with the record. In the record, a usage flag indicating unused is previously stored in the usage flag field In addition, when the sales order determination unit 23 stores the sales order data in the record, the order data is stored in the unused record in which the unused usage flag is stored in the block corresponding to the brand identification information of the sales order data. In addition, the usage flag of the unused record is updated from unused to used information immediately after the order data is stored or immediately after the order data is stored, and the output part of each block displays a contract flag indicating uncommitted and used in the block. It is also possible to automatically calculate and output the total amount of the order face value of the unordered order, which is the order face value of the order data of the record in which the use flag indicating is stored.
The sales order storage unit 44 is configured by using a relational database (RDB) as an example, and a block corresponding to each issue identification information item of the interest-bearing national treasury bond is provided, and the block corresponding to each issue is the issue issue Order data, order balance value with the initial value as the initial value of the order data, a record for storing the order identification number (order ID), execution flag and usage flag of the order, and a contract indicating unsettled Orders for individual interest-bearing national treasury bonds for each record, with an output section that automatically calculates and outputs the total amount of the order balance face value of unsold orders that are the balance of the order balance of the record in which the flag is stored An order ID field for storing an order ID for identifying a customer ID included in order data indicating the order content of the personal interest-bearing national treasury bond. In order to store an ID field, a brand field for storing brand identification information included in the order data, a trading section field for storing a trading section included in the order data, and an order face value included in the order data The order face value field, the order balance value field for storing the order balance value with the order face value included in the order data as the initial value, and the execution flag indicating whether the order is uncommitted or filled A contract flag field for storing, a management number field for storing a management number, and a usage flag field for storing a usage flag indicating the usage status of a record are provided, and these data stored in the same record are associated with each other. The order ID may be associated with the record. The management number or the like may be associated with the record, and an unused record that does not store order data stores a usage flag indicating that it is not used in the usage flag field in advance. When selling order data is stored in a record, the order data is stored in an unused record in which an unused use flag is stored in a block corresponding to the brand identification information of the selling order data, and when the order data is stored or stored Immediately after that, the usage flag of the unused record is updated to information indicating that the unused record has been used, and the output unit of each block stores a contract flag indicating an unsettled condition and a used flag indicating the used condition in the block. It is possible to automatically calculate and output the total amount of the remaining balance amount of unordered orders that is the remaining balance amount of the order. Good. Then, the order quantity determination unit 45 subtracts the contract face amount partially filled when the sell order is partially filled from the order balance amount of the sell order in the sell order storage unit 44, and the order balance of the sell order. The face amount may be updated.

図8は、口座間振替処理装置20の処理動作を、顧客の端末装置10の処理動作と併せて説明するための概略的なフローチャートである。先ず、顧客の端末装置10と口座間振替処理装置20は、個人向け利付国庫債券の売買注文に関する処理を行う(S2)。次に口座間振替処理装置20は、予め定められた所定時刻に約定処理(S3)を行い、振替処理(S4)及び振替報告書発行処理(S6)を行う。なお、口座間振替処理装置20は、約定処理(S3)を、一例として前日午後3時から当日午前8時までの時間帯に受け付けた注文について当日午前8時10分から1回目の約定処理を行い、当日午前8時から当日午後3時までの時間帯に受け付けた注文について当日午後3時10分から2回目の約定処理を行うようにしてもよく、一例として前日午後5時から当日午前6時までの時間帯に受け付けた注文について当日午前6時10分から1回目の約定処理を行い、当日午前9時から当日午後3時までの時間帯に受け付けた注文について当日午後3時10分から2回目の約定処理を行うようにしてもよく、振替処理(S4)及び振替報告書発行処理(S6)を、2回目の約定処理を行った約定日の午後の夜間(又はその翌日午前中の夜間(例えば未明))にバッチ処理により実行するようにしてもよい。   FIG. 8 is a schematic flowchart for explaining the processing operation of the inter-account transfer processing device 20 together with the processing operation of the customer terminal device 10. First, the customer's terminal device 10 and the inter-account transfer processing device 20 perform a process related to buying and selling orders for personal interest-bearing national treasury bonds (S2). Next, the inter-account transfer processing device 20 performs a contract process (S3) at a predetermined time, and performs a transfer process (S4) and a transfer report issuance process (S6). In addition, the inter-account transfer processing device 20 performs the contract process (S3) as an example for the first contract process from 8:10 am on the same day for orders received from 3:00 pm on the previous day to 8:00 am on that day. The second contract processing may be performed from 3:10 pm on the day of the order received from 8:00 am to 3:00 pm on the day, for example, from 5:00 pm the previous day to 6:00 am on the day. For orders received during this time, the first contract processing will be performed from 6:10 am on the day, and for orders received during the time period from 9 am to 3 pm on the day, the second execution will be performed from 3:10 pm on the day. The transfer process (S4) and the transfer report issuance process (S6) may be performed in the evening on the afternoon of the contract day (or the morning in the next day (example) The batch processing before dawn)) if may be executed.

図9及び図10は、図8のフローチャートのS2、すなわち個人向け利付国庫債券の売買注文に関する注文処理の一例を説明するためのフローチャートである。先ず顧客は、顧客の端末装置10に個人向け利付国庫債券の板情報画面の表示を要求する板情報画面要求データ及び当該顧客の顧客IDを入力し、板情報画面要求データと顧客IDを端末装置10から口座間振替処理装置20に送信する(S202)。
口座間振替処理装置20の注文受付部21は顧客の端末装置10からの個人向け利付国庫債券の板情報画面の表示を要求する板情報画面要求データと顧客IDを受け取り、注文受付部21の板情報画面送信手段は、顧客の端末装置10からの顧客の顧客IDが、個人顧客用の顧客IDの範囲に含まれていて当該顧客が個人(個人投資家)であることを示すものである場合(S204:YES)、買注文用記憶部24及び売注文用記憶部44に記憶された未約定の注文データと国債DB53に記憶された個人向け利付国庫債券に関するデータから個人向け利付国庫債券の注文状況を示す板情報(気配情報)の画面である板情報画面を表示するための板情報画面データを生成する(S206)。この板情報画面送信手段は、例えば、買注文用記憶部24の各買注文用ブロックから銘柄を示す銘柄識別情報と当該銘柄の未約定買注文の注文額面金額(注文残額面金額)の合計額(買注文額面金額合計額)を取得するとともに、売注文用記憶部44の各売注文用ブロックから銘柄を示す銘柄識別情報と当該銘柄の未約定売注文の注文額面金額(注文残額面金額)の合計額(売注文額面金額合計額)を取得して銘柄識別情報と当該銘柄の売注文額面金額合計額及び買注文額面金額合計額を対応付けて板情報用記憶手段に記憶し、未約定注文の売注文額面金額合計額及び買注文額面金額合計額を銘柄別に示す表形式のデータを含む板情報画面データを生成する構成としてもよい。
次に、注文受付部21の板情報画面送信手段は、生成した板情報画面データを顧客の端末装置10に送信する(S208)。なお、注文受付部21の板情報画面送信手段は、所定の時間間隔で板情報画面データを生成して記憶手段に記憶する構成とし、顧客の端末装置10からの個人向け利付国庫債券の板情報画面の表示を要求する板情報画面要求データと顧客IDを受け取ると、記憶手段に記憶されている板情報画面データを顧客の端末装置10に送信又は配信するようにしてもよく、所定の時間間隔は一例として10秒間としてもよく、一例として1秒間としてもよい。顧客の端末装置10は、注文受付部21の板情報画面送信手段からの板情報画面データを受信すると、受信した板情報画面データに従って板情報画面のウェブページを表示する(S210)。なお、顧客の端末装置10は当該顧客の顧客IDを端末装置10のブラウザ等のメモリ(例えばクッキー)に記憶して、口座間振替処理装置20に情報やデータを送信する場合に自動的に当該顧客の顧客IDも送信するようにしてもよい。
FIG. 9 and FIG. 10 are flowcharts for explaining an example of order processing related to S2 in the flowchart of FIG. First, the customer inputs the board information screen request data for requesting the display of the board information screen of the personal interest-bearing national treasury bond to the customer's terminal device 10 and the customer ID of the customer, and the board information screen request data and the customer ID are input to the terminal device. 10 to the inter-account transfer processing device 20 (S202).
The order receiving unit 21 of the inter-account transfer processing device 20 receives the board information screen request data for requesting the display of the board information screen of the personal interest-bearing national treasury bond from the customer's terminal device 10 and the customer ID. The information screen transmission means indicates that the customer ID of the customer from the customer terminal device 10 is included in the range of customer IDs for individual customers and indicates that the customer is an individual (individual investor). (S204: YES), the order of the personal interest-bearing national treasury bond from the uncommitted order data stored in the purchase order storage unit 24 and the sell order storage unit 44 and the data on the personal interest-bearing national treasury bond stored in the government bond DB 53 Board information screen data for displaying a board information screen which is a screen of board information (attentive information) indicating the situation is generated (S206). This board information screen transmission means is, for example, the total amount of the brand identification information indicating the brand from each buy order block in the buy order storage unit 24 and the order face value (order balance face amount) of the unsettled purchase order of the brand. (Total purchase order face value), and the stock identification information indicating the stock from each sell order block in the sell order storage unit 44 and the order face value of the unsold sale order of the stock (order balance face amount) The total amount (sale order face value) is obtained and stored in the board information storage means in association with the brand identification information, the sell order face value and the purchase order face value for the brand in association with each other. It is good also as a structure which produces | generates the board information screen data containing the data of the table | surface form which shows the total amount of the selling order face value of an order and the total amount of buying order face value according to a brand.
Next, the board information screen transmission means of the order receiving unit 21 transmits the generated board information screen data to the customer terminal device 10 (S208). The board information screen transmitting means of the order receiving unit 21 generates board information screen data at a predetermined time interval and stores it in the storage means, and the board information of the personal interest-bearing national treasury bonds from the customer terminal device 10. When the board information screen request data and the customer ID for requesting the display of the screen are received, the board information screen data stored in the storage means may be transmitted or distributed to the customer terminal device 10 at a predetermined time interval. May be 10 seconds as an example, and may be 1 second as an example. Upon receiving the board information screen data from the board information screen transmission means of the order receiving unit 21, the customer terminal device 10 displays a web page of the board information screen according to the received board information screen data (S210). The customer terminal device 10 stores the customer ID of the customer in a memory (for example, a cookie) such as a browser of the terminal device 10 and automatically transmits the information or data to the inter-account transfer processing device 20. The customer ID of the customer may also be transmitted.

図11は、図9のフローチャートのS210において顧客の端末装置10に表示される板情報画面の一例を示す説明図である。板情報画面には、銘柄別に、発行日/償還期限、利払日、適用利率(税引前)、売注文額面金額合計額、買注文額面金額合計額等が表形式で表示される。顧客は端末装置10に表示された個人向け利付国庫債券の板情報画面を見ることにより、どの銘柄にどの程度の売注文の数量(額面金額)及び買注文の数量(額面金額)があるかを容易に把握することができる。   FIG. 11 is an explanatory diagram showing an example of a board information screen displayed on the customer terminal device 10 in S210 of the flowchart of FIG. On the board information screen, issuance date / redemption date, interest payment date, applicable interest rate (before tax), sell order face value, total purchase order face value, etc. are displayed in tabular form for each brand. By looking at the board information screen of the personal interest-bearing national treasury bond displayed on the terminal device 10, the customer can determine which stock has the quantity of sell orders (face value) and the quantity of buy orders (face value). It can be easily grasped.

図11の板情報画面において、銘柄「第1回債(変動10年)」に対応付けて、発行日/償還期限「平成15年3月10日/平成25年3月10日」、利払日「3月10日・9月10日」、適用利率(税引前)「1.13%」、売注文額面金額合計額「0円」、買注文額面金額合計額「100,000円」が表示されている。銘柄「第1回債(変動10年)」について画面表示された情報のうち、発行日/償還期限「平成15年3月10日/平成25年3月10日」と利払日「3月10日・9月10日」については、銘柄(銘柄識別情報)「第1回債(変動10年)」に対応付けて国債DB53に格納されていた情報を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、売注文額面金額合計額「0円」については売注文用記憶部44の第1回債(変動10年)売注文用ブロックの出力部から未約定売注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、買注文額面金額合計額「100,000円」については買注文用記憶部24の第1回債(変動10年)買注文用ブロックの出力部から未約定買注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示している。銘柄欄において「第1回債(変動10年)」に並べて「日銀買取請求可」を表示しており、これは銘柄(銘柄識別情報)「第1回債(変動10年)」に対応付けて国債DB53に格納されていた当該銘柄の個人向け利付国庫債券の発行日「平成15年3月10日」から板情報画面データの生成当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年3月10日」よりも前であることに基づくメッセージの表示(案内表示)であり、例えば約定日受渡しの場合には発行日「平成15年3月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年3月10日」よりも前である場合に「日銀買取請求可」のメッセージを表示し、例えば約定日翌日受渡しの場合には発行日「平成15年3月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年3月10日」の前日「平成25年3月9日」よりも前である場合に「日銀買取請求可」のメッセージを表示するようにしてもよく、例えば約定日受渡しの場合には償還期限「平成25年3月10日」以降は銘柄「第1回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、例えば約定日翌日受渡しの場合には償還期限「平成25年3月10日」の前日「平成25年3月9日」以降は銘柄「第1回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、発行日から1年経過していない場合は当該銘柄欄に「日銀買取請求不可」のメッセージを表示するようにしてもよい。例えば板情報用記憶手段はデータテーブルを備え、銘柄識別情報、発行日/償還期限、利払日、適用利率(税引前)、売注文額面金額合計額及び買注文額面金額合計額を対応付けて記憶する構成としてもよい。   In the board information screen of FIG. 11, the issue date / redemption date “March 10, 2003 / March 10, 2013”, interest payment, in association with the issue “First Bond (Fluctuation 10 years)” Sunday “March 10 / September 10”, applicable interest rate (before tax) “1.13%”, total amount of face value of selling order “0 yen”, total amount of face value of purchase order “100,000 yen” It is displayed. Of the information displayed on the screen for the issue “First Bond (Fluctuation 10 years)”, issue date / redemption date “March 10, 2003 / March 10, 2013” and interest payment date “March For “10th / September 10th”, the board information screen transmission means obtains the information stored in the government bond DB 53 in association with the brand (brand identification information) “first bond (variable 10 years)”. It shows what is stored in the board information storage means in association with the brand identification information, and the first order bond (fluctuation 10 years) sale of the selling order storage unit 44 for the selling order face value total amount “0 yen” is shown. The board information screen transmission means obtains the total amount of the order face value (order balance value) of the unsold order from the output block of the order block and stores it in the board information storage means in association with the brand identification information The total amount of the purchase order face value “100,000 yen” The board information screen transmission means obtains the total amount of the order face value (order balance face amount) of the unsettled purchase order from the output part of the first bond (fluctuating 10 years) purchase order block of the purchase order storage unit 24. The information stored in the board information storage means in association with the brand identification information is shown. In the issue column, “Bond purchase request available” is displayed alongside “1st bond (variable 10 years)”, which corresponds to the issue (brand identification information) “1st bond (variable 10 years)” The generation date of the board information screen data (December 7, 2006 as an example) from the issue date of “March 10, 2003” for individual interest-bearing national treasury bonds stored in the JGB DB 53 for one year It is a message display (guidance display) based on the fact that it has passed and is before the redemption date “March 10, 2013”. For example, in the case of delivery on a contract date, the date of issue “March 2003” Message of "Request for purchase of BOJ" when the current day (December 7, 2006, for example) has passed one year from "10th" and is before the redemption date "March 10, 2013" For example, when delivering the day after the contract date Is the date of issue (“March 10, 2003”) (the date of December 7, 2006, for example) and the redemption date “March 10, 2013” If it is before "March 9", you may display a "Request for purchase of the Bank of Japan" message. For example, in the case of delivery on a contract date, after the maturity date "March 10, 2013" Do not display the column (brand, issue date / redemption date, interest payment date, applicable interest rate, sell order face value, purchase order face value) for the issue “First Bond (10 years of change)” For example, in the case of delivery on the next day of the contract date, the issue of “First Bond (Fluctuation 10 years)” after “March 9, 2013” the day before the redemption date “March 10, 2013” Column (brand, issue date / redemption date, interest payment date, applicable interest rate, sales order value Forehead, purchase order face value total amount) may be do not want to see, if the from the date of issue not passed one year may be to display a message of "Bank of Japan purchase non-billable" in the stock column. For example, the board information storage means includes a data table, and associates the brand identification information, the issue date / redemption date, the interest payment date, the applicable interest rate (before tax), the total amount of the sales order face value, and the total purchase order face value. It is good also as a structure to memorize | store.

図11の板情報画面において、銘柄「第2回債(変動10年)」に対応付けて、発行日/償還期限「平成15年4月10日/平成25年4月10日」、利払日「4月10日・10月10日」、適用利率(税引前)「0.92%」、売注文額面金額合計額「0円」、買注文額面金額合計額「200,000円」が表示されている。銘柄「第2回債(変動10年)」について画面表示された情報のうち、発行日/償還期限「平成15年4月10日/平成25年4月10日」と利払日「4月10日・10月10日」については、銘柄(銘柄識別情報)「第2回債(変動10年)」に対応付けて国債DB53に格納されていた情報を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、売注文額面金額合計額「0円」については売注文用記憶部44の第2回債(変動10年)売注文用ブロックの出力部から未約定売注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、買注文額面金額合計額「200,000円」については買注文用記憶部24の第2回債(変動10年)買注文用ブロックの出力部から未約定買注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示している。銘柄欄において「第2回債(変動10年)」に並べて「日銀買取請求可」を表示しており、これは銘柄(銘柄識別情報)「第2回債(変動10年)」に対応付けて国債DB53に格納されていた当該銘柄の個人向け利付国庫債券の発行日「平成15年4月10日」から板情報画面データの生成当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年4月10日」よりも前であることに基づくメッセージの表示(案内表示)であり、例えば約定日受渡しの場合には発行日「平成15年4月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年4月10日」よりも前である場合に「日銀買取請求可」のメッセージを表示し、例えば約定日翌日受渡しの場合には発行日「平成15年4月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年4月10日」の前日「平成25年4月9日」よりも前である場合に「日銀買取請求可」のメッセージを表示するようにしてもよく、例えば約定日受渡しの場合には償還期限「平成25年4月10日」以降は銘柄「第2回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、例えば約定日翌日受渡しの場合には償還期限「平成25年4月10日」の前日「平成25年4月9日」以降は銘柄「第2回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、発行日から1年経過していない場合は当該銘柄欄に「日銀買取請求不可」のメッセージを表示するようにしてもよい。   In the board information screen of FIG. 11, the issue date / redemption date “April 10, 2003 / April 10, 2013”, interest payment, in association with the issue “Second Bond (Fluctuation 10 years)” Sunday "April 10th / October 10", applicable interest rate (before tax) "0.92%", total amount of face value of selling order "0 yen", total amount of face value of purchase order "200,000 yen" It is displayed. Of the information displayed on the screen for the issue “2nd Bond (Fluctuation 10 years)”, issue date / redemption date “April 10, 2003 / April 10, 2013” and interest payment date “April For “10th / October 10th”, the board information screen transmission means obtains the information stored in the government bond DB 53 in association with the brand (brand identification information) “second bond (variable 10 years)”. It shows what is stored in the board information storage means in association with the brand identification information, and the second order bond (fluctuating 10 years) of the selling order storage unit 44 is sold for the total amount of the selling order face value “0 yen”. The board information screen transmission means obtains the total amount of the order face value (order balance value) of the unsold order from the output block of the order block and stores it in the board information storage means in association with the brand identification information For the total amount of the purchase order face value “200,000 yen” The board information screen transmission means obtains the total amount of the order face value (order balance face amount) of the unsettled purchase order from the output part of the second order bond (variable 10 years) purchase order block of the purchase order storage unit 24 Thus, the information stored in the board information storage means in association with the brand identification information is shown. In the issue column, “Bond purchase request available” is displayed alongside “2nd bond (variable 10 years)”, which corresponds to the issue (brand identification information) “2nd bond (variable 10 years)” The date of generation of the board information screen data (as an example, December 7, 2006) from the date of issue of the interest-bearing national treasury bonds of the issue stored in the JGB DB 53 on April 10, 2003 is one year. It is a message display (guidance display) based on the fact that it has passed and is before the redemption date “April 10, 2013”. For example, in the case of delivery on a contract date, the date of issue “April 2003” Message of “Request for purchase of BOJ” if the current day (December 7, 2006, for example) has passed one year from “10th” and is before the redemption date “April 10, 2013” For example, when delivering the day after the contract date Is the date of issue (“April 10, 2003”), and the day before the redemption date “April 10, 2013” If it is earlier than "April 9", you may display a message that "Request for purchase of BOJ" is possible. For example, in the case of delivery on a contract date, after the redemption date "April 10, 2013" Do not display the column for the issue “2nd Bond (Fluctuation 10 years)” (issue, issue date / redemption date, interest payment date, applicable interest rate, total value of face value of selling order, total amount of face value of buy order) For example, in the case of delivery on the next day of the contract date, the issue of “Second Bond (Fluctuation 10 years)” after “April 9, 2013” the day before the redemption date “April 10, 2013” Column (brand, issue date / redemption date, interest payment date, applicable interest rate, sales order value Forehead, purchase order face value total amount) may be do not want to see, if the from the date of issue not passed one year may be to display a message of "Bank of Japan purchase non-billable" in the stock column.

図11の板情報画面において、銘柄「第3回債(変動10年)」に対応付けて、発行日/償還期限「平成15年7月10日/平成25年7月10日」、利払日「1月10日・7月10日」、適用利率(税引前)「1.10%」、売注文額面金額合計額「0円」、買注文額面金額合計額「300,000円」が表示されている。銘柄「第3回債(変動10年)」について画面表示された情報のうち、発行日/償還期限「平成15年7月10日/平成25年7月10日」と利払日「1月10日・7月10日」については、銘柄(銘柄識別情報)「第3回債(変動10年)」に対応付けて国債DB53に格納されていた情報を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、売注文額面金額合計額「0円」については売注文用記憶部44の第3回債(変動10年)売注文用ブロックの出力部から未約定売注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、買注文額面金額合計額「300,000円」については買注文用記憶部24の第3回債(変動10年)買注文用ブロックの出力部から未約定買注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示している。銘柄欄において「第3回債(変動10年)」に並べて「日銀買取請求可」を表示しており、これは銘柄(銘柄識別情報)「第3回債(変動10年)」に対応付けて国債DB53に格納されていた当該銘柄の個人向け利付国庫債券の発行日「平成15年7月10日」から板情報画面データの生成当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年7月10日」よりも前であることに基づくメッセージの表示(案内表示)であり、例えば約定日受渡しの場合には発行日「平成15年7月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年7月10日」よりも前である場合に「日銀買取請求可」のメッセージを表示し、例えば約定日翌日受渡しの場合には発行日「平成15年7月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年7月10日」の前日「平成25年7月9日」よりも前である場合に「日銀買取請求可」のメッセージを表示するようにしてもよく、例えば約定日受渡しの場合には償還期限「平成25年7月10日」以降は銘柄「第3回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、例えば約定日翌日受渡しの場合には償還期限「平成25年7月10日」の前日「平成25年7月9日」以降は銘柄「第3回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、発行日から1年経過していない場合は当該銘柄欄に「日銀買取請求不可」のメッセージを表示するようにしてもよい。   In the board information screen of FIG. 11, the issue date / redemption date “July 10, 2003 / July 10, 2013”, interest payment, in association with the issue “Third Bond (Fluctuation 10 Years)” Sunday “January 10th / July 10th”, applicable interest rate (before tax) “1.10%”, selling order face value total amount “0 yen”, buy order face value total amount “300,000 yen” It is displayed. Of the information displayed on the screen for the issue “Third Bond (Fluctuation 10 years)”, issue date / redemption date “July 10, 2003 / July 10, 2013” and interest payment date “January” For “10th / July 10th”, the board information screen transmission means obtains the information stored in the government bond DB 53 in association with the brand (brand identification information) “third bond (fluctuation 10 years)”. It shows what is stored in the board information storage means in association with the brand identification information, and the sales order face value total amount “0 yen” is sold for the third bond (fluctuating 10 years) in the sales order storage unit 44. The board information screen transmission means obtains the total amount of the order face value (order balance value) of the unsold order from the output block of the order block and stores it in the board information storage means in association with the brand identification information The total amount of purchase order face value “300,000 yen” The board information screen transmission means obtains the total amount of the order face value (order balance face amount) of the unsettled purchase order from the output part of the third order bond (fluctuation 10 years) purchase order block of the purchase order storage unit 24. The information stored in the board information storage means in association with the brand identification information is shown. In the issue column, "Bond purchase request available" is displayed alongside "3rd bond (variable 10 years)", which corresponds to the issue (issue identification information) "3rd bond (variable 10 years)" The date of generation of the board information screen data (as an example, December 7, 2006) from the date of issue of the interest-bearing national treasury bonds of the issue stored in the JGB DB 53 on July 10, 2003 is one year. It is a message display (guidance display) based on the fact that it has passed and is before the redemption date “July 10, 2013”. For example, in the case of delivery on a contract date, the issue date “July 2003 Message from the Bank of Japan that it is possible to request a Bank of Japan purchase if the current day (December 7, 2006, for example) has passed one year from the 10th and is before the redemption date “July 10, 2013” For example, when delivering the day after the contract date Is the date of issue (“July 10, 2003”) for one year from the date of issue “July 10, 2003” and the day before the redemption date “July 10, 2013” “2013 If it is before “July 9th”, a message “A request for purchase of the BOJ” may be displayed. For example, in the case of delivery on a contract date, after the redemption date “July 10, 2013” Do not display the column (brand, issue date / redemption date, interest payment date, applicable interest rate, total amount of face value of purchase order, total amount of face value of buy order) for the brand “3rd Bond (10 years of change)” For example, in the case of delivery on the next day of the contract date, the issue “3rd Bond (Fluctuation 10 years)” after “July 9, 2013” the day before the redemption date “July 10, 2013” Column (brand, issue date / redemption date, interest payment date, applicable interest rate, sales order value Forehead, purchase order face value total amount) may be do not want to see, if the from the date of issue not passed one year may be to display a message of "Bank of Japan purchase non-billable" in the stock column.

図11の板情報画面において、銘柄「第4回債(変動10年)」に対応付けて、発行日/償還期限「平成15年10月10日/平成25年10月10日」、利払日「4月10日・10月10日」、適用利率(税引前)「0.92%」、売注文額面金額合計額「0円」、買注文額面金額合計額「400,000円」が表示されている。銘柄「第4回債(変動10年)」について画面表示された情報のうち、発行日/償還期限「平成15年10月10日/平成25年10月10日」と利払日「4月10日・10月10日」については、銘柄(銘柄識別情報)「第4回債(変動10年)」に対応付けて国債DB53に格納されていた情報を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、売注文額面金額合計額「0円」については売注文用記憶部44の第4回債(変動10年)売注文用ブロックの出力部から未約定売注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、買注文額面金額合計額「400,000円」については買注文用記憶部24の第4回債(変動10年)買注文用ブロックの出力部から未約定買注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示している。銘柄欄において「第4回債(変動10年)」に並べて「日銀買取請求可」を表示しており、これは銘柄(銘柄識別情報)「第4回債(変動10年)」に対応付けて国債DB53に格納されていた当該銘柄の個人向け利付国庫債券の発行日「平成15年10月10日」から板情報画面データの生成当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年10月10日」よりも前であることに基づくメッセージの表示(案内表示)であり、例えば約定日受渡しの場合には発行日「平成15年10月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年10月10日」よりも前である場合に「日銀買取請求可」のメッセージを表示し、例えば約定日翌日受渡しの場合には発行日「平成15年10月10日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成25年10月10日」の前日「平成25年10月9日」よりも前である場合に「日銀買取請求可」のメッセージを表示するようにしてもよく、例えば約定日受渡しの場合には償還期限「平成25年10月10日」以降は銘柄「第4回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、例えば約定日翌日受渡しの場合には償還期限「平成25年10月10日」の前日「平成25年10月9日」以降は銘柄「第4回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、発行日から1年経過していない場合は当該銘柄欄に「日銀買取請求不可」のメッセージを表示するようにしてもよい。   In the board information screen of FIG. 11, the issue date / redemption date “October 10, 2003 / October 10, 2013”, interest payment, in association with the issue “4th bond (fluctuation 10 years)” Sunday "April 10 / October 10", applicable interest rate (before tax) "0.92%", total amount of face value of selling order "0 yen", total amount of face value of purchase order "400,000 yen" It is displayed. Of the information displayed on the screen for the issue “The 4th Bond (Fluctuation 10 years)”, the issue date / redemption date “October 10, 2003 / October 10, 2013” and the interest payment date “April For “10th / October 10th”, the board information screen transmission means obtains the information stored in the government bond DB 53 in association with the brand (brand identification information) “fourth bond (fluctuation 10 years)”. It shows what is stored in the board information storage means in association with the brand identification information. For the total amount of the selling order face value “0 yen”, the fourth bond (fluctuating 10 years) of the selling order storage unit 44 is sold. The board information screen transmission means obtains the total amount of the order face value (order balance value) of the unsold order from the output block of the order block and stores it in the board information storage means in association with the brand identification information To the total purchase order face value of “400,000 yen” In this case, the board information screen transmission means outputs the total amount of the order face value (order balance amount) of the unsettled purchase order from the output unit of the fourth bond (fluctuating 10 years) purchase order block of the purchase order storage unit 24. The information acquired and stored in the board information storage means in association with the brand identification information is shown. In the issue column, "Bond purchase request available" is displayed alongside "4th bond (variable 10 years)", which corresponds to the issue (brand identification information) "4th bond (variable 10 years)" The date of generation of the board information screen data (as an example, December 7, 2006) from the issuance date “October 10, 2003” of the individual interest-bearing national treasury bonds stored in the JGB DB 53 for one year It is a message display (guidance display) based on the fact that it has passed and is before the redemption deadline “October 10, 2013”. For example, in the case of contract delivery, the issue date “October 2003 Message of “Request for purchase of BOJ” if the current day (December 7, 2006, for example) has passed one year from “10th” and is before the redemption date “October 10, 2013” For example, delivery on the next day of the contract date In the case of, the day of issue (“October 10, 2006”) is one year from the date of issue “October 10, 2003” and the redemption date “October 10, 2013” If it is earlier than “October 9, 2013”, a message “A request for purchase of the Bank of Japan” may be displayed. For example, in the case of delivery on a contract date, the redemption date “October 10, 2013 ”And subsequent columns for the issue“ 4th Bond (Fluctuation 10 Years) ”(issue, issue date / redemption date, interest payment date, applicable interest rate, total amount of face value of purchase order, total amount of face value of purchase order) For example, in the case of delivery on the next day of the contract date, the “4th Bond (Fluctuation 10 years) after the“ October 9, 2013 ”day before the redemption date“ October 10, 2013 ” ) "(Brand, issue date / redemption date, interest payment date, applicable interest rate) , Sell order face value total amount, buy order face value total amount) may not be displayed, and if one year has not passed since the date of issue, a message “Board purchase request not possible” is displayed in the relevant stock column. You may do it.

図11の板情報画面において、銘柄「第5回債(変動10年)」に対応付けて、発行日/償還期限「平成16年1月13日/平成26年1月10日」、利払日「1月10日・7月10日」、適用利率(税引前)「1.10%」、売注文額面金額合計額「0円」、買注文額面金額合計額「500,000円」が表示されている。銘柄「第5回債(変動10年)」について画面表示された情報のうち、発行日/償還期限「平成16年1月13日/平成26年1月10日」と利払日「1月10日・7月10日」については、銘柄(銘柄識別情報)「第5回債(変動10年)」に対応付けて国債DB53に格納されていた情報を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、売注文額面金額合計額「0円」については売注文用記憶部44の第5回債(変動10年)売注文用ブロックの出力部から未約定売注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示しており、買注文額面金額合計額「500,000円」については買注文用記憶部24の第5回債(変動10年)買注文用ブロックの出力部から未約定買注文の注文額面金額(注文残額面金額)の合計額を板情報画面送信手段が取得して銘柄識別情報に対応付けて板情報用記憶手段に記憶したものを示している。銘柄欄において「第5回債(変動10年)」に並べて「日銀買取請求可」を表示しており、これは銘柄(銘柄識別情報)「第5回債(変動10年)」に対応付けて国債DB53に格納されていた当該銘柄の個人向け利付国庫債券の発行日「平成16年1月13日」から板情報画面データの生成当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成26年1月10日」よりも前であることに基づくメッセージの表示(案内表示)であり、例えば約定日受渡しの場合には発行日「平成16年1月13日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成26年1月10日」よりも前である場合に「日銀買取請求可」のメッセージを表示し、例えば約定日翌日受渡しの場合には発行日「平成16年1月13日」から当日(一例として平成18年12月7日)が1年経過しているとともに償還期限「平成26年1月10日」の前日「平成26年1月9日」よりも前である場合に「日銀買取請求可」のメッセージを表示するようにしてもよく、例えば約定日受渡しの場合には償還期限「平成26年1月10日」以降は銘柄「第5回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、例えば約定日翌日受渡しの場合には償還期限「平成26年1月10日」の前日「平成26年1月9日」以降は銘柄「第5回債(変動10年)」についての欄(銘柄、発行日/償還期限、利払日、適用利率、売注文額面金額合計額、買注文額面金額合計額)を表示しないようにしてもよく、発行日から1年経過していない場合は当該銘柄欄に「日銀買取請求不可」のメッセージを表示するようにしてもよい。   In the board information screen of FIG. 11, the issue date / redemption date “January 13, 2004 / January 10, 2014”, interest payment, in association with the issue “5th bond (fluctuation 10 years)” Sunday “January 10th / July 10th”, applicable interest rate (before tax) “1.10%”, total amount of face value of selling order “0 yen”, total amount of face value of purchase order “500,000 yen” It is displayed. Of the information displayed on the screen for the issue “5th Bond (Fluctuation 10 years)”, issue date / redemption date “January 13, 2004 / January 10, 2014” and interest payment date “January” As for “10th / July 10th”, the board information screen transmission means obtains the information stored in the government bond DB 53 in association with the brand (brand identification information) “5th bond (fluctuation 10 years)”. It shows what is stored in the board information storage means in association with the brand identification information, and the total amount of the selling order face value “0 yen” is sold for the fifth bond (fluctuating 10 years) in the selling order storage unit 44. The board information screen transmission means obtains the total amount of the order face value (order balance value) of the unsold order from the output block of the order block and stores it in the board information storage means in association with the brand identification information About the total amount of purchase order face value “500,000 yen” The board information screen transmission means obtains the total amount of the order face value (order balance face amount) of the unsettled purchase order from the output part of the fifth bond (fluctuation 10 years) purchase order block of the purchase order storage unit 24. The information stored in the board information storage means in association with the brand identification information is shown. In the issue column, "Bond purchase request available" is displayed alongside "5th bond (variable 10 years)", which corresponds to the issue (brand identification information) "5th bond (variable 10 years)" The date of generation of the board information screen data (for example, December 7, 2006) from the issuance date of “January 13, 2004” for individual interest-bearing national treasury bonds stored in the JGB DB 53 for one year It is a message display (guidance display) based on the fact that it has passed and is before the redemption deadline “January 10, 2014”. For example, in the case of contract delivery, the issue date “January 2004” Message from the Bank of Japan is “Request for Bank Purchase” if the current day (December 7, 2006, for example) has passed one year from the 13th and is before the redemption date “January 10, 2014” For example, when delivering the day after the contract date Is the date of issue (“January 13, 2006”), one year has passed since the date of issue “January 13, 2004” and the day before the redemption date “January 10, 2014” “2014 If it is before "January 9", a message "Request for purchase of BOJ" may be displayed. For example, in the case of delivery on a contract date, after the redemption date "January 10, 2014" Do not display the column (brand, issue date / redemption date, interest payment date, applicable interest rate, sell order face value, purchase order face value) for the issue "5th Bond (10 years change)" For example, in the case of delivery on the next day of the contract date, the issue date of “January 9, 2014” after the redemption deadline “January 10, 2014” is the issue “5th Bond (Fluctuation 10 years)” Column (brand, issue date / redemption date, interest payment date, applicable interest rate, sales order value Forehead, purchase order face value total amount) may be do not want to see, if the from the date of issue not passed one year may be to display a message of "Bank of Japan purchase non-billable" in the stock column.

図20は、図9のフローチャートのS210において顧客の端末装置10に表示される板情報画面の他の一例を示す説明図である。板情報画面には、銘柄別に、発行日/償還期限、利払日、適用利率(税引前)、売注文額面金額合計額、買注文額面金額合計額等が表形式で表示される。顧客は端末装置10に表示された個人向け利付国庫債券の板情報画面を見ることにより、どの銘柄にどの程度の売注文の数量(額面金額)及び買注文の数量(額面金額)があるかを容易に把握することができる。図20の板情報画面は、図11の板情報画面に対して売注文額面金額合計額と買注文額面金額合計額が異なっており、銘柄「第1回債(変動10年)」の売注文額面金額合計額「100,000円」と買注文額面金額合計額「200,000円」が表示されており、銘柄「第2回債(変動10年)」の売注文額面金額合計額「100,000円」と買注文額面金額合計額「300,000円」が表示されており、銘柄「第3回債(変動10年)」の売注文額面金額合計額「100,000円」と買注文額面金額合計額「400,000円」が表示されており、銘柄「第4回債(変動10年)」の売注文額面金額合計額「100,000円」と買注文額面金額合計額「500,000円」が表示されており、銘柄「第5回債(変動10年)」の売注文額面金額合計額「100,000円」と買注文額面金額合計額「600,000円」が表示されている。この図20の板情報画面上の売買注文を約定処理すると、図11の板情報画面が顧客の端末装置10に表示されるようにしてもよい。   FIG. 20 is an explanatory diagram showing another example of the board information screen displayed on the customer terminal device 10 in S210 of the flowchart of FIG. On the board information screen, issuance date / redemption date, interest payment date, applicable interest rate (before tax), sell order face value, total purchase order face value, etc. are displayed in tabular form for each brand. By looking at the board information screen of the personal interest-bearing national treasury bond displayed on the terminal device 10, the customer can determine which stock has the quantity of sell orders (face value) and the quantity of buy orders (face value). It can be easily grasped. The board information screen in FIG. 20 differs from the board information screen in FIG. 11 in that the total amount of the selling order face amount and the total amount of the buying order face amount are different, and the selling order of the brand “first bond (variable 10 years)”. A total face value “100,000 yen” and a buy order face value “200,000 yen” are displayed, and the selling order face value “100” , 000 yen "and the total purchase order face value" 300,000 yen "are displayed, and the purchase order face value" 100,000 yen "for the brand" Third Bond (Fluctuation 10 years) "is purchased. The total order value “400,000 yen” is displayed, the selling order value total amount “100,000 yen” of the brand “4th bond (variable 10 years)” and the purchase order value total amount “ "500,000 yen" is displayed, and the name of the issue "5th Bond (10 years change)" Order face value total amount "100,000 yen" and buy-order face value total is "600,000 yen" is displayed. When the trade order on the board information screen of FIG. 20 is executed, the board information screen of FIG. 11 may be displayed on the terminal device 10 of the customer.

例えば、注文受付部21の板情報画面送信手段は、所定の時間間隔(一例として数秒間隔)で板情報画面データを生成するものとし、銘柄識別情報に対応付けて国債DB53に格納された各銘柄の発行日及び償還期限に基づき、板情報画面データの生成当日が発行日から償還期限前の売買取引最終日(一例として約定日受渡しの場合は償還期限前日とし、約定日翌日受渡しの場合は償還期限前々日)までの期間に含まれる売買取引可能な銘柄の銘柄識別情報を検出し、当該売買取引可能な銘柄の銘柄識別情報に対応付けて国債DB53に格納された発行日/償還期限、利払日、及び適用利率と、当該売買取引可能な銘柄の銘柄識別情報に対応する売注文用記憶部44のブロックにおいて未約定の約定フラグに対応付けてレコードに格納された売注文データの注文額面金額(注文残額面金額)を合計した銘柄識別情報毎の未約定売注文の注文額面金額(注文残額面金額)の合計額を出力する売注文用記憶部44の当該ブロックの出力部から当該銘柄識別情報の未約定売注文の注文額面金額(注文残額面金額)の合計額を取得するとともに、当該売買取引可能な銘柄の銘柄識別情報に対応する買注文用記憶部24のブロックにおいて未約定の約定フラグに対応付けてレコードに格納された買注文データの注文額面金額(注文残額面金額)を合計した当該銘柄識別情報の未約定買注文の注文額面金額(注文残額面金額)の合計額を出力する買注文用記憶部24の当該ブロックの出力部から当該銘柄識別情報の未約定買注文の注文額面金額(注文残額面金額)の合計額を取得し、当該売買取引可能な銘柄の銘柄識別情報毎の未約定売注文及び未約定買注文の注文額面金額(注文残額面金額)の各合計額と当該銘柄識別情報の銘柄の発行日/償還期限、利払日、及び適用利率を表形式の板情報として表示するための板情報画面のデータを生成して板情報用記憶手段に記憶し、注文受付部21が顧客の端末装置10から個人向け利付国庫債券の板情報画面要求データを受け取ると、板情報用記憶手段の板情報画面のデータを顧客の端末装置10に送信(又は所定間隔で配信)して当該板情報画面を表示させるようにしてもよい。   For example, the board information screen transmission means of the order receiving unit 21 generates board information screen data at a predetermined time interval (for example, every several seconds), and each brand stored in the government bond DB 53 in association with the brand identification information. Based on the issuance date and redemption deadline, the date of generation of the board information screen data is the last day of the transaction before the redemption deadline from the issuance date (for example, the day before the redemption deadline for delivery on the contract date, and the redemption for delivery on the next day of the trade date) The issue date / redemption date stored in the government bond DB 53 in association with the issue identification information of the issues that can be traded and included in the period before the due date) Stored in the record in association with the unfilled execution flag in the block of the sales order storage unit 44 corresponding to the interest payment date, the applicable interest rate, and the brand identification information of the brand that can be traded The block of the sales order storage unit 44 that outputs the total amount of the order face value (order balance value) of the unsold sale order for each brand identification information obtained by summing the order face value (order balance value) of the order data. From the output unit, the total amount of the order face value (order balance value) of the unsold sale order of the brand identification information is acquired, and the buy order storage unit 24 corresponding to the brand identification information of the brand that can be traded Order face value (order balance value) of the uncommitted purchase order of the relevant brand identification information, which is the sum of the order face value (order balance value) of the purchase order data stored in the record in association with the unfilled execution flag in the block ) Is output from the output unit of the block of the purchase order storage unit 24 that outputs the total amount of the order price of the unsettled purchase order (order balance value) of the stock identification information, The total amount of the order face value (order balance face amount) of the unsold and sold orders for each possible brand identification information and the issue date / redemption date, interest payment date, And the board information screen data for displaying the applicable interest rate as the board information in the table format is generated and stored in the board information storage means, and the order receiving unit 21 sends the board of personal interest-bearing national treasury bonds from the customer terminal device 10 When the information screen request data is received, the board information screen data of the board information storage means may be transmitted to the customer terminal device 10 (or distributed at a predetermined interval) to display the board information screen.

図9のフローチャートに戻る。次いで顧客は、当該顧客の端末装置10に個人向け利付国庫債券の注文内容を入力するための注文入力画面を要求する注文入力画面要求データを入力し、顧客の端末装置10から注文入力画面要求データと顧客IDを口座間振替処理装置20に送信する(S212)。なお、板情報画面のウェブページに注文入力画面を要求する要求ボタンを表示し、顧客がマウス等で要求ボタンをクリック等の操作をすることにより、顧客の端末装置10から注文入力画面要求データと顧客IDを口座間振替処理装置20に送信するようにしてもよい。口座間振替処理装置20の注文受付部21は、顧客の端末装置10から個人向け利付国庫債券の注文入力画面要求データと顧客IDを受け取り、注文受付部21の注文入力画面送信手段は、個人向け利付国庫債券の注文入力画面を表示するためのデータである注文入力画面データを生成し(S214)、生成した注文入力画面データを顧客の端末装置10に送信する(S216)。顧客の端末装置10は、注文受付部21の注文入力画面送信手段からの注文入力画面データを受信すると、受信した注文入力画面データに従って個人向け利付国庫債券の注文入力画面のウェブページを表示する(S218)。   Returning to the flowchart of FIG. Next, the customer inputs order input screen request data for requesting an order input screen for inputting the order details of the personal interest-bearing national treasury bond to the terminal device 10 of the customer, and the order input screen request data from the customer terminal device 10. And the customer ID are transmitted to the inter-account transfer processing device 20 (S212). Note that a request button for requesting an order input screen is displayed on the web page of the board information screen, and when the customer performs an operation such as clicking the request button with a mouse or the like, the order input screen request data from the customer terminal device 10 and The customer ID may be transmitted to the inter-account transfer processing device 20. The order receiving unit 21 of the inter-account transfer processing device 20 receives the order input screen request data and the customer ID of the personal interest-bearing national treasury bond from the customer terminal device 10, and the order input screen transmitting means of the order receiving unit 21 is for the individual. Order input screen data, which is data for displaying the order input screen for interest-bearing treasury bonds, is generated (S214), and the generated order input screen data is transmitted to the customer terminal device 10 (S216). Upon receiving the order input screen data from the order input screen transmitting means of the order receiving unit 21, the customer terminal device 10 displays the web page of the order input screen for the personal interest-bearing national treasury bond according to the received order input screen data ( S218).

図12は、図9のフローチャートのS218において顧客の端末装置10に表示される個人向け利付国庫債券の注文入力画面の一例を示す説明図である。注文入力画面には、注文銘柄を入力する欄、売買区分を選択する欄、注文額面(注文額面金額)を入力する欄、及び入力したデータを口座間振替処理装置20に送信するための送信ボタン(図12の画面例では「次へ」ボタン)が含まれており、注文銘柄の入力欄では個人向け利付国庫債券(変動10年)が第何回発行の個人向け利付国庫債券であるかを示す番号をキーボード等を操作して入力ボックス(例えばテキストボックス、コンボボックス又はリストボックス)に入力するようになっており、売買区分の入力欄ではマウス等を操作してラジオボタンにより「買」又は「売」を選択することで売買区分を示す情報を入力するようになっており、注文額面の入力欄では注文額面金額を示す数値をキーボード等を操作して入力ボックス(例えばテキストボックス)に入力するようになっている。
図12の注文入力画面の表示例では、注文銘柄として「第1回債(変動10年)」を示す情報が入力されており、売買区分として「買い」を示す情報が入力されており、注文額面金額として「100,000円」を示す情報が入力されている。
FIG. 12 is an explanatory diagram showing an example of an order input screen for personal interest-bearing national treasury bonds displayed on the customer terminal device 10 in S218 of the flowchart of FIG. In the order input screen, a field for inputting an order brand, a field for selecting a trading category, a field for inputting an order face value (order face value), and a send button for transmitting the input data to the inter-account transfer processing device 20 (“Next” button in the screen example of FIG. 12) is included, and in the input column of the order item, the number of times the personal interest-bearing national treasury bond (fluctuating 10 years) is the personal interest-bearing national treasury bond is displayed. The number shown is input to an input box (for example, a text box, combo box or list box) by operating a keyboard or the like. By selecting “Sale”, the information indicating the trading category is entered, and in the order amount input field, the numerical value indicating the order amount is entered by operating the keyboard etc. If adapted to input in the text box).
In the display example of the order input screen in FIG. 12, information indicating “first bond (fluctuation 10 years)” is input as an order symbol, and information indicating “buy” is input as a trading category. Information indicating “100,000 yen” is input as the face amount.

図9のフローチャートに戻る。次いで顧客は、顧客の端末装置10の注文入力画面に注文内容を示すデータ(例えば注文銘柄を示すデータ、売買区分を示すデータ、及び注文額面を示すデータ)を入力し(S220)、送信ボタンをマウス等を用いてクリック等の操作をすることにより、注文入力画面に入力されたデータを顧客の端末装置10から口座間振替処理装置20に送信する(S222)。このとき顧客の端末装置10は、注文入力画面に入力された注文内容を示すデータと当該顧客の顧客IDをまとめて注文データとして口座間振替処理装置20に送信するようになっている。なお、注文入力画面に顧客IDの入力欄を設けて注文内容を示すデータと当該顧客の顧客IDを注文データとして口座間振替処理装置20に送信するようにしてもよい。   Returning to the flowchart of FIG. Next, the customer inputs data indicating the order contents (for example, data indicating the order brand, data indicating the trade classification, and data indicating the order amount) on the order input screen of the customer's terminal device 10 (S220), and a send button is selected. By performing an operation such as clicking using a mouse or the like, the data input on the order input screen is transmitted from the customer terminal device 10 to the inter-account transfer processing device 20 (S222). At this time, the customer terminal device 10 is configured to transmit the data indicating the order contents input on the order entry screen and the customer ID of the customer together to the inter-account transfer processing device 20 as order data. Note that a customer ID input field may be provided on the order input screen, and data indicating the order contents and the customer ID of the customer may be transmitted to the inter-account transfer processing device 20 as order data.

口座間振替処理装置20の注文受付部21は、顧客の端末装置10から顧客IDを含む注文データを受信すると、受信した注文データを受信識別番号に対応付けて受信記憶手段に記憶し、注文受付部21の注文確認画面送信手段は、受信識別番号と当該受信識別番号に対応付けて受信記憶手段に記憶された注文データに基づいて注文内容の確認画面を表示するためのデータである注文確認画面データであって受信識別情報を含む注文確認画面データを生成し(S223)、生成した注文確認画面データを顧客の端末装置10に送信する(S224)。顧客の端末装置10は、注文受付部21の注文確認画面送信手段からの注文確認画面データを受信すると、受信した注文確認画面データに従って個人向け利付国庫債券の注文データの注文確認画面のウェブページを表示する(S225)。   When receiving the order data including the customer ID from the customer terminal device 10, the order receiving unit 21 of the inter-bank transfer processing device 20 stores the received order data in the reception storage unit in association with the reception identification number, and receives the order. The order confirmation screen transmission means of the unit 21 is an order confirmation screen which is data for displaying a confirmation screen of the order contents based on the reception identification number and the order data stored in the reception storage means in association with the reception identification number. Order confirmation screen data including data and reception identification information is generated (S223), and the generated order confirmation screen data is transmitted to the customer terminal device 10 (S224). Upon receiving the order confirmation screen data from the order confirmation screen transmission means of the order receiving unit 21, the customer terminal device 10 displays the order confirmation screen web page of the order data for the personal interest-bearing national treasury bond according to the received order confirmation screen data. It is displayed (S225).

図13は、図9のフローチャートのS225において顧客の端末装置10に表示される注文確認画面の一例を示す説明図である。この注文確認画面には、注文内容(注文銘柄、売買区分、及び注文額面)が表示されるとともに、顧客が注文内容を確認したことを示す確認データと発注を要求する発注要求データを口座間振替処理装置20に送信するための「発注」ボタン、及び注文入力画面データを再度要求する注文入力画面要求データを口座間振替処理装置20に送信するための「注文入力画面」ボタンが表示される。図13の注文確認画面には、注文銘柄「第1回債(変動10年)」、売買区分「買(買い)」、注文額面(注文額面金額)「100,000円」が表示されている。   FIG. 13 is an explanatory diagram showing an example of an order confirmation screen displayed on the customer terminal device 10 in S225 of the flowchart of FIG. On this order confirmation screen, the order details (order brand, trading category and order face value) are displayed, and confirmation data indicating that the customer has confirmed the order details and order request data requesting the order are transferred between accounts. An “order” button for transmitting to the processing device 20 and an “order input screen” button for transmitting order input screen request data for requesting the order input screen data again to the inter-account transfer processing device 20 are displayed. In the order confirmation screen of FIG. 13, the order symbol “first bond (fluctuation 10 years)”, trading category “buy (buy)”, and order value (order value) “100,000 yen” are displayed. .

図9のフローチャートに戻る。次いで顧客は、注文確認画面に表示された注文データの注文を確定しない場合(S226:NO)、注文入力画面を再度要求する旨を示す注文入力画面要求データを注文確認画面内の「注文入力画面」ボタンをマウス等によりクリック等の操作をすることで顧客の端末装置10に入力し、当該注文入力画面要求データと注文確認画面データに含まれていた受信識別番号を顧客IDとともに顧客の端末装置10から口座間振替処理装置20に送信する。注文受付部21は、顧客の端末装置10から注文入力画面を再度要求する旨を示す注文入力画面要求データと受信識別番号と顧客IDを受け取ると、注文受付部21の注文入力画面送信手段は、注文入力画面データを再度生成し(S214)、注文入力画面データを顧客の端末装置10に送信する(S216)。
顧客は、注文確認画面に表示された注文データの注文を確定する場合(S226:YES)、注文確認画面内の「発注」ボタンをマウス等によりクリック等の操作をすることで、顧客の端末装置10から確認データと注文の発注を要求する発注要求データと注文確認画面データに含まれていた受信識別番号を顧客IDとともに口座間振替処理装置20に送信する(S227)。
Returning to the flowchart of FIG. Next, when the customer does not finalize the order of the order data displayed on the order confirmation screen (S226: NO), the customer enters the order input screen request data indicating that the order input screen is requested again in the “order input screen” ”Button is input to the customer's terminal device 10 by clicking or the like with a mouse or the like, and the customer ID and the reception identification number included in the order entry screen request data and order confirmation screen data 10 to the inter-account transfer processing device 20. When the order receiving unit 21 receives the order input screen request data indicating that the order input screen is requested again from the customer's terminal device 10, the reception identification number, and the customer ID, the order input screen transmitting means of the order receiving unit 21 The order entry screen data is generated again (S214), and the order entry screen data is transmitted to the customer terminal device 10 (S216).
When the customer confirms the order of the order data displayed on the order confirmation screen (S226: YES), the customer's terminal device is operated by clicking the “order” button in the order confirmation screen with a mouse or the like. 10, the confirmation data, the order request data for requesting the order and the reception identification number included in the order confirmation screen data are transmitted to the inter-account transfer processing device 20 together with the customer ID (S227).

注文受付部21は、顧客の端末装置10から確認データと発注要求データと受信識別番号と顧客IDを受信すると、注文受付部21の利子手数料演算手段は、顧客の端末装置10からの受信識別番号に対応付けて受信記憶手段に記憶された注文データに含まれる銘柄を示す銘柄識別情報に対応付けて国債DB53に格納された当該注文銘柄の直前期間の適用利率(現在の適用利率)及び利払日を国債DB53から読み出し、読み出した適用利率、利払日及び注文データに含まれる注文額面金額を示すデータを用いて経過利子相当額を算出する(S229)。また、利子手数料演算手段は、算出した経過利子相当額及び注文データに含まれる注文額面金額を示すデータを用いて振替手数料を算出する(S230)。   When the order reception unit 21 receives the confirmation data, the order request data, the reception identification number, and the customer ID from the customer terminal device 10, the interest fee calculation means of the order reception unit 21 receives the reception identification number from the customer terminal device 10. Applicable interest rate (current applied interest rate) and interest payment for the immediately preceding period of the order issue stored in the government bond DB 53 in association with the issue identification information indicating the issue included in the order data stored in the receiving storage means. The date is read from the government bond DB 53, and the accrued interest equivalent amount is calculated using the read applied interest rate, interest payment date, and the order face value included in the order data (S229). Further, the interest fee calculating means calculates the transfer fee using the calculated accrued interest equivalent amount and the data indicating the order face value included in the order data (S230).

図14は、経過利子相当額の算出方法の一例を説明するための説明図である。経過利子相当額とは、債券の売手が保有していた期間に対応する利子に相当するものである。例えば、利子手数料演算手段は以下の手順で個人向け利付国庫債券の経過利子相当額を算出してもよい。一例として、約定日受渡しの場合は個人向け利付国庫債券の対象銘柄における直前の利払日から確認データ受取日(注文受付日)現在までの経過日数を1年間の日数365で割った値である経過日数比率を求め、経過日数比率に注文額面金額と現在の適用利率/100をそれぞれ乗ずることにより、経過利子相当額(=経過日数/365×注文額面金額×適用利率/100)を概略的に算出してもよく、約定日翌日受渡しの場合は個人向け利付国庫債券の対象銘柄における直前の利払日から確認データ受取日(注文受付日)の翌日(受渡日(受渡予定日)、振替日(振替予定日))までの経過日数を1年間の日数365で割った値である経過日数比率を求め、経過日数比率に注文額面金額と現在の適用利率/100をそれぞれ乗ずることにより、経過利子相当額(=経過日数/365×注文額面金額×適用利率/100)を概略的に算出してもよい。
同様にして、振替処理部26と注文数量判定部45は、以下の手順で個人向け利付国庫債券の経過利子相当額を算出してもよい。一例として、個人向け利付国庫債券の対象銘柄における直前の利払日から振替日現在までの経過日数を1年間の日数365で割った値である経過日数比率を求め、経過日数比率に約定額面金額と振替日現在の適用利率/100をそれぞれ乗ずることにより、経過利子相当額(=経過日数/365×注文額面金額×適用利率/100)を算出してもよい。
FIG. 14 is an explanatory diagram for explaining an example of a method of calculating the accrued interest equivalent. The accrued interest equivalent is equivalent to the interest corresponding to the period held by the bond seller. For example, the interest fee calculating means may calculate the accrued interest equivalent amount of the personal interest-bearing national treasury bond in the following procedure. As an example, in the case of trade date delivery, it is the value obtained by dividing the number of days elapsed from the immediately preceding interest payment date to the confirmation data receipt date (order reception date) to the present date by 365 days in a year for the subject interest-bearing national treasury bonds By calculating the elapsed days ratio and multiplying the elapsed days ratio by the order face value and the current applicable interest rate / 100, respectively, the accrued interest equivalent amount (= elapsed days / 365 × order face value x applied interest rate / 100) is roughly calculated. In the case of delivery on the next day of the contract date, the next day (delivery date (scheduled delivery date), transfer date from the date of receipt of confirmation data (order receipt date) from the immediately preceding interest payment date for the subject securities of personal interest-bearing treasury bonds (Estimated transfer date)) by calculating the elapsed days ratio that is the value obtained by dividing the elapsed days by 365 days in one year, and multiplying the elapsed days ratio by the face value of the order and the current applicable interest rate / 100, respectively. The accrued interest equivalent amount (= elapsed days / 365 × order face value × applicable interest rate / 100) may be calculated roughly.
Similarly, the transfer processing unit 26 and the order quantity determination unit 45 may calculate the accrued interest equivalent amount of the personal interest-bearing national treasury bond by the following procedure. As an example, the ratio of the elapsed days, which is the number of days elapsed from the immediately preceding interest payment date to the current transfer date divided by the number of days 365 in the year, is calculated for the subject interest-bearing national treasury bond. Then, the accrued interest equivalent amount (= elapsed days / 365 × order face value × applied interest rate / 100) may be calculated by multiplying the applicable interest rate / 100 as of the transfer date.

図15は、振替手数料の算出方法の一例を説明するための説明図である。振替手数料は、個人向け利付国庫債券の額面金額に所定の定数を乗じた上限額と経過利子相当額を比較することにより求められ、経過利子相当額が上限額未満である場合は経過利子相当額を振替手数料とし、経過利子相当額が上限額以上である場合は当該上限額を振替手数料とする。このように振替手数料を経過利子相当額以下となるようにすることで、個人向け利付国庫債券の保有者が受け取る売却代金が、振替手数料の徴収で約定額面金額を割り込まないようにすることができる。例えば、利子手数料演算手段は、個人向け利付国庫債券の注文額面金額に所定の定数(一例として0.1%)を乗じた上限額と経過利子相当額を比較し、経過利子相当額が上限額未満である場合は経過利子相当額を振替手数料とし、経過利子相当額が上限額以上である場合は当該上限額を振替手数料としてもよい。同様にして、振替処理部26と注文数量判定部45は、個人向け利付国庫債券の約定額面金額に所定の定数(一例として0.1%)を乗じた上限額と経過利子相当額を比較し、経過利子相当額が上限額未満である場合は経過利子相当額を振替手数料とし、経過利子相当額が上限額以上である場合は当該上限額を振替手数料としてもよい。
なお、振替手数料は、経過利子相当額に係数k(但し、0<k<1)を乗じて算出する構成としてもよく、利子手数料演算手段は個人向け利付国庫債券の注文額面金額に所定の定数(一例として0.1%)を乗じた額を振替手数料とする構成としてもよく、振替処理部26は個人向け利付国庫債券の約定額面金額に所定の定数(一例として0.1%)を乗じた額を振替手数料とする構成としてもよく、種々の手数料体系を適用してもよい。
FIG. 15 is an explanatory diagram for explaining an example of a method for calculating a transfer fee. The transfer fee is calculated by comparing the maximum amount obtained by multiplying the face value of the interest-bearing national treasury bond by a predetermined constant with the accrued interest amount. If the accrued interest amount is less than the maximum amount, the accrued interest amount Is the transfer fee, and if the accrued interest amount is greater than or equal to the upper limit, the upper limit is the transfer fee. By making the transfer fee less than the accrued interest amount in this way, the sale price received by the holder of the personal interest-bearing national treasury bond can be prevented from interrupting the contract amount by collecting the transfer fee. . For example, the interest fee calculation means compares the accrued interest equivalent with the upper limit obtained by multiplying the order value of the interest-bearing national treasury bond by a predetermined constant (0.1% as an example), and the accrued interest equivalent is the upper limit. If the amount is less than the amount, the accrued interest amount may be the transfer fee, and if the accrued interest amount is equal to or greater than the upper limit, the upper limit may be the transfer fee. Similarly, the transfer processing unit 26 and the order quantity determination unit 45 compare the upper limit amount obtained by multiplying the contract amount of the interest-bearing national treasury bond by a predetermined constant (for example, 0.1%) and the accrued interest equivalent amount. When the accrued interest equivalent is less than the upper limit, the accrued interest equivalent may be the transfer fee, and when the accrued interest equivalent is the upper limit or more, the upper limit may be the transfer fee.
The transfer fee may be calculated by multiplying the accrued interest amount by a factor k (where 0 <k <1), and the interest fee calculation means uses a predetermined constant to the order face value of the interest-bearing national treasury bond. The transfer processing unit 26 may multiply the contract amount of the interest-bearing national treasury bond by a predetermined constant (0.1% as an example). The amount may be a transfer fee, and various fee systems may be applied.

図9のフローチャートに戻る。次いで注文受付部21の利子手数料演算手段は、顧客の端末装置10からの受信識別番号に対応付けて受信記憶手段に記憶された顧客からの注文データに含まれる顧客IDに対応する当該顧客の口座番号を顧客DB52から取得し、顧客からの注文データの売買区分が売りを示す情報である場合に、顧客の口座番号及び注文データの銘柄識別情報に対応する当該顧客の個人向け利付国庫債券の証券残高(即ち注文銘柄の個人向け利付国庫債券残高)を示すデータを顧客口座DB58から読み出す。そして当該顧客の個人向け利付国庫債券残高のデータに注文データの注文額面金額等を照会し(S231)、注文が執行可能であるか否かを判断する(S232)。例えば注文データの売買区分が売りを示す情報である場合、注文銘柄の個人向け利付国庫債券残高が注文額面金額以上であるときに注文が執行可能であると判断し(S232:YES)、注文銘柄の個人向け利付国庫債券残高が注文額面金額未満であるときに注文が執行可能でないと判断する(S232:NO)。
一方、注文受付部21の利子手数料演算手段は、顧客からの注文データの売買区分が買いを示す情報である買注文データである場合に、顧客の口座番号に対応する当該顧客の資金残高を示すデータを顧客口座DB58から読み出す。そして、当該顧客の資金残高のデータに注文データに含まれる注文額面金額等を照会し(S231)、顧客注文が執行可能であるか否かを判断する(S232)。一例として注文データの売買区分が買いを示す情報である場合、顧客の資金残高が注文額面金額と経過利子相当額の和の金額(=注文額面金額+経過利子相当額)以上であるときに顧客注文が執行可能であると判断し(S232:YES)、顧客の資金残高が注文額面金額と経過利子相当額との和の金額未満であるときに顧客注文が執行可能でないと判断する構成としてもよく(S232:NO)、一例として注文データの売買区分が買いを示す情報である場合、顧客の資金残高が注文額面金額と経過利子相当額と余裕金額αの和の金額(=注文額面金額+経過利子相当額+α)以上であるときに顧客注文が執行可能であると判断し(S232:YES)、顧客の資金残高が注文額面金額と経過利子相当額と余裕金額αの和の金額未満であるときに顧客注文が執行可能でないと判断する構成としてもよく(S232:NO)、顧客注文が執行可能であるか否かの判断において経過利子相当額を用いないこととし経過利子相当額を考慮しないようにしてもよい。
Returning to the flowchart of FIG. Next, the interest fee calculating means of the order receiving unit 21 corresponds to the customer's account corresponding to the customer ID included in the order data from the customer stored in the receiving storage means in association with the reception identification number from the terminal device 10 of the customer. If the number is obtained from the customer DB 52 and the order classification from the customer is information indicating sale, the customer's personal interest-bearing national bond securities corresponding to the customer's account number and the order identification information of the order data Data indicating the balance (that is, the interest-bearing national treasury bond balance of the order brand) is read from the customer account DB 58. Then, the customer's personal interest-bearing national treasury bond balance data is inquired for the order value of the order data (S231), and it is determined whether the order can be executed (S232). For example, in the case where the order data trading category is information indicating sale, it is determined that the order can be executed when the personal interest-bearing national treasury bond balance of the order issue is equal to or greater than the order amount (S232: YES). When the personal interest-bearing national treasury bond balance is less than the order face value, it is determined that the order cannot be executed (S232: NO).
On the other hand, the interest fee calculating means of the order receiving unit 21 indicates the customer's fund balance corresponding to the customer's account number when the order data from the customer is purchase order data which is information indicating purchase. Data is read from the customer account DB 58. Then, the customer's funds balance data is inquired of the order face value included in the order data (S231), and it is determined whether the customer order can be executed (S232). For example, when the order data trading category is information indicating buying, the customer has a balance of funds equal to or greater than the sum of the order face value and accrued interest (= order face value + accrued interest equivalent). It is also possible to determine that the order can be executed (S232: YES), and to determine that the customer order cannot be executed when the customer's funds balance is less than the sum of the order face value and the accrued interest equivalent amount. Well (S232: NO), for example, if the order data trading category is information indicating buying, the customer's funds balance is the sum of the order amount, the accrued interest amount, and the margin amount α (= order amount + It is determined that the customer order can be executed when the accrued interest equivalent amount + α) or more (S232: YES), and the customer's funds balance is less than the sum of the order face value, accrued interest equivalent amount and the surplus amount α. If there The customer order may be determined not to be executable (S232: NO), and the accrued interest equivalent amount is not used in determining whether the customer order is executable or not. It may be.

注文受付部21の利子手数料演算手段は、顧客注文が執行可能でないと判断した場合(S232:NO)、エラー表示データを生成し(S228)、生成したエラー表示データと受信識別番号と顧客IDを注文入力画面送信手段に送る。注文入力画面送信手段は、エラー表示データと受信識別番号と顧客IDを受け取ると、エラー表示データを含む注文入力画面を表示するための注文入力画面データを生成し(S214)、当該注文入力画面データを顧客の端末装置10に送信する(S216)。
一方、注文受付部21の利子手数料演算手段は、顧客注文が執行可能であると判断した場合(S232:YES)、顧客の端末装置10からの受信識別番号を注文受付部21の注文執行手段(注文受付処理手段)に送る。注文受付部21の注文執行手段(注文受付処理手段)は、利子手数料演算手段から受信識別番号を受け取ると、当該受信識別番号に対応付けされた顧客注文の注文データを受信記憶手段から読み出し、読み出した顧客注文の注文データについて当該注文を識別するための注文識別番号(注文ID)を採番し(S240)、読み出した注文データを当該注文識別番号及び注文受付日の日付情報に対応付けて注文データ記憶部22に記憶する(S242)とともに、当該注文識別番号を売買区分判定部23に送る。
When it is determined that the customer order cannot be executed (S232: NO), the interest fee calculating means of the order receiving unit 21 generates error display data (S228), and generates the generated error display data, the reception identification number, and the customer ID. Send to order entry screen transmission means. Upon receiving the error display data, the reception identification number, and the customer ID, the order input screen transmission means generates order input screen data for displaying the order input screen including the error display data (S214), and the order input screen data Is transmitted to the terminal device 10 of the customer (S216).
On the other hand, when the interest fee calculating means of the order receiving unit 21 determines that the customer order can be executed (S232: YES), the order execution means ( Order receipt processing means). Upon receiving the reception identification number from the interest fee calculation means, the order execution means (order reception processing means) of the order reception unit 21 reads and reads the order data of the customer order associated with the reception identification number from the reception storage means. The order identification number (order ID) for identifying the order is assigned to the order data of the customer order (S240), and the read order data is associated with the order identification number and date information of the order reception date. The data is stored in the data storage unit 22 (S242), and the order identification number is sent to the trade classification determination unit 23.

売買区分判定部23は注文管理手段を備えており、この注文管理手段は買注文の判定毎に買注文の管理番号を一定方向に更新する買注文区分判定管理手段と、売注文の判定毎に売注文の管理番号を一定方向に更新する売注文区分判定管理手段を備えており、売買区分判定部23の買注文区分判定管理手段は買注文の判定毎に買注文の注文銘柄の管理番号を増大方向に更新し、売買区分判定部23の売注文区分判定管理手段は売注文の判定毎に売注文の注文銘柄の管理番号を増大方向に更新するものとしてもよい。
売買区分判定部23は、注文受付部21から顧客注文の注文識別番号(注文ID)を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、取得した当該顧客注文の注文データに含まれる売買区分が買いを示す情報であるか売りを示す情報であるかを判定する。そして売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である第1の場合に、買注文区分判定管理手段の買注文の管理番号を更新させて当該注文データである新規の買注文データの銘柄識別情報に対応する買注文用記憶部24のブロックのレコードに当該新規の買注文データと当該買注文を識別するための注文識別番号と未約定を示す約定フラグと買注文区分判定管理手段の買注文の管理番号を対応付けて格納し(S244)、顧客注文の注文データの売買区分が売りを示す情報である場合に、売注文区分判定管理手段の売注文の管理番号を更新させて当該注文データである新規の売注文データの銘柄識別情報に対応する売注文用記憶部44のブロックのレコードに当該新規の売注文データと当該売注文を識別するための注文識別番号と未約定を示す約定フラグと売注文区分判定管理手段の売注文の管理番号を対応付けて格納する(S244)。
The buy / sell classification determination unit 23 includes order management means. The order management means has a purchase order classification determination management means for updating the management number of a purchase order in a certain direction every time a buy order is determined, and every determination of a sell order. Sell order category judgment management means for updating the management number of the sell order in a certain direction is provided, and the buy order category judgment management means of the buy / sell category judgment unit 23 sets the management number of the order brand of the buy order for each judgment of the buy order Updating in the increasing direction, the selling order category determination management means of the trading category determining unit 23 may update the management number of the order brand of the selling order in the increasing direction every time the selling order is determined.
When receiving the order identification number (order ID) of the customer order from the order receiving unit 21, the trade classification determining unit 23 acquires the order data associated with the received order identification number from the order data storage unit 22 and acquires the order data. It is determined whether the trading category included in the order data of the customer order is information indicating buying or information indicating selling. Then, in the first case where the trading category of the order data of the customer order is information indicating buying, the trading category determination unit 23 updates the purchase order management number of the purchase order category determination management means to obtain the order data. The new purchase order data, the order identification number for identifying the purchase order, the execution flag indicating unsettled, and the purchase are recorded in the record of the block of the purchase order storage unit 24 corresponding to the brand identification information of the new purchase order data. The management number of the purchase order of the order classification judgment management means is stored in association with each other (S244), and the selling order management of the sales order classification judgment management means is performed when the trade classification of the order data of the customer order is information indicating sale. The number is updated to identify the new selling order data and the selling order in the record of the block of the selling order storage unit 44 corresponding to the brand identification information of the new selling order data which is the order data. Sales store associates the management number of the order of the order category determination managing unit commitments flag sale indicating the order identification number and uncommitted the order (S244).

一例として売買区分判定部23は、注文受付部21から顧客注文の注文識別番号を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、取得した当該顧客注文の注文データに含まれる売買区分が買いを示す情報であるか売りを示す情報であるかを判定する。そして売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である第1の場合に、買注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新させて当該注文データである新規の買注文データの銘柄識別情報に対応する買注文用記憶部24のブロックにおいて未使用を示す使用フラグを格納した未使用のレコードに当該新規の買注文データと当該買注文を識別するための注文識別番号と未約定を示す約定フラグと買注文区分判定管理手段における当該銘柄識別情報の銘柄用の管理番号を対応付けて格納してから当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新し、顧客注文の注文データの売買区分が売りを示す情報である第2の場合に、売注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新させて当該注文データである新規の売注文データの銘柄識別情報に対応する売注文用記憶部44のブロックにおいて未使用を示す使用フラグを格納した未使用のレコードに当該新規の売注文データと当該売注文を識別するための注文識別番号と未約定を示す約定フラグと売注文区分判定管理手段の当該銘柄識別情報の銘柄用の管理番号を対応付けて格納してから当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新するようにしてもよい。   As an example, when receiving the order identification number of the customer order from the order receiving unit 21, the trade classification determining unit 23 acquires the order data associated with the received order identification number from the order data storage unit 22, and the acquired customer It is determined whether the trade classification included in the order data of the order is information indicating buying or information indicating selling. Then, in the first case where the buying / selling division of the order data of the customer order is information indicating buying, the buying / selling category judgment unit 23 sets the management number for the brand in the brand identification information of the order data in the buying order category judgment management means. The new purchase order data and the unused record in which the use flag indicating unused is stored in the block of the purchase order storage unit 24 corresponding to the brand identification information of the new purchase order data which is the order data is updated. After storing the order identification number for identifying the buy order, the execution flag indicating unfilled, and the management number for the brand of the brand identification information in the buy order category judgment management means in association with each other, the unused record In the second case where the usage flag is updated from unused to information indicating used, and the sales category of the order data of the customer order is information indicating sale, the sales order category determination management means The use flag indicating that the block is stored in the block of the selling order storage unit 44 corresponding to the brand identification information of the new selling order data as the order data by updating the management number for the brand of the brand identification information of the order data in the order data. Management of the new selling order data, the order identification number for identifying the selling order, the execution flag indicating unsettled, and the brand identification information of the brand order identification management means in the unused record storing After the number is stored in association with each other, the use flag of the unused record may be updated to information indicating that it is used from unused.

図8のフローチャートに示した約定処理S3において、注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である売注文合計数量(売注文合計額面金額)Uと買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各買注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である買注文合計数量(買注文合計額面金額)Kとの大小関係を判定し、大小関係に応じた第1から第3のケースの約定処理を複数の注文受付時間帯の各々に対応する約定処理時刻に銘柄識別情報毎に行う。なお、注文数量判定部45は、合計数量記憶手段(合計金額記憶手段)と番号記憶手段と約定算出数量記憶手段と演算処理用のメモリを備えているものとする。   In the execution processing S3 shown in the flowchart of FIG. 8, the order quantity determination unit 45 stores each of the brand block records corresponding to the brand identification information in the sales order storage unit 44 in association with the uncommitted execution flag. The total order quantity (total face value) of the order quantity (order face value) in the sell order data is the sell order total quantity (sell order total face value) U and the brand block corresponding to the relevant brand identification information in the purchase order storage unit 24. A purchase order total quantity (buy order total face value) K that is the total quantity (total face value) of the order quantity (order face value) of each purchase order data stored in association with the unfilled execution flag in the record of The contract processing of the first to third cases according to the size relationship is performed for each brand identification information at the contract processing time corresponding to each of the plurality of order reception time zones. The order quantity determination unit 45 includes a total quantity storage unit (total amount storage unit), a number storage unit, a contract calculated quantity storage unit, and a memory for calculation processing.

(1)買注文合計数量K<売注文合計数量U(買注文と売注文のうち全部の買注文が約定する第1のケース)
注文数量判定部45は、売注文用記憶部の銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である売注文合計数量(売注文合計額面金額)Uが買注文合計数量(買注文合計額面金額)Kよりも大きいと判定した場合には、買注文について(1−1)の処理((1−1−1)と(1−1−2)を含む処理)を行い、売注文について(1−2)の処理((1−2−1)と(1−2−2)を含む処理)を行う。
(1) Buy order total quantity K <Sell order total quantity U (first case where all buy orders out of buy orders and sell orders are executed)
The order quantity determination unit 45 sums the order quantities (order face value) of each sale order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sales order storage unit. When it is determined that the sell order total quantity (sell order total face value) U, which is the quantity (total face value), is larger than the buy order total quantity (buy order total face value) K, ) (Processing including (1-1-1) and (1-1-2)) and (1-2) processing ((1-2-1) and (1-2) 2).

(1−1)注文数量判定部45は、買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち一定方向への更新が最も少ない管理番号(一定方向が増大方向である場合は最も小さい管理番号)から最も多い管理番号(一定方向が増大方向である場合は最も大きい管理番号)までの各管理番号に基づき、
(1−1−1)一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合に、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該注文識別情報に買注文用記憶部24で対応付けされた一部約定の買注文データの注文数量を加算し、買注文用記憶部24の銘柄ブロックにおいて一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報(約定識別番号)及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(1−1−2)一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合に、買注文用記憶部24の銘柄ブロックにおいて一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新する。
(1-1) The order quantity determination unit 45 stores the management number of the purchase order data stored in the record of the brand block corresponding to the brand identification information in the buy order storage unit 24 in association with the uncommitted execution flag. Each management from the management number with the smallest update in a certain direction (the smallest management number when the certain direction is an increasing direction) to the largest management number (the largest management number when the certain direction is an increasing direction) Based on the number,
(1-1-1) Transfer processing in which purchase order order identification information associated with a management number with the smallest number of updates in a certain direction is associated with an untransferred transfer flag in association with a brand block of the purchase order storage unit 24 When stored in the DB 59, the purchase of a partial contract associated with the order identification information in the purchase order storage unit 24 with respect to the contract amount stored in the transfer process DB 59 in association with the order identification information. The order quantity of the order data is added, and from the management number that is the update number next to the management number with the smallest update in the fixed direction to the management number with the highest update in the fixed direction in the brand block of the purchase order storage unit 24 Each purchase order data associated with each management number, a contract amount consisting of the order quantity of the purchase order data, the order identification information (contract identification number) of the purchase order, a transfer identification indicating the contract identification number and untransferred Are stored in the transfer processing DB 59 in association with each other, and further, the contracts associated with the management numbers from the management number with the smallest update to the management number with the largest number in the fixed direction in the brand block of the purchase order storage unit 24. Update the flag from unfilled to information indicating closed,
(1-1-2) Transfer processing in which the purchase order order identification information associated with the management number with the smallest update in a certain direction is associated with the untransferred transfer flag in association with the brand block of the purchase order storage unit 24 When not stored in the DB 59, each purchase order data associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the buy order storage unit 24 The contracted amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the update in a certain direction is the least The contract flag associated with each management number from the management number to the largest management number in the brand block of the purchase order storage unit 24 is updated to information indicating unsettled to closed.

(1−2)注文数量判定部45は、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち一定方向への更新が最も少ない管理番号(一定方向が増大方向である場合は最も小さい管理番号)から最も多い管理番号(一定方向が増大方向である場合は最も大きい管理番号)までの各管理番号に基づき、
(1−2−1)一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックに対応付けされた売注文データの注文数量が買注文合計数量Kよりも大きい場合に、
一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックに対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているときに、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該買注文合計数量Kを加算するとともに、当該注文識別情報に売注文用記憶部44で対応付けされた売注文データの注文数量に対して買注文合計数量Kを減算し、
一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていないときに、当該注文識別情報に売注文用記憶部44で対応付けされた売注文データと当該買注文合計数量Kからなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納するとともに、当該注文識別情報に売注文用記憶部44で対応付けされた売注文データの注文数量に対して買注文合計数量Kを減算し、
(1−2−2)一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックに対応付けされた売注文データの注文数量が買注文合計数量K以下である場合に、
一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているときに、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該売注文データの注文数量を加算するとともに、当該注文識別情報に売注文用記憶部44で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていないときに、当該注文識別情報に売注文用記憶部44で対応付けされた売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納するとともに、当該注文識別情報に売注文用記憶部44で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
更新処理後にさらに、当該売注文データの注文数量を合計数量Σmの初期値として記憶する合計数量記憶手段と初期値が1である番号iを記憶する番号記憶手段と約定算出数量yを記憶する約定算出数量記憶手段を用いて、合計数量記憶手段に記憶された合計数量Σmが買注文合計数量Kと等しいか判定する第1の処理と、第1の処理による判定結果が等しくないことを示すものである場合に、買注文合計数量Kから合計数量記憶手段の合計数量Σmを減算した数量(K−Σm)を約定算出数量yとして約定算出数量記憶手段に記憶するとともに番号記憶手段の番号iを1だけ増加させ、次に一定方向への更新がi番目に少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報と売注文データを読み出して当該売注文データの注文数量を合計数量記憶手段の合計数量Σmに加算する第2の処理と、第2の処理による加算後の合計数量Σmが買注文合計数量K以下であるか判定する第3の処理と、第3の処理による判定結果が買注文合計数量K以下であることを示すものである場合に、第2の処理で読み出した当該売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納し、当該注文識別情報に売注文用記憶部44で対応付けされた約定フラグを未約定から約定済を示す情報に更新する第4の処理を、第1の処理による判定結果が等しいことを示すものとなるか第3の処理による判定結果が買注文合計数量Kよりも大きいことを示すものとなるまで繰り返して行い、第3の処理による判定結果が買注文合計数量Kよりも大きいことを示すものとなった場合に、第2の処理で読み出した当該売注文データと約定算出数量記憶手段に記憶されている約定算出数量yからなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納し、当該注文識別情報に売注文用記憶部44で対応付けされた売注文データの注文数量に対して当該約定算出数量yを減算する。なお、上記銘柄識別情報に対応する買注文用記憶部24のブロックにおいて買注文の注文識別番号に対応付けて注文数量(注文額面金額)を初期値とする注文残数量(注文残額面金額)をレコードに格納する構成とし、また、上記銘柄識別情報に対応する売注文用記憶部44のブロックにおいて売注文の注文識別番号に対応付けて注文数量(注文額面金額)を初期値とする注文残数量(注文残額面金額)をレコードに格納する構成とする場合は、注文が一部約定のときには当該注文の注文残数量(注文残額面金額)に対して一部約定の約定数量(約定額面金額)を減算するようにしてもよい。
(1-2) The order quantity determination unit 45 stores the management number of the sales order data stored in the record of the brand block corresponding to the brand identification information in the sales order storage unit 44 in association with the unfilled execution flag. Each management from the management number with the smallest update in a certain direction (the smallest management number when the certain direction is an increasing direction) to the largest management number (the largest management number when the certain direction is an increasing direction) Based on the number,
(1-2-1) When the order quantity of the sell order data associated with the brand block of the sell order storage unit 44 with the management number with the smallest update in a certain direction is larger than the total purchase order quantity K,
When the order identification information of the selling order associated with the management number with the smallest update in a certain direction and associated with the brand block of the selling order storage unit 44 is stored in the transfer processing DB 59 in association with the untransferred transfer flag. In addition, the purchase order total quantity K is added to the contracted amount stored in the transfer process DB 59 in association with the order identification information, and the sales order associated with the order identification information in the selling order storage unit 44 is added. Subtract the total purchase order quantity K from the order quantity in the order data,
When the order identification information of the selling order associated with the management number with the smallest update in a certain direction in the brand block of the selling order storage unit 44 is not stored in the transfer processing DB 59 in association with the untransferred transfer flag In addition, transfer order data associated with the order identification information in the selling order storage unit 44, a contract amount consisting of the total purchase order quantity K, order identification information of the sell order, contract identification number, and transfer indicating untransferred The flag is stored in the transfer process DB 59, and the total purchase order quantity K is subtracted from the order quantity of the sales order data associated with the order identification information in the sales order storage unit 44,
(1-2-2) When the order quantity of the sell order data associated with the brand block of the sell order storage unit 44 with the management number with the smallest update in a certain direction is equal to or less than the total purchase order quantity K,
When the order identification information of the selling order associated with the management number with the smallest update in a certain direction in the brand block of the selling order storage unit 44 is stored in the transfer processing DB 59 in association with the untransferred transfer flag. In addition, the order quantity of the sales order data is added to the approximate constant amount stored in the transfer process DB 59 in association with the order identification information, and the sales order storage unit 44 associates the order quantity with the order identification information. Update processing to update the contract flag from uncommitted to information indicating contracted,
When the order identification information of the selling order associated with the management number with the smallest update in a certain direction in the brand block of the selling order storage unit 44 is not stored in the transfer processing DB 59 in association with the untransferred transfer flag Further, the sales order data associated with the order identification information in the sales order storage unit 44, the contract amount consisting of the order quantity of the sales order data, the order identification information of the sales order, the contract identification number, and untransferred are shown. The transfer flag is stored in the transfer processing DB 59, and an update process is performed for updating the contract flag associated with the order identification information in the sales order storage unit 44 from uncommitted to information indicating the contracted condition,
After the update process, the total quantity storage means for storing the order quantity of the sales order data as the initial value of the total quantity Σm, the number storage means for storing the number i whose initial value is 1, and the contract for storing the contract calculated quantity y Using the calculated quantity storage means, the first process for determining whether the total quantity Σm stored in the total quantity storage means is equal to the purchase order total quantity K, and indicating that the determination result by the first process is not equal In this case, the quantity (K−Σm) obtained by subtracting the total quantity Σm of the total quantity storage means from the total purchase order quantity K is stored in the execution calculation quantity storage means as the execution calculation quantity y and the number i of the number storage means is stored. 1 is incremented, and then the order identification information and sell order data of the sell order corresponding to the management number with the i-th smallest update in the fixed direction are read in the brand block of the sell order storage unit 44 A second process for adding the order quantity of the sell order data to the total quantity Σm of the total quantity storage means, and a third process for determining whether the total quantity Σm after the addition by the second process is equal to or less than the total purchase order quantity K And the determination result of the third process indicates that the purchase order total quantity K is less than or equal to the buy order total quantity K, the sell order data read in the second process and the order quantity of the sell order data. The contract amount, the order identification information of the sales order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59, and the contract flag associated with the order identification information in the sales order storage unit 44 is uncommitted. In the fourth process for updating the information indicating that the contract has been closed, the determination result by the first process indicates that the determination result is equal, or the determination result by the third process indicates that the purchase order total quantity K is greater Become a thing When the determination result by the third process indicates that the total purchase order quantity K is larger than the buy order total quantity K, the sell order data read in the second process and the contract calculated quantity storage means are stored. The contracted amount consisting of the contracted calculated quantity y, the order identification information of the selling order, the contract identification number and the transfer flag indicating untransferred are stored in the transfer processing DB 59, and the selling order storage unit 44 stores the order identification information in the order identification information. The contract calculated quantity y is subtracted from the order quantity of the associated sell order data. In addition, in the block of the purchase order storage unit 24 corresponding to the brand identification information, an order remaining quantity (order balance value) having an initial value of the order quantity (order value face value) is associated with the order identification number of the purchase order. In the block stored in the sales order storage unit 44 corresponding to the brand identification information, the remaining order quantity with the order quantity (order face value) as an initial value associated with the order identification number of the sales order is stored in the record. In the case of a configuration in which (order balance value) is stored in a record, when the order is partially filled, the contract amount (filled face value) partially filled with the order remaining quantity (order balance value) of the order May be subtracted.

(2)買注文合計数量K=売注文合計数量U(買注文と売注文のうち全部の買注文と売注文が約定する第2のケース)
注文数量判定部45は、売注文用記憶部の銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である売注文合計数量(売注文合計額面金額)Uが買注文合計数量(買注文合計額面金額)Kと等しいと判定した場合には、買注文について(2−1)の処理((2−1−1)と(2−1−2)を含む処理)を行い、売注文について(2−2)の処理((2−2−1)と(2−2−2)を含む処理)を行う。
(2) Buy order total quantity K = Sell order total quantity U (second case where all buy orders and sell orders out of buy orders and sell orders are executed)
The order quantity determination unit 45 sums the order quantities (order face value) of each sale order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sales order storage unit. When it is determined that the sell order total quantity (sell order total face value) U, which is the quantity (total face value), is equal to the buy order total quantity (buy order total face value) K, (2-1) (Process including (2-1-1) and (2-1-2)) is performed, and the process of (2-2) ((2-2-1) and (2-2-2) is performed for the sales order. )).

(2−1)注文数量判定部45は、買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち一定方向への更新が最も少ない管理番号(一定方向が増大方向である場合は最も小さい管理番号)から最も多い管理番号(一定方向が増大方向である場合は最も大きい管理番号)までの各管理番号に基づき、
(2−1−1)一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合に、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該注文識別情報に買注文用記憶部24で対応付けされた一部約定の買注文データの注文数量を加算し、買注文用記憶部24の銘柄ブロックにおいて一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−1−2)一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合に、買注文用記憶部24の銘柄ブロックにおいて一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新する。
(2-1) The order quantity determination unit 45 stores the management number of the purchase order data stored in the record of the brand block corresponding to the brand identification information in the buy order storage unit 24 in association with the uncommitted execution flag. Each management from the management number with the smallest update in a certain direction (the smallest management number when the certain direction is an increasing direction) to the largest management number (the largest management number when the certain direction is an increasing direction) Based on the number,
(2-1-1) Transfer processing in which purchase order order identification information associated with the management number with the smallest number of updates in a certain direction is associated with the untransferred transfer flag in association with the brand block of the purchase order storage unit 24 When stored in the DB 59, the purchase of a partial contract associated with the order identification information in the purchase order storage unit 24 with respect to the contract amount stored in the transfer process DB 59 in association with the order identification information. The order quantity of the order data is added, and from the management number that is the update number next to the management number with the smallest update in the fixed direction to the management number with the highest update in the fixed direction in the brand block of the purchase order storage unit 24 Corresponding each purchase order data associated with each management number, a contract amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, the contract identification number and a transfer flag indicating untransferred A contract flag stored in the replacement processing DB 59 and associated with each management number from the management number with the smallest update to the highest management number in a certain direction in the brand block of the purchase order storage unit 24 is from uncommitted. Update the information to show the commitment,
(2-1-2) Transfer processing in which purchase order order identification information associated with the management number with the smallest update in a certain direction in the brand block of the purchase order storage unit 24 is associated with an untransferred transfer flag When not stored in the DB 59, each purchase order data associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the buy order storage unit 24 The contract amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the update in a certain direction is the least The contract flag associated with each management number from the management number to the largest management number in the brand block of the purchase order storage unit 24 is updated to information indicating unsettled to closed.

(2−2)注文数量判定部45は、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち一定方向への更新が最も少ない管理番号(一定方向が増大方向である場合は最も小さい管理番号)から最も多い管理番号(一定方向が増大方向である場合は最も大きい管理番号)までの各管理番号に基づき、
(2−2−1)一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合に、当該注文識別情報に対応付けて振替処理DBに格納された約定数量に対して当該注文識別情報に売注文用記憶部44で対応付けされた一部約定の売注文データの注文数量を加算し、売注文用記憶部44の銘柄ブロックにおいて一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−2−2)一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合に、売注文用記憶部44の銘柄ブロックにおいて一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新する。
(2-2) The order quantity determination unit 45 stores the management number of the sell order data stored in the record of the brand block corresponding to the brand identification information in the sell order storage unit 44 in association with the unfilled execution flag. Each management from the management number with the smallest update in a certain direction (the smallest management number when the certain direction is an increasing direction) to the largest management number (the largest management number when the certain direction is an increasing direction) Based on the number,
(2-2-1) Transfer processing in which the order identification information of the selling order associated with the management number with the smallest update in a certain direction in the brand block of the selling order storage unit 44 is associated with the untransferred transfer flag When stored in the DB 59, the sales of a part of the contract that is associated with the order identification information in the selling order storage unit 44 with respect to the contract constant amount stored in the transfer processing DB in association with the order identification information. The order quantity of the order data is added, and from the management number that is the update number next to the management number with the smallest update in a fixed direction to the management number with the highest update in a fixed direction in the brand block of the selling order storage unit 44 Transfer by associating each selling order data associated with each management number, a contract amount consisting of the order quantity of the selling order data, the order identification information of the selling order, the contract identification number, and a transfer flag indicating untransferred Each of the management flags stored in the management DB 59 and associated with each management number from the management number with the smallest number of updates in the fixed direction to the management number with the largest number in the stock block of the selling order storage unit 44 is filled from unfilled to filled. Updated to information indicating
(2-2-2) Transfer processing in which the order identification information of the sell order associated with the management number with the smallest update in a certain direction in the brand block of the sell order storage unit 44 is associated with the untransferred transfer flag If not stored in the DB 59, each selling order data associated with each management number from the smallest management number to the largest management number in a certain direction in the brand block of the selling order storage unit 44 and the corresponding The contract amount consisting of the order quantity of the sell order data, the order identification information of the sell order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the update in a certain direction is the least The contract flag associated with each management number from the management number to the largest management number in the brand block of the sales order storage unit 44 is updated to information indicating unsettled to closed.

(3)買注文合計数量K>売注文合計数量U(買注文と売注文のうち全部の売注文が約定する第3のケース)
注文数量判定部45は、売注文用記憶部の銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である売注文合計数量(売注文合計額面金額)Uが買注文合計数量(買注文合計額面金額)Kよりも小さいと判定した場合には、売注文について(3−1)の処理((3−1−1)と(3−1−2)を含む処理)を行い、買注文について(3−2)の処理((3−2−1)と(3−2−2)を含む処理)を行う。
(3) Buy order total quantity K> Sell order total quantity U (third case in which all sell orders out of buy orders and sell orders are executed)
The order quantity determination unit 45 sums the order quantities (order face value) of each sale order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sales order storage unit. If it is determined that the sell order total quantity (sell order total face value) U, which is the quantity (total face value), is smaller than the buy order total quantity (buy order total face value) K, the sell order (3-1) ) (Processing including (3-1-1) and (3-1-2)) and (3-2) processing ((3-2-1) and (3-2-2) 2).

(3−1)注文数量判定部45は、売注文用記憶部44の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち一定方向への更新が最も少ない管理番号(一定方向が増大方向である場合は最も小さい管理番号)から最も多い管理番号(一定方向が増大方向である場合は最も大きい管理番号)までの各管理番号に基づき、
(3−1−1)一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合に、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該注文識別情報に売注文用記憶部44で対応付けされた(一部約定の)売注文データの注文数量を加算し、売注文用記憶部44の銘柄ブロックにおいて一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3−1−2)一定方向への更新が最も少ない管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合に、売注文用記憶部44の銘柄ブロックにおいて一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを対応付けて振替処理DB59に各々格納し、さらに一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に売注文用記憶部44の銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新する。
(3-1) The order quantity determination unit 45 stores the management number of the sales order data stored in the record of the brand block corresponding to the brand identification information in the sales order storage unit 44 in association with the unfilled execution flag. Each management from the management number with the smallest update in a certain direction (the smallest management number when the certain direction is an increasing direction) to the largest management number (the largest management number when the certain direction is an increasing direction) Based on the number,
(3-1-1) Transfer processing in which the order identification information of the selling order associated with the management number with the smallest update in a certain direction in the brand block of the selling order storage unit 44 is associated with the untransferred transfer flag When stored in the DB 59, the sales order storage unit 44 associates the order identification information with the contract constant amount stored in the transfer process DB 59 in association with the order identification information (partially executed). ) Add the order quantity of the sales order data, and the management number most frequently updated in a certain direction from the management number that is the update number next to the management number with the least number of updates in a certain direction in the brand block of the sales order storage unit 44 Corresponding to each sale order data associated with each management number up to and including the contract quantity consisting of the order quantity of the sell order data, the order identification information of the sell order, the contract identification number and the transfer flag indicating untransferred In addition, the execution flag stored in the transfer processing DB 59 and associated with each management number from the management number with the smallest number of updates in the fixed direction to the management number with the largest number in the stock block of the selling order storage unit 44 is uncommitted. To update the information to indicate the contract,
(3-1-2) Transfer processing in which the order identification information of the selling order associated with the management number with the smallest update in a certain direction in the brand block of the selling order storage unit 44 is associated with the untransferred transfer flag If not stored in the DB 59, each selling order data associated with each management number from the smallest management number to the largest management number in a certain direction in the brand block of the selling order storage unit 44 and the corresponding The contract amount consisting of the order quantity of the sell order data, the order identification information of the sell order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59 in association with each other, and the update in a certain direction is the least The contract flag associated with each management number from the management number to the largest management number in the brand block of the selling order storage unit 44 is updated to information indicating unsettled to closed.

(3−2)注文数量判定部45は、買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち一定方向への更新が最も少ない管理番号(一定方向が増大方向である場合は最も小さい管理番号)から最も多い管理番号(一定方向が増大方向である場合は最も大きい管理番号)までの各管理番号に基づき、
(3−2−1)一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックに対応付けされた買注文データの注文数量が売注文合計数量Uよりも大きい場合に、
一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックに対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているときに、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該売注文合計数量Uを加算するとともに、当該注文識別情報に買注文用記憶部24で対応付けされた買注文データの注文数量に対して売注文合計数量Uを減算し、
一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていないときに、当該注文識別情報に買注文用記憶部24で対応付けされた買注文データと当該売注文合計数量Uからなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納するとともに、当該注文識別情報に買注文用記憶部24で対応付けされた買注文データの注文数量に対して売注文合計数量Uを減算し、
(3−2−2)一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックに対応付けされた買注文データの注文数量が売注文合計数量U以下である場合に、
一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているときに、当該注文識別情報に対応付けて振替処理DB59に格納された約定数量に対して当該買注文データの注文数量を加算するとともに、当該注文識別情報に買注文用記憶部24で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
一定方向への更新が最も少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていないときに、当該注文識別情報に買注文用記憶部24で対応付けされた買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納するとともに、当該注文識別情報に買注文用記憶部24で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
更新処理後にさらに、当該買注文データの注文数量を合計数量Σmの初期値として記憶する合計数量記憶手段と初期値が1である番号iを記憶する番号記憶手段と約定算出数量yを記憶する約定算出数量記憶手段を用いて、合計数量記憶手段に記憶された合計数量Σmが売注文合計数量Uと等しいか判定する第1の処理と、第1の処理による判定結果が等しくないことを示すものである場合に、売注文合計数量Uから合計数量記憶手段の合計数量Σmを減算した数量(U−Σm)を約定算出数量yとして約定算出数量記憶手段に記憶するとともに番号記憶手段の番号iを1だけ増加させ、次に一定方向への更新がi番目に少ない管理番号に買注文用記憶部24の銘柄ブロックで対応付けされた買注文の注文識別情報と買注文データを読み出して当該買注文データの注文数量を合計数量記憶手段の合計数量Σmに加算する第2の処理と、第2の処理による加算後の合計数量Σmが売注文合計数量U以下であるか判定する第3の処理と、第3の処理による判定結果が売注文合計数量K以下であることを示すものである場合に、第2の処理で読み出した当該買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納し、当該注文識別情報に買注文用記憶部24で対応付けされた約定フラグを未約定から約定済を示す情報に更新する第4の処理を、第1の処理による判定結果が等しいことを示すものとなるか第3の処理による判定結果が売注文合計数量Uよりも大きいことを示すものとなるまで繰り返して行い、第3の処理による判定結果が売注文合計数量Uよりも大きいことを示すものとなった場合に、第2の処理で読み出した当該買注文データと約定算出数量記憶手段に記憶されている約定算出数量yからなる約定数量と当該買注文の注文識別情報及び約定識別番号と未振替を示す振替フラグを振替処理DB59に格納し、当該注文識別情報に買注文用記憶部24で対応付けされた買注文データの注文数量に対して当該約定算出数量yを減算する。なお、上記銘柄識別情報に対応する買注文用記憶部24のブロックにおいて買注文の注文識別番号に対応付けて注文数量(注文額面金額)を初期値とする注文残数量(注文残額面金額)をレコードに格納する構成とし、また、上記銘柄識別情報に対応する売注文用記憶部44のブロックにおいて売注文の注文識別番号に対応付けて注文数量(注文額面金額)を初期値とする注文残数量(注文残額面金額)をレコードに格納する構成とする場合は、注文が一部約定のときには当該注文の注文残数量(注文残額面金額)に対して一部約定の約定数量(約定額面金額)を減算するようにしてもよい。
(3-2) The order quantity determination unit 45 stores the management number of the purchase order data stored in the record of the brand block corresponding to the brand identification information in the buy order storage unit 24 in association with the uncommitted execution flag. Each management from the management number with the smallest update in a certain direction (the smallest management number when the certain direction is an increasing direction) to the largest management number (the largest management number when the certain direction is an increasing direction) Based on the number,
(3-2-1) When the order quantity of the purchase order data associated with the brand block of the buy order storage unit 24 with the management number with the smallest update in a certain direction is larger than the total sales order quantity U,
When the purchase order order identification information associated with the brand number in the purchase order storage unit 24 with the management number with the smallest update in a certain direction is stored in the transfer processing DB 59 in association with the untransferred transfer flag. In addition, the selling order total quantity U is added to the contracted amount stored in the transfer process DB 59 in association with the order identification information, and the purchase order associated with the order identification information in the purchase order storage unit 24 is added. Subtract the total sales order quantity U from the order quantity in the order data,
When the order identification information of the purchase order associated with the management number with the smallest update in a certain direction in the brand block of the purchase order storage unit 24 is not stored in the transfer processing DB 59 in association with the untransferred transfer flag In addition, transfer order data associated with the order identification information in the storage unit 24 for purchase orders, a contract amount consisting of the total amount U of the sell orders, order identification information of the purchase orders, transfer identification number, and transfer indicating untransferred The flag is stored in the transfer process DB 59, and the total sales order quantity U is subtracted from the order quantity of the purchase order data associated with the order identification information in the purchase order storage unit 24,
(3-2-2) When the order quantity of the purchase order data associated with the brand block of the buy order storage unit 24 with the management number with the smallest update in a certain direction is equal to or less than the total order quantity U,
When the order identification information of the purchase order associated with the management number with the smallest update in a certain direction in the brand block of the purchase order storage unit 24 is stored in the transfer processing DB 59 in association with the untransferred transfer flag. In addition, the order quantity of the purchase order data is added to the approximate constant amount stored in the transfer process DB 59 in association with the order identification information, and the purchase order storage unit 24 associates the order quantity with the order identification information. Update processing to update the contract flag from uncommitted to information indicating contracted,
When the order identification information of the purchase order associated with the management number with the smallest update in a certain direction in the brand block of the purchase order storage unit 24 is not stored in the transfer processing DB 59 in association with the untransferred transfer flag In addition, the purchase order data associated with the order identification information in the purchase order storage unit 24, the contract amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, the contract identification number, and untransferred are shown. The transfer flag is stored in the transfer processing DB 59, and an update process is performed to update the contract flag associated with the order identification information in the purchase order storage unit 24 from uncommitted to information indicating the contracted condition,
After the update process, the total quantity storage means for storing the order quantity of the purchase order data as the initial value of the total quantity Σm, the number storage means for storing the number i whose initial value is 1, and the contract for storing the contract calculated quantity y Using the calculated quantity storage means, the first process for determining whether the total quantity Σm stored in the total quantity storage means is equal to the sell order total quantity U and the determination result by the first process are not equal In this case, the quantity (U−Σm) obtained by subtracting the total quantity Σm of the total quantity storage means from the total sales order quantity U is stored in the contract calculation quantity storage means as the execution calculation quantity y and the number i of the number storage means is stored. The order identification information and the purchase order data of the purchase order associated with the management block that is incremented by 1 and then updated in a certain direction in the brand block of the purchase order storage unit 24 to the i-th smallest management number A second process of adding the order quantity of the purchase order data to the total quantity Σm of the total quantity storage means, and a third process for determining whether the total quantity Σm after the addition by the second process is less than or equal to the sell order total quantity U And the determination result of the third process indicates that the total order quantity of the sales order is less than or equal to K, the purchase order data read in the second process and the order quantity of the purchase order data. The contract constant amount, the order identification information of the purchase order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59, and the contract flag associated with the order identification information in the purchase order storage unit 24 is uncommitted. The fourth process to update the information indicating that the contract has been closed is to indicate that the determination result by the first process is equal, or the determination result by the third process is greater than the total sales order quantity U Become a thing When the determination result in the third process indicates that the total order quantity U is larger than the sell order total quantity U, the purchase order data read in the second process and the contract calculated quantity storage means are stored. The contracted amount consisting of the contracted calculated quantity y, the order identification information of the purchase order, the contract identification number, and the transfer flag indicating untransferred are stored in the transfer processing DB 59, and the purchase order storage unit 24 stores the order identification information in the order identification information. The contract calculation quantity y is subtracted from the order quantity of the associated purchase order data. In addition, in the block of the purchase order storage unit 24 corresponding to the brand identification information, an order remaining quantity (order balance value) having an initial value of the order quantity (order value face value) is associated with the order identification number of the purchase order. In the block stored in the sales order storage unit 44 corresponding to the brand identification information, the remaining order quantity with the order quantity (order face value) as an initial value associated with the order identification number of the sales order is stored in the record. In the case of a configuration in which (order balance value) is stored in a record, when the order is partially filled, the contract amount (filled face value) partially filled with the order remaining quantity (order balance value) of the order May be subtracted.

図8のフローチャートに示した振替処理S4において、振替処理部26は、未振替を示す振替フラグに対応付けて振替処理DB59に格納された約定識別番号、約定額面金額、及び注文データをレコード毎に読み出す。そして、読み出した当該レコードの約定識別番号、約定額面金額、及び注文データに基づき、当該注文データに含まれる顧客識別情報に対応付けされた注文顧客の口座番号を顧客DB52から読み出し、当該注文データが売買区分が買いを示す情報である買注文データである第1の場合に、注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該買注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として加算するとともに当該買注文顧客の資金残高に対して約定額面金額に国債DB53で上記銘柄識別情報に対応付けされた当該銘柄の直前の利払日からの経過日数及び振替日現在の適用利率に応じた経過利子相当額が加えられた買注文側の注文代金相当額(=約定額面金額+経過利子相当額)を買注文側の振替金額として減額し、当該注文データが売買区分が買いを示す情報である売注文データである第2の場合に、注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該売注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として減算するとともに当該売注文顧客の資金残高に対して当該約定額面金額に国債DB53で上記銘柄識別情報に対応付けされた当該銘柄の直前の利払日からの経過日数及び振替日現在の適用利率に応じた経過利子相当額が加えられ、所定の振替手数料が減じられた売注文側の注文代金相当額(=約定額面金額+経過利子相当額−振替手数料)を売注文側の振替金額として増額する振替処理と、注文代金相当額と当該振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報を当該約定識別番号に対応する振替処理DB59のレコード(すなわち当該約定識別番号が格納されているレコード)に格納するとともに当該約定識別番号に対応付けて振替処理DB59のレコードに格納された振替フラグを未振替から振替済みを示す情報に更新する振替フラグ更新処理を行い、例えば振替処理部26が読み出した振替処理DB59のレコード毎に行うようにしてもよい。なお、買注文側の注文代金相当額として約定額面金額を用いてこの金額を買注文側の振替金額とするとともに、売注文側の注文代金相当額として(約定額面金額−振替手数料)を用いてこの金額を売注文側の振替金額とする構成としてもよく、買注文側の注文代金相当額として(約定額面金額+振替手数料)を用いてこの金額を買注文側の振替金額とするとともに、売注文側の注文代金相当額として(約定額面金額−振替手数料)を用いてこの金額を売注文側の振替金額とする構成としてもよい。   In the transfer process S4 shown in the flowchart of FIG. 8, the transfer processing unit 26 stores the contract identification number, contract face amount, and order data stored in the transfer process DB 59 in association with the transfer flag indicating non-transfer for each record. read out. Then, based on the read contract identification number, contract face amount, and order data of the record, the order customer account number associated with the customer identification information included in the order data is read from the customer DB 52, and the order data is In the first case where the trading category is buy order data which is information indicating buying, the brand identification information included in the buy order data stored in the customer account DB 58 in association with the account number of the order customer is stored. The contract face amount is added as the transfer face amount to the interest-bearing national treasury bond balance, and the contract face amount for the purchase order customer's fund balance is added to the stock identification information associated with the stock identification information in the government bond DB 53. Equivalent amount of purchase order (== order price on the purchase order side plus the accrued interest equivalent according to the applicable interest rate as of the transfer date and the date of payment immediately before (= If the order data is the sales order data in which the purchase / sale classification is information indicating purchase, the account number of the ordering customer is reduced. The contract face amount is subtracted as the transfer face amount from the individual interest-bearing national treasury bond balance of the issue identification information included in the sale order data stored in the customer account DB 58 in association with the sale order customer. For the balance of funds, the amount equivalent to the accrued interest corresponding to the applicable interest rate as of the transfer date and the number of days elapsed since the interest payment date immediately preceding the issue, which is associated with the issue identification information in the JGB DB 53, is added to the contract face value. A transfer process in which the amount equivalent to the order price on the sales order side (= contracted face amount + accrued interest equivalent amount-transfer fee) with the predetermined transfer fee reduced is increased as the transfer amount on the sales order side; A record in the transfer process DB 59 corresponding to the contract identification number (that is, the contract identification number is stored), the order price equivalent, a transfer process identification number for identifying the transfer process, and date information indicating the transfer date on which the transfer process has been performed. A transfer flag update process for updating the transfer flag stored in the record of the transfer process DB 59 in association with the contract identification number from the untransferred to the information indicating that the transfer has been performed, for example, the transfer process You may make it perform for every record of transfer process DB59 which the part 26 read. In addition, using the contract face amount as the order price equivalent for the purchase order, this amount is used as the transfer amount for the purchase order, and the order price equivalent for the sell order is used (the contract face amount minus the transfer fee). This amount may be used as the transfer amount on the sell order side, and this amount is used as the transfer amount on the purchase order side by using (the contract face amount + transfer fee) as the order price equivalent to the purchase order side. A configuration may be adopted in which this amount is used as the transfer amount on the selling order side by using (the contract face amount-transfer fee) as the order price equivalent on the order side.

図16は、図8のフローチャートに示した振替処理S4の一例を説明するためのフローチャートである。振替処理部26は、未振替を示す振替フラグに対応付けされた各約定識別番号を振替処理DB59から読み出し(S402)、例えば第2の約定処理時刻後の予め決められた第1の時刻に読み出すようにしてもよく、一例として約定処理日翌日の午前中の夜間(例えば未明)に読み出すようにしてもよい。次に、振替処理部26は、S402で読み出した約定識別番号から一の約定識別番号を選択し(S404)、例えばS402で読み出した約定識別番号について番号の小さい順に1つずつ選択するようにしてもよい。そして振替処理部26は、S404で選択した一の約定識別番号に対応付けて振替処理DB59に格納された約定額面金額、及び注文データを読み出し(S406)、これにより、約定額面金額、及び注文データを含む振替処理データをレコード毎に読み出す。次に、振替処理部26は、読み出した当該レコードの約定識別番号、約定額面金額、及び注文データに基づき、当該注文データに含まれる顧客識別情報に対応付けされた注文顧客の口座番号を顧客DB52から読み出し、当該注文データが売買区分が買いを示す情報である買注文データである第1の場合に注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該買注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として加算するとともに当該買注文顧客の資金残高に対して買注文側の注文代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、当該注文データが売買区分が売りを示す情報である売注文データである第2の場合に売注文顧客の口座番号に対応付けて顧客口座DB58に格納されている当該売注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として減算するとともに当該売注文顧客の資金残高に対して売注文側の注文代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行う(S408)。そして振替処理部26は、注文代金相当額と当該振替処理を識別するための振替処理識別番号(振替処理ID)と当該振替処理をした振替日を示す日付情報と経過利子相当額と振替手数料と中途換金調整額を当該約定識別番号に対応する振替処理DB59のレコードに格納するとともに当該約定識別番号に対応する振替処理DB59のレコードに格納された振替フラグを未振替から振替済みを示す情報に更新する振替フラグ更新処理を行う(S410,S412)。次に、振替処理部26は、S402で読み出した未振替を示す振替フラグに対応付けされた各約定識別番号についてS404で選択されたか否か判定し(S414)、選択されていないものがある場合はS404に戻り(S414:NO)、全て選択された場合は振替処理を終了する(S414:YES)。   FIG. 16 is a flowchart for explaining an example of the transfer process S4 shown in the flowchart of FIG. The transfer processing unit 26 reads each contract identification number associated with the transfer flag indicating untransferred from the transfer processing DB 59 (S402), for example, at a first predetermined time after the second contract processing time. For example, the data may be read out at night (for example, at dawn) in the morning on the day after the contract processing date. Next, the transfer processing unit 26 selects one contract identification number from the contract identification numbers read out in S402 (S404), for example, selects the contract identification numbers read out in S402 one by one in ascending order. Also good. Then, the transfer processing unit 26 reads the contract par amount and the order data stored in the transfer processing DB 59 in association with the one contract identification number selected in S404 (S406), whereby the contract par amount and order data are read. Transfer processing data including is read for each record. Next, the transfer processing unit 26 sets the account number of the order customer associated with the customer identification information included in the order data based on the read contract identification number, contract face value, and order data of the record. And the order data is included in the purchase order data stored in the customer account DB 58 in association with the account number of the ordering customer in the first case where the order data is purchase order data in which the trade classification indicates purchase. The contract face amount is added as the transfer face amount to the individual interest-bearing national treasury bond balance of the issue of the issue identification information, and the purchase order side equivalent to the purchase order side is added to the purchase order customer's funds balance. Transfer processing for a purchase order that is reduced as the transfer amount, and in the second case, the order data is sell order data in which the trade classification is information indicating sell. And subtracting the contract par amount as the transfer par amount from the individual interest-bearing national treasury bond balance of the brand of the brand identification information included in the sell order data stored in the customer account DB 58 in association with the account number of Transfer processing for a sales order is performed to increase the amount equivalent to the order price on the sales order side as a transfer amount on the sales order side with respect to the funds balance of the sales order customer (S408). Then, the transfer processing unit 26 includes an order price equivalent amount, a transfer process identification number (transfer process ID) for identifying the transfer process, date information indicating a transfer date on which the transfer process is performed, an accrued interest equivalent amount, a transfer fee, The half-way cash adjustment amount is stored in the record of the transfer process DB 59 corresponding to the contract identification number, and the transfer flag stored in the record of the transfer process DB 59 corresponding to the contract identification number is updated from untransferred to information indicating that the transfer has been completed. The transfer flag update process is performed (S410, S412). Next, the transfer processing unit 26 determines whether or not each contract identification number associated with the transfer flag indicating untransferred read in S402 has been selected in S404 (S414), and there is an unselected one. Returns to S404 (S414: NO), and when all are selected, the transfer process ends (S414: YES).

図8のフローチャートに示した振替報告書発行処理S6において、振替報告書発行部51は、未生成を示す生成フラグに対応付けて振替処理DB59に格納されている注文データ、約定額面金額、注文代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、注文代金相当額である振替金額、及び振替日の日付情報を含む当該売買区分に応じた振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該顧客のメールアドレスの端末装置10に送信する振替報告書送信処理と、当該振替処理識別番号に対応する振替処理DB59のレコードに格納された生成フラグを未生成から生成済みを示す情報に更新する生成フラグ更新処理を、振替報告書発行部51が読み出した振替処理DB59のレコード毎に行う。   In the transfer report issuance process S6 shown in the flowchart of FIG. 8, the transfer report issuance unit 51 associates order data, contracted face value, and order price stored in the transfer process DB 59 in association with a generation flag indicating that it has not been generated. Equivalent amount, transfer process identification number and transfer date date information are read for each record, brand identification information and trading classification included in the order data, transfer face amount that is the contract face amount, transfer amount that is equivalent to the order price, And electronic document data of a transfer report corresponding to the trading category including date information of the transfer date, and the email address of the customer stored in the customer DB 52 in association with the customer identification information included in the order data Transfer report transmission process to be transmitted to the terminal device 10 and a generation flag stored in the record of the transfer process DB 59 corresponding to the transfer process identification number The generation flag updating process of updating the information indicating the generated from not created, performed for each record of the transfer process DB59 the transfer report issuing unit 51 read out.

振替報告書発行部51は、一例として、未生成を示す生成フラグに対応付けて振替処理DB59に格納されている注文データ、約定額面金額、注文代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、注文代金相当額である振替金額、振替処理識別番号及び振替日の日付情報を含む当該売買区分に応じた振替報告書の電子書面データを生成し、当該注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該買注文顧客のメールアドレスと当該振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と未通知を示す通知フラグとを対応付けて振替報告書DB60に格納し、当該振替処理識別番号に対応付けされた振替処理DB59のレコードの生成フラグを未生成から生成済みを示す情報に更新する処理を、読み出した振替処理DB59のレコード毎に行う電子書面生成手段と、未通知を示す通知フラグに対応付けて振替報告書DB60に格納された顧客のメールアドレスと当該顧客用の振替報告書の電子書面データと当該電子書面データの電子書面識別番号を読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信し、当該電子書面データの電子書面識別番号に対応付けされた振替報告書DB60の通知フラグを未通知から通知済みを示す情報に更新する通知手段とを備える構成としてもよい。   For example, the transfer report issuing unit 51, as an example, orders data stored in the transfer process DB 59 in association with a generation flag indicating non-generated, contract amount, order price equivalent, transfer process identification number, and transfer date Information is read for each record, and includes brand identification information and trading category included in the order data, transfer face value as contract face value, transfer amount as order price equivalent, transfer process identification number and date information The electronic document data of the transfer report corresponding to the trading category is generated, the email address of the purchase order customer stored in the customer DB 52 in association with the customer identification information included in the order data and the electronic of the transfer report The transfer report DB 6 in which the document data, the electronic document identification number for identifying the electronic document data of the transfer report and the notification flag indicating unnotified are associated with each other. The electronic document generation is performed for each read record of the transfer process DB 59, in which the generation flag of the record of the transfer process DB 59 associated with the transfer process identification number is updated to information indicating that it has been generated. Means, the customer's e-mail address stored in the transfer report DB 60 in association with the notification flag indicating non-notification, the electronic document data of the transfer report for the customer, and the electronic document identification number of the electronic document data The electronic document data of the transfer report for the customer is transmitted to the mail address of the customer, and the notification flag of the transfer report DB 60 associated with the electronic document identification number of the electronic document data is indicated from unnotified to notified It is good also as a structure provided with the notification means updated to information.

図17は、図8のフローチャートに示した振替報告書発行処理S6の一例を説明するためのフローチャートである。振替報告書発行部51は、未生成を示す生成フラグに対応付けされた各振替処理識別番号を振替処理DB59から読み出し(S602)、例えば第2の約定処理時刻後の予め決められた第2の時刻であって上記の第1の時刻よりも遅い時刻に読み出すようにしてもよく、一例として約定処理日翌日の午前中の夜間の時間帯(例えば未明)であって上記第1の一定時刻よりも遅い時刻としてもよく、一例として毎日早朝に読み出すようにしてもよい。次に、振替報告書発行部51は、S602で読み出した振替処理識別番号から一の振替処理識別番号を選択し(S604)、例えばS602で読み出した振替処理識別番号について番号の小さい順に1つずつ選択するようにしてもよい。そして振替報告書発行部51は、S604で選択した一の振替処理識別番号に対応付けて振替処理DB59に格納された注文データ、約定額面金額、注文代金相当額、及び振替日の日付情報等を読み出し(S606)、これにより、注文データ、約定額面金額、注文代金相当額、振替処理識別番号及び振替日の日付情報等を含む振替処理データをレコード毎に読み出す。次に、振替報告書発行部51は、読み出した当該レコードの当該注文データが売買区分が買いを示す情報である買注文データである第1の場合に、読み出した当該レコードの当該買注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、買注文側の注文代金相当額である買注文側の振替金額、振替処理識別番号、及び振替日の日付情報等を含む買注文顧客用の振替報告書の電子書面データを生成し、一方、読み出した当該レコードの当該注文データが売買区分が売りを示す情報である売注文データである第2の場合に、読み出した当該レコードの当該売注文データに含まれる銘柄識別情報及び売買区分、約定額面金額である振替額面金額、売注文側の注文代金相当額である売注文側の振替金額、振替処理識別番号、及び振替日の日付情報等を含む売注文顧客用の振替報告書の電子書面データを生成する。そして、当該注文顧客用の振替報告書の電子書面データを当該注文データに含まれる顧客識別情報に対応付けて顧客DB52に格納された当該顧客のメールアドレスと未通知を示す通知フラグと当該振替報告書の電子書面データを識別するための電子書面識別番号に対応付けて振替報告書DB60に格納し(S608)、当該振替処理識別番号に対応する振替処理DB59のレコードに格納された生成フラグを未生成から生成済みを示す情報に更新する。次に、振替報告書発行部51は、S602で読み出した未生成を示す生成フラグに対応付けされた各振替処理識別番号についてS604で選択されたか否か判定し(S612)、選択されていないものがある場合はS604に戻り(S612:NO)、全て選択された場合は(S612:YES)、未通知を示す通知フラグに対応付けて振替報告書DB60のレコードに格納された顧客のメールアドレス及び当該顧客用の振替報告書の電子書面データを読み出して当該メールアドレスの顧客の端末装置10に当該顧客用の振替報告書の電子書面データを送信する(S614)。   FIG. 17 is a flowchart for explaining an example of the transfer report issuance process S6 shown in the flowchart of FIG. The transfer report issuing unit 51 reads each transfer process identification number associated with the generation flag indicating non-generated from the transfer process DB 59 (S602), for example, a second predetermined time after the second contract processing time. It may be read at a time later than the first time, and as an example, it is a night time zone in the morning on the day after the execution date of the contract (for example, early morning) and from the first fixed time. It may be a later time, for example, it may be read out early in the morning every day. Next, the transfer report issuing unit 51 selects one transfer process identification number from the transfer process identification numbers read in S602 (S604), for example, one by one in ascending order of the transfer process identification numbers read in S602. You may make it select. Then, the transfer report issuing unit 51 displays the order data, contract face amount, order price equivalent, date information of the transfer date, etc. stored in the transfer process DB 59 in association with the one transfer process identification number selected in S604. Read (S606), thereby reading transfer process data including order data, contract face value, order price equivalent, transfer process identification number, transfer date date information, etc. for each record. Next, in the first case where the order data of the read record is the purchase order data in which the buying / selling classification is information indicating purchase, the transfer report issuing unit 51 adds the purchase order data of the record to the read order data. Purchases including stock identification information and trading categories included, transfer face value that is the contract face value, purchase order transfer amount that is equivalent to the purchase order side, transfer process identification number, and transfer date date information, etc. The electronic document data of the transfer report for the order customer is generated. On the other hand, when the order data of the read record is the sales order data in which the trade classification indicates sale, the read record Identification information and trading classification included in the selling order data, transfer face value that is the contracted face value, selling order transfer amount that is equivalent to the order price on the selling order, transfer process identification number , And sale, including the date information of the transfer date, etc. to generate an electronic document data of the transfer report for the customer order. The electronic document data of the transfer report for the order customer is associated with the customer identification information included in the order data and the customer's mail address stored in the customer DB 52, a notification flag indicating unnotified, and the transfer report Stored in the transfer report DB 60 in association with the electronic document identification number for identifying the electronic document data of the document (S608), and the generation flag stored in the record of the transfer process DB 59 corresponding to the transfer process identification number is not stored. Update from generation to information indicating generation completion. Next, the transfer report issuing unit 51 determines whether or not each transfer process identification number associated with the generation flag indicating non-generated read in S602 has been selected in S604 (S612), and has not been selected. If there is, the process returns to S604 (S612: NO), if all are selected (S612: YES), the customer's mail address stored in the record of the transfer report DB 60 in association with the notification flag indicating unnotified, and The electronic document data of the transfer report for the customer is read out, and the electronic document data of the transfer report for the customer is transmitted to the customer terminal device 10 of the mail address (S614).

図18は、図17のフローチャートのS608で生成される買注文顧客用の振替報告書の電子書面データの表示例を示す説明図である。
図18の振替報告書の「有価証券の入出庫について」の表示欄において、第1項の有価証券の欄に「個人向け利付国庫債券」が表示されており、第2項の銘柄の欄に表示された「第1回債(変動10年)」は図17のS606で読み出した振替処理データに含まれる買注文データの銘柄識別情報に基づくものであり、第3項の入出庫の欄に表示された「入庫」は買注文データの売買区分の「買い」を示す情報に基づくものであり、第4項の振替額面金額の欄に表示された「100,000円」は振替処理データに含まれる約定額面金額に基づくものである。なお、第1項の有価証券の欄については個人向け利付国庫債券の銘柄(銘柄識別情報)「第何回債(変動10年)」と有価証券の分類名「個人向け利付国庫債券」とを対応付けて有価証券分類記憶手段に記憶しておき、銘柄識別情報に基づいて有価証券分類記憶手段から分類名「個人向け利付国庫債券」を取得して第1項の有価証券の欄に表示するようにしてもよい。
また、「入出金について」の表示欄において、第1項の入出金の欄に表示された「出金」は買注文データの売買区分の「買い」を示す情報に基づくものであり、第2項の振替金額の欄に表示された「100,275円」は振替処理データに含まれる買注文側の注文代金相当額に基づくものである。この例において振替金額に経過利子相当額を含めない場合は、振替金額は振替額面金額と同じ「100,000円」となる。
FIG. 18 is an explanatory diagram showing a display example of electronic document data of a transfer report for a purchase order customer generated in S608 of the flowchart of FIG.
In the transfer column of “Transfer of securities” in FIG. 18, “Individual interest-bearing national treasury bonds” is displayed in the “Securities” column of the first paragraph, and in the “Stock” column of the second section. The displayed “first bond (fluctuation 10 years)” is based on the brand identification information of the purchase order data included in the transfer processing data read out in S606 of FIG. The displayed “goods receipt” is based on information indicating “buy” in the buying / selling classification of the purchase order data, and “100,000 yen” displayed in the transfer face amount column of the fourth item is included in the transfer processing data. Based on the included par value. In addition, in the column of securities in paragraph 1, the individual interest-bearing national treasury bonds (stock identification information) “How many bonds (variable 10 years)” and the securities classification name “individual interest-bearing national treasury bonds” The category name “individual interest-bearing national treasury bond” is acquired from the securities classification storage unit based on the brand identification information, and displayed in the securities column of the first item. You may do it.
In addition, in the display column of “About deposits / withdrawals”, “withdrawal” displayed in the deposit / withdrawal column of the first item is based on information indicating “buy” in the buying / selling classification of the purchase order data. “100,275 yen” displayed in the transfer amount field of the item is based on the purchase order equivalent amount included in the transfer processing data. In this example, when the amount of accrued interest is not included in the transfer amount, the transfer amount is “100,000 yen”, which is the same as the transfer face amount.

さらに、振替識別番号の項に表示された「001」はS604で選択された振替処理識別番号に基づくものであり、振替日の項に表示された「平成18年12月8日」は振替処理データに含まれる振替日の日付情報に基づくものである。「(ご参考)」の表示欄において、額面金額の項に表示された「100,000円」は振替処理データに含まれる約定額面金額に基づくものであり、経過利子相当額の項に表示された「275円」は振替処理データに含まれる経過利子相当額に基づくものであり、中途換金調整額の項に表示された「△660円」は振替処理データに含まれる中途換金調整額に基づくものであり、日銀買取金額の項に表示された「99,615円」は約定額面金額である振替額面金額と経過利子相当額と中途換金調整額から計算されたものである。
経過利子相当額275円については、例えば平成18年12月7日を注文受付日として当日に約定し、約定日翌日受渡しとした場合、前利払日である平成18年9月10日から受渡日である約定日翌日の平成18年12月8日までの経過日数が89日であり、第1回債の平成18年12月8日現在の適用利率が1.13%であることから、約定額面金額100,000円×経過日数89日/365×適用利率1.13/100=275円として計算することができる。なお、振替手数料の上限は約定額面金額×定数とし、定数の一例として0.1%を用いた場合、約定額面金額100,000円×定数0.1/100=100円となり、この振替手数料は経過利子相当額275円よりも小さいので振替手数料を100円として求めることができる。また、中途換金調整額は、第1回債(変動10年)についての国債DB53の前回の適用利率0.75%及び前々回の適用利率0.57%を用いて、約定額面金額100,000円×前2回分の適用利率(0.75+0.57)/100×1/2=660円として計算することができ、日銀買取金額は、約定額面金額100,000円+経過利子相当額275円−中途換金調整額660円=99,615円として計算することができる。なお、振替報告書において「(ご参考)」の欄をなくしてもよい。
Furthermore, “001” displayed in the transfer identification number field is based on the transfer process identification number selected in S604, and “December 8, 2006” displayed in the transfer date field is the transfer process. This is based on the date information of the transfer date included in the data. In the “(Reference)” display column, “100,000 yen” displayed in the face value section is based on the contract face amount included in the transfer processing data and is displayed in the accrued interest equivalent section. “275 yen” is based on the accrued interest amount included in the transfer processing data, and “△ 660 yen” displayed in the “Interim cash adjustment amount” item is based on the intermediate cash adjustment amount included in the transfer processing data. The “99,615 yen” displayed in the “Board purchase amount” section is calculated from the transfer face amount, contracted face amount, accrued interest equivalent amount, and mid-term redemption adjustment amount.
Accrued interest equivalent of 275 yen will be delivered from September 10, 2006, which is the previous interest payment date, if, for example, December 7, 2006 is executed on the same day as the order acceptance date, Since the number of days elapsed until December 8, 2006, the day after the trade day is 89 days, and the applicable interest rate as of December 8, 2006 for the first bond is 1.13%, It can be calculated as a contract face amount of 100,000 yen × elapsed days 89 days / 365 × applicable interest rate 1.13 / 100 = 275 yen. The upper limit of the transfer fee is the contract face amount x constant, and if 0.1% is used as an example of the constant, the contract face amount is 100,000 yen x constant 0.1 / 100 = 100 yen. Since the accrued interest equivalent is less than 275 yen, the transfer fee can be calculated as 100 yen. In addition, the adjustment amount for mid-term redemption is 100,000 yen with a nominal par value of 100,000 yen, using the previous applicable interest rate of 0.75% and the previous applied interest rate of 0.57% of the JGB DB53 for the first bond (10-year change) X The applicable interest rate for the previous two times (0.75 + 0.57) / 100 x 1/2 = 660 yen. The BOJ purchase amount is the contracted face value of 100,000 yen + accrued interest equivalent of 275 yen- It can be calculated as the half-way cash adjustment amount of 660 yen = 99,615 yen. Note that the “(Reference)” column may be omitted from the transfer report.

図18に示すような振替報告書により、買注文顧客とその取引相手との間で行われた個人向け利付国庫債券とその代金の取引内容を明確化することができ、取引相手からどの銘柄のどの有価証券をどのくらいの数量(額面金額)についていつ受け取ったかを明確にすることができるとともに、取引相手にどのくらいの資金をいつ支払ったかを明確にすることができる。   The transfer report as shown in FIG. 18 makes it possible to clarify the transaction details of the personal interest-bearing national treasury bond and its price made between the buyer and the trading partner. It is possible to clarify when and how much amount (face value) of which securities have been received and how much money has been paid to the counterparty.

図19は、図17のフローチャートのS608で生成される売注文顧客用の振替報告書の電子書面データの表示例を示す説明図である。
図19の振替報告書の「有価証券の入出庫について」の表示欄において、第1項の有価証券の欄に「個人向け利付国庫債券」が表示されており、第2項の銘柄の欄に表示された「第1回債(変動10年)」は図17のS606で読み出した振替処理データに含まれる売注文データの銘柄識別情報に基づくものであり、第3項の入出庫の欄に表示された「出庫」は売注文データの売買区分の「売り」を示す情報に基づくものであり、第4項の振替額面金額の欄に表示された「100,000円」は振替処理データに含まれる約定額面金額に基づくものである。なお、第1項の有価証券の欄については個人向け利付国庫債券の銘柄(銘柄識別情報)「第何回債(変動10年)」と有価証券の分類名「個人向け利付国庫債券」とを対応付けて有価証券分類記憶手段に記憶しておき、銘柄識別情報に基づいて有価証券分類記憶手段から分類名「個人向け利付国庫債券」を取得して第1項の有価証券の欄に表示するようにしてもよい。
また、「有価証券の代金の入出金について」の表示欄において、第1項の入出金の欄に表示された「入金」は売注文データの売買区分の「売り」を示す情報に基づくものであり、第2項の振替手数料の欄に表示された「100円」は振替処理データに含まれる振替手数料に基づくものであり、第3項の振替金額の欄に表示された「100,175円」は振替処理データに含まれる売注文側の注文代金相当額に基づくものである。この例において振替金額に経過利子相当額を含めない場合は、振替金額は振替額面金額と同じ「100,000円」となる。
FIG. 19 is an explanatory diagram showing a display example of electronic document data of the transfer report for the sales order customer generated in S608 of the flowchart of FIG.
In the transfer column of “Transfer of securities” in FIG. 19, “Individual interest-bearing national treasury bonds” is displayed in the “Securities” column of the first paragraph, and in the “Stock” column of the second section. The displayed “first bond (fluctuation 10 years)” is based on the brand identification information of the selling order data included in the transfer processing data read out in S606 of FIG. The displayed “issue” is based on the information indicating “sell” in the trading category of the sales order data, and “100,000 yen” displayed in the transfer face amount column of the fourth item is included in the transfer processing data. Based on the included par value. In addition, in the column of securities in paragraph 1, the individual interest-bearing national treasury bonds (stock identification information) “How many bonds (variable 10 years)” and the securities classification name “individual interest-bearing national treasury bonds” The category name “individual interest-bearing national treasury bond” is acquired from the securities classification storage unit based on the brand identification information, and displayed in the securities column of the first item. You may do it.
In addition, in the display column of “About deposits / withdrawals for securities”, the “Deposit” displayed in the Deposit / Withdrawal column of Item 1 is based on the information indicating “Sell” in the trading category of Sell Order Data. Yes, “100 yen” displayed in the transfer fee column of item 2 is based on the transfer fee included in the transfer processing data, and “100,175 yen” displayed in the transfer amount column of item 3. "Is based on the order price equivalent of the selling order included in the transfer processing data. In this example, when the amount of accrued interest is not included in the transfer amount, the transfer amount is “100,000 yen”, which is the same as the transfer face amount.

さらに、振替識別番号の項に表示された「001」はS604で選択された振替処理識別番号に基づくものであり、振替日の項に表示された「平成18年12月8日」は振替処理データに含まれる振替日の日付情報に基づくものである。「(ご参考)」の表示欄において、額面金額の項に表示された「100,000円」は振替処理データに含まれる約定額面金額に基づくものであり、経過利子相当額の項に表示された「275円」は振替処理データに含まれる経過利子相当額に基づくものであり、中途換金調整額の項に表示された「△660円」は振替処理データに含まれる中途換金調整額に基づくものであり、日銀買取金額の項に表示された「99,615円」は約定額面金額である振替額面金額と経過利子相当額と中途換金調整額から計算されたものである。なお、振替報告書において「(ご参考)」の欄をなくしてもよい。   Furthermore, “001” displayed in the transfer identification number field is based on the transfer process identification number selected in S604, and “December 8, 2006” displayed in the transfer date field is the transfer process. This is based on the date information of the transfer date included in the data. In the “(Reference)” display column, “100,000 yen” displayed in the face value section is based on the contract face amount included in the transfer processing data and is displayed in the accrued interest equivalent section. “275 yen” is based on the accrued interest amount included in the transfer processing data, and “△ 660 yen” displayed in the “Interim cash adjustment amount” item is based on the intermediate cash adjustment amount included in the transfer processing data. The “99,615 yen” displayed in the “Board purchase amount” section is calculated from the transfer face amount, contracted face amount, accrued interest equivalent amount, and mid-term redemption adjustment amount. Note that the “(Reference)” column may be omitted from the transfer report.

図19に示すような振替報告書により、売注文顧客とその取引相手との間で行われた個人向け利付国庫債券とその代金の取引内容を明確化することができ、取引相手にどの銘柄のどの有価証券をどのくらいの数量(額面金額)についていつ渡したかを明確にすることができるとともに、取引相手からどのくらいの資金をいつ受け取ったかを明確にすることができる。   The transfer report as shown in FIG. 19 makes it possible to clarify the transaction details of the personal interest-bearing national treasury bond and the price between the sales order customer and the trading partner. It is possible to clarify when and how much amount (face value) of which securities have been delivered and when and how much funds have been received from trading partners.

図21は、注文数量判定部45の処理動作の一例を示すフローチャートであり、図8のフローチャートにおける約定処理S3の一例を示すものである。
先ず、注文数量判定部45は、時刻が第1の約定時刻から所定時間経過後の時刻であるか判定する(S300)。一例として、第1の注文受付時間帯を前日午後6時から当日午前8時とし、この第1の注文受付時間帯に受け付けた顧客注文の約定時刻である第1の約定時刻を当日午前8時とし、所定時間を10分間とし、第1の約定時刻から所定時間経過後の時刻を当日午前8時10分としてもよく、第2の注文受付時間帯を当日午前9時から当日午後3時とし、この第2の注文受付時間帯に受け付けた顧客注文の約定時刻である第2の約定時刻を当日午後3時とし、所定時間を10分間とし、第2の約定時刻から所定時間経過後の時刻を当日午後3時10分としてもよい。
注文数量判定部45は、第1の約定時刻から所定時間経過後の時刻であると判定した場合は(S300:YES)、演算処理用の変数tを1にセットしてメモリに保持し、S320に進む。第1の約定時刻から所定時間経過後の時刻でないと判定した場合は(S300:NO)、第2の約定時刻から所定時間経過後の時刻であるか判定する(S302)。
注文数量判定部45は、第2の約定時刻から所定時間経過後の時刻であると判定した場合は(S302:YES)、演算処理用の変数tを2にセットしてメモリに保持し、S320に進む。第2の約定時刻から所定時間経過後の時刻でないと判定した場合は(S302:NO)、S300に戻る。
FIG. 21 is a flowchart showing an example of the processing operation of the order quantity determination unit 45, and shows an example of the contract processing S3 in the flowchart of FIG.
First, the order quantity determination unit 45 determines whether the time is a time after a predetermined time has elapsed from the first contract time (S300). As an example, the first order reception time zone is from 6:00 pm on the previous day to 8:00 am on the day, and the first execution time that is the execution time of the customer order received in the first order reception time zone is 8:00 am on that day. The predetermined time may be 10 minutes, the time after the predetermined time from the first contract time may be 8:10 am on the day, and the second order reception time zone is 9 am to 3 pm on the day The second execution time, which is the execution time of the customer order received during the second order reception time zone, is 3 pm on the day, the predetermined time is 10 minutes, and the time after the predetermined time has elapsed from the second execution time. May be 3:10 pm on the day.
If the order quantity determination unit 45 determines that it is a time after a predetermined time has elapsed since the first contract time (S300: YES), the order quantity variable t is set to 1 and held in the memory, and S320 Proceed to When it is determined that it is not the time after the predetermined time has elapsed since the first contract time (S300: NO), it is determined whether it is the time after the predetermined time has elapsed since the second contract time (S302).
If the order quantity determination unit 45 determines that it is a time after a predetermined time has elapsed from the second contract time (S302: YES), the order quantity variable t is set to 2 and held in the memory, and S320 is stored. Proceed to If it is determined that the time is not a predetermined time after the second contract time (S302: NO), the process returns to S300.

S320において、注文数量判定部45は、個人向け利付国庫債券の銘柄を示す銘柄識別情報の選択を行い、一例として選択対象の個人向け利付国庫債券から第n回債の個人向け利付国庫債券をn=1から順に選択してnの値をメモリに保持するようにしてもよい。
次にS330において、注文数量判定部45は、選択銘柄の買注文合計額面金額Kを選択銘柄の銘柄識別情報に対応する買注文用記憶部24のブロック(選択銘柄ブロック)から取得するとともに、選択銘柄の売注文合計額面金額Uを選択銘柄の銘柄識別情報に対応する売注文用記憶部44のブロック(選択銘柄ブロック)から取得する。
そしてS340において、注文数量判定部45は、買注文合計額面金額Kと売注文合計額面金額Uが0よりも大きいか判定し、買注文合計額面金額K又は売注文合計額面金額Uが0以下であると判定した場合にはこの選択銘柄では約定注文がないものとしてS390に進み、買注文合計額面金額K及び売注文合計額面金額Uが0よりも大きいと判定した場合はS350に進む。
In S320, the order quantity determination unit 45 selects the brand identification information indicating the brand of the personal interest-bearing national treasury bond. = 1 may be selected in order, and the value of n may be held in the memory.
Next, in S330, the order quantity determination unit 45 acquires the purchase order total face value K of the selected issue from the block (selected issue block) of the purchase order storage unit 24 corresponding to the issue identification information of the selected issue and selects it. The total selling face amount U of the brand is acquired from the block (selected brand block) of the selling order storage unit 44 corresponding to the brand identification information of the selected brand.
In step S340, the order quantity determination unit 45 determines whether the purchase order total face amount K and the sell order total face amount U are greater than 0, and the purchase order total face amount K or the sell order total face amount U is 0 or less. If it is determined that there is no execution order for this selected issue, the process proceeds to S390, and if it is determined that the total purchase order amount K and the sell order total amount U are greater than 0, the process proceeds to S350.

S350において、注文数量判定部45は、買注文合計額面金額Kと売注文合計額面金額Uの大小関係を判定し、買注文合計額面金額Kよりも売注文合計額面金額Uが大きい第1のケースでは第1の注文データ格納処理を行い(S360)、買注文合計額面金額Kと売注文合計額面金額Uが等しい第2のケースでは第2の注文データ格納処理を行い(S370)、買注文合計額面金額Kよりも売注文合計額面金額Uが小さい第3のケースでは第3の注文データ格納処理を行う(S380)。
次にS390において、注文数量判定部45は、選択対象の個人向け利付国庫債券の銘柄識別情報をS320で全て選択し終わったか判定し、一例としてS320で選択した第n回債のnの値が選択対象の個人向け利付国庫債券の銘柄識別情報における最大の回号の数値と同じであるか判定することにより、全て選択し終わったか否かを判定してもよい。選択していない銘柄識別情報がある場合には(S390:NO)、S320に戻って次の銘柄選択を行い、全て選択し終わった場合には(S390:YES)、S392に進む。
S392において、注文数量判定部45は、メモリに保持された変数tの値が2であるか判定し、変数t=2でない場合は(S392:NO)、S300に戻り、変数t=2である場合は(S392:YES)本フローチャートを終了する。ここでは、第1の約定時刻を従たる約定時刻とみなすことができ、第2の約定時刻を主たる約定時刻とみなすことができる。
In S350, the order quantity determination unit 45 determines the magnitude relationship between the total purchase order amount K and the selling order total amount U, and the first case where the sales order total amount U is larger than the purchase order total amount K. Then, the first order data storage process is performed (S360), and in the second case where the buy order total face value K and the sell order total face value U are equal, the second order data storage process is performed (S370). In the third case where the sales order total face amount U is smaller than the face amount K, a third order data storage process is performed (S380).
Next, in S390, the order quantity determination unit 45 determines whether all the brand identification information of the personal interest-bearing national treasury bonds to be selected has been selected in S320, and as an example, the value of n of the nth bond selected in S320 is determined. It may be determined whether or not all selections have been made by determining whether the value is the same as the maximum number of issues in the brand identification information of the interest-bearing national treasury bond to be selected. If there is any brand identification information that has not been selected (S390: NO), the process returns to S320 to select the next brand, and if all have been selected (S390: YES), the process proceeds to S392.
In S392, the order quantity determination unit 45 determines whether or not the value of the variable t held in the memory is 2. If the variable t = 2 is not satisfied (S392: NO), the process returns to S300 and the variable t = 2. In this case (S392: YES), this flowchart is terminated. Here, the first contract time can be regarded as the subordinate contract time, and the second contract time can be regarded as the main contract time.

図22〜図24は、注文数量判定部45が行う第1の注文データ格納処理S360の一例を示すフローチャートである。なお、注文数量判定部45は、買注文管理番号保持手段と売注文管理番号保持手段と番号記憶手段と合計金額記憶手段と約定算出金額記憶手段と演算処理用のメモリを備えているものとする。また、一定方向に管理番号を更新する注文管理手段は、管理番号を増大方向に更新するものとする。
先ずS3600において、注文数量判定部45は、買注文用記憶部24で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして買注文管理番号保持手段に保持し、保持した管理番号の個数Nbを検出してメモリに記憶する。個数Nbは、買注文管理番号保持手段に保持されたソートされた管理番号に対して小さい順に1から始まるシリアル番号を付すことにより最も大きいシリアル番号から検出することができる。
次にS3602において、注文数量判定部45は、最も小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出す。また、演算処理用の変数である番号iを記憶する番号記憶手段の番号iを初期値1にセットする。なお、買注文用記憶部24において買注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、買注文データと注文識別情報を読み出すときに買注文データと注文識別情報と注文残額面金額を読み出すようにする。
22 to 24 are flowcharts illustrating an example of the first order data storage process S360 performed by the order quantity determination unit 45. The order quantity determination unit 45 includes purchase order management number holding means, sell order management number holding means, number storage means, total amount storage means, contract calculation amount storage means, and memory for calculation processing. . Further, the order management means for updating the management number in a certain direction shall update the management number in the increasing direction.
First, in S3600, the order quantity determination unit 45 reads the management number stored in the purchase order storage unit 24 in association with the unfilled execution flag in the selected stock block record, and sorts the read management numbers in ascending order. The number Nb of the management numbers held is detected and stored in the memory. The number Nb can be detected from the largest serial number by assigning serial numbers starting from 1 in ascending order to the sorted management numbers held in the purchase order management number holding means.
Next, in S 3602, the order quantity determination unit 45 reads the smallest management number from the purchase order management number holding unit, and selects the purchase order data and the order identification information corresponding to the read management number from the selected brand in the purchase order storage unit 24. Read from block record. Also, the number i of the number storage means for storing the number i, which is a variable for arithmetic processing, is set to an initial value 1. In the case where the purchase order storage unit 24 stores the purchase order data, the order identification information, the order balance amount, and the execution flag in the record, the purchase order data and the order are read when the purchase order data and the order identification information are read. The identification information and the order balance amount are read out.

S3610において、注文数量判定部45は、メモリに保持された変数tの値が1であるか判定し、t=1である場合は(S3610:YES)第1の約定処理であると認識してS3616に進み、t=1でない場合は(S3610:NO)t=2であって第2の約定処理であると認識し、S3602で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているか判定する(S3612)。
S3602で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合は(S3612:YES)、当該注文識別情報の買注文が第1の約定処理で生じた一部約定の注文であると認識し、当該注文識別情報に対応付けて振替処理DB59に格納されている約定額面金額に対して、S3602で読み出した買注文データの注文額面金額(注文残額面金額)を加算し(S3614)、これにより先の約定処理で生じた一部約定の約定額面金額と今回の約定処理で生じた一部約定の約定残額面金額を合算してまとめるようにする。S3602で読み出した当該注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合は(S3612:NO)、S3616に進む。
In S3610, the order quantity determination unit 45 determines whether the value of the variable t held in the memory is 1, and if t = 1 (S3610: YES), recognizes that it is the first contract processing. In step S3616, if t = 1 is not satisfied (S3610: NO), t = 2 is recognized as the second execution process, and the order identification information read in step S3602 is transferred in association with an untransferred transfer flag. It is determined whether it is stored in the process DB 59 (S3612).
When the order identification information read in S3602 is stored in the transfer process DB 59 in association with the untransferred transfer flag (S3612: YES), the purchase order of the order identification information is generated in the first contract process. Recognizing that the order is a contract execution, the order face value of the purchase order data read in S3602 (order balance face amount) with respect to the contract face amount stored in the transfer process DB 59 in association with the order identification information. Are added together (S3614), and the contract face amount of the partial contract generated in the previous contract processing and the contract residual face amount of the partial contract generated in the current contract processing are added together. If the order identification information read in S3602 is not stored in the transfer process DB 59 in association with an untransferred transfer flag (S3612: NO), the process proceeds to S3616.

S3616において、注文数量判定部45は、S3602で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグ(未振替の振替フラグ)と未生成を示す生成フラグ(未生成の生成フラグ)を対応付けて振替処理DB59に格納する。
次にS3622において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新する。これにより、買注文用記憶部24の選択銘柄ブロックに記憶された最も過去に受け付けた未約定買注文を約定済の買注文として認識することができるようになる。
In S 3616, the order quantity determination unit 45 receives the purchase order data read in S 3602, the contract face amount including the order face amount (order balance face amount) of the purchase order data, the contract identification number and the order identification information of the purchase order. A transfer flag indicating untransferred (untransferred transfer flag) and a generation flag indicating ungenerated (ungenerated generation flag) are stored in the transfer process DB 59 in association with each other.
In step S <b> 3622, the order quantity determination unit 45 updates the contract flag associated with the order identification information in the record of the selected stock block in the purchase order storage unit 24 from uncommitted to information indicating the contracted. As a result, it becomes possible to recognize the uncompleted buy order accepted in the past stored in the selected brand block of the buy order storage unit 24 as a fulfilled buy order.

S3624において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3600で検出した管理番号の個数Nb未満であるか判定し、番号iが個数Nb以上である場合に(S3624:NO)、例えば番号iが個数Nbと等しいときに、買注文管理番号保持手段に保持された各管理番号の買注文の約定処理を終了したと認識してS3650に進み、売注文の約定処理を行う。番号iが個数Nb未満である場合に(S3624:YES)、買注文管理番号保持手段に保持された各管理番号の中に買注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3626)、S3628に進む。   In S3624, the order quantity determination unit 45 determines whether the number i stored in the number storage means is less than the number Nb of management numbers detected in S3600, and if the number i is greater than or equal to the number Nb (S3624). : NO), for example, when the number i is equal to the number Nb, it is recognized that the purchase order execution processing for each management number held in the purchase order management number holding means has been completed, and the process proceeds to S3650, where the sales order execution processing is executed. I do. When the number i is less than the number Nb (S3624: YES), it is recognized that some of the management numbers held in the buy order management number holding means have not ended the buy order contract processing, The storage means number i is updated to a value increased by 1 (S3626), and the process proceeds to S3628.

S3628において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出す。
次にS3630において、注文数量判定部45は、S3628で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3632において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3624に戻る。S3632の処理により、買注文用記憶部24の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定買注文を約定済の買注文として認識することができるようになる。
In S3628, the order quantity determination unit 45 reads the i-th smallest management number from the purchase order management number holding unit with reference to the number i in the number storage unit, and purchase order data and order identification information corresponding to the read management number. Is read from the record of the selected brand block in the buy order storage unit 24.
Next, in step S3630, the order quantity determination unit 45 determines the contract face amount including the purchase order data read in step S3628 and the order face amount (order balance face amount) of the purchase order data, the contract identification number and the order identification of the purchase order. The transfer flag indicating information, non-transfer, and the generation flag indicating non-generation are associated with each other and stored in the transfer processing DB 59. In S3632, the order quantity determination unit 45 updates the contract flag associated with the order identification information from uncommitted to information indicating contracted in the record of the selected brand block in the buy order storage unit 24, and S3624. Return to. By the processing of S3632, it becomes possible to recognize the uncontracted purchase order of the order identification information stored in the record of the selected brand block of the purchase order storage unit 24 as a contracted purchase order.

S3650において、注文数量判定部45は、売注文用記憶部44で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして売注文管理番号保持手段に保持する。
次にS3652において、注文数量判定部45は、最も小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出し、合計金額Σmを記憶する合計金額記憶手段の合計金額Σmを当該売注文データの注文額面金額(注文残額面金額)からなる初期値にセットする。また、番号記憶手段の番号iを初期値1にセットする。なお、売注文用記憶部44において売注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、売注文データと注文識別情報を読み出すときに売注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3650, the order quantity determination unit 45 reads the management numbers stored in the selected stock block record in association with the uncommitted execution flag in the selling order storage unit 44, and sorts the read management numbers in ascending order. Are stored in the sales order management number holding means.
In step S3652, the order quantity determination unit 45 reads the smallest management number from the selling order management number holding unit, and selects the selling order data and the order identification information corresponding to the read management number in the selling order storage unit 44. The total amount Σm read from the block record and stored in the total amount storage means for storing the total amount Σm is set to an initial value composed of the order amount (order balance amount) of the selling order data. Also, the number i of the number storage means is set to the initial value 1. If the sales order storage unit 44 stores the sales order data, the order identification information, the order balance amount, and the execution flag in the record, the sales order data and the order are read when the sales order data and the order identification information are read out. The identification information and the order balance amount are read out.

S3654において、注文数量判定部45は、合計金額記憶手段の合計金額Σmが買注文合計額面金額K以下であるか判定し、買注文合計額面金額K以下である場合は(S3654:YES)、S3652で読み出した当該注文識別情報の売注文が全部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを当該売注文の注文データの注文額面金額(注文残額面金額)にセットする。また、演算処理用の変数pを0にセットしてメモリに保持する。
合計金額記憶手段の合計金額Σmが買注文合計額面金額Kよりも大きい場合は(S3654:NO)、S3652で読み出した当該注文識別情報の売注文が一部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを買注文合計額面金額Kにセットする。また、変数pを1にセットしてメモリに保持する。
In S3654, the order quantity determination unit 45 determines whether the total amount Σm of the total amount storage means is equal to or less than the total purchase order amount K, and if it is equal to or less than the total purchase order amount K (S3654: YES), S3652. Recognize that all the sales orders of the order identification information read in step 1 are contracts to be executed, and set the contract calculated amount y of the contract calculated amount storage means to the order amount (order balance amount) of the order data of the sell order To do. Further, the variable p for arithmetic processing is set to 0 and held in the memory.
If the total amount Σm of the total amount storage means is larger than the purchase order total face amount K (S3654: NO), it recognizes that the selling order of the order identification information read in S3652 is a partially executed order, and The contract calculated amount y of the calculated amount storage means is set to the purchase order total face amount K. Further, the variable p is set to 1 and held in the memory.

S3660において、注文数量判定部45は、メモリに保持された変数tの値が1であるか判定し、t=1である場合は(S3660:YES)第1の約定処理であると認識してS3666に進み、t=1でない場合は(S3660:NO)t=2であって第2の約定処理であると認識し、S3652で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているか判定する(S3662)。
S3652で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合は(S3662:YES)、第1の約定処理で生じた一部約定の注文であると認識し、当該注文識別情報に対応付けて振替処理DB59に格納されている約定額面金額に対して約定算出金額記憶手段の約定算出金額yを加算し(S3664)、これにより先の約定処理で生じた一部約定の約定額面金額と今回の約定処理で生じた一部約定の約定額面金額を合算してまとめるようにする。S3652で読み出した当該注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合は(S3662:NO)、S3666に進む。
S3666において、注文数量判定部45は、S3652で読み出した売注文データと約定算出金額記憶手段の約定算出金額yからなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグ(未振替の振替フラグ)と未生成を示す生成フラグ(未生成の生成フラグ)を対応付けて振替処理DB59に格納する。
In S3660, the order quantity determination unit 45 determines whether or not the value of the variable t held in the memory is 1. If t = 1 (S3660: YES), the order quantity determination unit 45 recognizes that it is the first contract processing. The process proceeds to S3666. If t = 1 is not satisfied (S3660: NO), t = 2 and the second execution process is recognized, and the order identification information read in S3652 is transferred in association with the untransferred transfer flag. It is determined whether it is stored in the process DB 59 (S3662).
When the order identification information read in S3652 is stored in the transfer process DB 59 in association with an untransferred transfer flag (S3662: YES), it is recognized as a partially executed order generated in the first contract process. Then, the contract calculation amount y of the contract calculation amount storage means is added to the contract face amount stored in the transfer process DB 59 in association with the order identification information (S3664), thereby causing the previous contract processing. Summarize the sum of the par face value of the partial contract and the contract face amount of the partial contract generated by the current processing. When the order identification information read in S3652 is not stored in the transfer process DB 59 in association with the untransferred transfer flag (S3662: NO), the process proceeds to S3666.
In S3666, the order quantity determination unit 45 indicates the contract face amount including the sales order data read in S3652 and the contract calculation amount y of the contract calculation amount storage means, the contract identification number of the sell order, the order identification information, and untransferred. A transfer flag (untransferred transfer flag) and a generation flag (non-generated generation flag) indicating non-generation are associated with each other and stored in the transfer process DB 59.

S3668において、注文数量判定部45は、メモリに保持された変数pの値が0であるか判定し、変数p=0である場合に(S3668:YES)、すなわちS3652で読み出した注文識別情報の売注文が全部約定の注文である場合にS3672に進む。変数p=0でない場合に(S3668:NO)、すなわち変数p=1であってS3652で読み出した注文識別情報の売注文が一部約定の注文である場合にS3670に進む。
S3670において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックにおいて当該注文識別情報に対応付けされた売注文データの注文額面金額(注文残額面金額)に対して約定算出金額記憶手段の約定算出金額yを減算する。これにより、当該注文識別情報に対応付けされた売注文データの注文額面金額(注文残額面金額)を売注文の未約定分の額面金額に更新することができる。
S3672において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新する。これにより、売注文用記憶部44の選択銘柄ブロックのレコードに記憶された最も過去に受け付けた未約定売注文を約定済の売注文として認識することができるようになる。
In S3668, the order quantity determination unit 45 determines whether the value of the variable p stored in the memory is 0. If the variable p = 0 (S3668: YES), that is, the order identification information read in S3652 If all selling orders are executed orders, the process proceeds to S3672. If the variable p is not 0 (S3668: NO), that is, if the variable p = 1 and the selling order of the order identification information read in S3652 is a partially executed order, the process proceeds to S3670.
In S3670, the order quantity determination unit 45 stores a contract calculated amount with respect to the order amount (order balance amount) of the selling order data associated with the order identification information in the selected symbol block of the selling order storage unit 44. The contract calculation amount y of the means is subtracted. As a result, the order face value (order balance value) of the sales order data associated with the order identification information can be updated to the face value of the uncommitted face value of the sales order.
In S3672, the order quantity determination unit 45 updates the contract flag associated with the order identification information in the record of the selected symbol block of the sell order storage unit 44 from uncommitted to information indicating the contracted. As a result, it becomes possible to recognize, as a contracted sell order, the most unsold contract order received in the past stored in the record of the selected symbol block of the sell order storage unit 44.

S3674において、注文数量判定部45は、合計数量記憶手段の合計金額Σmが買注文合計額面金額Kと等しいか判定し、等しくない場合に(S3674:NO)、番号記憶手段の番号iを1だけ増加させて更新するとともに、約定算出金額記憶手段の約定算出金額yを買注文合計額面金額Kから合計金額Σmを減じた額(K−Σm)、すなわち合計金額Σmから買注文合計額面金額Kまでの超過金額にセットする(S3676)。
次にS3678において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出し、合計金額記憶手段の合計金額Σmに対して当該売注文データの注文額面金額(注文残額面金額)を加算して更新する。なお、売注文用記憶部44において売注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、売注文データと注文識別情報を読み出すときに売注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3674, the order quantity determination unit 45 determines whether or not the total amount Σm of the total quantity storage unit is equal to the purchase order total face amount K, and when it is not equal (S3674: NO), the number i of the number storage unit is only 1. In addition to updating the contract calculated amount storage means, the contract calculated amount y is an amount obtained by subtracting the total amount Σm from the purchase order total face amount K (K−Σm), that is, from the total amount Σm to the purchase order total face amount K. (S3676).
In step S3678, the order quantity determination unit 45 reads the i-th smallest management number from the selling order management number holding unit with reference to the number i in the number storage unit, and sell order data and an order corresponding to the read management number. The identification information is read from the record of the selected symbol block in the selling order storage unit 44, and the order amount (order remaining amount amount) of the selling order data is added to the total amount Σm of the total amount storage means and updated. If the sales order storage unit 44 stores the sales order data, the order identification information, the order balance amount, and the execution flag in the record, the sales order data and the order are read when the sales order data and the order identification information are read out. The identification information and the order balance amount are read out.

S3680において、注文数量判定部45は、合計数量記憶手段の合計金額Σmが買注文合計額面金額K以下であるか判定し、買注文合計額面金額Kよりも大きい場合は(S3680:NO)、S3678で読み出した注文識別情報の売注文が一部約定する注文であると認識してS3690に進む。このときの(S3678の直前のS3676で算出した)約定算出金額yは、買注文合計額面金額K未満の最大の合計金額(合計額面金額)から買注文合計額面金額Kまでの超過額面金額となっている。買注文合計額面金額K以下である場合は(S3680:YES)、S3678で読み出した注文識別情報の売注文が全部約定する注文であると認識してS3682に進む。
S3682において、注文数量判定部45は、S3678で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3684において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3674に戻る。S3684の処理により、売注文用記憶部44の選択銘柄ブロックに当該注文識別情報に対応付けて記憶された未約定売注文を約定済の売注文として認識することができるようになる。
In S3680, the order quantity determination unit 45 determines whether or not the total amount Σm of the total quantity storage means is equal to or less than the purchase order total face amount K. If it is larger than the purchase order total face amount K (S3680: NO), S3678. It is recognized that the sell order in the order identification information read out in step S1 is a partially executed order, and the flow advances to S3690. The contract calculated amount y (calculated in S3676 immediately before S3678) at this time is an excess face amount from the maximum total amount (total face amount) less than the purchase order total face amount K to the purchase order total face amount K. ing. If it is equal to or less than the total purchase face value K (S3680: YES), the process proceeds to S3682 by recognizing that all selling orders in the order identification information read in S3678 are orders to be executed.
In S3682, the order quantity determination unit 45 determines the contract amount of the sales order data read out in S3678, the contract amount of the order amount of the sell order data (order balance amount), the contract identification number of the sell order, and the order identification information. A transfer flag indicating non-transfer and a generation flag indicating non-transfer are associated with each other and stored in the transfer processing DB 59. In S3684, the order quantity determination unit 45 updates the contract flag associated with the order identification information from the uncommitted information to the contracted information in the record of the selected brand block in the selling order storage unit 44, and S3674. Return to. By the processing of S3684, it becomes possible to recognize an uncommitted sales order stored in association with the order identification information in the selected brand block of the sales order storage unit 44 as a contracted sales order.

S3690において、注文数量判定部45は、S3678で読み出した売注文データと約定算出金額記憶手段の約定算出金額yからなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。次にS3692において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックにおいて当該注文識別情報に対応付けされた売注文データの注文額面金額(注文残額面金額)に対して約定算出金額記憶手段の約定算出金額yを減算する。これにより、当該注文識別情報に対応付けされた売注文データの注文額面金額(注文残額面金額)を売注文の未約定分の額面金額に更新することができる。   In S3690, the order quantity determination unit 45 indicates the contract face amount consisting of the sales order data read in S3678 and the contract calculation amount y of the contract calculation amount storage means, the contract identification number of the sell order, the order identification information, and untransferred. The transfer flag and the generation flag indicating non-generation are associated with each other and stored in the transfer processing DB 59. Next, in S3692, the order quantity determination unit 45 calculates a contract for the order face amount (order balance amount) of the sell order data associated with the order identification information in the selected stock block of the sell order storage unit 44. The contract calculation amount y of the amount storage means is subtracted. Thereby, the order face value (order balance value) of the sales order data associated with the order identification information can be updated to the face value of the uncommitted face value of the sales order.

図25〜図26は、注文数量判定部45が行う第2の注文データ格納処理S370の一例を示すフローチャートである。
先ずS3700において、注文数量判定部45は、買注文用記憶部24で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして買注文管理番号保持手段に保持し、保持した管理番号の個数Nbを検出してメモリに記憶する。個数Nbは、買注文管理番号保持手段に保持されたソートされた管理番号に対して小さい順に1から始まるシリアル番号を付すことにより最も大きいシリアル番号から検出することができる。
次にS3702において、注文数量判定部45は、最も小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出す。また、演算処理用の変数である番号iを記憶する番号記憶手段の番号iを初期値1にセットする。なお、買注文用記憶部24において買注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、買注文データと注文識別情報を読み出すときに買注文データと注文識別情報と注文残額面金額を読み出すようにする。
25 to 26 are flowcharts illustrating an example of the second order data storage process S370 performed by the order quantity determination unit 45.
First, in S3700, the order quantity determination unit 45 reads out the management numbers stored in the purchase order storage unit 24 in association with the uncommitted execution flag in the selected stock block record, and sorts the read management numbers in ascending order. The number Nb of the management numbers held is detected and stored in the memory. The number Nb can be detected from the largest serial number by assigning serial numbers starting from 1 in ascending order to the sorted management numbers held in the purchase order management number holding means.
In step S3702, the order quantity determination unit 45 reads the smallest management number from the purchase order management number holding unit, and selects the purchase order data corresponding to the read management number and the order identification information in the purchase order storage unit 24. Read from block record. Also, the number i of the number storage means for storing the number i, which is a variable for arithmetic processing, is set to an initial value 1. In the case where the purchase order storage unit 24 stores the purchase order data, the order identification information, the order balance amount, and the execution flag in the record, the purchase order data and the order are read when the purchase order data and the order identification information are read. The identification information and the order balance amount are read out.

S3710において、注文数量判定部45は、メモリに保持された変数tの値が1であるか判定し、t=1である場合は(S3710:YES)第1の約定処理であると認識してS3716に進み、t=1でない場合は(S3710:NO)t=2であって第2の約定処理であると認識し、S3702で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているか判定する(S3712)。
S3702で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合は(S3712:YES)、当該注文識別情報の買注文が第1の約定処理で生じた一部約定の注文であると認識し、当該注文識別情報に対応付けて振替処理DB59に格納されている約定額面金額に対して、S3702で読み出した買注文データの注文額面金額(注文残額面金額)を加算し(S3714)、これにより先の約定処理で生じた一部約定の約定額面金額と今回の約定処理で生じた一部約定の約定残額面金額を合算してまとめるようにする。S3702で読み出した当該注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合は(S3712:NO)、S3716に進む。
In S3710, the order quantity determination unit 45 determines whether the value of the variable t held in the memory is 1, and if t = 1 (S3710: YES), the order quantity determination unit 45 recognizes that it is the first contract processing. In step S3716, if t = 1 is not satisfied (S3710: NO), it is recognized that t = 2 and the second execution processing is performed, and the order identification information read in step S3702 is associated with an untransferred transfer flag. It is determined whether it is stored in the process DB 59 (S3712).
When the order identification information read in S3702 is stored in the transfer process DB 59 in association with the untransferred transfer flag (S3712: YES), the purchase order of the order identification information is generated in the first contract process. Recognizing that the order is a contract execution, the order face value of the purchase order data read in S3702 (order balance face amount) with respect to the contract face amount stored in the transfer process DB 59 in association with the order identification information. Are added together (S3714), and the contract face value of the partial contract generated in the previous contract process and the remaining contract face value of the partial contract generated in the current contract process are added together. When the order identification information read in S3702 is not stored in the transfer process DB 59 in association with the untransferred transfer flag (S3712: NO), the process proceeds to S3716.

S3716において、注文数量判定部45は、S3702で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグ(未振替の振替フラグ)と未生成を示す生成フラグ(未生成の生成フラグ)を対応付けて振替処理DB59に格納する。次にS3722において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新する。これにより、買注文用記憶部24の選択銘柄ブロックに記憶された最も過去に受け付けた未約定買注文を約定済の買注文として認識することができるようになる。   In S3716, the order quantity determination unit 45 obtains the contract amount including the purchase order data read in S3702, the order amount of the purchase order data (order balance amount), the contract identification number and the order identification information of the purchase order. A transfer flag indicating untransferred (untransferred transfer flag) and a generation flag indicating ungenerated (ungenerated generation flag) are stored in the transfer process DB 59 in association with each other. In step S <b> 3722, the order quantity determination unit 45 updates the execution flag associated with the order identification information in the record of the selected issue block in the purchase order storage unit 24 from uncommitted to information indicating execution. As a result, it becomes possible to recognize the uncompleted buy order accepted in the past stored in the selected brand block of the buy order storage unit 24 as a fulfilled buy order.

S3724において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3700で検出した管理番号の個数Nb未満であるか判定し、番号iが個数Nb以上である場合に(S3724:NO)、例えば番号iが個数Nbと等しいときに、買注文管理番号保持手段に保持された各管理番号の買注文の約定処理を終了したと認識してS3750に進み、売注文の約定処理を行う。番号iが個数Nb未満である場合に(S3724:YES)、買注文管理番号保持手段に保持された各管理番号の中に買注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3726)、S3728に進む。   In S3724, the order quantity determination unit 45 determines whether the number i stored in the number storage means is less than the number Nb of the management numbers detected in S3700, and when the number i is greater than or equal to the number Nb (S3724). : NO), for example, when the number i is equal to the number Nb, it is recognized that the purchase order execution processing for each management number held in the purchase order management number holding means has been completed, and the process proceeds to S3750, where the sales order execution processing is executed. I do. When the number i is less than the number Nb (S3724: YES), it is recognized that some of the management numbers held in the buy order management number holding means have not been subjected to the buy order execution processing, The storage unit number i is updated to a value increased by 1 (S3726), and the process proceeds to S3728.

S3728において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出す。
次にS3730において、注文数量判定部45は、S3728で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3732において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3724に戻る。S3732の処理により、買注文用記憶部24の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定買注文を約定済の買注文として認識することができるようになる。
In S3728, the order quantity determination unit 45 reads the i-th smallest management number from the purchase order management number holding unit with reference to the number i in the number storage unit, and purchase order data and order identification information corresponding to the read management number. Is read from the record of the selected brand block in the buy order storage unit 24.
Next, in step S3730, the order quantity determination unit 45 determines the contract face amount including the purchase order data read in step S3728 and the order face amount (order balance amount) of the purchase order data, the contract identification number and the order identification of the purchase order. Information, a transfer flag indicating non-transfer, and a generation flag indicating non-transfer are stored in the transfer processing DB 59 in association with each other. In S3732, the order quantity determination unit 45 updates the contract flag associated with the order identification information from the uncommitted information to the information indicating the contracted completion in the record of the selected brand block in the buy order storage unit 24, and S3724 Return to. By the processing of S3732, it becomes possible to recognize the uncommitted purchase order of the order identification information stored in the record of the selected brand block of the purchase order storage unit 24 as a contracted purchase order.

S3750において、注文数量判定部45は、売注文用記憶部44で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして売注文管理番号保持手段に保持し、保持した管理番号の個数Nsを検出してメモリに記憶する。個数Nsは、売注文管理番号保持手段に保持されたソートされた管理番号に対して小さい順に1から始まるシリアル番号を付すことにより最も大きいシリアル番号から検出することができる。
次にS3752において、注文数量判定部45は、最も小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。また、演算処理用の変数である番号iを記憶する番号記憶手段の番号iを初期値1にセットする。なお、売注文用記憶部44において売注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、売注文データと注文識別情報を読み出すときに売注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3750, the order quantity determination unit 45 reads out the management number stored in the selected stock block record in the sales order storage unit 44 in association with the uncommitted execution flag, and sorts the read management numbers in ascending order. The number Ns of the held management numbers is detected and stored in the memory. The number Ns can be detected from the largest serial number by assigning serial numbers starting from 1 in ascending order to the sorted management numbers held in the sales order management number holding means.
In step S3752, the order quantity determination unit 45 reads the smallest management number from the selling order management number holding unit, and selects the selling order data corresponding to the read management number and the order identification information in the selling order storage unit 44. Read from block record. Also, the number i of the number storage means for storing the number i, which is a variable for arithmetic processing, is set to an initial value 1. If the sales order storage unit 44 stores the sales order data, the order identification information, the order balance amount, and the execution flag in the record, the sales order data and the order are read when the sales order data and the order identification information are read out. The identification information and the order balance amount are read out.

S3760において、注文数量判定部45は、メモリに保持された変数tの値が1であるか判定し、t=1である場合は(S3760:YES)第1の約定処理であると認識してS3766に進み、t=1でない場合は(S3760:NO)t=2であって第2の約定処理であると認識し、S3752で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているか判定する(S3762)。
S3752で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合は(S3762:YES)、当該注文識別情報の売注文が第1の約定処理で生じた一部約定の注文であると認識し、当該注文識別情報に対応付けて振替処理DB59に格納されている約定額面金額に対して、S3752で読み出した売注文データの注文額面金額(注文残額面金額)を加算し(S3764)、これにより先の約定処理で生じた一部約定の約定額面金額と今回の約定処理で生じた一部約定の約定残額面金額を合算してまとめるようにする。S3752で読み出した当該注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合は(S3762:NO)、S3766に進む。
In S3760, the order quantity determination unit 45 determines whether the value of the variable t held in the memory is 1, and if t = 1 (S3760: YES), recognizes that it is the first contract processing. The process proceeds to S3766. If t = 1 is not satisfied (S3760: NO), t = 2 and the second execution process is recognized, and the order identification information read in S3752 is associated with the untransferred transfer flag. It is determined whether it is stored in the process DB 59 (S3762).
When the order identification information read in S3752 is stored in the transfer process DB 59 in association with the untransferred transfer flag (S3762: YES), the selling order of the order identification information is generated by the first contract process. Recognizing that the order is a contract execution, the order face value of the sales order data read in S3752 (order balance face amount) with respect to the contract face amount stored in the transfer process DB 59 in association with the order identification information. Are added together (S3764), and the contract face value of the partial contract generated in the previous contract process and the contract residual face value of the partial contract generated in the current contract process are added together. When the order identification information read in S3752 is not stored in the transfer process DB 59 in association with the untransferred transfer flag (S3762: NO), the process proceeds to S3766.

S3766において、注文数量判定部45は、S3752で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグ(未振替の振替フラグ)と未生成を示す生成フラグ(未生成の生成フラグ)を対応付けて振替処理DB59に格納する。次にS3772において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新する。これにより、売注文用記憶部44の選択銘柄ブロックに記憶された最も過去に受け付けた未約定売注文を約定済の売注文として認識することができるようになる。   In S3766, the order quantity determination unit 45 receives the sales order data read out in S3752, the contract face amount consisting of the order face value (order balance face amount) of the sell order data, the contract identification number and the order identification information of the sell order. A transfer flag indicating untransferred (untransferred transfer flag) and a generation flag indicating ungenerated (ungenerated generation flag) are stored in the transfer process DB 59 in association with each other. In step S3772, the order quantity determination unit 45 updates the contract flag associated with the order identification information in the record of the selected symbol block in the sell order storage unit 44 from uncommitted to information indicating the contracted. As a result, it becomes possible to recognize, as a contracted sell order, the most unsold contract order received in the past stored in the selected brand block of the sell order storage unit 44.

S3774において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3750で検出した管理番号の個数Ns未満であるか判定し、番号iが個数Ns以上である場合に(S3774:NO)、例えば番号iが個数Nsと等しいときに、売注文管理番号保持手段に保持された各管理番号の売注文の約定処理を終了したと認識し、本フローチャートを終了する。番号iが個数Ns未満である場合に(S3774:YES)、売注文管理番号保持手段に保持された各管理番号の中に売注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3776)、S3778に進む。   In S3774, the order quantity determination unit 45 determines whether the number i stored in the number storage unit is less than the number Ns of management numbers detected in S3750, and when the number i is equal to or greater than the number Ns (S3774). : NO), for example, when the number i is equal to the number Ns, it is recognized that the selling process of the selling order of each management number held in the selling order management number holding means is finished, and this flowchart is finished. When the number i is less than the number Ns (S3774: YES), it is recognized that some of the management numbers held in the selling order management number holding means have not ended the selling order contract processing. The storage device number i is updated to a value increased by 1 (S3776), and the process proceeds to S3778.

S3778において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。
次にS3780において、注文数量判定部45は、S3778で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3782において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3774に戻る。S3782の処理により、売注文用記憶部44の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定売注文を約定済の売注文として認識することができるようになる。
In S3778, the order quantity determination unit 45 reads the i-th smallest management number from the selling order management number holding unit with reference to the number i in the number storage unit, and sell order data and order identification information corresponding to the read management number. Is read from the record of the selected brand block in the selling order storage unit 44.
Next, in step S3780, the order quantity determination unit 45 determines the contract face amount consisting of the sell order data read in step S3778, the order face amount (order balance face amount) of the sell order data, the contract identification number and the order identification of the sell order. Information, a transfer flag indicating non-transfer, and a generation flag indicating non-transfer are stored in the transfer processing DB 59 in association with each other. In S3782, the order quantity determination unit 45 updates the contract flag associated with the order identification information from the uncommitted information to the information indicating the contracted completion in the record of the selected stock block in the selling order storage unit 44, and S3774. Return to. By the processing of S3782, it becomes possible to recognize the unsold order of the order identification information stored in the record of the selected brand block of the sell order storage unit 44 as a contracted sell order.

図27〜図29は、注文数量判定部45が行う第3の注文データ格納処理S380の一例を示すフローチャートである。
先ずS3800において、注文数量判定部45は、売注文用記憶部44で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして売注文管理番号保持手段に保持し、保持した管理番号の個数Nsを検出してメモリに記憶する。個数Nsは、売注文管理番号保持手段に保持されたソートされた管理番号に対して小さい順に1から始まるシリアル番号を付すことにより最も大きいシリアル番号から検出することができる。
次にS3802において、注文数量判定部45は、最も小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。また、演算処理用の変数である番号iを記憶する番号記憶手段の番号iを初期値1にセットする。なお、売注文用記憶部44において売注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、売注文データと注文識別情報を読み出すときに売注文データと注文識別情報と注文残額面金額を読み出すようにする。
27 to 29 are flowcharts illustrating an example of the third order data storage process S380 performed by the order quantity determination unit 45.
First, in S3800, the order quantity determination unit 45 reads out the management numbers stored in the selected stock block record in association with the uncommitted execution flag in the selling order storage unit 44, and sorts the read management numbers in ascending order. Then, it is held in the selling order management number holding means, and the number Ns of the held management numbers is detected and stored in the memory. The number Ns can be detected from the largest serial number by assigning serial numbers starting from 1 in ascending order to the sorted management numbers held in the sales order management number holding means.
In step S3802, the order quantity determination unit 45 reads the smallest management number from the selling order management number holding unit, and selects the selling order data corresponding to the read management number and the order identification information in the selling order storage unit 44. Read from block record. Also, the number i of the number storage means for storing the number i, which is a variable for arithmetic processing, is set to an initial value 1. If the sales order storage unit 44 stores the sales order data, the order identification information, the order balance amount, and the execution flag in the record, the sales order data and the order are read when the sales order data and the order identification information are read out. The identification information and the order balance amount are read out.

S3810において、注文数量判定部45は、メモリに保持された変数tの値が1であるか判定し、t=1である場合は(S3810:YES)第1の約定処理であると認識してS3816に進み、t=1でない場合は(S3810:NO)t=2であって第2の約定処理であると認識し、S3802で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているか判定する(S3812)。
S3802で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合は(S3812:YES)、当該注文識別情報の売注文が第1の約定処理で生じた一部約定の注文であると認識し、当該注文識別情報に対応付けて振替処理DB59に格納されている約定額面金額に対して、S3802で読み出した売注文データの注文額面金額(注文残額面金額)を加算し(S3814)、これにより先の約定処理で生じた一部約定の約定額面金額と今回の約定処理で生じた一部約定の約定残額面金額を合算してまとめるようにする。S3802で読み出した当該注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合は(S3812:NO)、S3816に進む。
In S3810, the order quantity determination unit 45 determines whether the value of the variable t held in the memory is 1, and if t = 1 (S3810: YES), recognizes that it is the first contract processing. The process proceeds to S3816. If t = 1 is not satisfied (S3810: NO), t = 2 and the second execution process is recognized, and the order identification information read in S3802 is transferred in association with an untransferred transfer flag. It is determined whether it is stored in the process DB 59 (S3812).
When the order identification information read in S3802 is stored in the transfer process DB 59 in association with the untransferred transfer flag (S3812: YES), the selling order of the order identification information is generated by the first contract process. Recognizing that the order is a contract execution, the order face value of the sales order data read in S3802 (order balance face amount) with respect to the contract face amount stored in the transfer process DB 59 in association with the order identification information. Are added together (S3814), and the contract face value of the partial contract generated in the previous contract process is combined with the contract face value of the partial contract generated in the current contract process. If the order identification information read in S3802 is not stored in the transfer process DB 59 in association with an untransferred transfer flag (S3812: NO), the process proceeds to S3816.

S3816において、注文数量判定部45は、S3802で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグ(未振替の振替フラグ)と未生成を示す生成フラグ(未生成の生成フラグ)を対応付けて振替処理DB59に格納する。次にS3822において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新する。これにより、売注文用記憶部44の選択銘柄ブロックに記憶された最も過去に受け付けた未約定売注文を約定済の売注文として認識することができるようになる。   In step S3816, the order quantity determination unit 45 determines the contract amount including the sale order data read in step S3802, the order amount of the sale order data (order balance amount), the contract identification number of the sale order, and the order identification information. A transfer flag indicating untransferred (untransferred transfer flag) and a generation flag indicating ungenerated (ungenerated generation flag) are stored in the transfer process DB 59 in association with each other. Next, in S3822, the order quantity determination unit 45 updates the contract flag associated with the order identification information in the record of the selected brand block in the sell order storage unit 44 from uncommitted to information indicating contracted. As a result, it becomes possible to recognize, as a contracted sell order, the most unsold contract order received in the past stored in the selected brand block of the sell order storage unit 44.

S3824において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3800で検出した管理番号の個数Ns未満であるか判定し、番号iが個数Ns以上である場合に(S3824:NO)、例えば番号iが個数Nsと等しいときに、売注文管理番号保持手段に保持された各管理番号の売注文の約定処理を終了したと認識してS3850に進み、買注文の約定処理を行う。番号iが個数Ns未満である場合に(S3824:YES)、売注文管理番号保持手段に保持された各管理番号の中に売注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3826)、S3828に進む。   In S3824, the order quantity determination unit 45 determines whether the number i stored in the number storage unit is less than the number Ns of management numbers detected in S3800, and if the number i is greater than or equal to the number Ns (S3824). : NO), for example, when the number i is equal to the number Ns, it is recognized that the selling process of the selling order of each management number held in the selling order management number holding means has been completed, and the process proceeds to S3850, where the buying order is executed. I do. When the number i is less than the number Ns (S3824: YES), it is recognized that some of the management numbers held in the selling order management number holding means have not ended the selling order contract processing. The storage unit number i is updated to a value increased by 1 (S3826), and the process proceeds to S3828.

S3828において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。
次にS3830において、注文数量判定部45は、S3828で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3832において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3824に戻る。S3832の処理により、売注文用記憶部44の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定売注文を約定済の売注文として認識することができるようになる。
In S3828, the order quantity determination unit 45 reads the i-th smallest management number from the sales order management number holding unit with reference to the number i in the number storage unit, and sell order data and order identification information corresponding to the read management number. Is read from the record of the selected brand block in the selling order storage unit 44.
Next, in S3830, the order quantity determination unit 45 determines the contract face amount consisting of the sell order data read in S3828 and the order face amount (order balance face amount) of the sell order data, the contract identification number and the order identification of the sell order. The transfer flag indicating information, non-transfer, and the generation flag indicating non-generation are associated with each other and stored in the transfer processing DB 59. In step S3832, the order quantity determination unit 45 updates the contract flag associated with the order identification information from the uncommitted information to the information indicating the contracted completion in the record of the selected stock block in the selling order storage unit 44, and in step S3824. Return to. By the processing of S3832, it becomes possible to recognize the unsold order of the order identification information stored in the record of the selected brand block of the sell order storage unit 44 as a contracted sell order.

S3850において、注文数量判定部45は、買注文用記憶部24で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして買注文管理番号保持手段に保持する。
次にS3852において、注文数量判定部45は、最も小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出し、合計金額Σmを記憶する合計金額記憶手段の合計金額Σmを当該買注文データの注文額面金額(注文残額面金額)からなる初期値にセットする。また、番号記憶手段の番号iを初期値1にセットする。なお、買注文用記憶部24において買注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、買注文データと注文識別情報を読み出すときに買注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3850, the order quantity determination unit 45 reads the management number stored in the purchase order storage unit 24 in association with the unfilled execution flag in the selected stock block record, and sorts the read management numbers in ascending order. To the purchase order management number holding means.
Next, in S3852, the order quantity determination unit 45 reads the smallest management number from the purchase order management number holding unit, and selects the purchase order data and the order identification information corresponding to the read management number from the selected brand in the purchase order storage unit 24. The total amount Σm read from the block record and stored in the total amount storage means for storing the total amount Σm is set to an initial value composed of the order amount (order balance amount) of the purchase order data. Also, the number i of the number storage means is set to the initial value 1. In the case where the purchase order storage unit 24 stores the purchase order data, the order identification information, the order balance amount, and the execution flag in the record, the purchase order data and the order are read when the purchase order data and the order identification information are read. The identification information and the order balance amount are read out.

S3854において、注文数量判定部45は、合計金額記憶手段の合計金額Σmが売注文合計額面金額U以下であるか判定し、売注文合計額面金額U以下である場合は(S3854:YES)、S3852で読み出した当該注文識別情報の買注文が全部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを当該買注文の注文データの注文額面金額(注文残額面金額)にセットする。また、演算処理用の変数pを0にセットしてメモリに保持する。
合計金額記憶手段の合計金額Σmが売注文合計額面金額Uよりも大きい場合は(S3854:NO)、S3852で読み出した当該注文識別情報の買注文が一部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを売注文合計額面金額Uにセットする。また、変数pを1にセットしてメモリに保持する。
In S3854, the order quantity determination unit 45 determines whether the total amount Σm of the total amount storage unit is equal to or less than the total order amount U of the sales order. If it is equal to or less than the total order amount U (S3854: YES), S3852 Recognize that all the purchase orders of the order identification information read in step 1 are contracts to be executed, and set the contract calculation amount y of the contract calculation amount storage means to the order amount (order balance amount) of the order data of the purchase order. To do. Further, the variable p for arithmetic processing is set to 0 and held in the memory.
When the total amount Σm of the total amount storage means is larger than the selling order total face amount U (S3854: NO), the purchase order of the order identification information read in S3852 is recognized as an order to be partially contracted, and the contract is executed. The contracted calculated amount y of the calculated amount storage means is set to the selling order total face amount U. Further, the variable p is set to 1 and held in the memory.

S3860において、注文数量判定部45は、メモリに保持された変数tの値が1であるか判定し、t=1である場合は(S3860:YES)第1の約定処理であると認識してS3866に進み、t=1でない場合は(S3860:NO)t=2であって第2の約定処理であると認識し、S3852で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されているか判定する(S3862)。
S3852で読み出した注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されている場合は(S3862:YES)、第1の約定処理で生じた一部約定の注文であると認識し、当該注文識別情報に対応付けて振替処理DB59に格納されている約定額面金額に対して約定算出金額記憶手段の約定算出金額yを加算し(S3864)、これにより先の約定処理で生じた一部約定の約定額面金額と今回の約定処理で生じた一部約定の約定額面金額を合算してまとめるようにする。S3852で読み出した当該注文識別情報が未振替の振替フラグに対応付けて振替処理DB59に格納されていない場合は(S3862:NO)、S3866に進む。
S3866において、注文数量判定部45は、S3852で読み出した買注文データと約定算出金額記憶手段の約定算出金額yからなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグ(未振替の振替フラグ)と未生成を示す生成フラグ(未生成の生成フラグ)を対応付けて振替処理DB59に格納する。
In S3860, the order quantity determination unit 45 determines whether the value of the variable t held in the memory is 1, and if t = 1 (S3860: YES), recognizes that it is the first execution process. The process proceeds to S3866. If t = 1 is not satisfied (S3860: NO), t = 2 and the second execution process is recognized, and the order identification information read in S3852 is transferred in association with an untransferred transfer flag. It is determined whether it is stored in the process DB 59 (S3862).
When the order identification information read in S3852 is stored in the transfer process DB 59 in association with the untransferred transfer flag (S3862: YES), it is recognized as a partially executed order generated in the first contract process. Then, the contract calculation amount y of the contract calculation amount storage means is added to the contract face amount stored in the transfer process DB 59 in association with the order identification information (S3864), thereby causing the previous contract processing. Summarize the sum of the par face value of the partial contract and the contract face amount of the partial contract generated by the current processing. When the order identification information read in S3852 is not stored in the transfer process DB 59 in association with the untransferred transfer flag (S3862: NO), the process proceeds to S3866.
In S3866, the order quantity determination unit 45 indicates the contract face amount composed of the purchase order data read in S3852 and the contract calculation amount y of the contract calculation amount storage means, the contract identification number of the purchase order, the order identification information, and untransferred. A transfer flag (untransferred transfer flag) and a generation flag (non-generated generation flag) indicating non-generation are associated with each other and stored in the transfer process DB 59.

S3868において、注文数量判定部45は、メモリに保持された変数pの値が0であるか判定し、変数p=0である場合に(S3868:YES)、すなわちS3852で読み出した注文識別情報の買注文が全部約定の注文である場合にS3872に進む。変数p=0でない場合に(S3868:NO)、すなわち変数p=1であってS3852で読み出した注文識別情報の買注文が一部約定の注文である場合にS3870に進む。
S3870において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックにおいて当該注文識別情報に対応付けされた買注文データの注文額面金額(注文残額面金額)に対して約定算出金額記憶手段の約定算出金額yを減算する。これにより、当該注文識別情報に対応付けされた買注文データの注文額面金額(注文残額面金額)を買注文の未約定分の額面金額に更新することができる。
S3872において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新する。これにより、買注文用記憶部24の選択銘柄ブロックのレコードに記憶された最も過去に受け付けた未約定買注文を約定済の買注文として認識することができるようになる。
In S3868, the order quantity determination unit 45 determines whether the value of the variable p stored in the memory is 0. If the variable p = 0 (S3868: YES), that is, the order identification information read in S3852 If all buy orders are executed orders, the process proceeds to S3872. When the variable p is not 0 (S3868: NO), that is, when the variable p = 1 and the purchase order of the order identification information read in S3852 is a partially executed order, the process proceeds to S3870.
In S3870, the order quantity determination unit 45 stores the contract calculated amount for the order amount (order balance amount) of the purchase order data associated with the order identification information in the selected symbol block of the purchase order storage unit 24. The contract calculation amount y of the means is subtracted. Thereby, the order face value (order balance value) of the purchase order data associated with the order identification information can be updated to the face value of the uncommitted face of the purchase order.
In S3872, the order quantity determination unit 45 updates the contract flag associated with the order identification information in the record of the selected stock block in the purchase order storage unit 24 from uncommitted to information indicating contracted. This makes it possible to recognize the most recently received uncontracted purchase order stored in the record of the selected brand block in the purchase order storage unit 24 as a contracted buy order.

S3874において、注文数量判定部45は、合計数量記憶手段の合計金額Σmが売注文合計額面金額Uと等しいか判定し、等しくない場合に(S3874:NO)、番号記憶手段の番号iを1だけ増加させて更新するとともに、約定算出金額記憶手段の約定算出金額yを売注文合計額面金額Uから合計金額Σmを減じた額(U−Σm)、すなわち合計金額Σmから売注文合計額面金額Uまでの超過金額にセットする(S3876)。
次にS3878において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出し、合計金額記憶手段の合計金額Σmに対して当該買注文データの注文額面金額(注文残額面金額)を加算して更新する。なお、買注文用記憶部24において買注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、買注文データと注文識別情報を読み出すときに買注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3874, the order quantity determination unit 45 determines whether or not the total amount Σm of the total quantity storage unit is equal to the selling order total face amount U, and when it is not equal (S3874: NO), the number i of the number storage unit is only 1. In addition to updating the contract calculation amount storage means, the contract calculation amount y is the amount obtained by subtracting the total amount Σm from the sales order total face amount U (U−Σm), that is, from the total amount Σm to the sales order total face amount U. (S3876).
In step S3878, the order quantity determination unit 45 reads the i-th smallest management number from the purchase order management number holding unit with reference to the number i in the number storage unit, and purchase order data and the order corresponding to the read management number. The identification information is read from the record of the selected brand block in the purchase order storage unit 24, and the order amount (order balance amount) of the purchase order data is added to the total amount Σm of the total amount storage means and updated. In the case where the purchase order storage unit 24 stores the purchase order data, the order identification information, the order balance amount, and the execution flag in the record, the purchase order data and the order are read when the purchase order data and the order identification information are read. The identification information and the order balance amount are read out.

S3880において、注文数量判定部45は、合計数量記憶手段の合計金額Σmが売注文合計額面金額U以下であるか判定し、売注文合計額面金額Uよりも大きい場合は(S3880:NO)、S3878で読み出した注文識別情報の買注文が一部約定する注文であると認識してS3890に進む。このときの(S3878の直前のS3876で算出した)約定算出金額yは、売注文合計額面金額U未満の最大の合計金額(合計額面金額)から売注文合計額面金額Uまでの超過額面金額となっている。売注文合計額面金額U以下である場合は(S3880:YES)、S3878で読み出した注文識別情報の買注文が全部約定する注文であると認識してS3882に進む。
S3882において、注文数量判定部45は、S3878で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3884において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3874に戻る。S3884の処理により、買注文用記憶部24の選択銘柄ブロックに当該注文識別情報に対応付けて記憶された未約定買注文を約定済の買注文として認識することができるようになる。
In S3880, the order quantity determination unit 45 determines whether or not the total amount Σm of the total quantity storage unit is equal to or less than the total order amount U of the selling order. If the total order amount U is greater than the selling order (S3880: NO), S3878 Recognizing that the purchase order of the order identification information read out in step 1 is a partially executed order, the process advances to step S3890. The contract calculated amount y (calculated in S3876 immediately before S3878) at this time is the excess face amount from the maximum total amount (total face amount) less than the selling order total face amount U to the selling order total face amount U. ing. If it is less than or equal to the selling order total face amount U (S3880: YES), the purchase order of the order identification information read in S3878 is recognized as an order to be executed, and the process proceeds to S3882.
In S3882, the order quantity determination unit 45 includes the purchase order data read in S3878, the contract face amount including the order face amount (order balance face amount) of the purchase order data, the contract identification number and the order identification information of the purchase order. A transfer flag indicating non-transfer and a generation flag indicating non-transfer are associated with each other and stored in the transfer processing DB 59. In S3884, the order quantity determination unit 45 updates the contract flag associated with the order identification information from the uncommitted information to the contracted information in the record of the selected brand block in the buy order storage unit 24, and S3874. Return to. By the processing of S3884, the uncommitted purchase order stored in the selected issue block of the purchase order storage unit 24 in association with the order identification information can be recognized as a fulfilled purchase order.

S3890において、注文数量判定部45は、S3878で読み出した買注文データと約定算出金額記憶手段の約定算出金額yからなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。次にS3892において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックにおいて当該注文識別情報に対応付けされた買注文データの注文額面金額(注文残額面金額)に対して約定算出金額記憶手段の約定算出金額yを減算する。これにより、当該注文識別情報に対応付けされた買注文データの注文額面金額(注文残額面金額)を買注文の未約定分の額面金額に更新することができる。
このように約定処理する買注文と売注文について管理番号を用いて時間優先の原則を適用することができる。また、銘柄毎の管理番号を用いて銘柄毎に管理番号の大小から最も過去の注文データを検出して時間優先の原則を適用することで、銘柄を区別せずに売注文全体に対する管理番号を用いて銘柄毎に当該管理番号の大小から最も過去の注文データを検出して時間優先の原則を適用する場合に比べて、管理番号の桁数を減らすことができ、処理の迅速を図ることができる利点がある。
In S3890, the order quantity determination unit 45 indicates the contract face amount including the purchase order data read in S3878 and the contract calculation amount y of the contract calculation amount storage means, the contract identification number of the purchase order, the order identification information, and untransferred. The transfer flag and the generation flag indicating non-generation are associated with each other and stored in the transfer process DB 59. Next, in S3892, the order quantity determination unit 45 performs a contract calculation for the order amount (order balance amount) of the purchase order data associated with the order identification information in the selected symbol block of the purchase order storage unit 24. The contract calculation amount y of the amount storage means is subtracted. Thereby, the order face value (order balance value) of the purchase order data associated with the order identification information can be updated to the face value of the uncommitted face of the purchase order.
In this way, the principle of time priority can be applied to the buy order and the sell order to be executed by using the management number. In addition, by using the management number for each brand and detecting the most recent order data from the size of the management number for each brand and applying the time priority principle, the management number for the entire selling order can be assigned without distinguishing the brand. Compared to the case where the most recent order data is detected from the size of the relevant management number for each issue and the principle of time priority is applied, the number of digits of the management number can be reduced and the processing can be speeded up. There are advantages you can do.

本実施形態の転売処理システムによれば、個人向け国庫債券の流通市場を形成することができ、個人向け利付国庫債券の所有者は、償還期限前の個人向け利付国庫債券を容易に他人に売却することができる。このため、個人向け利付国庫債券の流動性が向上する。特に、発行日から1年以内の個人向け利付国庫債券(変動10年)は、原則的に日本銀行への買取請求ができないため流動性はかなり低いが、本実施形態の転売処理システムによれば発行日から1年以内の個人向け利付国庫債券においても流動性を確保することができ、個人向け利付国庫債券を所有する個人投資家の利便性を向上することができる。
また、個人投資家は、長期運用向けの資金のみではなく短期運用向けの資金でも個人向け利付国庫債券を購入して資産運用することが実質的に可能になり、また、個人投資家が本実施形態の転売処理システムを用いて個人向け利付国庫債券を他人から購入する場合、個人向け利付国庫債券の発行時期以外でも個人向け利付国庫債券を購入することが可能になり、かつ償還期限までの残存期間を選択して購入することが可能になる。
According to the resale processing system of this embodiment, it is possible to form a secondary market for individual national treasury bonds, and the owner of an individual interest-bearing national treasury bond can easily sell an individual interest-bearing national treasury bond to another person before the redemption date. can do. This improves the liquidity of personal interest-bearing treasury bonds. In particular, the interest-bearing national treasury bonds (fluctuating 10 years) within one year from the date of issue are not very liquid because they cannot in principle request for purchase from the Bank of Japan. Liquidity can be secured even for individual interest-bearing treasury bonds within one year from the date of issue, and convenience for individual investors who own individual interest-bearing national treasury bonds can be improved.
In addition, it is possible for individual investors to effectively manage assets by purchasing interest-bearing national treasury bonds with funds for short-term management as well as funds for short-term management. When using a form of resale processing system to purchase a personal interest-bearing national treasury bond from another person, it becomes possible to purchase a personal interest-bearing national treasury bond at a time other than the issue date of the personal interest-bearing national treasury bond and remain until the redemption date It becomes possible to purchase by selecting a period.

なお、本発明は上述した実施形態に限定されるものではなく、本発明の主旨を逸脱しない範囲内で種々変更して実施することが可能である。コンピュータを、上記実施形態の口座間振替処理装置20の注文受付部21、注文データ記憶部22、売買区分判定部23、買注文用記憶部24、振替処理部26、売注文用記憶部44、注文数量判定部45、振替報告書発行部51、顧客DB52、国債DB53、顧客口座DB58、振替処理DB59、及び振替報告書DB60として機能させるためのプログラムをコンピュータにインストールして、当該コンピュータを口座間振替処理装置20として機能させるようにしてもよい。   Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention. The computer includes an order receiving unit 21, an order data storage unit 22, a trade classification determination unit 23, a purchase order storage unit 24, a transfer processing unit 26, and a sales order storage unit 44, of the inter-account transfer processing device 20 of the above embodiment. A program for functioning as an order quantity determination unit 45, a transfer report issuing unit 51, a customer DB 52, a government bond DB 53, a customer account DB 58, a transfer processing DB 59, and a transfer report DB 60 is installed in a computer, and the computer is connected between accounts. You may make it function as the transfer processing apparatus 20. FIG.

本発明の一実施形態に係る口座間振替処理装置20を含む、有価証券の転売処理システムの構成例を示す概略図である。It is the schematic which shows the structural example of the resale processing system of securities including the transfer processing apparatus 20 between accounts which concerns on one Embodiment of this invention. 口座間振替処理装置20の構成の一例を説明するためのブロック図。The block diagram for demonstrating an example of a structure of the transfer processing apparatus 20 between accounts. 国債DB53のデータ構成の一例をテーブル形式で示す説明図。Explanatory drawing which shows an example of a data structure of government bond DB53 in a table format. 顧客DB52のデータ構成の一例をテーブル形式で示す説明図。Explanatory drawing which shows an example of a data structure of customer DB52 in a table format. 顧客口座DB58のデータ構成の一例をテーブル形式で示す説明図。Explanatory drawing which shows an example of a data structure of customer account DB58 in a table format. 買注文用記憶部24のデータ構成の一例をテーブル形式で示す説明図。Explanatory drawing which shows an example of a data structure of the memory | storage part 24 for purchase orders in a table format. 売注文用記憶部44のデータ構成の一例をテーブル形式で示す説明図。Explanatory drawing which shows an example of a data structure of the memory | storage part 44 for sale orders in a table format. 口座間振替処理装置20の処理動作を、顧客の端末装置10の処理動作と併せて説明するための概略的なフローチャート。The schematic flowchart for demonstrating the processing operation of the transfer processing apparatus 20 between accounts with the processing operation of the customer's terminal device 10. FIG. 図8のフローチャートの注文処理S2の一例を説明するための第1のフローチャート。FIG. 9 is a first flowchart for explaining an example of order processing S2 in the flowchart of FIG. 8; 図9に続いて、図8のフローチャートの注文処理S2の一例を説明するための第2のフローチャート。FIG. 9 is a second flowchart for explaining an example of the order process S2 in the flowchart of FIG. 8 following FIG. 図9のフローチャートのS210において顧客の端末装置10に表示される板情報画面の一例を示す説明図。Explanatory drawing which shows an example of the board information screen displayed on the customer's terminal device 10 in S210 of the flowchart of FIG. 図9のフローチャートのS218において顧客の端末装置10に表示される個人向け利付国庫債券の注文入力画面の一例を示す説明図。Explanatory drawing which shows an example of the order input screen of the personal interest-bearing national treasury bond displayed on the customer's terminal device 10 in S218 of the flowchart of FIG. 図9のフローチャートのS225において顧客の端末装置10に表示される個人向け利付国庫債券の注文確認画面の一例を示す説明図。Explanatory drawing which shows an example of the order confirmation screen of the personal interest-bearing national treasury bond displayed on the customer's terminal device 10 in S225 of the flowchart of FIG. 経過利子相当額の算出方法の一例を説明するための説明図。Explanatory drawing for demonstrating an example of the calculation method of accrued interest equivalent amount. 振替手数料の算出方法の一例を説明するための説明図。Explanatory drawing for demonstrating an example of the calculation method of a transfer commission. 図8のフローチャートの振替処理S4の一例を説明するためのフローチャート。The flowchart for demonstrating an example of transfer process S4 of the flowchart of FIG. 図8のフローチャートの振替報告書発行処理S6の一例を説明するためのフローチャート。The flowchart for demonstrating an example of the transfer report issue process S6 of the flowchart of FIG. 図17のフローチャートのS608で生成される買注文顧客向けの振替報告書の電子書面データの表示例を示す説明図。FIG. 18 is an explanatory diagram illustrating a display example of electronic document data of a transfer report for a purchase order customer generated in S608 of the flowchart of FIG. 17; 図17のフローチャートのS608で生成される売注文顧客向けの振替報告書の電子書面データの表示例を示す説明図。FIG. 18 is an explanatory diagram illustrating a display example of electronic document data of a transfer report for a sales order customer generated in S608 of the flowchart of FIG. 図9のフローチャートのS210において顧客の端末装置10に表示される板情報画面の他の一例を示す説明図。Explanatory drawing which shows another example of the board information screen displayed on the customer's terminal device 10 in S210 of the flowchart of FIG. 図8のフローチャートの約定処理S3の一例を説明するためのフローチャート。The flowchart for demonstrating an example of contract processing S3 of the flowchart of FIG. 注文数量判定部45の処理動作のうち第1の注文データ格納処理S360の処理動作の一例を説明するための第1のフローチャート。The 1st flowchart for demonstrating an example of the processing operation of 1st order data storage process S360 among the processing operations of the order quantity determination part 45. FIG. 図22に続いて、注文数量判定部45の処理動作のうち第1の注文データ格納処理S360の処理動作の一例を説明するための第2のフローチャート。FIG. 23 is a second flowchart for explaining an example of the processing operation of the first order data storage processing S360 among the processing operations of the order quantity determination unit 45, following FIG. 図23に続いて、注文数量判定部45の処理動作のうち第1の注文データ格納処理S360の処理動作の一例を説明するための第3のフローチャート。FIG. 24 is a third flowchart for explaining an example of the processing operation of the first order data storage processing S360 among the processing operations of the order quantity determination unit 45, following FIG. 注文数量判定部45の処理動作のうち第2の注文データ格納処理S370の処理動作の一例を説明するための第1のフローチャート。The 1st flowchart for demonstrating an example of the processing operation of 2nd order data storage process S370 among the processing operations of the order quantity determination part 45. FIG. 図25に続いて、注文数量判定部45の処理動作のうち第2の注文データ格納処理S370の処理動作の一例を説明するための第2のフローチャート。FIG. 26 is a second flowchart for explaining an example of the processing operation of the second order data storage process S370 among the processing operations of the order quantity determination unit 45, following FIG. 注文数量判定部45の処理動作のうち第3の注文データ格納処理S380の処理動作の一例を説明するための第1のフローチャート。The 1st flowchart for demonstrating an example of the processing operation of 3rd order data storage process S380 among the processing operations of the order quantity determination part 45. FIG. 図27に続いて、注文数量判定部45の処理動作のうち第3の注文データ格納処理S380の処理動作の一例を説明するための第2のフローチャート。27 is a second flowchart for explaining an example of the processing operation of the third order data storage processing S380 out of the processing operations of the order quantity determination unit 45. FIG. 図28に続いて、注文数量判定部45の処理動作のうち第3の注文データ格納処理S380の処理動作の一例を説明するための第3のフローチャート。28 is a third flowchart for explaining an example of the processing operation of the third order data storage processing S380 among the processing operations of the order quantity determination unit 45. FIG.

符号の説明Explanation of symbols

10・・・顧客の端末装置(顧客端末)、15・・・通信回線、20・・・口座間振替処理装置、21・・・注文受付部、22・・・注文データ記憶部、23・・・売買区分判定部、24・・・買注文用記憶部、26・・・振替処理部、44・・・売注文用記憶部、45・・・注文数量判定部、51・・・振替報告書発行部、52・・・顧客データベース(顧客DB)、53・・・国債データベース(国債DB)、58・・・顧客口座データベース(顧客口座DB)、59・・・振替処理データベース(振替処理DB)、60・・・振替報告書データベース(振替報告書DB)。   DESCRIPTION OF SYMBOLS 10 ... Customer's terminal device (customer terminal), 15 ... Communication line, 20 ... Inter-account transfer processing device, 21 ... Order reception part, 22 ... Order data storage part, 23 ... -Sales division determination unit, 24 ... storage unit for purchase order, 26 ... transfer processing unit, 44 ... storage unit for sale order, 45 ... order quantity determination unit, 51 ... transfer report Issuing part, 52 ... customer database (customer DB), 53 ... government bond database (government bond DB), 58 ... customer account database (customer account DB), 59 ... transfer process database (transfer process DB) 60 ... Transfer report database (transfer report DB).

Claims (13)

金融機関の顧客の口座に預けられた前記顧客の資金の残高を示す資金残高データ及び前記顧客の口座に預けられた前記顧客の個人向け国庫債券等の有価証券の銘柄を識別する銘柄識別情報と当該銘柄の有価証券残高を示す有価証券残高データを、前記顧客の口座番号に対応付けて格納する顧客口座データベースと、
前記顧客を識別する顧客識別情報と当該顧客の口座番号を対応付けて格納する顧客データベースと、
前記有価証券の注文の内容を示す注文データと当該注文の約定数量をレコードに格納することにより、当該注文データと当該約定数量を対応付けて格納する振替処理データベースと
を具備し、前記顧客の口座間で前記有価証券の振替を行うための口座間振替処理装置において、
前記顧客の端末装置から送信された前記顧客からの前記有価証券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報並びに前記有価証券の銘柄識別情報、売買区分及び注文数量を含む注文データを受信し、受信した前記注文データを注文データ記憶部に記憶する注文受付部と、
前記注文データに含まれる前記有価証券の銘柄識別情報に対応するブロックを備えた買注文用記憶部及び売注文用記憶部と、
前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データを格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データを格納する売買区分判定部と、
前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データに含まれる注文数量の合計数量である売注文合計数量と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データに含まれる注文数量の合計数量である買注文合計数量との大小関係を判定し、前記売注文合計数量と前記買注文合計数量のうち小さいほうの合計数量を成す買注文の約定数量と当該買注文の注文データとを対応付けて前記振替処理データベースに格納するとともに、前記小さいほうの合計数量を成す売注文の約定数量と当該売注文の注文データとを対応付けて前記振替処理データベースに格納する処理を予め定められた所定時刻に銘柄識別情報毎に行う注文数量判定部と、
前記振替処理データベースに格納された注文データ及び約定数量をレコード毎に読み出し、読み出した当該レコードの注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として加算するとともに当該買注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、読み出した当該レコードの注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として減算するとともに当該売注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行う振替処理部と
を具備する
ことを特徴とする口座間振替処理装置。
Fund balance data indicating the balance of the customer's funds deposited in the account of the customer of the financial institution, and brand identification information for identifying the brand of securities such as the national treasury bonds of the customer deposited in the customer's account; A customer account database that stores securities balance data indicating the securities balance of the brand in association with the account number of the customer;
A customer database for storing the customer identification information for identifying the customer and the account number of the customer in association with each other;
A transfer processing database that stores the order data indicating the order contents of the securities and the contracted amount of the order in a record, and stores the order data and the contracted amount in association with each other, and the customer account In the inter-account transfer processing device for transferring the securities between
Order data including information indicating the contents of the order of the securities from the customer transmitted from the terminal device of the customer, the customer identification information of the customer, the brand identification information of the securities, the trading category and the order An order receiving unit that receives order data including a quantity, and stores the received order data in an order data storage unit;
A buy order storage unit and a sell order storage unit comprising a block corresponding to the brand identification information of the securities included in the order data;
The buy / sell order storage unit determines the buy / sell classification included in the order data from the customer stored in the order data storage unit, and the order data is buy order data whose buy / sell category is information indicating buying. The buy order data is stored in a record of a block corresponding to the brand identification information of the buy order data, and the sell order when the order data is sell order data whose sale classification indicates sale A buy / sell category determination unit that stores the sell order data in a record of a block corresponding to the brand identification information of the sell order data among the blocks of the storage unit;
The sell order total quantity that is the total quantity of the order quantities included in each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage section, and the brand identification information in the buy order storage section The purchase order total quantity, which is the total quantity of the order quantities included in each purchase order data stored in the record of the block corresponding to, is determined, and the smaller of the sell order total quantity and the buy order total quantity The contracted quantity of the buy order that forms the total quantity of the other and the order data of the buy order are stored in the transfer processing database in association with each other, and the fixed quantity of the sell order that forms the smaller total quantity and the sales order An order quantity determination unit that performs processing for associating the order data with each other and storing the transfer data in the transfer processing database for each brand identification information at a predetermined time,
The order data stored in the transfer processing database and the approximate constant amount are read for each record, and when the read order data of the record is purchase order data, customer identification information included in the purchase order data is added to the customer database. Based on the account number of the associated purchase order customer, the securities balance of the issue of the issue identification information included in the purchase order data stored in the customer account database in association with the account number of the purchase order customer In addition, a transfer process for a purchase order is performed in which the contract amount is added as a transfer quantity, and the amount equivalent to the price of the securities of the contract amount is reduced as a transfer amount on the purchase order side with respect to the funds balance of the purchase order customer. The customer identification information included in the sell order data when the order data of the record read is the sell order data Based on the account number of the sales order customer associated in the customer database, the product identification information included in the sales order data stored in the customer account database in association with the account number of the sales order customer For a sell order that subtracts the contract amount from the securities balance as a transfer quantity, and increases the amount equivalent to the price of the contract for the contract amount as the transfer amount on the sell order side. An inter-account transfer processing device, comprising: a transfer processing unit that performs the transfer process.
前記顧客からの前記有価証券の注文の内容を示す前記注文データ毎に管理番号を一定方向に更新して前記顧客からの前記注文データの管理番号を生成する注文管理部をさらに具備し、
前記売買区分判定部は、前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと前記注文管理部の当該買注文データの管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと前記注文管理部の当該売注文データの管理番号を対応付けて格納するものであり、
前記注文数量判定部は、
前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である売注文合計数量と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データの注文数量の合計数量である買注文合計数量との大小関係を判定し、大小関係に応じた第1から第3のケースの処理を所定時刻に銘柄識別情報毎に行うものであって、
(1)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である前記売注文合計数量が前記買注文合計数量よりも大きい第1のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文数量が前記買注文合計数量以上である場合に当該管理番号に対応する売注文データと前記買注文合計数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文数量が前記買注文合計数量未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する売注文データの注文数量を合計した合計数量が前記買注文合計数量未満で最大となる合計数量とそのときの管理番号である最大管理番号を求め、前記売注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する売注文データと前記最大の合計数量から前記買注文合計数量までの超過数量からなる約定数量とを対応付けて前記振替処理データベースに格納する第1の注文データ格納処理を行い、
(2)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である前記売注文合計数量が前記買注文合計数量と等しい第2のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納する第2の注文データ格納処理を行い、
(3)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文数量の合計数量である前記売注文合計数量が前記買注文合計数量よりも小さい第3のケースでは、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記買注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文数量が前記売注文合計数量以上である場合に当該管理番号に対応する買注文データと前記売注文合計数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文数量が前記売注文合計数量未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する買注文データの注文数量を合計した合計数量が前記売注文合計数量未満で最大となる合計数量とそのときの管理番号である最大管理番号を求め、前記買注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文数量からなる約定数量とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する買注文データと前記最大の合計数量から前記売注文合計数量までの超過数量からなる約定数量とを対応付けて前記振替処理データベースに格納する第3の注文データ格納処理を行うものである
ことを特徴とする請求項1記載の口座間振替処理装置。
An order management unit that generates a management number for the order data from the customer by updating a management number in a certain direction for each order data indicating the order of the securities from the customer;
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit, and the order data is buy order data that is information indicating that the trading category indicates buying. Storing the purchase order data and the management number of the purchase order data of the order management unit in association with the record of the block corresponding to the brand identification information of the purchase order data among the blocks of the purchase order storage unit, In the case where the order data is sell order data which is information indicating that the trade classification is sell, the sell order data and the record of the block corresponding to the brand identification information of the sell order data in the block of the sell order storage unit The management number of the sales order data of the order management unit is stored in association with each other,
The order quantity determination unit
Corresponds to the sell order total quantity which is the total quantity of the order quantity of each sell order data stored in the block record corresponding to the brand identification information of the sell order storage section and the brand identification information of the buy order storage section Determining the magnitude relationship with the purchase order total quantity, which is the total quantity of the order quantity of each purchase order data stored in the record of the block to be performed, and processing the first to third cases according to the magnitude relation at a predetermined time This is done for each brand identification information,
(1) The sell order total quantity, which is the total quantity of the order quantity of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is larger than the buy order total quantity In the first case, the transfer is performed by associating each purchase order data stored in a record of a block corresponding to the brand identification information in the storage unit for purchase order with a constant amount made up of the order quantity of the purchase order data. Update in the predetermined direction based on the management number of the sales order data stored in the processing database and stored in association with the sales order data in the record of the block corresponding to the brand identification information in the sales order storage unit When the order quantity of the sell order data corresponding to the smallest management number is equal to or greater than the total purchase order quantity, the sell order data corresponding to the management number and the total buy order When the order quantity of the selling order data corresponding to the management number with the smallest update in the certain direction is less than the total quantity of the buy order The total quantity that the order quantity of the sales order data corresponding to the management number in the order of few updates in a certain direction is the maximum when the total quantity is less than the total purchase order quantity and the maximum management number that is the management number at that time Each selling order data corresponding to each management number from the management number with the smallest update in the fixed direction to the maximum management number in the block corresponding to the brand identification information in the selling order storage unit and the selling order Stores in the transfer processing database in association with a contracted amount consisting of the order quantity of data, and further updates the maximum management number in the block First order data storage process in which sell order data corresponding to a management number which is a number and a contracted constant amount consisting of an excess quantity from the maximum total quantity to the buy order total quantity are associated with each other and stored in the transfer process database And
(2) The sell order total quantity, which is the total quantity of the order quantity of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is equal to the buy order total quantity. In the second case, the transfer process is performed by associating each purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit with a constant amount of the order quantity of the purchase order data. The transfer process by associating each selling order data stored in a database and stored in a record of a block corresponding to the brand identification information in the selling order storage unit with a constant amount consisting of the order quantity of the selling order data Perform the second order data storage process stored in the database,
(3) The sell order total quantity, which is the total quantity of the order quantities of each sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit, is smaller than the buy order total quantity In the third case, each transfer order data stored in a record of a block corresponding to the brand identification information in the sell order storage unit is associated with an approximate constant amount made up of the order quantity of the sell order data in association with the transfer. Update in the certain direction based on the management number of the purchase order data stored in the processing database and stored in association with the purchase order data in the record of the block corresponding to the brand identification information in the storage unit for purchase order If the order quantity of the buy order data corresponding to the smallest management number is greater than or equal to the total quantity of the sell orders, the buy order data corresponding to the management number and the sell order total When the order quantity of the purchase order data corresponding to the management number with the smallest update in the certain direction is less than the total quantity sold, The total quantity that is the largest total when the total quantity of the purchase order data corresponding to the management number is less than the total quantity of the selling order and the maximum management number that is the management number at that time, in order of decreasing update in a certain direction. Each purchase order data corresponding to each management number from the management number with the smallest update in the fixed direction to the maximum management number in the block corresponding to the brand identification information in the purchase order storage unit and the purchase order Stores in the transfer processing database in association with a contracted amount consisting of the order quantity of data, and further updates the maximum management number in the block The third order data storage process for associating the purchase order data corresponding to the management number, which is an issue number, with the contracted quantity consisting of the excess quantity from the maximum total quantity to the sell order total quantity and storing them in the transfer process database The inter-account transfer processing device according to claim 1, wherein:
前記買注文顧客及び売注文顧客の口座番号の口座間における前記有価証券の振替処理の内容を示す情報を前記買注文顧客及び売注文顧客の端末装置に送信する振替報告書発行部をさらに具備し、
前記顧客データベースは、前記顧客を識別する顧客識別情報と当該顧客の口座番号と当該顧客のメールアドレスを対応付けて格納するものであり、
前記振替処理部は、
前記振替処理データベースに格納された約定数量及び注文データをレコード毎に読み出し、
読み出した当該レコードの前記注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として加算するとともに当該買注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、前記買注文側の代金相当額と当該買注文用の振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報を当該レコードに格納する処理を行うものであり、
読み出した当該レコードの前記注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として減算するとともに当該売注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行い、前記売注文側の代金相当額と当該売注文用の振替処理を識別するための振替処理識別番号と当該振替処理をした振替日を示す日付情報を当該レコードに格納する処理を行うものであり、
前記振替報告書発行部は、
前記振替処理部により前記振替処理データベースに格納された注文データ、約定数量、代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、前記約定数量である前記振替数量、前記代金相当額である振替金額、前記振替処理識別番号及び前記振替日の日付情報を含む振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて前記顧客データベースに格納された当該注文顧客のメールアドレスと当該振替報告書の電子書面データとを対応付けて振替報告書データベースに格納する処理を、前記読み出した前記振替処理データベースの前記レコード毎に行う電子書面生成手段と、
前記振替報告書データベースに対応付けて格納された前記顧客のメールアドレスと当該顧客用の振替報告書の電子書面データを読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信する通知手段と
を備える
ことを特徴とする請求項1記載の口座間振替処理装置。
A transfer report issuing unit for transmitting information indicating the contents of transfer processing of the securities between accounts of the purchase order customer and the sell order customer to the terminal device of the purchase order customer and the sell order customer; ,
The customer database stores customer identification information for identifying the customer, an account number of the customer, and an email address of the customer in association with each other,
The transfer processing unit
Read the approximate constant amount and order data stored in the transfer processing database for each record,
When the order data of the read record is purchase order data, the purchase order customer's account number is associated with the customer identification information included in the purchase order data in the customer database. The contract amount is added as a transfer quantity to the securities balance of the issue identification information included in the purchase order data stored in the customer account database in association with an account number, and the purchase order customer's funds Perform a transfer process for the purchase order to reduce the amount equivalent to the amount of the securities of the contract amount corresponding to the balance as a transfer amount on the purchase order side, and perform a transfer process for the purchase order side and the purchase order transfer amount A process of storing the transfer process identification number for identifying the date information indicating the transfer date on which the transfer process is performed in the record,
When the order data of the read record is sell order data, based on the account number of the sell order customer associated with the customer identification information included in the sell order data in the customer database, The contract amount is subtracted as a transfer quantity from the securities balance of the issue identification information included in the sale order data stored in the customer account database in association with an account number, and the sale order customer's funds Perform a transfer process for sell order to increase the amount equivalent to the price of the securities for the contract amount as the transfer amount on the sell order side, and transfer process for the sell order side and the equivalent price for the sell order A process of storing the transfer process identification number for identifying the date information indicating the transfer date on which the transfer process is performed in the record,
The transfer report issuing department
The order data stored in the transfer processing database by the transfer processing unit, the contract amount, the price equivalent amount, the transfer process identification number, and the date information of the transfer date are read for each record, and the brand identification information and trading information included in the order data Generate electronic document data of a transfer report including classification, the transfer quantity that is the constant amount, the transfer amount that is the price equivalent, the transfer process identification number, and date information of the transfer date, and include the order data Processing for storing the order customer's e-mail address stored in the customer database in association with the customer identification information and the electronic document data of the transfer report in association with the read report database. Electronic document generation means for each record in the processing database;
The customer's email address stored in association with the transfer report database and the electronic document data of the customer's transfer report are read out, and the electronic document data of the customer's transfer report is read as the customer's email address. The inter-account transfer processing device according to claim 1, further comprising: a notification means for transmitting.
個人向け利付国庫債券からなる前記有価証券の銘柄毎の利払日及び現在の適用利率を、当該銘柄を識別する銘柄識別情報に対応付けて格納する国債データベースと、
前記顧客からの前記有価証券の注文の内容を示す前記注文データ毎に管理番号を一定方向に更新して前記顧客からの前記注文データの管理番号を生成する注文管理部とをさらに具備し、
前記振替処理データベースは、前記有価証券の注文の内容を示す注文データと当該注文の約定額面金額をレコードに格納することにより、当該注文データと当該約定額面金額を対応付けて格納するものであり、
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記有価証券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを前記注文データ記憶部に記憶し、
前記売買区分判定部は、前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと前記注文管理部の当該買注文データの管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと前記注文管理部の当該売注文データの管理番号を対応付けて格納するものであり、
前記注文数量判定部は、
前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データの注文額面金額の合計額面金額である買注文合計額面金額との大小関係を判定し、大小関係に応じた第1から第3のケースの処理を所定時刻に銘柄識別情報毎に行うものであって、
(1)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも大きい第1のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額以上である場合に当該管理番号に対応する売注文データと前記買注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する売注文データの注文額面金額を合計した合計額面金額が前記買注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記売注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する売注文データと前記最大の合計額面金額から前記買注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第1の注文データ格納処理を行い、
(2)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額と等しい第2のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第2の注文データ格納処理を行い、
(3)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも小さい第3のケースでは、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記買注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づき、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額以上である場合に当該管理番号に対応する買注文データと前記売注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記一定方向への更新が最も少ない管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額未満である場合に前記一定方向への更新が少ない順に前記管理番号に対応する買注文データの注文額面金額を合計した合計額面金額が前記売注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記買注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記一定方向への更新が最も少ない管理番号から前記最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する買注文データと前記最大の合計額面金額から前記売注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第3の注文データ格納処理を行うものであり、
前記振替処理部は、
前記振替処理データベースに格納された注文データ及び約定額面金額をレコード毎に読み出し、
読み出した当該レコードの注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として加算するとともに当該買注文顧客の資金残高に対して当該約定額面金額の前記個人向け利付国庫債券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理を行い、
読み出した当該レコードの注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の個人向け利付国庫債券残高に対して当該約定額面金額を振替額面金額として減算するとともに当該売注文顧客の資金残高に対して当該約定額面金額の前記個人向け利付国庫債券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理を行うものである
ことを特徴とする請求項1記載の口座間振替処理装置。
A government bond database that stores an interest payment date and a current applicable interest rate for each stock of the securities consisting of personal interest-bearing national treasury bonds in association with stock identification information for identifying the stock;
An order management unit that updates a management number for each order data indicating the order contents of the securities from the customer in a certain direction and generates a management number of the order data from the customer;
The transfer processing database stores the order data indicating the order contents of the securities and the contract face amount of the order in a record, and stores the order data and the contract face amount in association with each other.
The order receiving unit is order data including information indicating the order contents of the securities from the customer transmitted from the terminal device of the customer, wherein the customer identification information of the customer, the interest-bearing national treasury bond Receiving the order data including the brand identification information, the trading category, and the order amount, and storing the received order data in the order data storage unit,
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit, and the order data is buy order data that is information indicating that the trading category indicates buying. Storing the purchase order data and the management number of the purchase order data of the order management unit in association with the record of the block corresponding to the brand identification information of the purchase order data among the blocks of the purchase order storage unit, In the case where the order data is sell order data which is information indicating that the trade classification is sell, the sell order data and the record of the block corresponding to the brand identification information of the sell order data in the block of the sell order storage unit The management number of the sales order data of the order management unit is stored in association with each other,
The order quantity determination unit
The total face value of the sell order, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information of the sell order storage unit, and the brand identification of the buy order storage unit First to third cases in which the magnitude relationship with the purchase order total face value, which is the total face value of the order face value of each purchase order data stored in the block corresponding to the information, is determined, and according to the magnitude relationship Is performed for each brand identification information at a predetermined time,
(1) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a first case that is larger than the amount of money, each purchase order data stored in a record of a block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data, In association with the transfer processing database, based on the management number of the selling order data stored in association with selling order data in the record of the block corresponding to the brand identification information of the selling order storage unit, Corresponds to the management number when the order face value of the sales order data corresponding to the management number with the smallest update in a certain direction is greater than or equal to the total purchase face value The sales order data and the contracted par amount consisting of the total purchase par value are stored in the transfer processing database, and the order par value of the sales order data corresponding to the management number with the smallest update in a certain direction. Is less than the buy order total face value, the total face value of the order face values of the selling order data corresponding to the management number is less than the buy order total face value in the order from the smallest update in the certain direction. The maximum management number that is the total face value and the management number at that time is obtained, and the maximum management is started from the management number with the smallest update in the certain direction in the block corresponding to the brand identification information of the selling order storage unit Each transfer order data corresponding to each management number up to the number is associated with a contract face amount consisting of the order face value of the sell order data, and the transfer processing data And a contract comprising selling order data corresponding to a management number that is the next update number of the maximum management number in the block and an excess face amount from the maximum total face amount to the buy order total face amount. Performing a first order data storage process in which the face value is associated with the transfer amount and stored in the transfer process database;
(2) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In the second case equal to the amount of money, each purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data are A contract denomination that is stored in the transfer processing database in association with each other and stored in the block record corresponding to the brand identification information in the sell order storage unit and the order denomination of the sell order data And a second order data storage process for storing in the transfer process database in association with
(3) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a third case that is smaller than the amount of money, each of the selling order data stored in the record of the block corresponding to the brand identification information in the selling order storage unit and the contracted amount of the face amount of the selling order data, In association with the transfer processing database, based on the management number of the purchase order data stored in association with the purchase order data in the record of the block corresponding to the brand identification information in the purchase order storage unit, Corresponds to the management number when the order face value of the purchase order data corresponding to the management number with the smallest update in a certain direction is greater than or equal to the total face value of the sell order The purchase order data and the contracted face value composed of the total order value of the sell order are stored in the transfer processing database in association with each other, and the order face value of the purchase order data corresponding to the management number with the smallest update in a certain direction is stored. Is less than the sell order total face value, the total face value of the order face values of the purchase order data corresponding to the management number in order from the smallest update in the certain direction is less than the sell order total face value. The maximum management number that is the total face value and the management number at that time is obtained, and the maximum management is started from the management number that is least updated in the certain direction in the block corresponding to the stock identification information in the purchase order storage unit. Each transfer order data corresponding to each management number up to the number is associated with a contract face amount consisting of the order face amount of the purchase order data, and the transfer processing data A purchase order data stored in the database and corresponding to a management number that is the next update number of the maximum management number in the block and a contract consisting of an excess par amount from the maximum total par amount to the sell order total par amount Performing a third order data storage process of storing a face value in association with the transfer process database;
The transfer processing unit
Read the order data and the contract par amount stored in the transfer processing database for each record,
When the read order data of the record is purchase order data, the account of the purchase order customer is based on the account number of the purchase order customer associated with the customer identification information included in the purchase order data in the customer database. The contract face amount is added as the transfer face amount to the personal interest-bearing national treasury bond balance of the issue with the issue identification information included in the buy order data stored in the customer account database in association with the number and Perform a transfer process for the purchase order that reduces the amount equivalent to the price of the above-mentioned personal interest-bearing national treasury bond of the order customer's funds balance as the transfer amount on the purchase order side,
When the read order data of the record is sell order data, the account of the sell order customer is based on the account number of the sell order customer associated with the customer identification information included in the sell order data in the customer database. The contract face amount is subtracted as the transfer face amount from the individual interest-bearing national treasury bond balance of the issue identification information included in the sell order data stored in the customer account database in association with the number. A transfer process for selling orders is performed in which the amount equivalent to the price of the individual interest-bearing national treasury bond with the contract face amount is increased as a transfer amount on the selling order side with respect to the funds balance of the ordering customer. Item 2. The inter-account transfer processing device according to Item 1.
前記買注文顧客及び売注文顧客の口座番号の口座間における前記個人向け利付国庫債券の振替処理の内容を示す情報を前記買注文顧客及び売注文顧客の端末装置に送信する振替報告書発行部をさらに具備し、
前記顧客データベースは、前記顧客を識別する顧客識別情報と当該顧客の口座番号と当該顧客のメールアドレスを対応付けて格納するものであり、
前記振替報告書発行部は、
前記振替処理部により前記振替処理データベースに格納された注文データ、約定額面金額、代金相当額、振替処理識別番号及び振替日の日付情報をレコード毎に読み出し、当該注文データに含まれる銘柄識別情報及び売買区分、前記約定額面金額である前記振替額面金額、前記代金相当額である振替金額、前記振替処理識別番号及び前記振替日の日付情報を含む振替報告書の電子書面データを生成して当該注文データに含まれる顧客識別情報に対応付けて前記顧客データベースに格納された当該注文顧客のメールアドレスと当該振替報告書の電子書面データとを対応付けて振替報告書データベースに格納する処理を、前記読み出した前記振替処理データベースの前記レコード毎に行う電子書面生成手段と、
前記振替報告書データベースに格納された前記顧客のメールアドレスと当該顧客用の振替報告書の電子書面データとを読み出して当該顧客用の振替報告書の電子書面データを当該顧客のメールアドレスに送信する通知手段と
を備える
ことを特徴とする請求項4記載の口座間振替処理装置。
A transfer report issuing unit for transmitting information indicating the transfer process of the personal interest-bearing national treasury bond between accounts of the purchase order customer and the sell order customer to the terminal device of the purchase order customer and the sell order customer; In addition,
The customer database stores customer identification information for identifying the customer, an account number of the customer, and an email address of the customer in association with each other,
The transfer report issuing department
Order data stored in the transfer processing database by the transfer processing unit, contract face amount, price equivalent, transfer process identification number and transfer date date information for each record, brand identification information included in the order data, and Generate electronic document data of a transfer report that includes a trading category, the transfer face amount that is the contracted face amount, a transfer amount that is the price equivalent, the transfer process identification number, and date information of the transfer date. The process of storing in the transfer report database the mail address of the order customer stored in the customer database associated with the customer identification information included in the data and the electronic document data of the transfer report in association with each other Electronic document generation means for each record of the transfer processing database;
The customer's email address stored in the transfer report database and the electronic document data of the customer's transfer report are read, and the electronic document data of the customer's transfer report is sent to the customer's email address. The inter-account transfer processing device according to claim 4, further comprising: a notification unit.
前記顧客の端末装置に前記個人向け利付国庫債券の板情報を表示するための板情報画面のデータを生成して前記顧客の端末装置に送信して表示させる板情報画面送信手段をさらに具備し、
前記板情報画面送信手段は、前記個人向け利付国庫債券の銘柄識別情報に対応する前記売注文用記憶部の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する前記売注文用記憶部から前記銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、前記個人向け利付国庫債券の銘柄識別情報に対応する前記買注文用記憶部の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する前記買注文用記憶部から前記銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、前記銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて前記板情報として表示するための板情報画面のデータを生成して記憶手段に記憶し、前記顧客の端末装置から前記個人向け利付国庫債券の板情報の表示を要求する要求データを受け取ると前記記憶手段に記憶されている前記板情報画面のデータを前記顧客の端末装置に送信して当該板情報画面を表示させる
ことを特徴とする請求項4〜5の何れかに記載の口座間振替処理装置。
Further comprising a board information screen transmitting means for generating board information screen data for displaying the board information of the personal interest-bearing national treasury bond on the customer terminal device, and sending and displaying the data on the customer terminal device;
The board information screen transmission means is for each brand identification information obtained by totaling the order face amounts of the sales order data stored in the record in each block of the selling order storage unit corresponding to the brand identification information of the personal interest-bearing national treasury bond. Obtaining the total amount of the order face value of the selling order for each of the brand identification information from the selling order storage unit that outputs the total amount of the order face value of the selling order, and the brand identification information of the personal interest-bearing national treasury bond The buy order storage for outputting the total amount of the order face value of the purchase order for each brand identification information obtained by adding up the order face amounts of the purchase order data stored in the record in each block of the buy order storage unit corresponding to The total amount of the order face value of the purchase order for each of the brand identification information from the section, and the total amount of the sell order and the order face value of the purchase order for each of the brand identification information Data of a board information screen to be displayed in association with the board information is generated and stored in a storage unit, and request data for requesting display of board information of the personal interest-bearing national treasury bond is received from the customer terminal device The board information screen data stored in the storage means is transmitted to the customer terminal device to display the board information screen. Transfer processing device.
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記個人向け利付国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを当該注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶するとともに当該注文を識別するための注文識別番号を前記売買区分判定部に送り、
前記注文管理部は、前記売買区分判定部による買注文の判定毎に買注文用の管理番号を一定方向に更新して当該買注文データの管理番号を生成する買注文区分判定管理手段と、前記売買区分判定部による売注文の判定毎に売注文用の管理番号を一定方向に更新して当該売注文データの管理番号を生成する売注文区分判定管理手段とを備えており、
前記売買区分判定部は、前記注文受付部からの前記注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文区分判定管理手段の前記買注文用の管理番号を更新して前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと前記買注文区分判定管理手段の当該買注文データの管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文区分判定管理手段の前記売注文用の管理番号を更新して前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと前記売注文区分判定管理手段の当該売注文データの管理番号を対応付けて格納するものである
ことを特徴とする請求項6記載の口座間振替処理装置。
The order reception unit is order data including information indicating an order content of the personal interest-bearing national treasury bond from the customer transmitted from the customer's terminal device, wherein the customer identification information of the customer, the personal Receives order data including brand identification information of interest-bearing treasury bonds, trading category, and order face value, and stores the received order data in the order data storage unit in association with an order identification number for identifying the order And sending an order identification number for identifying the order to the buying and selling division determination unit,
The order management unit is configured to update a purchase order management number in a certain direction every time a buy order is determined by the buy / sell category determination unit, and generate a purchase order data management number. A sales order category judgment management means for updating the management number for selling orders in a certain direction and generating a management number of the selling order data for each judgment of the selling order by the trading category judgment unit;
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit in association with an order identification number for identifying the order from the order receiving unit. , When the order data is buy order data in which the buy / sell category is information indicating buy, the management number for the buy order of the buy order category judgment managing means is updated and the buy order storage block The record of the block corresponding to the brand identification information of the purchase order data is stored in association with the purchase order data and the management number of the purchase order data of the purchase order category determination management means, and the order data is sold by the trading category. The selling order management number is updated by the selling order category determination management means, and the selling order data in the block of the selling order storage unit is updated. 7. The record of the block corresponding to the brand identification information of the data is stored in association with the sell order data and the management number of the sell order data of the sell order classification determination management means. Inter-account transfer processing device.
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記個人向け利付国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け利付国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを当該注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶するとともに当該注文を識別するための注文識別番号を前記売買区分判定部に送り、
前記注文管理部は、前記売買区分判定部による買注文の判定毎に買注文の銘柄用の管理番号を増大方向に更新して当該買注文データの銘柄用の管理番号を生成する買注文区分判定管理手段と、前記売買区分判定部による売注文の判定毎に売注文の銘柄用の管理番号を増大方向に更新して当該売注文データの銘柄用の管理番号を生成する売注文区分判定管理手段とを備えており、
前記売買区分判定部は、前記注文受付部からの前記注文を識別するための注文識別番号に対応付けて前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新して前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと当該買注文を識別するための注文識別番号と前記買注文区分判定管理手段の当該銘柄識別情報の銘柄用の管理番号を対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新して前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと当該売注文を識別するための注文識別番号と前記売注文区分判定管理手段の当該銘柄識別情報の銘柄用の管理番号を対応付けて格納するものであり、
前記注文数量判定部は、
(1)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも大きい第1のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに売注文データに対応付けて格納された当該売注文データの管理番号に基づいて最も小さい管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額以上である場合に当該管理番号に対応する売注文データと前記買注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記最も小さい管理番号に対応する売注文データの注文額面金額が前記買注文合計額面金額未満である場合に番号の小さい順に前記管理番号に対応する売注文データの注文額面金額を合計した合計額面金額が前記買注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記売注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記最も小さい管理番号から前記最大管理番号までの各管理番号に対応する各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する売注文データと前記最大の合計額面金額から前記買注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第1の注文データ格納処理を行い、
(2)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額と等しい第2のケースでは、前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第2の注文データ格納処理を行い、
(3)前記売注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに記憶された各売注文データの注文額面金額の合計額面金額である前記売注文合計額面金額が前記買注文合計額面金額よりも小さい第3のケースでは、前記売注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各売注文データと当該売注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記買注文用記憶部の前記銘柄識別情報に対応するブロックのレコードに買注文データに対応付けて格納された当該買注文データの管理番号に基づいて最も小さい管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額以上である場合に当該管理番号に対応する買注文データと前記売注文合計額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、前記最も小さい管理番号に対応する買注文データの注文額面金額が前記売注文合計額面金額未満である場合に番号の小さい順に前記管理番号に対応する買注文データの注文額面金額を合計した合計額面金額が前記売注文合計額面金額未満で最大となる合計額面金額とそのときの管理番号である最大管理番号を求め、前記買注文用記憶部の当該銘柄識別情報に対応するブロックにおいて前記最も小さい管理番号から前記最大管理番号までの各管理番号に対応する各買注文データと当該買注文データの注文額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納し、さらに当該ブロックにおける前記最大管理番号の次の更新番号である管理番号に対応する買注文データと前記最大の合計額面金額から前記売注文合計額面金額までの超過額面金額からなる約定額面金額とを対応付けて前記振替処理データベースに格納する第3の注文データ格納処理を行うものである
ことを特徴とする請求項7記載の口座間振替処理装置。
The order reception unit is order data including information indicating an order content of the personal interest-bearing national treasury bond from the customer transmitted from the customer's terminal device, wherein the customer identification information of the customer, the personal Receives order data including brand identification information of interest-bearing treasury bonds, trading category, and order face value, and stores the received order data in the order data storage unit in association with an order identification number for identifying the order And sending an order identification number for identifying the order to the buying and selling division determination unit,
The order management unit is configured to update a management number for a brand of a purchase order in an increasing direction every time a purchase order is determined by the trading category determination unit to generate a management number for a brand of the purchase order data. Management unit and selling order category judgment management unit for generating a management number for the brand of the selling order data by updating the management number for the brand of the selling order in an increasing direction for each judgment of the selling order by the trading category judgment unit And
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit in association with an order identification number for identifying the order from the order receiving unit. When the order data is buy order data whose buy / sell classification is information indicating buy, the management number for the brand in the brand identification information of the order data in the buy order category judgment management means is updated and the purchase order Among the blocks in the storage unit, in the record of the block corresponding to the brand identification information of the purchase order data, the order identification number for identifying the purchase order data and the purchase order, and the brand identification of the purchase order category determination management means A management number for information brands is stored in association with each other, and when the order data is sell order data in which the buy / sell category is information indicating sell, the sell order category judgment management means The management number for the brand in the brand identification information of the order data is updated, and the selling order data and the selling data are recorded in the record of the block corresponding to the brand identification information of the selling order data in the block of the selling order storage unit. An order identification number for identifying an order and a management number for the brand of the brand identification information of the selling order category determination management means are stored in association with each other,
The order quantity determination unit
(1) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a first case that is larger than the amount of money, each purchase order data stored in a record of a block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data, Is stored in the transfer processing database in association with each other, and based on the management number of the sell order data stored in association with the sell order data in the record of the block corresponding to the brand identification information in the sell order storage unit When the order par value of the sales order data corresponding to the smallest management number is equal to or greater than the total purchase par value, the sales order data corresponding to the management number and the A contracted face value consisting of the total order value is stored in the transfer process database in association with the order value and the order value in the selling order data corresponding to the smallest management number is less than the total purchase order value. The total face value that is the sum of the face value of the order in the selling order data corresponding to the management number in ascending order is the maximum face value that is less than the purchase order total face value and the maximum control number that is the management number at that time And each selling order data corresponding to each management number from the smallest management number to the maximum management number in the block corresponding to the brand identification information in the selling order storage unit, and the order face value of the selling order data The contract amount is stored in the transfer processing database in association with each other, and the update number next to the maximum management number in the block The first order stored in the transfer processing database in association with the sales order data corresponding to the management number and the contracted face value consisting of the excess face value from the maximum face value to the buy order face value Perform data storage processing,
(2) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the block record corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In the second case equal to the amount of money, each purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit and a contract face amount composed of the order amount of the purchase order data are A contract denomination that is stored in the transfer processing database in association with each other and stored in the block record corresponding to the brand identification information in the sell order storage unit and the order denomination of the sell order data And a second order data storage process for storing in the transfer process database in association with
(3) The sell order total face value, which is the total face value of the order face value of each sell order data stored in the record of the block corresponding to the brand identification information in the sell order storage unit, is the buy order total face value. In a third case that is smaller than the amount of money, each of the selling order data stored in the record of the block corresponding to the brand identification information in the selling order storage unit and the contracted amount of the face amount of the order amount of the selling order data, In association with the purchase order data stored in the record of the block corresponding to the brand identification information in the purchase order storage unit in association with the purchase order data. When the order face value of the purchase order data corresponding to the smallest management number is equal to or larger than the total order value of the selling order, the purchase order data corresponding to the management number and the A contracted face value consisting of the total order value is stored in the transfer process database in association with the order value and the order value in the purchase order data corresponding to the smallest management number is less than the sell order value. The total face value that is the sum of the face value of the purchase order data corresponding to the management number in ascending order is the maximum face value that is less than the total value of the selling order and the maximum control number that is the management number at that time , Each purchase order data corresponding to each management number from the smallest management number to the maximum management number in the block corresponding to the brand identification information of the purchase order storage unit, and the order amount of the purchase order data The contract amount is stored in the transfer processing database in association with each other, and the update number next to the maximum management number in the block The third order stored in the transfer processing database in association with the purchase order data corresponding to the management number and the contracted face amount consisting of the excess face amount from the maximum total face amount to the sell order total face amount The inter-account transfer processing device according to claim 7, which performs data storage processing.
前記国債データベースは、前記個人向け利付国庫債券の銘柄毎の発行日、償還期限、利払日及び現在の適用利率を、当該銘柄を識別する銘柄識別情報に対応付けて格納するものであり、
前記板情報画面送信手段は、前記国債データベースに発行日及び償還期限が格納された前記個人向け利付国庫債券の銘柄の銘柄識別情報のうち、前記板情報画面のデータの生成日当日を前記発行日から前記償還期限の前日以前の所定期間に含む取引可能な銘柄の銘柄識別情報を検出し、当該取引可能な銘柄の銘柄識別情報に対応する前記売注文用記憶部の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する前記売注文用記憶部から前記銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、当該取引可能な銘柄の銘柄識別情報に対応する前記買注文用記憶部の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する前記買注文用記憶部から前記銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、前記取引可能な銘柄の銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて前記板情報として表示するための板情報画面のデータを生成して記憶手段に記憶し、前記顧客の端末装置から前記個人向け利付国庫債券の板情報の表示を要求する要求データを受け取ると前記記憶手段に記憶されている前記板情報画面のデータを前記顧客の端末装置に送信して当該板情報画面を表示させる
ことを特徴とする請求項6〜8の何れかに記載の口座間振替処理装置。
The government bond database stores the issue date, redemption date, interest payment date and current applicable interest rate for each issue of the individual interest-bearing national treasury bonds in association with issue identification information for identifying the issue,
The board information screen transmission means includes the generation date of the data of the board information screen among the issue identification information of the issue of the individual interest-bearing national treasury bond whose issue date and redemption date are stored in the government bond database. To detect the brand identification information of the tradeable brands included in the predetermined period before the redemption deadline, and stored in the record in each block of the selling order storage unit corresponding to the brand identification information of the tradeable brands Output the total amount of the order face value of the sales order for each brand identification information obtained by adding up the order face values of the sold order data. The total amount of the order face value of the sell order for each of the brand identification information from the sell order storage unit And the order face value of the purchase order data stored in the record in each block of the purchase order storage unit corresponding to the brand identification information of the tradeable brand is combined. Output the total amount of the order face value of the purchase order for each brand identification information, obtain the total amount of the order face value of the purchase order for each of the brand identification information from the buy order storage unit, Generate and store in the storage means data on a board information screen for displaying the total amount of the order value of the selling order and the buying order for each brand identification information as the board information in association with the brand identification information; When request data for requesting display of the board information of the personal interest-bearing national treasury bond is received from the customer terminal device, the board information screen data stored in the storage means is transmitted to the customer terminal device to A board information screen is displayed. The inter-account transfer processing device according to any one of claims 6 to 8.
前記顧客の端末装置に前記有価証券の板情報を表示するための板情報画面のデータを生成して前記顧客の端末装置に送信して表示させる板情報画面送信手段をさらに具備し、
前記有価証券は、個人向け国庫債券であり、
前記有価証券の注文数量は、前記個人向け国庫債券の注文額面金額であり、
前記有価証券の約定数量は、前記個人向け国庫債券の約定額面金額であり、
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記個人向け国庫債券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、前記個人向け国庫債券の銘柄識別情報、売買区分、及び注文額面金額を含む注文データを受信し、受信した前記注文データを前記注文データ記憶部に記憶するものであり、
前記注文数量判定部は、前記売注文用記憶部の銘柄識別情報に対応するブロックのレコードに記憶された各売注文データに含まれる注文額面金額の合計額面金額である売注文合計額面金額と前記買注文用記憶部の当該銘柄識別情報に対応するブロックのレコードに記憶された各買注文データに含まれる注文額面金額の合計額面金額である買注文合計額面金額との大小関係を判定し、前記売注文合計額面金額と前記買注文合計額面金額のうち小さいほうの合計額面金額を成す買注文の約定額面金額と当該買注文の注文データとを対応付けて前記振替処理データベースに格納し、前記小さいほうの合計額面金額を成す売注文の約定額面金額と当該売注文の注文データとを対応付けて前記振替処理データベースに格納する処理を所定時刻に銘柄識別情報毎に行うものであり、
前記板情報画面送信手段は、前記個人向け国庫債券の銘柄識別情報に対応する前記売注文用記憶部の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する前記売注文用記憶部から前記銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、前記個人向け国庫債券の銘柄識別情報に対応する前記買注文用記憶部の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する前記買注文用記憶部から前記銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、前記銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて前記板情報として一覧表示するための板情報画面のデータを生成して記憶手段に記憶し、前記顧客の端末装置から前記個人向け国庫債券の板情報の表示を要求する要求データを受け取ると前記記憶手段に記憶されている前記板情報画面のデータを前記顧客の端末装置に送信して当該板情報画面を表示させる
ことを特徴とする請求項1記載の口座間振替処理装置。
Further comprising a board information screen transmission means for generating and transmitting the board information screen data for displaying the board information of the securities on the customer terminal apparatus and displaying the data on the customer terminal apparatus;
The securities are national treasury bonds,
The order quantity of the securities is the face value of the order of the personal treasury bond,
The contract amount of the securities is the contract face value of the national treasury bond,
The order reception unit is order data including information indicating the content of an order of the personal treasury bond from the customer transmitted from the terminal device of the customer, the customer identification information of the customer, the national treasury of the customer Receiving order data including bond brand identification information, trading category, and order face value, and storing the received order data in the order data storage unit;
The order quantity determination unit includes a sell order total face value that is a total face value of an order face value included in each sell order data stored in a record of a block corresponding to the brand identification information of the sell order storage unit, and Determining a magnitude relationship with a purchase order total face value that is a total face value of an order face value included in each purchase order data stored in a record of a block corresponding to the brand identification information of the purchase order storage unit, and The contract face amount of the purchase order that forms the smaller total face amount of the sell order and the total amount of the purchase order face value and the order data of the purchase order are stored in the transfer processing database in association with each other, and the smaller The process of associating the contract face amount of the sales order that forms the total face amount of the order with the order data of the sell order and storing them in the transfer processing database at a predetermined time It is those performed for each broadcast,
The board information screen transmission means is for each brand identification information obtained by summing up the order par value of the selling order data stored in the record in each block of the selling order storage unit corresponding to the brand identification information of the national treasury bond for the individual. Outputs the total amount of the face value of the sell order, obtains the total amount of the order amount of the sell order for each of the brand identification information from the sell order storage unit, and corresponds to the brand identification information of the personal treasury bond From the buy order storage unit that outputs the total amount of the order face value of the purchase order for each brand identification information obtained by adding up the order face amounts of the purchase order data stored in the record in each block of the purchase order storage unit Acquire the total amount of the order face value of the purchase order for each of the brand identification information, and associate each total amount of the sell order and the order amount of the purchase order for each of the brand identification information with the brand identification information. The board information screen data for list display as the board information is generated and stored in the storage means, and when the request data for requesting the display of the board information of the personal treasury bonds is received from the terminal device of the customer, The inter-account transfer processing device according to claim 1, wherein the board information screen data stored in a storage means is transmitted to the customer terminal device to display the board information screen.
前記注文受付部は、前記顧客の端末装置から送信された前記顧客からの前記有価証券の注文の内容を示す前記注文データを複数の注文受付時間帯に受信し、受信した前記注文データを当該注文を識別するための注文識別情報に対応付けて前記注文データ記憶部に記憶し、
前記売買区分判定部は、前記注文データ記憶部に記憶された前記顧客からの注文データに含まれる売買区分を判定し、前記注文データが売買区分が買いを示す情報である買注文データである場合に前記買注文用記憶部のブロックのうち当該買注文データの銘柄識別情報に対応するブロックのレコードに当該買注文データと当該買注文の注文識別情報と前記注文管理部の当該買注文データの管理番号と未約定を示す約定フラグを対応付けて格納し、前記注文データが売買区分が売りを示す情報である売注文データである場合に前記売注文用記憶部のブロックのうち当該売注文データの銘柄識別情報に対応するブロックのレコードに当該売注文データと当該売注文の注文識別情報と前記注文管理部の当該売注文データの管理番号と未約定を示す約定フラグを対応付けて格納するものであり、
前記注文数量判定部は、前記売注文用記憶部の銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である売注文合計数量Uと前記買注文用記憶部の当該銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各買注文データの注文数量の合計数量である買注文合計数量Kとの大小関係を判定し、大小関係に応じた第1から第3のケースの約定処理を前記複数の注文受付時間帯の各々に対応する約定処理時刻に銘柄識別情報毎に行うものであって、
(1)前記売注文用記憶部の前記銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である前記売注文合計数量Uが前記買注文合計数量Kよりも大きい第1のケースでは、
(1−1)前記買注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(1−1−1)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記買注文用記憶部で対応付けされた前記買注文データの注文数量を加算し、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(1−1−2)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(1−2)前記売注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(1−2−1)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックに対応付けされた売注文データの注文数量が前記買注文合計数量Kよりも大きい場合に、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックに対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該買注文合計数量Kを加算するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データの注文数量に対して前記買注文合計数量Kを減算し、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データと当該買注文合計数量Kからなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データの注文数量に対して前記買注文合計数量Kを減算し、
(1−2−2)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックに対応付けされた売注文データの注文数量が前記買注文合計数量K以下である場合に、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該売注文データの注文数量を加算するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記売注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記更新処理後にさらに、当該売注文データの注文数量を合計数量Σmの初期値として記憶する合計数量記憶手段と初期値が1である番号iを記憶する番号記憶手段と約定算出数量yを記憶する約定算出数量記憶手段を用いて、前記合計数量記憶手段に記憶された合計数量Σmが前記買注文合計数量Kと等しいか判定する第1の処理と、前記第1の処理による判定結果が等しくないことを示すものである場合に、前記買注文合計数量Kから前記合計数量記憶手段の合計数量Σmを減算した数量(K−Σm)を約定算出数量yとして前記約定算出数量記憶手段に記憶するとともに前記番号記憶手段の番号iを1だけ増加させ、次に前記一定方向への更新がi番目に少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報と売注文データを読み出して当該売注文データの注文数量を前記合計数量記憶手段の合計数量Σmに加算する第2の処理と、前記第2の処理による加算後の合計数量Σmが前記買注文合計数量K以下であるか判定する第3の処理と、前記第3の処理による判定結果が前記買注文合計数量K以下であることを示すものである場合に、前記第2の処理で読み出した当該売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記売注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する第4の処理を、前記第1の処理による判定結果が等しいことを示すものとなるか前記第3の処理による判定結果が前記買注文合計数量Kよりも大きいことを示すものとなるまで繰り返して行い、前記第3の処理による判定結果が前記買注文合計数量Kよりも大きいことを示すものとなった場合に、前記第2の処理で読み出した当該売注文データと前記約定算出数量記憶手段に記憶されている前記約定算出数量yからなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記売注文用記憶部で対応付けされた売注文データの注文数量に対して当該約定算出数量yを減算し、
(2)前記売注文用記憶部の前記銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である前記売注文合計数量Uが前記買注文合計数量Kと等しい第2のケースでは、
(2−1)前記買注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(2−1−1)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記買注文用記憶部で対応付けされた前記買注文データの注文数量を加算し、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−1−2)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記買注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−2)前記売注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(2−2−1)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記売注文用記憶部で対応付けされた前記売注文データの注文数量を加算し、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(2−2−2)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3)前記売注文用記憶部の前記銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量の合計数量である前記売注文合計数量Uが前記買注文合計数量Kよりも小さい第3のケースでは、
(3−1)前記売注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された売注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(3−1−1)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されている場合に、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該注文識別情報に前記売注文用記憶部で対応付けされた前記売注文データの注文数量を加算し、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向の更新が最も少ない管理番号の次の更新番号である管理番号から前記一定方向への更新が最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3−1−2)前記一定方向への更新が最も少ない管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた売注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていない場合に、前記売注文用記憶部の前記銘柄ブロックにおいて前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に対応付けされた各売注文データと当該売注文データの注文数量からなる約定数量と当該売注文の注文識別情報と未振替を示す振替フラグを対応付けて前記振替処理データベースに各々格納し、さらに前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に前記売注文用記憶部の前記銘柄ブロックで対応付けされた約定フラグを未約定から約定済を示す情報に更新し、
(3−2)前記買注文用記憶部の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された買注文データの管理番号のうち前記一定方向への更新が最も少ない管理番号から最も多い管理番号までの各管理番号に基づき、
(3−2−1)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックに対応付けされた買注文データの注文数量が前記売注文合計数量Uよりも大きい場合に、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックに対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該売注文合計数量Uを加算するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データの注文数量に対して前記売注文合計数量Uを減算し、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データと当該売注文合計数量Uからなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データの注文数量に対して前記売注文合計数量Uを減算し、
(3−2−2)前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックに対応付けされた買注文データの注文数量が前記売注文合計数量U以下である場合に、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されているときに、当該注文識別情報に対応付けて前記振替処理データベースに格納された約定数量に対して当該買注文データの注文数量を加算するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記一定方向への更新が最も少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報が未振替の振替フラグに対応付けて前記振替処理データベースに格納されていないときに、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納するとともに、当該注文識別情報に前記買注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する更新処理を行い、
前記更新処理後にさらに、当該買注文データの注文数量を合計数量Σmの初期値として記憶する合計数量記憶手段と初期値が1である番号iを記憶する番号記憶手段と約定算出数量yを記憶する約定算出数量記憶手段を用いて、前記合計数量記憶手段に記憶された合計数量Σmが前記売注文合計数量Uと等しいか判定する第1の処理と、前記第1の処理による判定結果が等しくないことを示すものである場合に、前記売注文合計数量Uから前記合計数量記憶手段の合計数量Σmを減算した数量(U−Σm)を約定算出数量yとして前記約定算出数量記憶手段に記憶するとともに前記番号記憶手段の番号iを1だけ増加させ、次に前記一定方向への更新がi番目に少ない管理番号に前記買注文用記憶部の前記銘柄ブロックで対応付けされた買注文の注文識別情報と買注文データを読み出して当該買注文データの注文数量を前記合計数量記憶手段の合計数量Σmに加算する第2の処理と、前記第2の処理による加算後の合計数量Σmが前記売注文合計数量U以下であるか判定する第3の処理と、前記第3の処理による判定結果が前記売注文合計数量K以下であることを示すものである場合に、前記第2の処理で読み出した当該買注文データと当該買注文データの注文数量からなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記買注文用記憶部で対応付けされた約定フラグを未約定から約定済を示す情報に更新する第4の処理を、前記第1の処理による判定結果が等しいことを示すものとなるか前記第3の処理による判定結果が前記売注文合計数量Uよりも大きいことを示すものとなるまで繰り返して行い、前記第3の処理による判定結果が前記売注文合計数量Uよりも大きいことを示すものとなった場合に、前記第2の処理で読み出した当該買注文データと前記約定算出数量記憶手段に記憶されている前記約定算出数量yからなる約定数量と当該買注文の注文識別情報と未振替を示す振替フラグを前記振替処理データベースに格納し、当該注文識別情報に前記買注文用記憶部で対応付けされた買注文データの注文数量に対して当該約定算出数量yを減算するものであり、
前記振替処理部は、
前記未振替を示す振替フラグに対応付けて前記振替処理データベースに格納された注文識別情報、注文データ及び約定数量をレコード毎に読み出し、
読み出した当該レコードの前記注文データが買注文データである場合に、当該買注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた買注文顧客の口座番号に基づき、当該買注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記買注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として加算するとともに当該買注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を買注文側の振替金額として減額する買注文用の振替処理と、当該買注文用の振替処理の後に前記読み出した前記注文識別情報に対応付けされた振替フラグを未振替から振替済を示す情報に更新する振替フラグ更新処理を行い、
読み出した当該レコードの前記注文データが売注文データである場合に、当該売注文データに含まれる顧客識別情報に前記顧客データベースで対応付けされた売注文顧客の口座番号に基づき、当該売注文顧客の口座番号に対応付けて前記顧客口座データベースに格納されている前記売注文データに含まれる銘柄識別情報の銘柄の有価証券残高に対して当該約定数量を振替数量として減算するとともに当該売注文顧客の資金残高に対して当該約定数量の前記有価証券の代金相当額を売注文側の振替金額として増額する売注文用の振替処理と、当該売注文用の振替処理の後に前記読み出した前記注文識別情報に対応付けされた振替フラグを未振替から振替済を示す情報に更新する振替フラグ更新処理を行う
ことを特徴とする請求項2記載の口座間振替処理装置。
The order reception unit receives the order data indicating the order contents of the securities from the customer transmitted from the customer terminal device in a plurality of order reception time zones, and receives the received order data in the order Is stored in the order data storage unit in association with the order identification information for identifying,
The trading category determination unit determines a trading category included in the order data from the customer stored in the order data storage unit, and the order data is buy order data that is information indicating that the trading category indicates buying. In the block of the storage unit for purchase order, the purchase order data, the order identification information of the purchase order, and the management of the purchase order data of the order management unit are recorded in the block corresponding to the brand identification information of the purchase order data. A number and a contract flag indicating unsettled are stored in association with each other, and when the order data is sell order data which is information indicating that the trade classification is sell, the sell order data of the block of the sell order storage unit In the record of the block corresponding to the brand identification information, the selling order data, the order identification information of the selling order, the management number of the selling order data of the order management unit, and the uncommitted Is intended to store in association with the flag,
The order quantity determination unit is the total quantity of the order quantities of each sale order data stored in association with the unfilled execution flag in the record of the brand block that is a block corresponding to the brand identification information in the selling order storage unit Of the order quantity of each purchase order data stored in association with the unfilled execution flag in the record of the brand block which is the block corresponding to the brand identification information in the buy order storage unit The size relationship with the total purchase order quantity K, which is the total quantity, is determined, and the contract processing of the first to third cases according to the size relationship is executed at the contract processing time corresponding to each of the plurality of order reception time zones. For each piece of identification information,
(1) The sell order total which is the total quantity of the order quantities of each sell order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sell order storage unit In the first case where the quantity U is larger than the total purchase order quantity K,
(1-1) Update in a certain direction among management numbers of purchase order data stored in association with uncommitted execution flags in a record of a brand block corresponding to the brand identification information of the buy order storage unit Based on each management number from the lowest management number to the highest management number,
(1-1-1) The order identification information of the purchase order associated with the management number with the smallest update in the certain direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the purchase order storage unit associates the order identification information with the constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the purchase order data is added, and the update from the management number which is the update number next to the management number having the smallest update in the certain direction in the brand block of the buy order storage unit is the most in the certain direction Each purchase order data associated with each management number up to the management number, a fixed amount consisting of the order quantity of the purchase order data, order identification information of the purchase order, and a transfer flag indicating untransferred Are associated and stored in the transfer processing database, respectively, and further associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the purchase order storage unit. Update the contract flag to information indicating that the contract has been closed,
(1-1-2) The order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the buy order storage unit Stored in the transfer processing database by associating the purchase order data, a contracted amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order and the transfer flag indicating untransferred, and further updating in the certain direction The contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the brand block of the storage unit for purchase order is set from unfilled to filled. To update the information indicating the,
(1-2) Update in the certain direction of the management number of the sales order data stored in association with the unsettled execution flag in the record of the brand block corresponding to the brand identification information in the selling order storage unit Based on each management number from the lowest management number to the highest management number,
(1-2-1) The order quantity of the sell order data associated with the brand block in the sell order storage unit with the management number with the smallest update in the certain direction is larger than the total buy order quantity K In case,
The order identification information of the sell order associated with the brand number in the storage unit for sell order is stored in the transfer processing database in association with the untransferred transfer flag to the management number with the smallest update in the certain direction. The purchase order total quantity K is added to the contracted amount stored in the transfer processing database in association with the order identification information, and the sell order storage unit corresponds to the order identification information. Subtracting the total purchase order quantity K from the order quantity of the attached sales order data,
The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is stored in the transfer processing database in association with the untransferred transfer flag. If not, the sales order data associated with the order identification information in the storage unit for sales order, a contract amount consisting of the total purchase order quantity K, the order identification information of the sales order, and a transfer flag indicating untransferred Is stored in the transfer processing database, and the total purchase order quantity K is subtracted from the order quantity of the sell order data associated with the order identification information in the sell order storage unit,
(1-2-2) The order quantity of the sell order data associated with the brand block of the sell order storage unit with the management number with the smallest update in a certain direction is equal to or less than the total buy order quantity K In case,
The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is stored in the transfer processing database in association with the untransferred transfer flag. The order quantity of the sales order data is added to the approximate constant amount stored in the transfer processing database in association with the order identification information, and the sales order storage unit stores the order identification information. Perform an update process to update the associated deal flag from unfilled to information indicating the deal,
The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is stored in the transfer processing database in association with the untransferred transfer flag. If the sales order data associated with the sales order storage unit is associated with the order identification information, the contract quantity consisting of the order quantity of the sales order data, the order identification information of the sales order, and the transfer indicating untransferred A flag is stored in the transfer processing database, and an update process is performed to update a contract flag associated with the order identification information in the sales order storage unit from uncommitted to information indicating contracted,
After the update process, the total quantity storage means for storing the order quantity of the sales order data as the initial value of the total quantity Σm, the number storage means for storing the number i whose initial value is 1, and the contract calculated quantity y are stored. The first process for determining whether the total quantity Σm stored in the total quantity storage means is equal to the buy order total quantity K using the contract calculated quantity storage means is not equal to the determination result by the first process. When the total quantity Σm of the total quantity storage means is subtracted from the total purchase order quantity K, the quantity (K−Σm) is stored in the execution quantity storage means as the execution quantity y. A selling order in which the number i of the number storage means is incremented by 1, and then the i-th smallest management number is associated with the management block in the brand block of the selling order storage unit The second process of reading the order identification information and the sell order data and adding the order quantity of the sell order data to the total quantity Σm of the total quantity storage means, and the total quantity Σm after the addition by the second process is In the second process, when the third process for determining whether the total purchase order quantity is K or less and the determination result by the third process indicate that the total purchase order quantity is K or less Stored in the transfer processing database is a read-ahead order data, an approximate constant amount consisting of the order quantity of the sell order data, order identification information of the sell order, and a transfer flag indicating untransferred, and the sell order is stored in the order identification information. Whether or not the fourth process of updating the contract flag associated with the storage unit from the uncommitted information to the information indicating the contracted condition indicates that the determination results of the first process are equal to each other. When the determination result according to the third processing is repeated until it shows that the determination result is greater than the total purchase order quantity K, and the determination result by the third process indicates that the determination result is greater than the total purchase order quantity K In addition, the sales order data read out in the second process, the contract amount calculated from the contract calculation quantity y stored in the contract calculation quantity storage means, the order identification information of the sell order, and a transfer flag indicating untransferred Is stored in the transfer processing database, and the contract calculated quantity y is subtracted from the order quantity of the sell order data associated with the order identification information in the sell order storage unit,
(2) The sell order total that is the total quantity of the order quantities of each sell order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sell order storage unit In the second case where the quantity U is equal to the total purchase order quantity K,
(2-1) Update in the certain direction among the management numbers of the purchase order data stored in association with the unconfirmed execution flag in the record of the issue block corresponding to the issue identification information in the storage unit for purchase order Based on each management number from the lowest management number to the highest management number,
(2-1-1) The order identification information of the purchase order associated with the management number with the smallest update in the certain direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the purchase order storage unit associates the order identification information with the constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the purchase order data is added, and the update from the management number which is the update number next to the management number having the smallest update in the certain direction in the brand block of the buy order storage unit is the most updated in the certain direction. Each purchase order data associated with each management number up to the management number, a fixed amount consisting of the order quantity of the purchase order data, order identification information of the purchase order, and a transfer flag indicating untransferred Are associated and stored in the transfer processing database, respectively, and further associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the purchase order storage unit. Update the contract flag to information indicating that the contract has been closed,
(2-1-2) The order identification information of the purchase order associated with the management number with the smallest update in the certain direction in the brand block of the purchase order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the buy order storage unit Stored in the transfer processing database by associating the purchase order data, a contracted amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order and the transfer flag indicating untransferred, and further updating in the certain direction The contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the brand block of the storage unit for purchase order is set from unfilled to filled. To update the information indicating the,
(2-2) Update in a certain direction among management numbers of sell order data stored in association with unfilled execution flags in the record of the brand block corresponding to the brand identification information of the sell order storage unit Based on each management number from the lowest management number to the highest management number,
(2-2-1) The order identification information of the selling order associated with the management number with the smallest update in the certain direction in the brand block of the selling order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the sales order storage unit associates the order identification information with the order constant information for the approximate constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the sales order data is added, and the update from the management number that is the update number next to the management number with the smallest update in the certain direction in the brand block of the selling order storage unit is the most in the certain direction. Each selling order data associated with each management number up to the management number, a fixed amount consisting of the order quantity of the selling order data, order identification information of the selling order, and a transfer flag indicating untransferred Are stored in the transfer processing database in association with each other, and are associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the selling order storage unit. Update the contract flag to information indicating that the contract has been closed,
(2-2-2) The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the selling order storage unit Stored in the transfer processing database in association with the sales order data, a contracted amount consisting of the order quantity of the sell order data, the order identification information of the sell order and the transfer flag indicating untransferred, and further update in the certain direction A contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the stock block of the selling order storage unit is set from unfilled to filled. To update the information indicating the,
(3) The sell order total which is the total quantity of the order quantities of each sell order data stored in association with the unfilled execution flag in the record of the brand block corresponding to the brand identification information in the sell order storage unit In the third case where the quantity U is smaller than the total purchase order quantity K,
(3-1) Update in the certain direction among the management numbers of sell order data stored in association with unfilled execution flags in the record of the brand block corresponding to the brand identification information in the sell order storage unit Based on each management number from the lowest management number to the highest management number,
(3-1-1) The order identification information of the sell order associated with the management number with the smallest update in the certain direction in the brand block of the sell order storage unit is associated with the untransferred transfer flag. When stored in the transfer processing database, the selling order storage unit associates the order identification information with the constant amount stored in the transfer processing database in association with the order identification information. The order quantity of the sales order data is added, and the update from the management number that is the update number next to the management number with the smallest update in the certain direction in the brand block of the selling order storage unit is the most in the certain direction. Each selling order data associated with each management number up to the management number, a fixed amount consisting of the order quantity of the selling order data, order identification information of the selling order, and a transfer flag indicating untransferred Are stored in the transfer processing database in association with each other, and are associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the selling order storage unit. Update the contract flag to information indicating that the contract has been closed,
(3-1-2) The order identification information of the selling order associated with the management number with the least number of updates in the certain direction in the brand block of the selling order storage unit is associated with the untransferred transfer flag. When not stored in the transfer processing database, each associated with each management number from the smallest management number to the largest management number in the fixed direction in the brand block of the selling order storage unit Stored in the transfer processing database in association with the sales order data, a contracted amount consisting of the order quantity of the sell order data, the order identification information of the sell order and the transfer flag indicating untransferred, and further update in the certain direction A contract flag associated with each management number from the management number with the smallest number to the management number with the largest number in the stock block of the selling order storage unit is set from unfilled to filled. To update the information indicating the,
(3-2) Update in the certain direction among the management numbers of the purchase order data stored in association with the unconfirmed execution flag in the record of the issue block corresponding to the issue identification information in the storage unit for purchase order Based on each management number from the lowest management number to the highest management number,
(3-2-1) The order quantity of the purchase order data associated with the brand number block of the buy order storage unit with the management number with the smallest update in the certain direction is larger than the sell order total quantity U In case,
Order identification information of a purchase order associated with the brand block of the storage unit for purchase order with the management number with the smallest update in a certain direction is stored in the transfer processing database in association with an untransferred transfer flag. The sales order total quantity U is added to the contracted amount stored in the transfer processing database in association with the order identification information, and the purchase order storage unit corresponds to the order identification information. Subtracting the selling order total quantity U from the order quantity of the attached purchase order data,
Order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is stored in the transfer processing database in association with an untransferred transfer flag. If there is not, the purchase order data associated with the order identification information in the purchase order storage unit, the contract quantity consisting of the total order quantity U, the order identification information of the purchase order, and a transfer flag indicating untransferred In the transfer processing database, and subtract the sell order total quantity U from the order quantity of the purchase order data associated with the order identification information in the buy order storage unit,
(3-2-2) The order quantity of the purchase order data associated with the brand number block of the purchase order storage unit with the management number with the smallest update in the certain direction is equal to or less than the sell order total quantity U In case,
Order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is stored in the transfer processing database in association with an untransferred transfer flag. The order quantity of the purchase order data is added to the contract amount stored in the transfer processing database in association with the order identification information, and the purchase order storage unit adds the order quantity to the order identification information. Perform an update process to update the associated deal flag from unfilled to information indicating the deal,
Order identification information of the purchase order associated with the management number with the smallest update in the fixed direction in the brand block of the purchase order storage unit is stored in the transfer processing database in association with an untransferred transfer flag. If the purchase order data associated with the purchase order storage unit and the order quantity of the purchase order data, a fixed amount of the purchase order data, the order identification information of the purchase order and a transfer indicating untransferred A flag is stored in the transfer processing database, and an update process is performed to update the contract flag associated with the order identification information in the purchase order storage unit from uncommitted to information indicating contracted,
After the update process, the total quantity storage means for storing the order quantity of the purchase order data as the initial value of the total quantity Σm, the number storage means for storing the number i whose initial value is 1, and the contract calculated quantity y are stored. The first process for determining whether the total quantity Σm stored in the total quantity storage means is equal to the sell order total quantity U using the contract calculated quantity storage means is not equal to the determination result by the first process. In this case, a quantity (U−Σm) obtained by subtracting the total quantity Σm of the total quantity storage means from the sell order total quantity U is stored in the contract calculation quantity storage means as a contract calculation quantity y. A purchase order in which the number i of the number storage means is incremented by 1, and then the i-th smallest management number is associated with the management number in the brand block of the purchase order storage unit The second process of reading the order identification information and the purchase order data and adding the order quantity of the purchase order data to the total quantity Σm of the total quantity storage means, and the total quantity Σm after the addition by the second process is In the second process, when the third process for determining whether the total sales order quantity is equal to or less than U and the determination result of the third process indicates that the total sales order quantity is equal to or less than K Stored in the transfer processing database is the read processing order data, an approximate constant amount consisting of the order quantity of the purchase order data, the order identification information of the purchase order, and a transfer flag indicating untransferred, and the purchase order is stored in the order identification information. Whether or not the fourth process of updating the contract flag associated with the storage unit from the uncommitted information to the information indicating the contracted condition indicates that the determination results of the first process are equal to each other. When the determination result according to the third processing is repeated until the determination result is larger than the selling order total quantity U, and the determination result by the third process indicates that it is larger than the selling order total quantity U In addition, the purchase order data read out in the second process, the contract amount calculated from the contract calculated quantity y stored in the contract calculated quantity storage means, the order identification information of the purchase order, and a transfer flag indicating untransferred Is stored in the transfer processing database, and the contract calculated quantity y is subtracted from the order quantity of the purchase order data associated with the order identification information in the purchase order storage unit,
The transfer processing unit
Read the order identification information, the order data, and the approximate constant amount stored in the transfer processing database in association with the transfer flag indicating the non-transfer, for each record,
When the order data of the read record is purchase order data, the purchase order customer's account number is associated with the customer identification information included in the purchase order data in the customer database. The contract amount is added as a transfer quantity to the securities balance of the issue identification information included in the purchase order data stored in the customer account database in association with an account number, and the purchase order customer's funds A transfer process for a purchase order that reduces the amount equivalent to the amount of the securities of the contract amount as a transfer amount on the purchase order side with respect to the balance, and the read order identification information after the transfer process for the purchase order Perform a transfer flag update process to update the associated transfer flag from untransferred to information indicating that the transfer has been completed,
When the order data of the read record is sell order data, based on the account number of the sell order customer associated with the customer identification information included in the sell order data in the customer database, The contract amount is subtracted as a transfer quantity from the securities balance of the issue identification information included in the sale order data stored in the customer account database in association with an account number, and the sale order customer's funds In the order identification information read after the transfer process for the sell order to increase the amount equivalent to the value of the securities of the contract amount as the transfer amount on the sell order side with respect to the balance, and after the transfer process for the sell order A transfer flag update process is performed to update the associated transfer flag from untransferred to information indicating that the transfer has been completed. Transfer processing device.
前記有価証券は、個人向け国庫債券であり、
前記有価証券の注文数量は、前記個人向け国庫債券の注文額面金額であり、
前記有価証券の約定数量は、前記個人向け国庫債券の約定額面金額であり、
前記買注文側の前記有価証券の代金相当額は、前記個人向け国庫債券の約定額面金額に所定の振替手数料が加えられた額であり、前記売注文側の前記有価証券の代金相当額は、前記個人向け国庫債券の約定額面金額から所定の振替手数料が減じられた額である
ことを特徴とする請求項1記載の口座間振替処理装置。
The securities are national treasury bonds,
The order quantity of the securities is the face value of the order of the personal treasury bond,
The contract amount of the securities is the contract face value of the national treasury bond,
The price equivalent of the securities on the purchase order side is an amount obtained by adding a predetermined transfer fee to the contract face amount of the national treasury bond for individuals, and the price equivalent of the securities on the sell order side is: The inter-account transfer processing device according to claim 1, wherein the transfer amount is an amount obtained by subtracting a predetermined transfer fee from the contract amount of the personal treasury bond for individuals.
コンピュータを、請求項1〜12の何れかに記載の口座間振替処理装置として機能させるためのプログラム。   The program for functioning a computer as an inter-account transfer processing apparatus in any one of Claims 1-12.
JP2007217877A 2007-08-24 2007-08-24 Account transfer processing device and program Expired - Fee Related JP5188762B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007217877A JP5188762B2 (en) 2007-08-24 2007-08-24 Account transfer processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007217877A JP5188762B2 (en) 2007-08-24 2007-08-24 Account transfer processing device and program

Publications (3)

Publication Number Publication Date
JP2009053787A true JP2009053787A (en) 2009-03-12
JP2009053787A5 JP2009053787A5 (en) 2009-08-06
JP5188762B2 JP5188762B2 (en) 2013-04-24

Family

ID=40504845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007217877A Expired - Fee Related JP5188762B2 (en) 2007-08-24 2007-08-24 Account transfer processing device and program

Country Status (1)

Country Link
JP (1) JP5188762B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002203112A (en) * 2000-11-01 2002-07-19 Fujitsu Ltd Method for supporting transaction, and program
JP2002312582A (en) * 2001-04-18 2002-10-25 Daiwa Securities Group Inc Electronic document issuing system and privilege giving method in the same system and program
JP2004310761A (en) * 2003-03-27 2004-11-04 Daiwa Securities Group Inc Securities transaction support system and securities transaction support method
JP2005044116A (en) * 2003-07-22 2005-02-17 Nomura Securities Co Ltd Document consigning system
JP2007047999A (en) * 2005-08-09 2007-02-22 Nomura Research Institute Ltd Security settlement balance management system and security settlement balance management program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002203112A (en) * 2000-11-01 2002-07-19 Fujitsu Ltd Method for supporting transaction, and program
JP2002312582A (en) * 2001-04-18 2002-10-25 Daiwa Securities Group Inc Electronic document issuing system and privilege giving method in the same system and program
JP2004310761A (en) * 2003-03-27 2004-11-04 Daiwa Securities Group Inc Securities transaction support system and securities transaction support method
JP2005044116A (en) * 2003-07-22 2005-02-17 Nomura Securities Co Ltd Document consigning system
JP2007047999A (en) * 2005-08-09 2007-02-22 Nomura Research Institute Ltd Security settlement balance management system and security settlement balance management program

Also Published As

Publication number Publication date
JP5188762B2 (en) 2013-04-24

Similar Documents

Publication Publication Date Title
US8548869B2 (en) System to determine posting payment amount based on specific type of item
US20090327062A1 (en) Methods and systems for optimal pricing
RU2271571C1 (en) Trading information-analytic system
CN108713210A (en) Utilize the accountant arrangement method and accounting process system of compound trial balance
KR20220159301A (en) The method of sns group purchase
JP2009176121A (en) Business management system
US20130318009A1 (en) Property Sale Application and Tracking System
CN101663683A (en) System and method for financial transaction
JP5188762B2 (en) Account transfer processing device and program
JP2007219569A (en) Shopping system
JP2008204426A (en) Inter-account transfer processing apparatus and program
JP2021018796A (en) Financial product transaction management device, financial product transaction management system, and program
JP2009093421A (en) Investment simulation system, method, and program
JP2002109417A (en) Price setting method for multiplicity of currencies
KR20010109715A (en) Method for insuring refund on electronic commercial transaction
JP5437663B2 (en) Securities trading processing system and program
JP2006048387A (en) Financial commodity management system and method thereof
JP2021018736A (en) Financial product transaction management device, financial product transaction management system, and program
JP2007323503A (en) System for accepting order of conditional securities trade
KR20010112665A (en) A foreign-exchange trading system and method based on a network
WO2004023361A1 (en) Electronic trading method and system
KR20010108580A (en) Method and apparatus for a network system designed to facilitate the commerce of barter style in which withdrawal of remainder is free in the limit of the amount of payment

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090623

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100414

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120814

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121009

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: 20130122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130123

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160201

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5188762

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees