JP2010211491A - Securities exchange simulator and securities exchange simulation method - Google Patents

Securities exchange simulator and securities exchange simulation method Download PDF

Info

Publication number
JP2010211491A
JP2010211491A JP2009056614A JP2009056614A JP2010211491A JP 2010211491 A JP2010211491 A JP 2010211491A JP 2009056614 A JP2009056614 A JP 2009056614A JP 2009056614 A JP2009056614 A JP 2009056614A JP 2010211491 A JP2010211491 A JP 2010211491A
Authority
JP
Japan
Prior art keywords
information
order
scenario
transaction
order information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009056614A
Other languages
Japanese (ja)
Inventor
Yasutoshi Arakawa
恭俊 荒川
Hiroshi Kataoka
洋 片岡
Hiroyuki Ikeda
浩之 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2009056614A priority Critical patent/JP2010211491A/en
Publication of JP2010211491A publication Critical patent/JP2010211491A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To simulate transaction environment of a securities exchange to efficiently perform an ordering test. <P>SOLUTION: This securities exchange simulator includes: a communication part 102 network-connected to an ordering test system 20 performing an order of a trade transaction of a security, receiving order information transmitted from the ordering test system 20; a scenario information database 105c storing scenario information wherein execution instruction information of the trade transaction is previously defined; a transaction control part 101 managing output of the order information received in the communication part 102, and controlling the trade transaction; and a transaction processing part 106 creating board information based on the order information, and executing the trade transaction based on the board information. In time of execution of the scenario information, the transaction control part 101 closes an output route of the order information to the transaction processing part 106, accumulates the order information in a temporary storage area, creates other order information from the scenario information, updates the board information, and thereafter opens the output route to output the accumulated order information. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、証券会社における売買注文発注システムの試験に利用される証券取引所シミュレータおよび証券取引所シミュレート方法に関する。   The present invention relates to a stock exchange simulator and a stock exchange simulation method used for testing a trading order ordering system in a securities company.

証券会社は、注文者から受付けた売買委託注文に基づいて証券取引所に発注を行うが、注文の受付から発注までの一連の処理はコンピュータによって行われるのが一般的になっており、時間や価格などをトリガ条件として発注を行う発注条件付注文など様々な注文処理が可能な売買注文発注システムが知られている(例えば、特許文献1参照)。   A securities company places an order with a stock exchange based on a brokerage order received from an orderer, and a series of processes from receiving an order to placing an order is generally performed by a computer. 2. Description of the Related Art A sales order ordering system capable of various order processing such as an order with an ordering condition for placing an order using a price or the like as a trigger condition is known (see, for example, Patent Document 1).

また、売買注文発注システムは、実際に運用される前の発注試験によって十分な検証が行われる必要があるが、証券取引所と実際に接続する公開接続試験は時間的な制限もあるため、検証を十分に行うことが困難である。このため、売買注文発注システムの試験においては、実際の証券取引所の挙動を模擬する証券取引所シミュレータに接続することで所望の試験を行っている。   In addition, the purchase order system must be fully verified by an order test before it is actually used, but the public connection test that actually connects to the stock exchange is limited in time, so verification It is difficult to do enough. For this reason, in the test of the buying and selling order system, a desired test is performed by connecting to a stock exchange simulator that simulates the actual behavior of the stock exchange.

特開2001−155086号公報JP 2001-1555086 A

しかしながら、従来の発注試験においては、実際の証券取引所との間で実施する公開接続試験の様な状況を作り出すために、膨大な注文データを事前に準備するか、あるいは、多くの人員を確保して注文データを発生させる必要があり、以下のような問題があった。
(1)注文データの準備や発生を手作業によって行うため、準備期間および人件費等のコストを要する。
(2)実際の取引所における取引環境を模擬するためには、十分な検討の上でデータを作成する必要があり、例えばストップ高やストップ安などの特別な市場イベントをシミュレータ内で作り出すことは特に困難である。
そこで、本発明は、実際の証券取引所における種々の取引環境を模擬でき、発注試験を効率的に行える証券取引所シミュレータおよび証券取引所シミュレート方法を提供することを目的とする。
However, in the conventional ordering test, in order to create a situation like a public connection test conducted with an actual stock exchange, a large amount of order data is prepared in advance or a large number of personnel are secured. Then, it is necessary to generate order data, and there are the following problems.
(1) Since preparation and generation of order data are performed manually, costs such as a preparation period and labor costs are required.
(2) In order to simulate the trading environment at an actual exchange, it is necessary to create data after careful consideration. For example, creating special market events such as stop highs and stop lows in the simulator Have difficulty.
Therefore, an object of the present invention is to provide a stock exchange simulator and a stock exchange simulation method that can simulate various trading environments in an actual stock exchange and can efficiently perform an ordering test.

本発明に係る証券取引所シミュレータは、証券の売買取引の注文を行う発注試験システムにネットワークを介して接続され、この発注試験システムから送信される注文情報を受信すると共に、この注文情報に係る取引結果を前記発注試験システムに送信する通信部と、前記売買取引の実行指示情報を予め定義したシナリオ情報を格納するシナリオ情報データベースと、前記通信部が受信した注文情報の出力を管理し、前記売買取引を制御する取引制御部と、前記取引制御部から出力された注文情報に基づいて板情報を作成すると共に、この板情報に基づいて前記売買取引を実行する取引処理部と、を備え、前記取引制御部は、前記シナリオ情報データベースに格納された前記シナリオ情報を実行する場合、前記取引処理部への前記注文情報の出力経路を閉鎖して前記注文情報を一時記憶領域に蓄積すると共に、前記シナリオ情報から他の注文情報を作成して前記取引処理部へ出力し、前記板情報を更新させた後に、前記出力経路を開放して前記蓄積された注文情報を出力することを特徴とする。   The stock exchange simulator according to the present invention is connected via a network to an ordering test system for placing an order for securities trading, receives order information transmitted from the ordering test system, and deals with the order information. A communication unit that transmits a result to the order test system; a scenario information database that stores scenario information in which execution instruction information of the trading transaction is previously defined; and an output of the order information received by the communication unit; A transaction control unit that controls the transaction, and a transaction processing unit that creates the plate information based on the order information output from the transaction control unit, and executes the sales transaction based on the plate information, The transaction control unit, when executing the scenario information stored in the scenario information database, of the order information to the transaction processing unit The order path is stored in a temporary storage area by closing a force path, and other order information is created from the scenario information and output to the transaction processing unit, and the board information is updated, and then the output path And the accumulated order information is output.

