JP2009053787A - Inter-account transfer processing apparatus and program - Google Patents
Inter-account transfer processing apparatus and program Download PDFInfo
- 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
Links
Images
Abstract
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
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.
このため、個人向け国庫債券の保有者が個人向け国庫債券を償還期限前に換金するために他人に転売することを希望した場合、個人向け国庫債券は購入者が個人に限られていて流動性が高くないため、転売相手の個人を探すのに労力を要する。 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
顧客は、顧客の端末装置(顧客端末)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
図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
注文受付部21は、顧客の端末装置10との間で種々のデータを送受信する機能を有しており、顧客の端末装置10から送信された顧客からの有価証券の注文の内容を示す情報を含む注文データであって、当該顧客の顧客識別情報、有価証券の銘柄識別情報、売買区分、及び注文数量を含む注文データを受信し、受信した注文データを当該注文を識別する注文識別番号に対応付けて注文データ記憶部22に記憶する。なお、有価証券が個人向け利付国庫債券等の個人向け国庫債券である場合は、注文数量として注文額面金額を用い、約定数量として約定額面金額を用いる。
The
例えば、注文受付部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
The
The order
売買区分判定部23は、注文受付部21から顧客注文の注文識別番号を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、当該顧客注文の注文データに含まれる売買区分が買いを示す情報であるか売りを示す情報であるかを判定する。そして売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である場合に、当該注文データである新規の買注文データと当該買注文の注文識別番号と未約定を示す約定フラグを対応付けて買注文用記憶部24に記憶する。一方、顧客注文の注文データの売買区分が売りを示す情報である場合に、当該注文データである新規の売注文データと当該売注文の注文識別番号と未約定を示す約定フラグを対応付けて売注文用記憶部44に記憶する。この売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である場合に買注文用記憶部24のブロックのうち当該注文データである新規の買注文データの銘柄識別情報に対応するブロックのレコードに当該新規の買注文データを格納し、顧客注文の注文データの売買区分が売りを示す情報である場合に売注文用記憶部44のブロックのうち当該注文データである新規の売注文データの銘柄識別情報に対応するブロックのレコードに当該新規の売注文データを格納する。
When receiving the order identification number of the customer order from the
注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応するブロックのレコードに記憶された未約定の各売注文データに含まれる注文数量の合計数量である売注文合計数量と買注文用記憶部24の当該銘柄識別情報に対応するブロックのレコードに記憶された未約定の各買注文データに含まれる注文数量の合計数量である買注文合計数量との大小関係を判定し、売注文合計数量と買注文合計数量のうち小さいほうの合計数量を成す買注文の約定数量と当該買注文の注文データとを対応付けて振替処理DB59に格納し、当該小さいほうの合計数量を成す売注文の約定数量と当該売注文の注文データとを対応付けて振替処理DB59に格納する処理を予め定められた所定時刻に各銘柄識別情報について行うようになっている。
The order
このように、売買区分判定部23と注文数量判定部45により、注文データ記憶部22に記憶された注文データのうち買注文データを買注文用記億部24に記憶するとともに売注文データを売注文用記憶部44に記憶し、同じ銘柄識別情報を含む買注文データの注文数量と売注文データの注文数量とがマッチングする約定数量を求め、約定注文の約定数量と注文データを対応付けて振替処理DB59に格納するようになっている。
In this way, the buying / selling
振替処理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
振替報告書発行部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
振替報告書発行部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
なお、注文受付部21は、顧客の端末装置10に有価証券の板情報のウェブページを表示させる板情報画面送信手段を備えており、買注文用記憶部24に記憶された未約定の買注文データに含まれる銘柄識別情報及び注文数量と、売注文用記憶部44に記憶された未約定の売注文データに含まれる銘柄識別情報及び注文数量に基づいて注文状況を示す板情報画面のウェブページを生成し、顧客が端末装置10の表示画面(例えば注文入力画面のウェブページ又は証券会社のホームページ等)に表示された、板情報画面の表示要求ボタンをマウス等でクリック等して操作することにより、板情報画面のウェブページを顧客の端末装置10に送信して板情報画面のウェブページを表示させるようになっている。例えば板情報画面送信手段は、個人向け国庫債券の銘柄識別情報に対応する売注文用記憶部44の各ブロックにおいてレコードに格納された売注文データの注文額面金額を合計した銘柄識別情報毎の売注文の注文額面金額の合計額を出力する売注文用記憶部44から銘柄識別情報毎の売注文の注文額面金額の合計額を取得するとともに、個人向け国庫債券の銘柄識別情報に対応する買注文用記憶部24の各ブロックにおいてレコードに格納された買注文データの注文額面金額を合計した銘柄識別情報毎の買注文の注文額面金額の合計額を出力する買注文用記憶部24から銘柄識別情報毎の買注文の注文額面金額の合計額を取得し、銘柄識別情報毎の売注文及び買注文の注文額面金額の各合計額を当該銘柄識別情報に対応付けて板情報として一覧表示するための板情報画面のデータを生成して記憶手段に記憶し、顧客の端末装置10から個人向け国庫債券の板情報の表示を要求する要求データを受け取ると記憶手段に記憶されている板情報画面のデータを顧客の端末装置10に送信して当該板情報画面を表示させるようにしてもよい。顧客は板情報画面を参照することで個人向け国庫債券の銘柄間の流動性や注文額面金額を比較して判断することができ、板情報画面上で流動性の高い銘柄の個人向け国庫債券を選択して当該銘柄を注文銘柄として注文入力画面に入力して売買注文を出すことができる。
The
一例として、有価証券を個人向け利付国庫債券として個人向け利付国庫債券の個人間売買に適用する場合は、以下のようにしてもよい。注文受付部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
例えば注文受付部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
The
The order
注文受付部21又は売買区分判定部23には、顧客からの個人向け利付国庫債券の注文の内容を示す前記注文データ毎に注文の管理番号を一定方向(例えば増大方向)に更新して顧客からの注文データの管理番号を生成する注文管理手段を設ける。なお、注文の管理番号としてはカウント値からなる注文識別番号を用いることもできる。
売買区分判定部23は、注文受付部21から顧客注文の注文識別番号を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、当該顧客注文の注文データに含まれる売買区分を判定する。そして、売買区分判定部23は、当該注文データの売買区分が買いを示す情報である場合に買注文用記憶部24のブロックのうち当該注文データである新規の買注文データの銘柄識別情報に対応するブロックのレコードに当該新規の買注文データと注文管理手段の当該買注文データの管理番号と当該注文識別番号と未約定を示す約定フラグを対応付けて格納し、当該注文データの売買区分が売りを示す情報である場合に売注文用記憶部44のブロックのうち当該注文データである新規の売注文データの銘柄識別情報に対応するブロックのレコードに当該新規の売注文データと注文管理手段の当該売注文データの管理番号と当該注文識別番号と未約定を示す約定フラグを対応付けて格納する。
The
When receiving the order identification number of the customer order from the
注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定を示す約定フラグ(未約定の約定フラグ)に対応付けて記憶された各売注文データの注文額面金額の合計額面金額である売注文合計額面金額Uと買注文用記憶部24の当該銘柄識別情報に対応するブロックである銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各買注文データの注文額面金額の合計額面金額である買注文合計額面金額Kとの大小関係を判定し、大小関係に応じた第1から第3のケースの処理を所定時刻に銘柄識別情報毎に行う。
The order
(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
(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
(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
振替処理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
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
振替報告書発行部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
一例として、振替報告書発行部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
振替報告書DB60は、顧客のメールアドレスと当該顧客用の振替報告書の電子書面データと当該振替報告書の電子書面データを識別するための電子書面識別番号と通知フラグとを対応付けて格納する。この振替報告書DB60は、例えばリレーショナル・データベース(RDB)を用いて構成し、顧客のメールアドレスを格納するためのメールアドレスフィールドと、当該顧客用の振替報告書の電子書面データを格納するための電子書面データフィールドと、当該振替報告書の電子書面データを識別する電子書面識別番号を格納するための電子書面識別番号フィールドと、通知フラグを格納するための通知フラグフィールドをレコード毎に設け、同一レコードに格納されたこれらのデータを互いに対応付けるとともに当該電子書面識別番号等と当該レコードを対応付けるようにしてもよい。
The
なお、注文受付部21は、顧客の端末装置10に個人向け利付国庫債券の板情報のウェブページを表示させる板情報画面送信手段を備えており、買注文用記憶部24に記憶された未約定の買注文データの銘柄識別情報及び注文額面金額(注文残額面金額)と、売注文用記憶部44に記憶された未約定の売注文データの銘柄識別情報及び注文額面金額(注文残額面金額)に基づいて注文状況を示す板情報画面のウェブページを生成し、顧客が端末装置10の表示画面(例えば注文入力画面又は証券会社のホームページ等)に表示された、個人向け利付国庫債券の板情報画面の表示要求ボタンをマウス等でクリック等して操作することにより、個人向け利付国庫債券の板情報画面のウェブページを顧客の端末装置10に送信して当該板情報画面のウェブページを表示させるようにしてもよい。
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
In the
また、国債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
Further, in the
Further, in the
Further, in the
図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
The
In the
In addition, in the
図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
In the
Further, in the
図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
One record of the first bond (fluctuating 10 years) buy order block in the buy
買注文用記憶部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
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
The storage unit for
図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
In the record of the first bond (fluctuating 10 years) buy order block of the selling
売注文用記憶部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
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
The sales
図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
図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
The
Next, the board information screen transmission means of the
図11は、図9のフローチャートのS210において顧客の端末装置10に表示される板情報画面の一例を示す説明図である。板情報画面には、銘柄別に、発行日/償還期限、利払日、適用利率(税引前)、売注文額面金額合計額、買注文額面金額合計額等が表形式で表示される。顧客は端末装置10に表示された個人向け利付国庫債券の板情報画面を見ることにより、どの銘柄にどの程度の売注文の数量(額面金額)及び買注文の数量(額面金額)があるかを容易に把握することができる。
FIG. 11 is an explanatory diagram showing an example of a board information screen displayed on the
図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 (
図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 (
図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 (
図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 (
図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 (
図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
例えば、注文受付部21の板情報画面送信手段は、所定の時間間隔(一例として数秒間隔)で板情報画面データを生成するものとし、銘柄識別情報に対応付けて国債DB53に格納された各銘柄の発行日及び償還期限に基づき、板情報画面データの生成当日が発行日から償還期限前の売買取引最終日(一例として約定日受渡しの場合は償還期限前日とし、約定日翌日受渡しの場合は償還期限前々日)までの期間に含まれる売買取引可能な銘柄の銘柄識別情報を検出し、当該売買取引可能な銘柄の銘柄識別情報に対応付けて国債DB53に格納された発行日/償還期限、利払日、及び適用利率と、当該売買取引可能な銘柄の銘柄識別情報に対応する売注文用記憶部44のブロックにおいて未約定の約定フラグに対応付けてレコードに格納された売注文データの注文額面金額(注文残額面金額)を合計した銘柄識別情報毎の未約定売注文の注文額面金額(注文残額面金額)の合計額を出力する売注文用記憶部44の当該ブロックの出力部から当該銘柄識別情報の未約定売注文の注文額面金額(注文残額面金額)の合計額を取得するとともに、当該売買取引可能な銘柄の銘柄識別情報に対応する買注文用記憶部24のブロックにおいて未約定の約定フラグに対応付けてレコードに格納された買注文データの注文額面金額(注文残額面金額)を合計した当該銘柄識別情報の未約定買注文の注文額面金額(注文残額面金額)の合計額を出力する買注文用記憶部24の当該ブロックの出力部から当該銘柄識別情報の未約定買注文の注文額面金額(注文残額面金額)の合計額を取得し、当該売買取引可能な銘柄の銘柄識別情報毎の未約定売注文及び未約定買注文の注文額面金額(注文残額面金額)の各合計額と当該銘柄識別情報の銘柄の発行日/償還期限、利払日、及び適用利率を表形式の板情報として表示するための板情報画面のデータを生成して板情報用記憶手段に記憶し、注文受付部21が顧客の端末装置10から個人向け利付国庫債券の板情報画面要求データを受け取ると、板情報用記憶手段の板情報画面のデータを顧客の端末装置10に送信(又は所定間隔で配信)して当該板情報画面を表示させるようにしてもよい。
For example, the board information screen transmission means of the
図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
図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
In the display example of the order input screen in FIG. 12, information indicating “first bond (
図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
口座間振替処理装置20の注文受付部21は、顧客の端末装置10から顧客IDを含む注文データを受信すると、受信した注文データを受信識別番号に対応付けて受信記憶手段に記憶し、注文受付部21の注文確認画面送信手段は、受信識別番号と当該受信識別番号に対応付けて受信記憶手段に記憶された注文データに基づいて注文内容の確認画面を表示するためのデータである注文確認画面データであって受信識別情報を含む注文確認画面データを生成し(S223)、生成した注文確認画面データを顧客の端末装置10に送信する(S224)。顧客の端末装置10は、注文受付部21の注文確認画面送信手段からの注文確認画面データを受信すると、受信した注文確認画面データに従って個人向け利付国庫債券の注文データの注文確認画面のウェブページを表示する(S225)。
When receiving the order data including the customer ID from the
図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
図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
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
注文受付部21は、顧客の端末装置10から確認データと発注要求データと受信識別番号と顧客IDを受信すると、注文受付部21の利子手数料演算手段は、顧客の端末装置10からの受信識別番号に対応付けて受信記憶手段に記憶された注文データに含まれる銘柄を示す銘柄識別情報に対応付けて国債DB53に格納された当該注文銘柄の直前期間の適用利率(現在の適用利率)及び利払日を国債DB53から読み出し、読み出した適用利率、利払日及び注文データに含まれる注文額面金額を示すデータを用いて経過利子相当額を算出する(S229)。また、利子手数料演算手段は、算出した経過利子相当額及び注文データに含まれる注文額面金額を示すデータを用いて振替手数料を算出する(S230)。
When the
図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
図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
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
On the other hand, the interest fee calculating means of the
注文受付部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
On the other hand, when the interest fee calculating means of the
売買区分判定部23は注文管理手段を備えており、この注文管理手段は買注文の判定毎に買注文の管理番号を一定方向に更新する買注文区分判定管理手段と、売注文の判定毎に売注文の管理番号を一定方向に更新する売注文区分判定管理手段を備えており、売買区分判定部23の買注文区分判定管理手段は買注文の判定毎に買注文の注文銘柄の管理番号を増大方向に更新し、売買区分判定部23の売注文区分判定管理手段は売注文の判定毎に売注文の注文銘柄の管理番号を増大方向に更新するものとしてもよい。
売買区分判定部23は、注文受付部21から顧客注文の注文識別番号(注文ID)を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、取得した当該顧客注文の注文データに含まれる売買区分が買いを示す情報であるか売りを示す情報であるかを判定する。そして売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である第1の場合に、買注文区分判定管理手段の買注文の管理番号を更新させて当該注文データである新規の買注文データの銘柄識別情報に対応する買注文用記憶部24のブロックのレコードに当該新規の買注文データと当該買注文を識別するための注文識別番号と未約定を示す約定フラグと買注文区分判定管理手段の買注文の管理番号を対応付けて格納し(S244)、顧客注文の注文データの売買区分が売りを示す情報である場合に、売注文区分判定管理手段の売注文の管理番号を更新させて当該注文データである新規の売注文データの銘柄識別情報に対応する売注文用記憶部44のブロックのレコードに当該新規の売注文データと当該売注文を識別するための注文識別番号と未約定を示す約定フラグと売注文区分判定管理手段の売注文の管理番号を対応付けて格納する(S244)。
The buy / sell
When receiving the order identification number (order ID) of the customer order from the
一例として売買区分判定部23は、注文受付部21から顧客注文の注文識別番号を受け取ると、受け取った注文識別番号に対応付けされた注文データを注文データ記憶部22から取得し、取得した当該顧客注文の注文データに含まれる売買区分が買いを示す情報であるか売りを示す情報であるかを判定する。そして売買区分判定部23は、顧客注文の注文データの売買区分が買いを示す情報である第1の場合に、買注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新させて当該注文データである新規の買注文データの銘柄識別情報に対応する買注文用記憶部24のブロックにおいて未使用を示す使用フラグを格納した未使用のレコードに当該新規の買注文データと当該買注文を識別するための注文識別番号と未約定を示す約定フラグと買注文区分判定管理手段における当該銘柄識別情報の銘柄用の管理番号を対応付けて格納してから当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新し、顧客注文の注文データの売買区分が売りを示す情報である第2の場合に、売注文区分判定管理手段における当該注文データの銘柄識別情報の銘柄用の管理番号を更新させて当該注文データである新規の売注文データの銘柄識別情報に対応する売注文用記憶部44のブロックにおいて未使用を示す使用フラグを格納した未使用のレコードに当該新規の売注文データと当該売注文を識別するための注文識別番号と未約定を示す約定フラグと売注文区分判定管理手段の当該銘柄識別情報の銘柄用の管理番号を対応付けて格納してから当該未使用のレコードの使用フラグを未使用から使用済みを示す情報に更新するようにしてもよい。
As an example, when receiving the order identification number of the customer order from the
図8のフローチャートに示した約定処理S3において、注文数量判定部45は、売注文用記憶部44の銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各売注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である売注文合計数量(売注文合計額面金額)Uと買注文用記憶部24の当該銘柄識別情報に対応する銘柄ブロックのレコードに未約定の約定フラグに対応付けて記憶された各買注文データの注文数量(注文額面金額)の合計数量(合計額面金額)である買注文合計数量(買注文合計額面金額)Kとの大小関係を判定し、大小関係に応じた第1から第3のケースの約定処理を複数の注文受付時間帯の各々に対応する約定処理時刻に銘柄識別情報毎に行う。なお、注文数量判定部45は、合計数量記憶手段(合計金額記憶手段)と番号記憶手段と約定算出数量記憶手段と演算処理用のメモリを備えているものとする。
In the execution processing S3 shown in the flowchart of FIG. 8, the order
(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
(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
(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
(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
(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
(1-2-1) When the order quantity of the sell order data associated with the brand block of the sell
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
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
(1-2-2) When the order quantity of the sell order data associated with the brand block of the sell
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
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
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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(3-2-1) When the order quantity of the purchase order data associated with the brand block of the buy
When the purchase order order identification information associated with the brand number in the purchase
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
(3-2-2) When the order quantity of the purchase order data associated with the brand block of the buy
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
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
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
図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
図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
図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
振替報告書発行部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
図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
図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 (
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 (
In addition, in the display column of “About deposits / withdrawals for securities”, the “Deposit” displayed in the Deposit / Withdrawal column of
さらに、振替識別番号の項に表示された「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
First, the order
If the order
If the order
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
Next, in S330, the order
In step S340, the order
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
Next, in S390, the order
In S392, the order
図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
First, in S3600, the order
Next, in S 3602, the order
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
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
In step S <b> 3622, the 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
S3628において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出す。
次にS3630において、注文数量判定部45は、S3628で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3632において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3624に戻る。S3632の処理により、買注文用記憶部24の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定買注文を約定済の買注文として認識することができるようになる。
In S3628, the order
Next, in step S3630, the order
S3650において、注文数量判定部45は、売注文用記憶部44で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして売注文管理番号保持手段に保持する。
次にS3652において、注文数量判定部45は、最も小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出し、合計金額Σmを記憶する合計金額記憶手段の合計金額Σmを当該売注文データの注文額面金額(注文残額面金額)からなる初期値にセットする。また、番号記憶手段の番号iを初期値1にセットする。なお、売注文用記憶部44において売注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、売注文データと注文識別情報を読み出すときに売注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3650, the order
In step S3652, the order
S3654において、注文数量判定部45は、合計金額記憶手段の合計金額Σmが買注文合計額面金額K以下であるか判定し、買注文合計額面金額K以下である場合は(S3654:YES)、S3652で読み出した当該注文識別情報の売注文が全部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを当該売注文の注文データの注文額面金額(注文残額面金額)にセットする。また、演算処理用の変数pを0にセットしてメモリに保持する。
合計金額記憶手段の合計金額Σmが買注文合計額面金額Kよりも大きい場合は(S3654:NO)、S3652で読み出した当該注文識別情報の売注文が一部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを買注文合計額面金額Kにセットする。また、変数pを1にセットしてメモリに保持する。
In S3654, the order
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
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
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
In S3670, the order
In S3672, the order
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
In step S3678, the order
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
In S3682, the order
S3690において、注文数量判定部45は、S3678で読み出した売注文データと約定算出金額記憶手段の約定算出金額yからなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。次にS3692において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックにおいて当該注文識別情報に対応付けされた売注文データの注文額面金額(注文残額面金額)に対して約定算出金額記憶手段の約定算出金額yを減算する。これにより、当該注文識別情報に対応付けされた売注文データの注文額面金額(注文残額面金額)を売注文の未約定分の額面金額に更新することができる。
In S3690, the 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
First, in S3700, the order
In step S3702, the order
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
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
S3724において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3700で検出した管理番号の個数Nb未満であるか判定し、番号iが個数Nb以上である場合に(S3724:NO)、例えば番号iが個数Nbと等しいときに、買注文管理番号保持手段に保持された各管理番号の買注文の約定処理を終了したと認識してS3750に進み、売注文の約定処理を行う。番号iが個数Nb未満である場合に(S3724:YES)、買注文管理番号保持手段に保持された各管理番号の中に買注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3726)、S3728に進む。
In S3724, the order
S3728において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出す。
次にS3730において、注文数量判定部45は、S3728で読み出した買注文データと当該買注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3732において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3724に戻る。S3732の処理により、買注文用記憶部24の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定買注文を約定済の買注文として認識することができるようになる。
In S3728, the order
Next, in step S3730, the order
S3750において、注文数量判定部45は、売注文用記憶部44で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして売注文管理番号保持手段に保持し、保持した管理番号の個数Nsを検出してメモリに記憶する。個数Nsは、売注文管理番号保持手段に保持されたソートされた管理番号に対して小さい順に1から始まるシリアル番号を付すことにより最も大きいシリアル番号から検出することができる。
次にS3752において、注文数量判定部45は、最も小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。また、演算処理用の変数である番号iを記憶する番号記憶手段の番号iを初期値1にセットする。なお、売注文用記憶部44において売注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、売注文データと注文識別情報を読み出すときに売注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3750, the order
In step S3752, the order
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
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
S3774において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3750で検出した管理番号の個数Ns未満であるか判定し、番号iが個数Ns以上である場合に(S3774:NO)、例えば番号iが個数Nsと等しいときに、売注文管理番号保持手段に保持された各管理番号の売注文の約定処理を終了したと認識し、本フローチャートを終了する。番号iが個数Ns未満である場合に(S3774:YES)、売注文管理番号保持手段に保持された各管理番号の中に売注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3776)、S3778に進む。
In S3774, the order
S3778において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。
次にS3780において、注文数量判定部45は、S3778で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3782において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3774に戻る。S3782の処理により、売注文用記憶部44の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定売注文を約定済の売注文として認識することができるようになる。
In S3778, the order
Next, in step S3780, the 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
First, in S3800, the order
In step S3802, the order
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
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
S3824において、注文数量判定部45は、番号記憶手段に記憶されている番号iが、S3800で検出した管理番号の個数Ns未満であるか判定し、番号iが個数Ns以上である場合に(S3824:NO)、例えば番号iが個数Nsと等しいときに、売注文管理番号保持手段に保持された各管理番号の売注文の約定処理を終了したと認識してS3850に進み、買注文の約定処理を行う。番号iが個数Ns未満である場合に(S3824:YES)、売注文管理番号保持手段に保持された各管理番号の中に売注文の約定処理を終了していないものがあると認識し、番号記憶手段の番号iを1だけ増加した値に更新して(S3826)、S3828に進む。
In S3824, the order
S3828において、注文数量判定部45は、番号記憶手段の番号iを参照してi番目に小さい管理番号を売注文管理番号保持手段から読み出し、読み出した管理番号に対応する売注文データと注文識別情報を売注文用記憶部44の選択銘柄ブロックのレコードから読み出す。
次にS3830において、注文数量判定部45は、S3828で読み出した売注文データと当該売注文データの注文額面金額(注文残額面金額)からなる約定額面金額と当該売注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。そしてS3832において、注文数量判定部45は、売注文用記憶部44の選択銘柄ブロックのレコードにおいて、当該注文識別情報に対応付けされた約定フラグを未約定から約定済を示す情報に更新し、S3824に戻る。S3832の処理により、売注文用記憶部44の選択銘柄ブロックのレコードに記憶された当該注文識別情報の未約定売注文を約定済の売注文として認識することができるようになる。
In S3828, the order
Next, in S3830, the order
S3850において、注文数量判定部45は、買注文用記憶部24で選択銘柄ブロックのレコードに未約定の約定フラグに対応付けて格納された管理番号を読み出し、読み出した各管理番号を小さい順にソートして買注文管理番号保持手段に保持する。
次にS3852において、注文数量判定部45は、最も小さい管理番号を買注文管理番号保持手段から読み出し、読み出した管理番号に対応する買注文データと注文識別情報を買注文用記憶部24の選択銘柄ブロックのレコードから読み出し、合計金額Σmを記憶する合計金額記憶手段の合計金額Σmを当該買注文データの注文額面金額(注文残額面金額)からなる初期値にセットする。また、番号記憶手段の番号iを初期値1にセットする。なお、買注文用記憶部24において買注文データと注文識別情報と注文残額面金額と約定フラグをレコードに記憶する構成の場合は、買注文データと注文識別情報を読み出すときに買注文データと注文識別情報と注文残額面金額を読み出すようにする。
In S3850, the order
Next, in S3852, the order
S3854において、注文数量判定部45は、合計金額記憶手段の合計金額Σmが売注文合計額面金額U以下であるか判定し、売注文合計額面金額U以下である場合は(S3854:YES)、S3852で読み出した当該注文識別情報の買注文が全部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを当該買注文の注文データの注文額面金額(注文残額面金額)にセットする。また、演算処理用の変数pを0にセットしてメモリに保持する。
合計金額記憶手段の合計金額Σmが売注文合計額面金額Uよりも大きい場合は(S3854:NO)、S3852で読み出した当該注文識別情報の買注文が一部約定する注文であると認識し、約定算出金額記憶手段の約定算出金額yを売注文合計額面金額Uにセットする。また、変数pを1にセットしてメモリに保持する。
In S3854, the order
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
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
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
In S3870, the order
In S3872, the 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
In step S3878, the order
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
In S3882, the order
S3890において、注文数量判定部45は、S3878で読み出した買注文データと約定算出金額記憶手段の約定算出金額yからなる約定額面金額と当該買注文の約定識別番号及び注文識別情報と未振替を示す振替フラグと未生成を示す生成フラグを対応付けて振替処理DB59に格納する。次にS3892において、注文数量判定部45は、買注文用記憶部24の選択銘柄ブロックにおいて当該注文識別情報に対応付けされた買注文データの注文額面金額(注文残額面金額)に対して約定算出金額記憶手段の約定算出金額yを減算する。これにより、当該注文識別情報に対応付けされた買注文データの注文額面金額(注文残額面金額)を買注文の未約定分の額面金額に更新することができる。
このように約定処理する買注文と売注文について管理番号を用いて時間優先の原則を適用することができる。また、銘柄毎の管理番号を用いて銘柄毎に管理番号の大小から最も過去の注文データを検出して時間優先の原則を適用することで、銘柄を区別せずに売注文全体に対する管理番号を用いて銘柄毎に当該管理番号の大小から最も過去の注文データを検出して時間優先の原則を適用する場合に比べて、管理番号の桁数を減らすことができ、処理の迅速を図ることができる利点がある。
In S3890, the 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
10・・・顧客の端末装置(顧客端末)、15・・・通信回線、20・・・口座間振替処理装置、21・・・注文受付部、22・・・注文データ記憶部、23・・・売買区分判定部、24・・・買注文用記憶部、26・・・振替処理部、44・・・売注文用記憶部、45・・・注文数量判定部、51・・・振替報告書発行部、52・・・顧客データベース(顧客DB)、53・・・国債データベース(国債DB)、58・・・顧客口座データベース(顧客口座DB)、59・・・振替処理データベース(振替処理DB)、60・・・振替報告書データベース(振替報告書DB)。
DESCRIPTION OF
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.
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)
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 |
-
2007
- 2007-08-24 JP JP2007217877A patent/JP5188762B2/en not_active Expired - Fee Related
Patent Citations (5)
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 |