本発明によれば、実際の証券取引所における種々の取引環境を模擬でき、発注試験を効率的に行える証券取引所シミュレータおよび証券取引所シミュレート方法が提供される。   According to the present invention, there are provided a stock exchange simulator and a stock exchange simulation method capable of simulating various trading environments in an actual stock exchange and performing an order test efficiently.

本発明の実施形態1に係る証券取引所シミュレータの全体構成例を示すブロック図。The block diagram which shows the example of whole structure of the stock exchange simulator which concerns on Embodiment 1 of this invention. 図1に示す注文情報データベースに記憶される注文情報の具体例を示す図。The figure which shows the specific example of the order information memorize | stored in the order information database shown in FIG. 図1に示す相場情報データベースに記憶される相場情報の具体例を示す図。The figure which shows the specific example of the market price information memorize | stored in the market price information database shown in FIG. 図1に示すシナリオ情報データベースに記憶されるシナリオ情報の具体例を示す図。The figure which shows the specific example of the scenario information memorize | stored in the scenario information database shown in FIG. 図1に示す取引情報データベースに記憶される取引情報の具体例を示す図。The figure which shows the specific example of the transaction information memorize | stored in the transaction information database shown in FIG. 図1に示すシナリオ情報作成部におけるシナリオ情報作成処理の具体例を示すフローチャート。The flowchart which shows the specific example of the scenario information creation process in the scenario information creation part shown in FIG. ストップ安に係るシナリオ情報の作成方法の具体例を示す図。The figure which shows the specific example of the preparation method of the scenario information which concerns on a cheap stop. ストップ高に係るシナリオ情報の作成方法の具体例を示す図。The figure which shows the specific example of the preparation method of the scenario information which concerns on stop height. 図1に示す取引制御部における売買取引制御処理の具体例を示すフローチャート。The flowchart which shows the specific example of the sales transaction control process in the transaction control part shown in FIG. 板情報表示画面の具体例を示す図。The figure which shows the specific example of a board information display screen. 図9に示すフローチャートにおけるシナリオ実行の詳細な処理例を示すフローチャート。The flowchart which shows the detailed process example of scenario execution in the flowchart shown in FIG. ストップ安に係るシナリオ情報の実行状態を説明する図。The figure explaining the execution state of the scenario information concerning a stop cheap. ストップ高に係るシナリオ情報の実行状態を説明する図。The figure explaining the execution state of scenario information concerning stop height. 図1に示すシナリオ情報データベースに記憶されるシナリオ情報の具体例を示す図。The figure which shows the specific example of the scenario information memorize | stored in the scenario information database shown in FIG.

<実施形態1>
以下、本発明の実施形態について図面を用いて説明する。図1は、本発明の実施形態1に係る証券所シミュレータ1の全体構成例を示す図である。同図に示されるように、本実施形態に係る証券取引所シミュレータ10は、証券会社が証券の発注処理に用いる発注試験システム20にネットワークを介して接続されている。また、発注試験システム20には、証券を取引する証券取引所30にネットワークを介して接続されており、証券取引所30における実際の取引情報を入手可能な構成となっている。
<Embodiment 1>
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an overall configuration example of a stock exchange simulator 1 according to the first embodiment of the present invention. As shown in the figure, the stock exchange simulator 10 according to the present embodiment is connected to an order test system 20 used by a securities company for order processing of securities via a network. In addition, the order test system 20 is connected to a stock exchange 30 that trades securities via a network, so that actual transaction information on the stock exchange 30 can be obtained.

証券取引所シミュレータ10は、取引制御部101、通信部102、入出力部103、シナリオ情報作成部104、データベース部105、および取引処理部106を備えている。   The stock exchange simulator 10 includes a transaction control unit 101, a communication unit 102, an input / output unit 103, a scenario information creation unit 104, a database unit 105, and a transaction processing unit 106.

取引制御部101は、証券取引所シミュレータ10の各部を制御する機能を持つ。具体的には、(i)通信部102において受信された注文情報と相場情報をデータベース部105に格納する機能、(ii)入出力部103から出力されるシナリオ情報作成条件に基づいてシナリオ情報作成部104にシナリオ情報を作成させ、データベース部105に格納する機能、(iii)シナリオの実行時以外は通信部102において受信された試験用の注文情報を取引処理部106に出力し、シナリオの実行時はシナリオ情報から作成した注文情報を取引処理部106に出力する機能、(iv)取引処理部106における処理結果を通信部102に出力し、発注試験システム20へ送信させる機能を備えている。   The transaction control unit 101 has a function of controlling each unit of the stock exchange simulator 10. Specifically, (i) a function for storing order information and market price information received in the communication unit 102 in the database unit 105, and (ii) scenario information creation based on scenario information creation conditions output from the input / output unit 103 A function for causing the unit 104 to create scenario information and storing it in the database unit 105. (iii) When the scenario is not executed, the test order information received by the communication unit 102 is output to the transaction processing unit 106 to execute the scenario. In some cases, it has a function of outputting the order information created from the scenario information to the transaction processing unit 106, and (iv) a function of outputting a processing result in the transaction processing unit 106 to the communication unit 102 and transmitting it to the order test system 20.

通信部102は、発注試験システム20が証券取引所30に対して実際に送信した過去の注文情報、証券取引所30における過去の相場情報、および試験用の注文情報を受信すると共に、この試験用の注文情報または後述するシナリオ情報に基づく注文情報に対する取引処理の結果を取引制御部101から取得して発注試験システム20に送信する機能を持つ。   The communication unit 102 receives past order information actually transmitted to the stock exchange 30 by the order test system 20, past market price information on the stock exchange 30, and order information for testing. The transaction processing unit 101 obtains the result of the transaction process for the order information based on the order information or scenario information described later from the transaction control unit 101 and transmits it to the order test system 20.

入出力部103は、表示装置(図示省略する)、キーボードやマウスなどの入力装置(図示省略する)を持ち、証券取引所シミュレータ10の管理者がシナリオ情報の実行指示の入力機能、処理結果などの各種画面の表示装置への表示機能を持つ。   The input / output unit 103 includes a display device (not shown), an input device (not shown) such as a keyboard and a mouse, and the administrator of the stock exchange simulator 10 inputs a scenario information execution instruction, a processing result, and the like. It has a function to display various screens on the display device.

シナリオ情報作成部104は、入出力部103において入力されたシナリオ情報作成条件に基づいてデータベース部105から注文情報と相場情報を取得し、取引処理部106に対して実行すべき処理の指示情報であるシナリオ情報を作成する機能を持つ。シナリオ情報作成部104では、実際に発注試験システム20が証券取引所30と取引を行った際の情報である注文情報と相場情報を利用することで、全数約定、一部約定、失効、一部失効および寄り、引け、ザラ場中など所望の状態を作り出すシナリオ情報を作成する。   The scenario information creation unit 104 obtains order information and market price information from the database unit 105 based on the scenario information creation conditions input in the input / output unit 103, and indicates to the transaction processing unit 106 processing instruction information to be executed. Has the ability to create certain scenario information. The scenario information creation unit 104 uses the order information and the market price information, which are information when the order test system 20 actually conducts transactions with the stock exchange 30, so that all orders are executed, partly executed, expired, partly Create scenario information that creates the desired state, such as revocation and close, close, and rough.

データベース部105は、注文情報データベース105a、相場情報データベース105b、シナリオ情報データベース105c、および取引情報データベース105dを含む記憶装置である。   The database unit 105 is a storage device including an order information database 105a, a market price information database 105b, a scenario information database 105c, and a transaction information database 105d.

注文情報データベース105aは、発注試験システム20から証券取引所30に対して実際に送信した過去の注文情報を格納するデータベースである。図2は、注文情報データベース105aに記憶される注文情報の具体例を示す図である。図2に示すように注文情報データベース105aには注文情報として、銘柄、注文ID、売買区分(売/買)、価格、数量、執行条件(指値/寄付/引け/成行/不成など)、時刻、および電文種別(新規/訂正/取消)などが履歴として記録されている。   The order information database 105 a is a database that stores past order information actually transmitted from the order test system 20 to the stock exchange 30. FIG. 2 is a diagram showing a specific example of order information stored in the order information database 105a. As shown in FIG. 2, the order information database 105a includes, as order information, a brand, an order ID, a trading category (sell / buy), a price, a quantity, an execution condition (such as limit / donate / close / execute / not), time, The message type (new / correction / cancellation) is recorded as a history.

相場情報データベース105bは、証券取引所30における過去の相場情報を格納するデータベースである。図3は、相場情報データベース105bに記憶される相場情報の具体例を示す図である。図3に示すように相場情報データベース105bには相場情報として、銘柄、売買区分(売/買)、気配価格、数量、気配フラグ(I:一般気配/T:特別気配/C:注意気配/N:成行気配/S:最終気配/B:停止前の特別気配)、時刻、および出来高が時系列で記録されている。   The market price information database 105 b is a database that stores past market price information on the stock exchange 30. FIG. 3 is a diagram illustrating a specific example of the market price information stored in the market price information database 105b. As shown in FIG. 3, in the market price information database 105b, as market price information, brands, trading categories (sell / buy), market price, quantity, market flag (I: general market / T: special market / C: caution market / N : Market price / S: final price / B: special price before stoppage), time and volume are recorded in chronological order.

シナリオ情報データベース105cは、シナリオ情報作成部104において作成されたシナリオ情報を格納するデータベースである。図4は、シナリオ情報データベース105cに記憶されるシナリオ情報の具体例を示す図である。図4に示すようにシナリオ情報データベース105cには引処理部106に実行させる処理がシナリオ情報として、シナリオNo、処理ID、処理区分、処理条件、および実行フラグが記録されている。図4には銘柄AAAについて売価格を500円、売数量を20000とする指値注文を取引処理部106に行うことを定義したシナリオ情報が示されている。また、一つのシナリオNoに対しては任意の数の処理が関連付けられており、連続した処理が可能である。   The scenario information database 105c is a database that stores scenario information created by the scenario information creation unit 104. FIG. 4 is a diagram showing a specific example of scenario information stored in the scenario information database 105c. As shown in FIG. 4, in the scenario information database 105c, a scenario number, a process ID, a process category, a process condition, and an execution flag are recorded as scenario information for a process to be executed by the pull processing unit 106. FIG. 4 shows scenario information that defines that a limit order with a selling price of 500 yen and a selling quantity of 20000 is made to the transaction processing unit 106 for the brand AAA. Further, an arbitrary number of processes are associated with one scenario No, and continuous processes are possible.

取引情報データベース105dは、取引制御部101から出力された注文情報に対する取引処理の情報(以下、「取引情報」という。)を格納するデータベースである。図5は、取引情報データベース105dに記憶される取引情報の具体例を示す図である。図5に示すように取引情報データベース105dには、銘柄、注文ID、注文種別、執行条件、注文値段、注文数量、約定値段、約定価格、および実行フラグが取引条件とその処理結果として記録されている。   The transaction information database 105 d is a database that stores transaction processing information (hereinafter referred to as “transaction information”) for the order information output from the transaction control unit 101. FIG. 5 is a diagram showing a specific example of transaction information stored in the transaction information database 105d. As shown in FIG. 5, in the transaction information database 105d, brands, order IDs, order types, execution conditions, order prices, order quantities, contract prices, contract prices, and execution flags are recorded as transaction conditions and processing results thereof. Yes.

取引処理部106は、取引制御部101からの注文情報に基づいて板情報を作成し、この板情報と所定の取引規則に基づいて取引処理を行い、この取引処理の結果を取引制御部101へ出力し、取引情報データベース105dに格納させる機能を持つ。   The transaction processing unit 106 creates plate information based on the order information from the transaction control unit 101, performs transaction processing based on the plate information and a predetermined transaction rule, and sends the result of the transaction processing to the transaction control unit 101. It has a function of outputting and storing it in the transaction information database 105d.

また、発注試験システム20は、制御部201、通信部202、データベース部203、および発注処理部204を備えている。   The order test system 20 includes a control unit 201, a communication unit 202, a database unit 203, and an order processing unit 204.

制御部201は、発注試験システム20の各部を制御する機能を持つ。
通信部202は、証券取引所シミュレータ10および証券取引所30にネットワークを介してそれぞれ接続され、データの送受信を行う機能を持つ。
データベース部203は、注文情報データベース203aと相場情報データベース203bを含む記憶装置である。注文情報データベース203aと相場情報データベース203bは、注文情報データベース105aと相場情報データベース105bのマスターデータベースであるので説明は省略する。
The control unit 201 has a function of controlling each unit of the order test system 20.
The communication unit 202 is connected to the stock exchange simulator 10 and the stock exchange 30 via a network and has a function of transmitting and receiving data.
The database unit 203 is a storage device including an order information database 203a and a market price information database 203b. Since the order information database 203a and the market price information database 203b are master databases of the order information database 105a and the market price information database 105b, description thereof will be omitted.

発注処理部204は、キーボードやマウスなどの入力装置(図示省略する)によって入力された情報に基づいて注文情報を作成し、制御部201へ出力する機能を持つ。制御部201へ出力された注文情報は、注文情報データベース203aに格納されると共に、通信部202から証券取引所シミュレータ10へ試験用の注文情報として送信される。   The order processing unit 204 has a function of creating order information based on information input by an input device (not shown) such as a keyboard and a mouse, and outputting the order information to the control unit 201. The order information output to the control unit 201 is stored in the order information database 203a, and is transmitted from the communication unit 202 to the stock exchange simulator 10 as test order information.

次に、本実施形態に係る証券取引所シミュレータ10の動作を図面に基づいて説明する。図6は、シナリオ情報作成部104におけるシナリオ情報作成処理の具体例を示すフローチャートである。   Next, operation | movement of the stock exchange simulator 10 which concerns on this embodiment is demonstrated based on drawing. FIG. 6 is a flowchart showing a specific example of scenario information creation processing in the scenario information creation unit 104.

初めに、入出力部103において入力されたシナリオ情報作成条件を取得する(S601)。シナリオ情報作成条件には、銘柄、ストップ高やストップ安などのイベント情報を用いる。   First, the scenario information creation conditions input in the input / output unit 103 are acquired (S601). As the scenario information creation conditions, event information such as brands, stop heights and low stops is used.

次に、シナリオ情報作成条件に基づいて相場情報データベース105bから該当する相場情報を取得する(S602)。
次に、シナリオ情報作成条件および相場情報に基づいて注文情報データベース105aから該当する注文情報を取得する(S603)。
Next, the corresponding market price information is acquired from the market price information database 105b based on the scenario information creation conditions (S602).
Next, the corresponding order information is acquired from the order information database 105a based on the scenario information creation conditions and the market price information (S603).

次に、注文情報と相場情報に基づいてシナリオ情報を作成する(S604)。図7は、ストップ安に係るシナリオ情報の作成方法の具体例を示す図である。ここでは、シナリオ情報作成条件として銘柄として“AAA”、イベント情報として“ストップ安”が指定された場合を例に説明する。先ず、取得された相場情報を参照すると気配フラグが“B(停止前の特別気配)”のデータが抽出され、その時刻は“10:59”である。次に、この時刻に基づいて気配フラグ“B”に関連したと考えられる注文情報を抽出する。そして、抽出した注文情報をそれぞれ出力する処理を一単位として複数の売買注文処理を“シナリオNo:1”のシナリオ情報として作成している。一方、図8は、ストップ高に係るシナリオ情報の作成方法の具体例を示す図である。図7のシナリオ情報が取引処理部106に読込まれる場合にはストップ安、図8のシナリオ情報が読込まれる場合にはストップ高の取引環境が再現される。尚、シナリオ情報の作成規則は任意に変更可能である。
最後に、作成されたシナリオ情報をシナリオ情報データベース105cに格納し、処理を終了する(S605)。
Next, scenario information is created based on the order information and the market price information (S604). FIG. 7 is a diagram illustrating a specific example of a method for creating scenario information related to a low stop. Here, a case will be described as an example where “AAA” is specified as the brand as the scenario information creation condition, and “Stop is low” is specified as the event information. First, referring to the acquired market price information, data with a quotation flag “B (special quotation before stoppage)” is extracted, and the time is “10:59”. Next, based on this time, order information that is considered to be related to the quotation flag “B” is extracted. A plurality of buy / sell order processes are created as scenario information “scenario No: 1” with the process of outputting the extracted order information as one unit. On the other hand, FIG. 8 is a diagram showing a specific example of a method for creating scenario information related to the stop height. When the scenario information of FIG. 7 is read into the transaction processing unit 106, a stop environment is reproduced, and when the scenario information of FIG. 8 is read, a stop high transaction environment is reproduced. The rule for creating scenario information can be arbitrarily changed.
Finally, the created scenario information is stored in the scenario information database 105c, and the process ends (S605).

図9は、取引制御部101における売買取引制御処理の具体例を示すフローチャートである。   FIG. 9 is a flowchart showing a specific example of the sales transaction control process in the transaction control unit 101.

初めに、入出力部103においてシナリオ情報の実行指示が入力されたか否かを判定する(S901)。ここで、実行指示が入力されたと判定された場合には、S902へ進む。実行指示が入力されていないと判定された場合には、S909へ進む。   First, it is determined whether or not an execution instruction for scenario information is input in the input / output unit 103 (S901). If it is determined that an execution instruction has been input, the process proceeds to S902. If it is determined that the execution instruction has not been input, the process proceeds to S909.

S902では、通信部102において受信された注文情報を取引処理部106へ直接出力する通常の発注経路を閉鎖する。
次に、入出力部103において指定されたシナリオ情報をシナリオ情報データベース105cから読込み、実行する(S903)。具体的な実行方法については後述する。
In step S <b> 902, the normal order path for directly outputting the order information received by the communication unit 102 to the transaction processing unit 106 is closed.
Next, the scenario information designated in the input / output unit 103 is read from the scenario information database 105c and executed (S903). A specific execution method will be described later.

次に、シナリオ情報の実行中に通信部102において発注試験システム20から発注試験に係る新規の注文情報(以下、「新規注文情報」という。)を受信したか否かを判定する(S904)。ここで、新規注文情報が有ると判定された場合には、S905へ進む。新規注文情報が無いと判定された場合には、S906へ進む。
S905では、シナリオ情報の実行中に受信された新規注文情報を一時記憶領域へ蓄積する。
Next, it is determined whether new order information (hereinafter referred to as “new order information”) related to the order test is received from the order test system 20 in the communication unit 102 during execution of the scenario information (S904). If it is determined that there is new order information, the process proceeds to S905. If it is determined that there is no new order information, the process proceeds to S906.
In S905, the new order information received during the execution of the scenario information is stored in the temporary storage area.

S906では、シナリオ情報に定義された全ての処理を実行したか否かを判定する。例えば、シナリオ情報中の実行フラグの値が全て“1(完了)”に更新されているか否かよって判定を行う。ここで、全処理が完了していると判定された場合には、S907へ進む。未完了の処理があると判定された場合には、S903へ戻り、シナリオ情報に定義された全ての処理が完了するまでS902〜S906の処理を繰り返す。   In S906, it is determined whether all the processes defined in the scenario information have been executed. For example, the determination is made based on whether or not all the execution flag values in the scenario information are updated to “1 (completed)”. Here, when it is determined that all the processes are completed, the process proceeds to S907. If it is determined that there is an incomplete process, the process returns to S903, and the processes of S902 to S906 are repeated until all the processes defined in the scenario information are completed.

S907では、S902において閉鎖された通常の発注経路を開放する。   In S907, the normal ordering path closed in S902 is opened.

次に、シナリオ情報の実行中に蓄積された注文情報を取引処理部106へ出力し、取引処理を行わせる(S908)。   Next, the order information accumulated during the execution of the scenario information is output to the transaction processing unit 106 to perform transaction processing (S908).

一方、S909では、シナリオ情報に基づく処理を実行していない際の新規注文情報の有無を判定する。ここで、新規注文情報が有ると判定された場合には、S910へ進む。新規注文情報は無いと判定された場合には、S911へ進む。   On the other hand, in S909, it is determined whether or not there is new order information when processing based on scenario information is not executed. If it is determined that there is new order information, the process proceeds to S910. If it is determined that there is no new order information, the process proceeds to S911.

S910では、新規注文情報を取引処理部106へ出力し、取引処理を行わせる。   In S910, the new order information is output to the transaction processing unit 106, and transaction processing is performed.

次に、取引処理部106に出力した注文情報に対する処理結果を取得し、入出力部103へ出力することで表示装置(図示省略する)に表示させ、処理を終了する。図10は、板情報表示画面の具体例を示す図である。   Next, the processing result for the order information output to the transaction processing unit 106 is acquired, and output to the input / output unit 103 to be displayed on a display device (not shown), and the process ends. FIG. 10 is a diagram showing a specific example of the board information display screen.

図11は、図9のS903における詳細な処理例を示すフローチャートである。   FIG. 11 is a flowchart showing a detailed processing example in S903 of FIG.

初めに、入出力部103において入力されたシナリオNoを取得する(S1101)。
次に、シナリオNoをキーとしてシナリオ情報データベース105cを参照し、該当するシナリオ情報が存在するか否かを判定する(S1102)。ここで、該当するシナリオ情報が存在すると判定された場合には、S1103へ進む。該当するシナリオ情報が存在しないと判定された場合には、S1101へ戻り、他のシナリオNoが入力されるまで待機する。
First, the scenario number input in the input / output unit 103 is acquired (S1101).
Next, the scenario information database 105c is referred to using the scenario No as a key to determine whether the corresponding scenario information exists (S1102). If it is determined that the corresponding scenario information exists, the process proceeds to S1103. If it is determined that the corresponding scenario information does not exist, the process returns to S1101 and waits until another scenario number is input.

S1103では、指定されたシナリオNoのシナリオ情報をシナリオ情報データベース105cから取得する。
次に、未処理のシナリオ情報か否かを実行フラグに基づいて判定する(S1104)。ここで、未処理のシナリオ情報と判定された場合には、S1105へ進む。処理の完了したシナリオ情報と判定された場合には、処理を終了する。
In S1103, the scenario information of the designated scenario No is acquired from the scenario information database 105c.
Next, whether or not the scenario information is unprocessed is determined based on the execution flag (S1104). If it is determined that the scenario information is unprocessed, the process advances to step S1105. If it is determined that the scenario information has been processed, the process ends.

S1105では、シナリオ情報の中から順次取り出したレコードが売買取引処理の実行指示か否かを判定する。ここで、売買取引処理の実行指示と判定された場合には、S1106へ進む。売買取引処理以外の実行指示と判定された場合には、S1108へ進む。   In step S1105, it is determined whether or not the records sequentially extracted from the scenario information are instructions for executing a sales transaction process. Here, if it is determined that the execution instruction of the sales transaction processing is determined, the process proceeds to S1106. If it is determined that the execution instruction is other than the sales transaction process, the process advances to step S1108.

S1106では、シナリオ情報の中から取り出したレコードに基づいて注文情報を作成する。
次に、作成された注文情報を取引処理部106へ出力し、板情報の更新を行わせる(S1107)。尚、板情報内に既に存在する注文情報は削除せず、シナリオ情報に基づく新たな注文情報を追加することによって更新するものとする。
In S1106, order information is created based on the record extracted from the scenario information.
Next, the created order information is output to the transaction processing unit 106, and the board information is updated (S1107). Note that the order information that already exists in the board information is not deleted, but is updated by adding new order information based on the scenario information.

S1108では、シナリオ情報の中から取り出したレコードに基づいて所定の処理情報を作成する。
次に、作成された処理情報を取引処理部106へ出力し、処理を行わせる(S1109)。
In S1108, predetermined processing information is created based on the record extracted from the scenario information.
Next, the generated processing information is output to the transaction processing unit 106 to perform processing (S1109).

S1110では、シナリオ情報に定義された処理単位で実行フラグを“1(処理完了)”に更新する。図12は、ストップ安に係るシナリオ情報の実行状態を説明する図である。ここでは、シナリオ情報に含まれる処理が売買注文処理であり、この処理の実行指示が取引処理部106に行われ、取引処理部106において注文情報が板情報に順次反映されるとシナリオ情報内の実行フラグの更新要求がなされることが示されている。また、図13は、ストップ高に係るシナリオ情報の実行状態を説明する図である。   In S1110, the execution flag is updated to “1 (processing completed)” in the processing unit defined in the scenario information. FIG. 12 is a diagram for explaining an execution state of scenario information related to a low stop. Here, the process included in the scenario information is a buy / sell order process. An instruction to execute this process is given to the transaction processing unit 106, and the order information is sequentially reflected in the board information in the transaction processing unit 106. It is shown that an execution flag update request is made. FIG. 13 is a diagram for explaining the execution state of the scenario information related to the stop height.

S1111では、指定されたシナリオ情報に定義された全処理が実行されたか否かを判定する。ここで、全処理の実行を完了したと判定された場合には、S1112へ進む。未完了の処理が有ると判定された場合には、S1105へ戻り、全ての処理を完了するまでS1105〜S1111の処理を繰り返す。   In S1111, it is determined whether all the processes defined in the designated scenario information have been executed. If it is determined that execution of all the processes has been completed, the process proceeds to S1112. If it is determined that there is an incomplete process, the process returns to S1105, and the processes of S1105 to S1111 are repeated until all the processes are completed.

S1112では、シナリオ情報に定義された処理単位で実行フラグを“0(未処理)”に更新して初期化を行い、処理を終了する。   In step S1112, the execution flag is updated to “0 (unprocessed)” in the processing unit defined in the scenario information, the initialization is performed, and the process ends.

したがって、本実施形態に係る証券取引所シミュレータ10を用いることにより、以下の効果が生じる。
(1)市場の動きを予め定義したシナリオ情報により発注試験に必要な取引環境を証券取引所シミュレータ10内に再現することが可能となる。
(2)実際の証券取引所とアクセスした結果を注文情報、相場情報として蓄積しておくことで、実際の証券取引所で発生した状況に近い状態を必要な試験パターンとして証券取引シミュレータ内に再現させ、発注試験を実施することが可能となる。
Therefore, the following effects are produced by using the stock exchange simulator 10 according to the present embodiment.
(1) The trading environment necessary for the ordering test can be reproduced in the stock exchange simulator 10 by scenario information that predefines market movements.
(2) By accumulating the results of accessing the actual stock exchange as order information and market price information, the situation close to the actual situation on the stock exchange is reproduced in the stock trading simulator as a necessary test pattern. It is possible to conduct an order test.

<実施形態2>
以下、本実施形態に係る証券取引所シミュレータ10について図面を用いて説明する。尚、本実施形態は実施形態1と比較してシナリオ情報の項目のみが異なり、共通する符号は同一物を表すため説明を省略し、異なる箇所についてのみ説明する。
<Embodiment 2>
Hereinafter, the stock exchange simulator 10 according to the present embodiment will be described with reference to the drawings. Note that the present embodiment is different from the first embodiment only in the items of scenario information, and the common reference numerals represent the same items, so that the description thereof will be omitted and only different portions will be described.

図14は、シナリオ情報データベース105cに記憶されるシナリオ情報の具体例を示す図である。ここでは、図4に示されるシナリオ情報に対してシナリオ実行時間の項目が追加されている。また、データ例では、銘柄AAAについて売価格を500円、売数量を20,000とする指値注文を10:00に取引処理部106に対して行うことを定義したシナリオ情報が示されている。   FIG. 14 is a diagram showing a specific example of scenario information stored in the scenario information database 105c. Here, an item of scenario execution time is added to the scenario information shown in FIG. Further, in the data example, scenario information is defined that defines that a limit order with a selling price of 500 yen and a selling quantity of 20,000 is made to the transaction processing unit 106 at 10:00.

このように、シナリオ情報に実行時間情報を含ませることで、シナリオ情報を読込み、取引処理部106の取引処理を行わせる時間を任意に設定することが可能となる。したがって、取引制御部101は、このシナリオ実行時間情報を参照して実行すべきシナリオ情報を順次実行するため、発注試験システム20では、証券取引所30と接続した状態に近い試験を実施することが可能となる。   As described above, by including the execution time information in the scenario information, it is possible to read the scenario information and arbitrarily set the time for the transaction processing unit 106 to perform the transaction processing. Therefore, since the transaction control unit 101 sequentially executes scenario information to be executed with reference to the scenario execution time information, the order test system 20 can perform a test close to a state connected to the stock exchange 30. It becomes possible.

10…証券取引所シミュレータ、
20…発注試験システム、
30…証券取引所、
101…取引制御部、
102…通信部、
103…入出力部、
104…シナリオ情報作成部、
105…データベース部、
105a…注文情報データベース、
105b…相場情報データベース、
105c…シナリオ情報データベース、
105d…取引情報データベース、
106…取引処理部、
201…制御部、
202…通信部、
203…データベース部、
203a…注文情報データベース、
203b…相場情報データベース、
204…発注処理部。
10 ... Stock exchange simulator,
20 ... Order test system,
30 ... Stock exchange,
101 ... Transaction control unit,
102 ... communication section,
103 ... input / output unit,
104 ... scenario information creation part,
105 ... Database section,
105a ... Order information database,
105b ... Market price information database,
105c ... scenario information database,
105d ... Transaction information database,
106 ... transaction processing part,
201 ... control unit,
202 ... communication section,
203 ... database section,
203a ... Order information database,
203b ... Market price information database,
204: Order processing unit.

Claims (6)

証券の売買取引の注文を行う発注試験システムにネットワークを介して接続され、この発注試験システムから送信される注文情報を受信すると共に、この注文情報に係る取引結果を前記発注試験システムに送信する通信部と、
前記売買取引の実行指示情報を予め定義したシナリオ情報を格納するシナリオ情報データベースと、
前記通信部が受信した注文情報の出力を管理し、前記売買取引を制御する取引制御部と、
前記取引制御部から出力された注文情報に基づいて板情報を作成すると共に、この板情報に基づいて前記売買取引を実行する取引処理部と、
を備え、
前記取引制御部は、
前記シナリオ情報データベースに格納された前記シナリオ情報を実行する場合、前記取引処理部への前記注文情報の出力経路を閉鎖して前記注文情報を一時記憶領域に蓄積すると共に、前記シナリオ情報から他の注文情報を作成して前記取引処理部へ出力し、前記板情報を更新させた後に、前記出力経路を開放して前記蓄積された注文情報を出力することを特徴とする証券取引所シミュレータ。
A communication connected to an order test system for placing an order for a securities trading transaction, receiving order information transmitted from the order test system, and transmitting a transaction result relating to the order information to the order test system. And
A scenario information database that stores scenario information that predefines the execution instruction information of the trading transaction;
Managing the output of the order information received by the communication unit, and a transaction control unit for controlling the trading transaction;
While creating plate information based on the order information output from the transaction control unit, a transaction processing unit that executes the sales transaction based on the plate information,
With
The transaction control unit
When executing the scenario information stored in the scenario information database, the order information is accumulated in the temporary storage area by closing the output path of the order information to the transaction processing unit, A stock exchange simulator that creates order information, outputs the order information to the transaction processing unit, updates the board information, and then opens the output path and outputs the accumulated order information.
前記シナリオ情報には実行時間情報が更に含まれており、
前記取引制御部は、前記実行時間情報に基づいて前記シナリオ情報から前記他の注文情報を作成し、前記取引処理部へ出力することを特徴とする請求項1記載の証券取引所シミュレータ。
The scenario information further includes execution time information,
2. The stock exchange simulator according to claim 1, wherein the transaction control unit creates the other order information from the scenario information based on the execution time information and outputs the order information to the transaction processing unit.
前記発注試験システムから取得される過去の注文情報と相場情報に基づいて前記シナリオ情報を作成し、このシナリオ情報を前記シナリオ情報データベースに格納するシナリオ情報作成部を更に備えることを特徴とする請求項1または請求項2記載の証券取引所シミュレータ。   The scenario information creating unit for creating the scenario information based on past order information and market price information acquired from the order test system and storing the scenario information in the scenario information database. The stock exchange simulator according to claim 1 or claim 2. 証券の売買取引の注文を行う発注試験システムにネットワークを介して接続された証券取引所シミュレータにおける証券取引所シミュレート方法であって、
前記発注試験システムから送信される注文情報を受信する注文情報受信ステップと、
前記売買取引の実行指示情報を予め定義したシナリオ情報を取得するシナリオ情報取得ステップと、
前記シナリオ情報を実行する場合、注文情報受信ステップにおいて受信した前記注文情報を一時記憶領域に蓄積する注文情報蓄積ステップと、
前記シナリオ情報から他の注文情報を作成し、前記売買取引に係る板情報を更新する第1の板情報更新ステップと、
前記注文情報蓄積ステップにおいて蓄積された注文情報を出力し、前記板情報を更新する第2の板情報更新ステップと、
この第2の板情報更新ステップにおいて更新された板情報に基づいて前記売買取引を実行する取引処理ステップと、
を有することを特徴とする証券取引所シミュレート方法。
A stock exchange simulation method in a stock exchange simulator connected via a network to an ordering test system for placing an order for a stock trading transaction,
Order information receiving step for receiving order information transmitted from the order test system;
Scenario information acquisition step of acquiring scenario information that predefines the execution instruction information of the trading transaction;
When executing the scenario information, an order information accumulating step for accumulating the order information received in the order information receiving step in a temporary storage area;
Creating other order information from the scenario information, and updating the board information related to the trading transaction, a first board information update step;
Outputting the order information stored in the order information storage step, and updating the board information, a second board information update step;
A transaction processing step for executing the sales transaction based on the plate information updated in the second plate information update step;
A stock exchange simulating method characterized by comprising:
前記シナリオ情報には実行時間情報が更に含まれており、
前記第1の板情報更新ステップにおいては、前記実行時間情報に基づいて前記シナリオ情報から前記他の注文情報を作成し、前記売買取引に係る板情報を更新することを特徴とする請求項4記載の証券取引所シミュレート方法。
The scenario information further includes execution time information,
The said 1st board information update step creates the said other order information from the said scenario information based on the said execution time information, and updates the board information which concerns on the said trading transaction. Stock exchange simulation method.
前記発注試験システムから取得される過去の注文情報と相場情報に基づいて前記シナリオ情報を作成し、このシナリオ情報を前記シナリオ情報データベースに格納するシナリオ情報作成ステップを更に有することを特徴とする請求項4または請求項5記載の証券取引所シミュレート方法。 The scenario information creating step of creating the scenario information based on past order information and market price information acquired from the order test system and storing the scenario information in the scenario information database. The stock exchange simulation method according to claim 4 or 5.
JP2009056614A 2009-03-10 2009-03-10 Securities exchange simulator and securities exchange simulation method Pending JP2010211491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009056614A JP2010211491A (en) 2009-03-10 2009-03-10 Securities exchange simulator and securities exchange simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009056614A JP2010211491A (en) 2009-03-10 2009-03-10 Securities exchange simulator and securities exchange simulation method

Publications (1)

Publication Number Publication Date
JP2010211491A true JP2010211491A (en) 2010-09-24

Family

ID=42971581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009056614A Pending JP2010211491A (en) 2009-03-10 2009-03-10 Securities exchange simulator and securities exchange simulation method

Country Status (1)

Country Link
JP (1) JP2010211491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944095A (en) * 2018-09-25 2020-03-31 富士施乐株式会社 Image forming apparatus, image forming method, and image forming system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1166889A (en) * 1997-08-08 1999-03-09 Nec Corp Memory provided with fast testing function
JPH11306039A (en) * 1998-04-23 1999-11-05 Fujitsu Ltd Device and method for test program execution control, and computer readable recording medium for recording program having computer execute the method
JP2005293044A (en) * 2004-03-31 2005-10-20 Hitachi Software Eng Co Ltd Test data generation method and system
JP2006526852A (en) * 2003-06-02 2006-11-24 エフエムアール コーポレイション Stock trading simulation
WO2008122001A2 (en) * 2007-04-02 2008-10-09 Espeed, Inc. Test trading
JP2009037519A (en) * 2007-08-03 2009-02-19 Toshiba Corp Test scenario creating apparatus, stock trading test system and computer program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1166889A (en) * 1997-08-08 1999-03-09 Nec Corp Memory provided with fast testing function
JPH11306039A (en) * 1998-04-23 1999-11-05 Fujitsu Ltd Device and method for test program execution control, and computer readable recording medium for recording program having computer execute the method
JP2006526852A (en) * 2003-06-02 2006-11-24 エフエムアール コーポレイション Stock trading simulation
JP2005293044A (en) * 2004-03-31 2005-10-20 Hitachi Software Eng Co Ltd Test data generation method and system
WO2008122001A2 (en) * 2007-04-02 2008-10-09 Espeed, Inc. Test trading
JP2011519073A (en) * 2007-04-02 2011-06-30 ビージーシー パートナーズ,インコーポレイテッド Test trading
JP2009037519A (en) * 2007-08-03 2009-02-19 Toshiba Corp Test scenario creating apparatus, stock trading test system and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944095A (en) * 2018-09-25 2020-03-31 富士施乐株式会社 Image forming apparatus, image forming method, and image forming system
CN110944095B (en) * 2018-09-25 2023-09-22 富士胶片商业创新有限公司 Image forming apparatus, image forming method, and image forming system

Similar Documents

Publication Publication Date Title
KR101915257B1 (en) User-defined algorithm electronic trading
CN110458698A (en) Application outside block chain ledger and block chain ledger is integrated
JP4717945B2 (en) Business analysis program and business analysis device
US20090043592A1 (en) Method and system for managing product development processes
CN106779336B (en) Engineering change method and device
Deiters et al. Process management in practice applying the FUNSOFT net approach to large-scale processes
US20220058552A1 (en) Project management system, method of operating project management system, and non-transitory computer-readable medium
CN111899072A (en) Block chain based product sale method and system
CN102859540A (en) Plant deliverable management system
US20140096061A1 (en) Systems and methods for providing documentation having succinct communication with scalability
Ahmed et al. Improvement of Vehicle Management System (IVMS)
JP2012059074A (en) Strategy information server and strategy information system
JP2010211491A (en) Securities exchange simulator and securities exchange simulation method
US11481702B1 (en) Worksite information management system
JP6316268B2 (en) Asset reassignment simulation system
JP4335223B2 (en) Asset management simulation apparatus and program
US10229379B2 (en) Checklist function integrated with process flow model
JP2007108979A (en) Project plan validity checking method and its program
WO2017094100A1 (en) Supply chain evaluation device and supply chain evaluation method
JP6404509B1 (en) Simulation system, simulation method, and simulation program
JP7471602B2 (en) Information processing device and information processing method
US11727324B1 (en) Systems and methods of evaluating socio-economic and environmental impact
US11727067B2 (en) System, method, and computer program product for automatically preparing documents for a multi-national organization
JP2010237847A (en) Financial product management system, financial product management method, and financial product management program
JP2010211274A (en) Stock exchange simulator and stock exchange simulation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130122

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130806