JP6230315B2 - Market impact attenuation coefficient calculation device, market impact attenuation coefficient calculation method, contract simulation system, and contract simulation method - Google Patents
Market impact attenuation coefficient calculation device, market impact attenuation coefficient calculation method, contract simulation system, and contract simulation method Download PDFInfo
- Publication number
- JP6230315B2 JP6230315B2 JP2013152556A JP2013152556A JP6230315B2 JP 6230315 B2 JP6230315 B2 JP 6230315B2 JP 2013152556 A JP2013152556 A JP 2013152556A JP 2013152556 A JP2013152556 A JP 2013152556A JP 6230315 B2 JP6230315 B2 JP 6230315B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- market
- contract
- attenuation coefficient
- order
- 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.)
- Expired - Fee Related
Links
- 238000004088 simulation Methods 0.000 title claims description 313
- 238000000034 method Methods 0.000 title claims description 106
- 238000004364 calculation method Methods 0.000 title claims description 59
- 230000008569 process Effects 0.000 claims description 86
- 238000004422 calculation algorithm Methods 0.000 claims description 34
- 238000012545 processing Methods 0.000 claims description 27
- 238000000605 extraction Methods 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 8
- 230000007704 transition Effects 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 3
- 230000004931 aggregating effect Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 claims 2
- 241000238876 Acari Species 0.000 claims 1
- 238000000354 decomposition reaction Methods 0.000 description 9
- 238000007781 pre-processing Methods 0.000 description 9
- 238000012937 correction Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000004913 activation Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000002776 aggregation Effects 0.000 description 4
- 238000004220 aggregation Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013016 damping Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、マーケットインパクト減衰係数算出装置、マーケットインパクト減衰係数算出方法、約定シミュレーションシステム、及び約定シミュレーション方法に関し、例えば、株など証券取引におけるマーケットインパクト減衰係数を決定するための技術に関するものである。 The present invention relates to a market impact attenuation coefficient calculation device, a market impact attenuation coefficient calculation method, a contract simulation system, and a contract simulation method, for example, to a technique for determining a market impact attenuation coefficient in stock transactions such as stocks.
近年では、アルゴリズム取引が普及している。アルゴリズム取引プログラムが実行される計算機(アルゴリズム取引システム)では、市場における対象銘柄の値動き、出来具合、板の形状、関連指数及びテクニカル指標などの変化をリアルタイムに監視し、監視結果に基づいて、売買発注のタイミング及び数量を決定し、自動的に発注を繰り返す。 In recent years, algorithmic trading has become widespread. A computer (algorithm trading system) on which an algorithm trading program is executed monitors in real time changes in the price, quality, board shape, related indices and technical indicators of the target stock in the market, and buys and sells based on the monitoring results. Determine the timing and quantity of the order and repeat the order automatically.
このようなアルゴリズム取引システムを実際に稼働させる前には適切に動作するか検証(パフォーマンス評価)しなければならないが、現実のマーケットに対して売買の発注を行ってソフトウェア動作の検証を繰り返すことはコストやリスクが高すぎて事実上不可能である。 Before such an algorithmic trading system actually operates, it must be verified (performance evaluation) whether it works properly, but it is not possible to repeat the verification of software operation by placing an order for buying and selling to the actual market. Costs and risks are too high to be practically impossible.
そこで、アルゴリズム取引システムのパフォーマンス評価に利用できる疑似的(仮想的)な市場が求められる。シミュレーションで市場を実現する場合には、より実際の市場に近いシミュレーションができることが重要である。そのためには、アルゴリズム取引システムからの注文が約定した際に発生するマーケットインパクトの遷移のシミュレーションに考慮する必要がある。 Therefore, a pseudo (virtual) market that can be used for performance evaluation of algorithmic trading systems is required. When a market is realized by simulation, it is important to be able to perform a simulation closer to the actual market. For that purpose, it is necessary to consider the simulation of the transition of the market impact that occurs when an order from the algorithm trading system is executed.
この擬似的な市場に関して、例えば、特許文献1には、マーケットインパクトのシミュレーションを実現する技術が開示されている。特許文献1では、マーケットインパクトに関するパラメータとして減衰係数を設けている。
With regard to this pseudo market, for example,
特許文献1に開示の技術によれば、マーケットインパクトのシミュレーションにおいて、銘柄毎に一時的インパクトから恒久インパクトまでの減衰にかかる時間をマーケットインパクト減衰係数としてパラメータ設定することはできる。
According to the technique disclosed in
しかしながら、特許文献1では、パラメータ設定はユーザに完全に任されている。このパラメータ設定は非常に専門的な知識を有する者であっても困難を極めるものであり、通常のユーザにとって適切なパラメータ(減衰係数)を決めることは不可能に近いという課題がある。そのため、最近の実際の市場データを基に算出された減衰係数の提供が求められている。
However, in
本発明はこのような状況に鑑みてなされたものであり、約定シミュレーションシステムに対し、実際の市場のデータから導き出した銘柄毎のマーケットインパクト減衰係数を有する、より現実の市場の動きに近い擬似市場を提供し、取引アルゴリズムの検証精度を向上させるための技術を提供するものである。 The present invention has been made in view of such a situation, and has a market impact attenuation coefficient for each brand derived from actual market data with respect to a trade simulation system. And provide a technology for improving the accuracy of verification of transaction algorithms.
上記課題を解決するために、本発明では、プロセッサは、実市場の値動きを示す原データから各約定値と約定時刻を特定する約定取得処理と、特定した各約定値及び約定時刻から、アップティック時間とダウンティック時間を抽出するティック変遷時間抽出処理と、を実行する。1つの態様では、プロセッサは、アップティック時間とダウンティック時間を集計し、少なくとも指定された期間におけるアップティック時間及びダウンティック時間を統計処理することによりマーケットインパクト減衰係数を算出するパラメータ算出処理を実行する。別の態様では、プロセッサは、アップティック時間とダウンティック時間を集計し、複数の期間のそれぞれについて、アップティック時間及びダウンティック時間に関する複数種類の統計データをユーザに提示する参考情報提示処理と、ユーザが複数種類の統計データに基づいて決定した値を受け取り、マーケットインパクト減衰係数とする処理を実行する。何れの態様であっても上記課題を解決することは可能である。 In order to solve the above-described problem, in the present invention, the processor performs an uptick from a contract acquisition process for specifying each contract price and contract time from original data indicating actual market price movements, and from each specified contract price and contract time. And a tick transition time extracting process for extracting the time and the down tick time. In one aspect, the processor performs a parameter calculation process for calculating a market impact attenuation coefficient by counting up tick time and down tick time and statistically processing the up tick time and the down tick time in at least a specified period. To do. In another aspect, the processor aggregates uptick time and downtick time, and for each of the plurality of periods, a reference information presentation process for presenting a plurality of types of statistical data regarding the uptick time and the downtick time to the user; The user receives a value determined based on a plurality of types of statistical data, and executes a process for setting a market impact attenuation coefficient. In any aspect, it is possible to solve the above problem.
本発明の代表的な形態によれば、過去の市場データをもとに算出された銘柄毎のマーケットインパクト減衰係数を設定した約定シミュレーションシステムを使うことで、アルゴリズム取引システムのパフォーマンスの検証精度を高めることができる。 According to a typical embodiment of the present invention, the performance verification accuracy of an algorithm trading system is improved by using a contract simulation system in which a market impact attenuation coefficient is set for each brand calculated based on past market data. be able to.
以下、添付図面を参照して本発明の実施形態について説明する。添付図面では、機能的に同じ要素は同じ番号で表示される場合もある。なお、添付図面は本発明の原理に則った具体的な実施形態と実装例を示しているが、これらは本発明の理解のためのものであり、決して本発明を限定的に解釈するために用いられるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, functionally identical elements may be denoted by the same numbers. The attached drawings show specific embodiments and implementation examples based on the principle of the present invention, but these are for understanding the present invention and are not intended to limit the present invention. Not used.
本実施形態では、当業者が本発明を実施するのに十分詳細にその説明がなされているが、他の実装・形態も可能で、本発明の技術的思想の範囲と精神を逸脱することなく構成・構造の変更や多様な要素の置き換えが可能であることを理解する必要がある。従って、以降の記述をこれに限定して解釈してはならない。 This embodiment has been described in sufficient detail for those skilled in the art to practice the present invention, but other implementations and configurations are possible without departing from the scope and spirit of the technical idea of the present invention. It is necessary to understand that the configuration and structure can be changed and various elements can be replaced. Therefore, the following description should not be interpreted as being limited to this.
なお、本発明の実施形態は、汎用コンピュータ上で稼動するソフトウェアで実装しても良いし、専用ハードウェア又はソフトウェアとハードウェアの組み合わせで実装しても良い。 The embodiment of the present invention may be implemented by software running on a general-purpose computer, or may be implemented by dedicated hardware or a combination of software and hardware.
なお、以後の説明では「テーブル」形式によって本発明の各情報について説明するが、これら情報は必ずしもテーブルによるデータ構造で表現されていなくても良く、リスト、DB、キュー等のデータ構造やそれ以外で表現されていても良い。そのため、データ構造に依存しないことを示すために「テーブル」、「リスト」、「DB」、「キュー」等について単に「情報」と呼ぶことがある。 In the following description, each information of the present invention will be described in a “table” format. However, the information does not necessarily have to be expressed in a data structure by a table, such as a data structure such as a list, a DB, a queue, or the like. It may be expressed as Therefore, “table”, “list”, “DB”, “queue”, etc. may be simply referred to as “information” to indicate that they do not depend on the data structure.
<約定シミュレーションシステムのハードウェア構成>
図1は、本発明の実施形態による約定シミュレーションシステムのハードウェア構成を示すブロック図である。
<Hardware configuration of execution simulation system>
FIG. 1 is a block diagram showing a hardware configuration of a contract simulation system according to an embodiment of the present invention.
約定シミュレーションシステム1は、CPU11と、メモリ12と、記憶装置(HDD)13と、通信制御装置14と、インタフェース15と、キーボード16と、ディスプレイ17と、外部入出力装置18と、を有している。
The
CPU11は、メモリ12に記憶されるプログラムを実行することによって、各種処理を行う。メモリ12は、CPU11によって実行されるプログラム及びCPU11によって必要とされる情報などを一時的に記憶する。例えば、メモリ12には、HDD13から読み出されたプログラム及び情報が記憶される。
The
HDD13は、各種プログラム及び各種情報などを記憶する。例えば、HDD13は、後述するティック原データ21、分解後注文ファイル232、シミュレーションパラメータ22、及び結果ファイル239を記憶する。
The HDD 13 stores various programs and various information. For example, the
通信制御装置14は、LAN又はインターネットなどのネットワーク19を介して、アルゴリズム取引システムに接続される。アルゴリズム取引システムは、CPU、メモリ及びインタフェースを備え、アルゴリズム取引プログラムを実行する計算機である。
The
インタフェース15は、キーボード16、ディスプレイ17、及び外部入出力装置18などに接続される。キーボード16及び外部入出力装置18は、ユーザによって入力された情報を、インタフェース15を介してCPU11に送信する。ディスプレイ17は、CPU10によって指示された情報を表示する。また、外部入出力装置18は、CPU11によって指示された情報を出力(例えば、印刷出力や音声出力等)する。
The
<全体システムの機能構成>
図2は、本発明の実施形態による、マーケットインパクト減衰係数算出システム6を含む約定シミュレーションシステム1、及びアルゴリズム取引システム24によって構成されるシステム全体の機能構成を示すブロック図である。マーケットインパクト減衰係数算出システム6を適用する約定シミュレーションシステム1は、過去にあった注文を発生再現させ、アルゴリズム取引プログラムから発注された注文の約定によるマーケットインパクトの発生と減衰をシミュレーションするタイプの約定シミュレーションシステムである。
<Functional configuration of the entire system>
FIG. 2 is a block diagram showing a functional configuration of the entire system configured by the
約定シミュレーションシステム1は、ティック原データ21を予め記憶している。ティック原データ21は、現実の市場におけるティックデータの履歴(過去のティックデータ)である。ティックデータは、ある時刻における証券の値動きに関する情報である。なお、ティック原データ21及びティックデータについては、図3で詳細を説明する。
The
まず、アルゴリズム取引システム24は、約定シミュレーションシステム1に予めログオンしておく。その後、約定シミュレーションシステム1は、図示しない起動パラメータを含む起動コマンドを受けると、当該シミュレーションを開始する。なお、起動パラメータは、銘柄コード、対象年月日、開始時刻及び終了時刻を含む情報である。具体的には、約定シミュレーションシステム1は、起動パラメータに含まれる対象年月日における、起動パラメータに含まれる開始時刻から起動パラメータに含まれる終了時刻まで、起動パラメータに含まれる銘柄コードによって識別される銘柄の株(証券)をアルゴリズム取引システムに取り引きさせた場合のシミュレーションを行う。なお、本実施形態では、取引対象の証券として株を例として説明しているが、本発明に掛かる技術は、株式取引に限らず、通貨取引や債券取引等についても適用可能である。
First, the
まず、約定シミュレーションシステム1は、ティック原データ21及び起動パラメータに基づいて、注文分解等事前処理231を実行する。なお、約定シミュレーションシステム1によって実行される注文分解等事前処理231については、図4で詳細を説明する。
First, the
約定シミュレーションシステム1は、原データ21を個々の注文に分解するための注文分解等事前処理を実行することによって、分解後注文ファイル232を作成する。分解後注文ファイル232は、起動パラメータに含まれる銘柄コードによって識別される銘柄の株に対する注文の履歴を示す。但し、分解後注文ファイル232は、現実の市場における注文の履歴を示すのではなく、約定シミュレーションシステム1が注文分解等事前処理231を実行することによって推定した仮想的な注文の履歴を示す。例えば、1つの仮想的な注文は、現実の市場において同時期に発生した複数の注文がまとめられたものである。また、仮想的な注文が、成行注文であっても、現実の市場においては指値注文の場合もある。
The
また、約定シミュレーションシステム1は、マーケットインパクト減衰係数算出システム6を用いて、原データ21からマーケットインパクト減衰係数を算出し、算出した減衰係数をシミュレーションパラメータ22として格納する。マーケットインパクト減衰係数算出システム6による処理の詳細については、図7を用いて後述する。
Further, the
次に、約定シミュレーションシステム1は、約定シミュレーションコア部23において、注文板登録処理(ティック注文の板登録処理)233、ティックデータ作成送信処理235、アルゴ注文の論理チェック処理236、及びアルゴ注文板登録処理237、及び約定シミュレート処理238を実行する。
Next, the
注文板登録処理233では、約定シミュレーションシステム1は、作成した分解後注文ファイル232に基づいて、当該シミュレーションにおける銘柄別の注文控えであるワーク板(シミュレーション用ワーク板)234を作成又は更新する。ワーク板234は、前述の起動パラメータに含まれる銘柄コードによって識別される銘柄の株に関する注文状況を示す論理的な板であり、メモリ12に記憶される。そのため、ワーク板234は、値段ごとに、売り注文の株数及び買い注文の株数を示す。より具体的には、約定シミュレーションシステム1は、分解後注文ファイル232に含まれる仮想的な注文(ティック注文)を、時系列に従って、シミュレーション用ワーク板234に登録する。このとき、約定シミュレーションシステム1は、アルゴリズム取引システム24からの注文(アルゴ注文)による影響の大きさを示すマーケットインパクトを考慮して、ティック注文を、シミュレーション用ワーク板234に登録する。例えば、約定シミュレーションシステム1は、シミュレーションパラメータ22に基づいて、マーケットインパクトを算出する。
In the order
また、約定シミュレーションシステム1は、ティックデータ作成送信処理(ワーク板変化分をティックデータに復元して送信する処理:ティック復元処理ともいう)235を行う。ティックデータ作成送信処理235では、約定シミュレーションシステム1は、シミュレーション用ワーク板234の変化を監視する。シミュレーション用ワーク板234に変化がある度に、約定シミュレーションシステム1は、シミュレーション用ワーク板234から変化情報を抽出する。そして、約定シミュレーションシステム1は、抽出した変化情報に基づいて、シミュレーションにおけるティックデータを作成する。なお、シミュレーションにおけるティックデータは、アルゴ注文を受ける前では、ティック原データ21に含まれるものと同一となる。一方、アルゴ注文を受けた後では、シミュレーションにおけるティックデータは、ティック注文及びアルゴ注文の双方に応じた値動き情報となる。また、ティックデータ作成送信処理235では、約定シミュレーションシステム1は、作成したシミュレーションにおけるティックデータを相場情報として、アルゴリズム取引システム24に送信する。アルゴリズム取引システム24は、ティックデータを約定シミュレーションシステム1から受信する。すると、アルゴリズム取引システム24は、受信したティックデータを分析する。そして、アルゴリズム取引システム24は、分析結果に基づいて、当該銘柄の注文内容を決定し、決定した内容の注文を、約定シミュレーションシステム1に送信する。
Further, the
約定シミュレーションシステム1は、注文をアルゴリズム取引システム24から受信する。更に、約定シミュレーションシステム1は、アルゴリズム取引システムから送信されたアルゴ注文について銘柄や値段などの妥当性を論理チェックする(アルゴ注文の論理チェック処理236の一部)。
The
アルゴ注文が論理的に誤っている場合、約定シミュレーションシステム1は、注文受付エラー通知を作成する。次に、約定シミュレーションシステム1は、作成した注文受付エラー通知をアルゴリズム取引システム24に送信する。
If the Argo order is logically incorrect, the
一方、アルゴ注文の論理的に正しい場合、約定シミュレーションシステム1は、当該アルゴ注文の一意な識別子を含む注文受付通知を作成する。また、約定シミュレーションシステム1は、作成した注文受付通知をアルゴリズム取引システムに送信する。
On the other hand, if the algo order is logically correct, the
また、アルゴ注文の板登録237において、約定シミュレーションシステム1は、受信したアルゴ注文をワーク板234に反映できるか否かを判定する。例えば、アルゴ注文が訂正注文又は取消注文の場合には、約定シミュレーションシステム1は、当該アルゴ注文によって訂正又は取消を要求された注文(買注文又は売注文)がシミュレーション用ワーク板234に残っているか否かを判定する。
In addition, in the
アルゴ注文がワーク板234に反映できない場合、約定シミュレーションシステム1は、当該アルゴ注文の識別子を含む執行エラー通知を作成する。次に、約定シミュレーションシステム1は、作成した執行エラー通知をアルゴリズム取引システムに送信する。
If the algo order cannot be reflected on the
一方、アルゴ注文がワーク板234に反映できる場合、約定シミュレーションシステム1は、受信したアルゴ注文を、時系列に従って、シミュレーション用ワーク板234に登録する(アルゴ注文の板登録処理237)。
On the other hand, when the algo order can be reflected on the
約定シミュレート処理238では、約定シミュレーションシステム1は、シミュレーション用ワーク板234に登録された注文を約定させるためのシミュレーションを行う。
In the
約定シミュレーションシステム1は、シミュレーションの結果に基づいて、シミュレーションにおけるティックデータを作成する。そして、約定シミュレーションシステム1は、作成したティックデータを、結果ファイル239に格納する。そのため、結果ファイル239は、シミュレーションにおいて作成されたティックデータの履歴となる。
The
また、約定シミュレート処理238においてアルゴ注文が約定した場合、約定シミュレーションシステム1は、約定価格及び約定数量を含む約定通知を作成する。
In addition, when the Argo order is executed in the execution of the execution of the
次に、約定シミュレーションシステム1は、作成した約定通知をアルゴリズム取引システム24に送信する。
Next, the
更に、約定シミュレーションシステム1は、作成した約定通知に含まれる情報を、アルゴ注文の約定に関する情報として、結果ファイル239に格納する。
Further, the
その後、約定シミュレーションシステム1によるシミュレーションが終了すると、アルゴリズム取引システム24は、約定シミュレーションシステム1からログアウトする。
Thereafter, when the simulation by the
<ティック原データ>
図3は、ティック原データ21の構成を示す図である。
<Rick raw data>
FIG. 3 is a diagram illustrating the configuration of the tick
約定シミュレーションシステム1は、現実の市場での取引日ごとにティック原データ21を記憶する。そのため、ティック原データ21では、特定の取引日におけるティックデータ210が時系列に従って並んでいる。また、ティック原データ21は、現実の市場におけるティックデータ210の履歴を銘柄ごとに含む。
The
現実の市場におけるティックデータ210は、取引日310と、時刻311と、銘柄コード312、レコード通番313と、約定値(現値)314と、約定高315と、売気配値316と、買気配値317と、売気配数量318と、買気配数量319と、を構成情報として含んでいる。
The
取引日310は、当該ティックデータ210が作成された日付けを示す。時刻311は、当該ティックデータ210が作成された時刻を示す。つまり、取引日310及び時刻311は、当該ティックデータ210が現実の市場のいつの時点における値動き情報であるかを示す。
The
銘柄コード312は、当該ティックデータ210に対応する銘柄の一意な識別子である。レコード通番313は、当該ティックデータ210を識別するための通し番号である。
The
約定値(現値)314は、当該ティックデータ210が作成された時刻における株価である。具体的には、約定値(現値)314は、当該取引日310及び当該時刻311における、当該銘柄コード312によって識別される銘柄の株価を示す。
The contract price (current value) 314 is a stock price at the time when the
約定高315は、前回のティックデータ210の作成時から今回のティックデータ210の作成時までの間に、当該銘柄コード6509によって識別される銘柄の株が約定した株数を示す。
The
売気配値316は、売注文で指定された価格(気配値)である。なお、ティックデータ210に含まれる売気配値316は、前回のティックデータ210の作成時から今回のティックデータ210の作成時までの間に売気配数量が変化した(新たな売注文が入った)気配値である。
The
売気配数量318は、売気配値316での売注文の総株数を示す。なお、売気配値316及び売気配数量318は、ティックデータ210に複数含まれていてもよい。この場合、1つの売気配値316と1つの売気配数量318とが対応する。そして、売気配数量318は、当該売気配数量318に対応する売気配値316での売注文の総株数を示す。
The
買気配値317は、買注文で指定された気配値である。なお、ティックデータ210に含まれる買気配値317は、前回のティックデータ210の作成時から今回のティックデータ210の作成時までの間に買気配数量が変化した(新たな買注文が入った)気配値である。
The
買気配数量319は、買気配値317での買注文の総株数を示す。なお、買気配値317及び買気配数量319は、ティックデータ210に複数含まれていてもよい。この場合、1つの買気配値317と1つの買気配数量319とが対応する。そして、買気配数量319は、当該買気配数量319に対応する買気配値317での買注文の総株数を示す。
The
<注文分解等事前処理231の詳細>
図4は、本発明の実施形態による約定シミュレーションシステム1によって実行される注文分解等事前処理231の内容を説明するためのフローチャートである。
<Details of pre-processing 231 such as order disassembly>
FIG. 4 is a flowchart for explaining the contents of the
(i)S401
まず、約定シミュレーションシステム1は、起動パラメータ(図示せず)に含まれる対象年月日における、起動パラメータに含まれる開始時刻から起動パラメータに含まれる終了時刻までの、起動パラメータに含まれる銘柄コードによって識別される銘柄に関するすべてのティックデータ210を、ティック原データ21から選択する。
(I) S401
First, the
具体的には、約定シミュレーションシステム1は、起動パラメータに含まれる対象年月日とティックデータ210の取引日310とが一致するティックデータ210を、ティック原データ21から選択する。次に、約定シミュレーションシステム1は、ティックデータ210の時刻311が、起動パラメータに含まれる開始時刻から終了時刻までの間に該当するティックデータ210を、選択したティックデータ210の中から選択する。そして、約定シミュレーションシステム1は、起動パラメータに含まれる銘柄コードとティックデータ210の銘柄コード312とが一致するティックデータ210を、選択したティックデータ210の中から選択する。
Specifically, the
次に、約定シミュレーションシステム1は、選択したティックデータ210を、作成された時刻が古いものから順に1つずつ取得する(S401)。具体的には、約定シミュレーションシステム1は、ティックデータ210のレコード通番313が小さいものから順に、選択したティックデータ210を取得する。又は、約定シミュレーションシステム1は、ティックデータ210の時刻311が古い物から順に、選択したティックデータ210を取得する。
Next, the
(ii)S402
約定シミュレーションシステム1は、取得したティックデータ210、及び前回の処理におけるS402で作成されたワーク板234(前回ワーク板234)に基づいて、新たなワーク板234(今回ワーク板234)を作成する(S402)。
(Ii) S402
The
具体的には、約定シミュレーションシステム1は、取得したティックデータ210の売気配値316と前回ワーク板234の気配値とが一致するレコードを、前回ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの売気配数量に、取得したティックデータ210の売気配数量318を格納する。そして、約定シミュレーションシステム1は、取得したティックデータ210の買気配値317と前回ワーク板234の気配値とが一致するレコードを、前回ワーク板234から選択する。また、約定シミュレーションシステム1は、選択したレコードの買気配数量に、取得したティックデータ210の買気配数量319を格納する。これによって、約定シミュレーションシステム1は、今回ワーク板234を作成する。
Specifically, the
(iii)S403
約定シミュレーションシステム1は、前回ワーク板234に対応する時刻から今回ワーク板234に対応する時刻までの間に、注文が約定したか否かを判定する(S403)。
(Iii) S403
The
具体的には、約定シミュレーションシステム1は、取得したティックデータ210の約定数量315に「0」が格納されているか否かを判定する。約定数量315に「0」が格納されている場合、約定シミュレーションシステム1は、前回ワーク板234に対応する時刻から今回ワーク板234に対応する時刻までの間に、注文が約定していないと判定する。この場合、約定シミュレーションシステム1は、処理をS405に移行させる。
Specifically, the
一方、約定数量315に「0」以外の値が格納されている場合、約定シミュレーションシステム1は、前回ワーク板234に対応する時刻から今回ワーク板234に対応する時刻までの間に、注文が約定したと判定する。この場合、約定シミュレーションシステム1は、取得したティックデータ210及び今回ワーク板234に基づいて、注文が約定する直前のワーク板234(約定直前ワーク板234)を作成する。
On the other hand, when a value other than “0” is stored in the
具体的には、約定シミュレーションシステム1は、取得したティックデータ210の約定値(現値)314と今回ワーク板234の気配値とが一致するレコードを、今回ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの売気配数量又は買気配数量のいずれか一方に、取得したティックデータ210の約定数量315を加算する。なお、約定シミュレーションシステム1は、前回ワーク板234及び今回ワーク板234とを比較することによって、取得したティックデータ210の約定数量315を、売気配数量又は買気配数量のいずれに加算するかを決定する。
Specifically, the
(iv)S404
約定シミュレーションシステム1は、成行注文に関する情報を示すレコードを、今回ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの売気配数量及び買気配数量のうちのもう一方に、取得したティックデータ210の約定数量315を加算する。これによって、約定シミュレーションシステム1は、約定直前ワーク板234を作成する(S404)。なお、約定シミュレーションシステム1は、約定直前に入った注文を成行注文と仮定して、約定直前ワーク板234を作成する。よって、約定直前に入った注文が、実際には指値注文の場合もある。
(Iv) S404
The
(v)S405及びS406
約定シミュレーションシステム1は、前回ワーク板234と今回ワーク板234又は約定直前ワーク板234とを比較し(S405)、仮想的な注文(ティック注文)を推定し、推定したティック注文を分解後注文ファイル232に格納する(S406)。
(V) S405 and S406
The
前回ワーク板234に対応する時刻から今回ワーク板234に対応する時刻までの間に約定していない場合、約定シミュレーションシステム1は、前回ワーク板234と今回ワーク板234とを比較する。そのため、約定シミュレーションシステム1は、前回ワーク板234及び今回ワーク板234の双方を記憶している。
When the contract is not made between the time corresponding to the
一方、前回ワーク板234に対応する時刻から今回ワーク板234に対応する時刻までの間に約定した場合、約定シミュレーションシステム1は、前回ワーク板234と約定直前ワーク板234とを比較する。そのため、約定シミュレーションシステム1は、前回ワーク板234及び約定直前ワーク板234の双方を記憶している。
On the other hand, when the contract is made between the time corresponding to the
ここでは、前回ワーク板234と今回ワーク板234とを比較する処理について説明するが、前回ワーク板234と約定直前ワーク板234とを比較する処理も同一である。
Here, the process of comparing the
約定シミュレーションシステム1は、前回ワーク板234の気配値と今回ワーク板234の気配値とが一致するレコードを、前回ワーク板234及び今回ワーク板234の双方から順番に選択する。そして、約定シミュレーションシステム1は、選択したレコードごとに、以下の処理を行う。
The
約定シミュレーションシステム1は、前回ワーク板234から選択したレコードの売気配数量と今回ワーク板234から選択したレコードの売気配数量とが一致するか否かを判定する。2つの売気配数量が一致する場合、前回ワーク板234又は今回ワーク板234から選択したレコードの気配値での売注文は新たに発生してない。よって、この場合、約定シミュレーションシステム1は、分解後注文ファイル232を更新することはない。一方、2つの売気配数量が一致しない場合、前回ワーク板234又は今回ワーク板234から選択したレコードの気配値での売注文が新たに発生している。そのため、約定シミュレーションシステム1は、売注文(ティック注文)を生成する。具体的には、約定シミュレーションシステム1は、今回ワーク板234から選択したレコードの売気配数量から、前回ワーク板234から選択したレコードの売気配数量を減算することによって、売注文の株数を算出する。そして、約定シミュレーションシステム1は、選択したレコードの気配値で、算出した株数の売注文を生成する。
The
そして、約定シミュレーションシステム1は、生成した売注文に関する情報を、分解後注文ファイル232に格納する。具体的には、約定シミュレーションシステム1は、分解後注文ファイル232に新たなレコードを追加する。
Then, the
次に、約定シミュレーションシステム1は、新たなレコードの時刻として、S401で取得したティックデータ210の時刻311を保持する。
Next, the
また、約定シミュレーションシステム1は、算出した売注文の株数が正の値であるか否かを判定する。売注文の株数が正の値である場合、約定シミュレーションシステム1は、新たなレコードの種別として、売注文であることを示す情報を保持する。一方、算出した売注文の株数が負の値である場合、約定シミュレーションシステム1は、新たなレコードの種別として、売訂正注文であることを示す情報又は売取消注文であることを示す情報を保持する。
Further, the
次に、約定シミュレーションシステム1は、前回ワーク板234又は今回ワーク板234から選択したレコードの気配値を、新たなレコードの値として保持する。また、約定シミュレーションシステム1は、算出した売注文の株数を、新たなレコードの数量として保持する。
Next, the
これによって、約定シミュレーションシステム1は、生成した売注文に関する情報を、分解後注文ファイル232に格納する。
As a result, the
さらに、約定シミュレーションシステム1は、前回ワーク板234から選択したレコードの買気配数量と今回ワーク板234から選択したレコードの買気配数量とが一致するか否かを判定する。2つの買気配数量が一致する場合、前回ワーク板234又は今回ワーク板234から選択したレコードの気配値での買注文は新たに発生してない。よって、約定シミュレーションシステム1は、分解後注文ファイル232を更新しない。一方、2つの買気配数量が一致しない場合、前回ワーク板234又は今回ワーク板234から選択したレコードの気配値での買注文が新たに発生している。そのため、約定シミュレーションシステム1は、買注文(ティック注文)を生成する。具体的には、約定シミュレーションシステム1は、今回ワーク板234から選択したレコードの買気配数量から、前回ワーク板234から選択したレコードの買気配数量を減算することによって、買注文の株数を算出する。そして、約定シミュレーションシステム1は、選択したレコードの気配値で、算出した株数の買注文を生成する。
Further, the
続いて、約定シミュレーションシステム1は、生成した買注文に関する情報を、分解後注文ファイル232に格納する。具体的には、約定シミュレーションシステム1は、分解後注文ファイル232に新たなレコードを追加する。そして、約定シミュレーションシステム1は、新たなレコードの時刻として、S401で取得したティックデータ210の時刻311を格納する。
Subsequently, the
次に、約定シミュレーションシステム1は、算出した買注文の株数が正の値であるか否かを判定する。買注文の株数が正の値である場合、約定シミュレーションシステム1は、新たなレコードの種別として、買注文であることを示す情報を保持する。一方、算出した買注文の株数が負の値である場合、約定シミュレーションシステム1は、新たなレコードの種別として、買訂正注文であることを示す情報又は買取消注文であることを示す情報を保持する。
Next, the
さらに、約定シミュレーションシステム1は、前回ワーク板234又は今回ワーク板234から選択したレコードの気配値を、新たなレコードの値として保持する。また、約定シミュレーションシステム1は、算出した買注文の株数を、新たなレコードの数量として保持する。
Further, the
以上のようにして、約定シミュレーションシステム1は、生成した買注文に関する情報を、分解後注文ファイル232に格納する。
As described above, the
(vii)S407
約定シミュレーションシステム1は、選択したティックデータ210のすべてを取得したか否かを判定する(S407)。
(Vii) S407
The
選択したティックデータ210の1つでも取得してない場合、約定シミュレーションシステム1は、処理をS401に戻して、S401からS406を繰り返す。一方、選択したティックデータ210のすべてを取得した場合、約定シミュレーションシステム1は、注文分解等事前処理231を終了する。
If even one of the selected
<マーケットインパクト減衰係数算出処理>
(i)マーケットインパクト減衰係数算出のための基礎データ
図5は、マーケットインパクト減衰係数算出のためにティック原データ21から抽出される基礎データを示すグラフ図である。
<Market impact attenuation coefficient calculation processing>
(I) Basic data for calculating market impact attenuation coefficient FIG. 5 is a graph showing basic data extracted from the tick
当該基礎データは、アップティック期間の時間及びダウンティック期間の時間に相当し、基礎データの抽出は、銘柄別前後場別に行われる。また、図5に示すように、アップティック期間51は、前回約定値以上の約定値が連続する期間のことであり、ダウンティック期間52は、前回約定値以下の約定値が連続する期間のことである。具体例を、図5に示す。
The basic data corresponds to the time of the up tick period and the time of the down tick period, and the basic data is extracted according to the front and back fields by brand. In addition, as shown in FIG. 5, the
図6は、アップティック期間の時間及びダウンティック期間の時間のデータ構成例を示す図である。アップティック期間とは、前回約定値以上の約定値となった約定の時刻から前回約定値に満たない約定値となった(ダウンティック方向へ反転した)約定の1つ前の約定の時刻までのことである。また、ダウンティック期間とは、前回約定値以下の約定値となった約定の時刻から前回約定値を超える約定値となった(アップティック方向へ反転した)約定の1つ前の約定の時刻までのことである。 FIG. 6 is a diagram illustrating a data configuration example of the time of the up tick period and the time of the down tick period. The uptick period is the time from the contract time when the contract price was greater than or equal to the previous contract price to the contract time before the contract price that was less than the previous contract price (reversed in the downtick direction). That is. In addition, the down tick period is from the time when the contract became the contract price less than or equal to the previous contract to the contract before the contract before the contract that exceeded the previous contract (reversed in the uptick direction). That is.
アップティック期間を経てダウンティック方向へ反転した(及びダウンティック期間を経てアップティック方向へ反転した)ということは、マーケットインパクトによって一時的に拡大したスプレッド(最良売値と最良買値の差)が潜在的にあった売買ニーズを呼び寄せながら縮まっていった結果の現象であり、一時的インパクトの減衰が収束したものととらえられる。このことから、その銘柄のアップティック期間の時間を約定シミュレーションシステムにおける買アルゴ注文の約定成立時の減衰係数算出上の基礎データとし、ダウンティック期間の時間を約定シミュレーションシステムにおける売アルゴ注文の約定成立時の減衰係数算出上の基礎データとしてマーケットインパクト減衰係数パラメータを算出することで、実市場のマーケットインパクトの推移を約定シミュレーションシステムへ反映できる。 Reversing in the down tick direction after the up tick period (and reversing in the up tick direction after the down tick period) means that the spread (difference between the best selling price and the best buying price) temporarily increased due to market impact This phenomenon is a result of shrinking while attracting the buying and selling needs that were in line with this, and it can be considered that the temporary impact decay has converged. Therefore, the uptick period of the stock is used as the basic data for calculating the damping coefficient when the purchase algorithm is executed in the execution simulation system, and the downtick period is executed in the execution simulation system. By calculating the market impact attenuation coefficient parameter as basic data for calculating the attenuation coefficient at the time, the transition of the market impact in the actual market can be reflected in the execution simulation system.
(iii)処理の詳細内容
図7は、マーケットインパクト減衰係数算出処理の内容を説明するためのフローチャートである。マーケットインパクト減衰係数算出処理は、大きく分けて、前回約定/今回約定取得処理61、アップティック時間/ダウンティック時間抽出処理62、及び集計処理/係数算出処理63の3つの処理によって構成される。前回約定/今回約定取得処理61は、過去の実市場の相場情報原データ21から約定のティックデータレコードを順次入力し、前回約定の情報と今回約定の情報を取得する(図6の約定値のそれぞれを取得するための処理)。
(Iii) Detailed Contents of Processing FIG. 7 is a flowchart for explaining the contents of market impact attenuation coefficient calculation processing. The market impact attenuation coefficient calculation process is roughly divided into three processes: a previous execution / current
アップティック時間/ダウンティック時間抽出処理62は、アップティック期間の開始と開始時刻・継続・終了と終了時刻、ダウンティック期間の開始と開始時刻・継続・終了と終了時刻を取得し、アップティック時間、ダウンティック時間を抽出する処理である(図6のアップティック期間及びダウンティック期間の時間を抽出するための処理)。なお、当該抽出処理62では、アップティック時間、ダウンティック時間の最近の傾向を抽出することから、直近の過去1ヶ月分など、抽出する期間がユーザによって指定される。
The uptick time / downtick
集計処理/係数算出処理63は、アップティック期間及びダウンティック期間の情報を集計し、集計値からマーケットインパクト減衰係数を算出するための処理(図8参照)である。なお、マーケットインパクト減衰係数算出システム6は、現実の市場の過去日のある銘柄に発生したティックデータの履歴やその銘柄の基本情報である相場情報原データ21を入力とする。相場情報原データ(ティック原データ)21には、ティックデータが含まれる(図3参照)。
The aggregation process /
(a)前回約定/今回約定取得処理61
まず、マーケットインパクト減衰係数算出システム6は、前回の約定値、今回の約定値、及びUpDown符号のそれぞれを「0」に設定し、初期化する(S701)。
(A) Previous execution / current
First, the market impact attenuation
マーケットインパクト減衰係数算出システム6は、前回の約定値を今回の約定値で書き換える(S702)。初期段階では、前回の約定値及び今回の約定値は共に「0」であるため、前回の約定値は「0」に設定される。
The market impact attenuation
マーケットインパクト減衰係数算出システム6は、マーケットインパクト減衰係数を算出するための基礎データを抽出するために相場情報原データ(ティック原データ)21を読み込み、ティックデータを取得する(S703)。なお、基礎データの抽出では、当該銘柄の株式分割、増資、合併などのコーポレートアクションに関わる特異日においては通常日と大きく異なるデータが抽出される場合があるため、特異日を除外して抽出することもできる。
The market impact attenuation
マーケットインパクト減衰係数算出システム6は、取得したティックデータが約定したデータであるか(約定か気配か)判定する(S704)。取得データが約定データである場合、処理はS705に移行する。取得データが気配データである場合、処理はS703に戻り、新たなティックデータが約定データとして取得されるまでS703及び704の処理が繰り返される。
The market impact attenuation
マーケットインパクト減衰係数算出システム6は、前回の約定値が「0」であったか判定する(S705)。前回の約定値が「0」である場合、処理はS706に移行し、「0」でない場合、処理はS708に移行する。
The market impact attenuation
S706において、マーケットインパクト減衰係数算出システム6は、S704で特定した今回の約定値で前回の約定値を置き換える。
In S706, the market impact attenuation
そして、マーケットインパクト減衰係数算出システム6は、UpDown開始時刻に今回の約定値に約定した時刻(今回約定時刻)を設定し(S707)、処理をS703に移行させる。
Then, the market impact attenuation
(b)アップティック時間/ダウンティック時間抽出処理62
マーケットインパクト減衰係数算出システム6は、前回の約定値と今回の約定値を比較する(S708)。前回の約定値<今回の約定値である場合、処理はS709に移行する。前回の約定値>今回の約定値である場合、処理はS714に移行する。前回の約定値=今回の約定値である場合、処理はS719に移行する。
(B) Uptick time / Downtick
The market impact attenuation
S709において、マーケットインパクト減衰係数算出システム6は、前回のUpDown符号がD(Down)か、0か、U(Up)か判定する。前回のUpDown符号がDの場合、処理はS710に移行する。前回のUpDown符号が0の場合、処理はS713に移行する。前回のUpDown符号がUの場合、処理はS719に移行する。
In S709, the market impact attenuation
S710において、マーケットインパクト減衰係数算出システム6は、(前回約定時刻−UpDown開始時刻)によって定まる時間を、ダウンティック時間に設定し、アップティック時間/ダウンティック時間データストア621に保持する(一時的に格納する)。つまり、この場合(今回の約定値が前回の約定値よりも大きく、かつ前回のUpDown符号がDの場合)、ダウンティックからアップティックに転換したことを意味するため、それまでのダウンティック時間を保持しておく必要がある。
In S710, the market impact attenuation
そして、マーケットインパクト減衰係数算出システム6は、UpDown符号をDからUに変更し(S711)、UpDown開始時刻を今回約定時刻に設定する(S712)。その後、処理はS719に移行する。
Then, the market impact attenuation
前回のUpDown符号が0の場合(S709)、S713において、マーケットインパクト減衰係数算出システム6は、UpDown符号を0からUに変更する。その後、処理はS719に移行する。
When the previous UpDown code is 0 (S709), the market impact attenuation
一方、S708で前回の約定値>今回の約定値であると判定された場合、S714において、マーケットインパクト減衰係数算出システム6は、前回のUpDown符号がD(Down)か、0か、U(Up)か判定する。前回のUpDown符号がUの場合、処理はS715に移行する。前回のUpDown符号が0の場合、処理はS718に移行する。前回のUpDown符号がDの場合、処理はS719に移行する。
On the other hand, if it is determined in S708 that the previous contract value> the current contract value, in S714, the market impact attenuation
S715において、マーケットインパクト減衰係数算出システム6は、(前回約定時刻−UpDown開始時刻)によって定まる時間を、アップティック時間に設定し、アップティック時間/ダウンティック時間データストア621に保持する(一時的に格納する)。つまり、この場合(今回の約定値が前回の約定値よりも小さく、かつ前回のUpDown符号がUの場合)、アップティックからダウンティックに転換したことを意味するため、それまでのアップティック時間を保持しておく必要がある。
In S715, the market impact attenuation
そして、マーケットインパクト減衰係数算出システム6は、UpDown符号をUからDに変更し(S716)、UpDown開始時刻を今回約定時刻に設定する(S717)。その後、処理はS719に移行する。
Then, the market impact attenuation
前回のUpDown符号が0の場合(S714)、S718において、マーケットインパクト減衰係数算出システム6は、UpDown符号を0からDに変更する。その後、処理はS719に移行する。
When the previous UpDown code is 0 (S714), in S718, the market impact attenuation
(c)集計処理/係数算出処理63
S719において、マーケットインパクト減衰係数算出システム6は、ユーザによって指定された銘柄の指定された期間における全てのデータ(アップティック期間及びダウンティック期間のデータ)を取得したか判定する。全てのデータが取得されている場合には、処理はS720に移行し、まだ取得されていない場合には、処理はS702に移行する。
(C) Total process /
In S719, the market impact attenuation
S720において、マーケットインパクト減衰係数算出システム6は、アップティック時間/ダウンティック時間抽出処理62を実行する際に一時的に保持していたアップティック時間/ダウンティック時間621を読み込み、指定された期間のアップティック時間/ダウンティック時間のデータ(図6)を集計して、マーケットインパクト減衰係数を算出し、シミュレーションパラメータ22に格納する。なお、マーケットインパクト減衰係数の具体的な算出については後述する(図8参照)。
In S720, the market impact attenuation
<マーケットインパクト減衰係数パラメータ算出の具体的内容>
図8は、マーケットインパクト減衰係数パラメータ算出の具体的内容を説明するための図である。マーケットインパクト減衰係数パラメータは、実市場のマーケットインパクト推移をよりきめ細かく約定シミュレーションシステム1が表現可能になるように、アップティック時間の最小値・最大値・平均値・中央値及びダウンティック時間の最小値・最大値・平均値・中央値を場区分別に集計データ801を出力する(例えば、集計データ801をディスプレイ17に表示する)。
<Details of market impact attenuation coefficient parameter calculation>
FIG. 8 is a diagram for explaining specific contents of market impact attenuation coefficient parameter calculation. The market impact attenuation coefficient parameter is the minimum value, maximum value, average value, median value, and minimum value of the downtick time so that the
ユーザが集計データ801を参照して適宜マーケットインパクト減衰係数パラメータを設定するようにしても良い(提示された各統計データのうち適切な値をユーザが選択しても良いし、提示された各統計データからユーザが適宜演算(平均値や中央値を演算)しても良い)し、マーケットインパクト減衰係数算出システム6が集計データ801に基づいて自動的にマーケットインパクト減衰係数パラメータを生成するようにしても良い。
The user may appropriately set the market impact attenuation coefficient parameter with reference to the aggregated data 801 (the user may select an appropriate value from each of the presented statistical data, or each of the presented statistics The user may appropriately calculate from the data (the average value or the median value may be calculated), and the market impact attenuation
前者の場合、マーケットインパクト減衰係数算出システム6は、ユーザが集計データ801に基づいて決定したマーケットインパクト減衰係数を受け取り、約定シミュレーションで用いるパラメータとする。
In the former case, the market impact attenuation
後者の場合、ユーザによって指定された集計終了日とその終了日を起点とした集計期間(例えば、過去1ヶ月、3ヶ月、6ヶ月等)のデータを基に、マーケットインパクト減衰係数パラメータを演算する。例えば、指定期間における全てのアップティック時間及びダウンティック時間を対象として、そのデータの平均値或いは中央値をパラメータとする。また、指定期間における前場の全データ(アップティック時間及びダウンティック時間)を対象とし、当該データにおける平均値或いは中央値を前場用のパラメータとし、当該指定期間における後場の全データ(アップティック時間及びダウンティック時間)を対象とし、当該データにおける平均値或いは中央値を後場用のパラメータとしても良い。さらに、指定期間における全アップティック時間のデータにおける平均値或いは中央値をアップティック用パラメータ、指定期間における全ダウンティック時間のデータにおける平均値或いは中央値をダウンティック用パラメータとしても良い。これらアップティック用パラメータ及びダウンティック用パラメータに関し、前場用及び後場用のパラメータを生成しても良い。また、ユーザが、パラメータとして、平均値を採用するか中央値を採用するか選択できるようにしても良い。 In the latter case, the market impact attenuation coefficient parameter is calculated based on the aggregation end date designated by the user and the data of the aggregation period (for example, the past one month, three months, six months, etc.) starting from the end date. . For example, for all uptick times and downtick times in a specified period, the average value or median value of the data is used as a parameter. In addition, all the data of the previous field in the specified period (up tick time and down tick time) are targeted, and the average value or median value in the data is used as the parameter for the front field. The average value or median value in the data may be used as a parameter for the subsequent market. Further, an average value or median value in the data of all uptick times in the specified period may be used as an uptick parameter, and an average value or median value in the data of all downtick times in the specified period may be used as a downtic parameter. With respect to these up-tick parameters and down-tick parameters, parameters for the front field and the rear field may be generated. Further, the user may be able to select whether to adopt an average value or a median value as a parameter.
以上のように算出されたマーケットインパクト減衰係数パラメータは、約定シミュレーションシステム1におけるマーケットインパクト曲線における一時的インパクト(一時的に発生し時間の経過と共に消失するインパクト)の減衰に掛かる時間を決定する要素となる。図9は買い約定のマーケットインパクト曲線の例を示し、図10は売り約定のマーケットインパクト曲線の例を示している。つまり、図9及び10に示されるように、マーケットインパクト減衰係数パラメータ8は、一時的インパクトによりマーケット値が上昇或いは下降した時点から、「一時的上昇或いは下降が起こる直前のマーケット値±恒久インパクト(恒久的な価格の変化として残るインパクト)」で表される値に戻るまでの時間となっている。
The market impact attenuation coefficient parameter calculated as described above is an element that determines the time required to attenuate the temporary impact (impact that occurs temporarily and disappears with the passage of time) in the market impact curve in the
なお、図8においては、原データ21に含まれる全てのデータに対して集計処理を行って得られた集計データ801が示されているが、ユーザによって指定された集計期間に対してのみ集計データ801を取得してもよい。つまり、少なくとも指定された期間の集計データが得られればマーケットインパクト減衰係数パラメータを求めることはできる。
In FIG. 8,
<約定シミュレーション>
図11は、マーケットインパクト減衰係数算出システム6を適用する約定シミュレーションシステム1の処理を説明するためのフローチャートである。約定シミュレーションシステム1は、マーケットインパクト減衰係数算出システム6の出力であるマーケットインパクト減衰係数をシミュレーションパラメータとして用いる。
<Contract simulation>
FIG. 11 is a flowchart for explaining processing of the
約定シミュレーションシステム1は、時系列に従って、アルゴ注文又はティック注文を、当該シミュレーションにおける値動きを示すワーク板234(シミュレーション用ワーク板234)に登録する。約定シミュレーションシステム1は、アルゴ注文又はティック注文をシミュレーション用ワーク板234に登録しようとする度に、当該ワーク板登録・約定シミュレート処理を実行する。
The
(i)S1101
まず、約定シミュレーションシステム1は、シミュレーション用ワーク板234に登録しようとする注文が、アルゴ注文又はティック注文のいずれであるかを判定する(S1101)。シミュレーション用ワーク板234にティック注文を登録しようとする場合、約定シミュレーションシステム1は、シミュレーションパラメータ22に基づいて、ティック注文発生時におけるマーケットインパクトを算出する。
(I) S1101
First, the
図12は、本発明の実施の形態の約定シミュレーションシステム1によって算出されるマーケットインパクトΔPの説明図である。マーケットインパクトΔPは、アルゴ注文の約定による影響の大きさを示す値である。そのため、マーケットインパクトΔPは、アルゴ注文の約定時刻t0からの時間の経過と共に指数的に減衰するのが好ましい。例えば、マーケットインパクトΔPは、減衰係数Tに従って減衰する。更に、マーケットインパクトΔPは、初期インパクトP0の一定比率(恒久インパクト比率P)が恒久的に残るのが好ましい。なお、初期インパクトP0は、アルゴ注文の約定時刻t0におけるマーケットインパクトであり、ワーク板登録・約定シミュレート処理のS1107で算出される。言い換えると、t0は、初期インパクトP0の発生時刻である。なお、減衰係数T及び恒久インパクト比率Pは、シミュレーションパラメータ22に含まれる。例えば、約定シミュレーションシステム1は、数式1を用いて、ティック注文発生時刻tにおけるマーケットインパクトΔP(t)を算出する。
FIG. 12 is an explanatory diagram of the market impact ΔP calculated by the
[式1]
ΔP(t)=(1−P)・P0・exp(−(t−t0)/T/5)+P・P0
[Formula 1]
ΔP (t) = (1−P) · P0 · exp (− (t−t0) / T / 5) + P · P0
(ii)S1102
約定シミュレーションシステム1は、マーケットインパクトを算出すると、算出したマーケットインパクトを四捨五入して整数にする。そして、約定シミュレーションシステム1は、整数化したマーケットインパクトを、登録しようとするティック注文で指定された価格に反映する(S1102)。具体的には、約定シミュレーションシステム1は、算出したマーケットインパクトを発生させたアルゴ注文が売注文又は買注文のいずれであるかを判定する。
(Ii) S1102
When the market simulation is calculated, the
アルゴ注文が売注文の場合、約定シミュレーションシステム1は、登録しようとするティック注文で指定された価格から、整数化されたマーケットインパクトを減算することによって、登録価格を算出する。
When the Argo order is a sell order, the
一方、アルゴ注文が買注文の場合、約定シミュレーションシステム1は、登録しようとするティック注文で指定された価格に、整数化されたマーケットインパクトを加算することによって、登録価格を算出する。
On the other hand, when the Argo order is a buy order, the
(iii)S1104(S1102→S1104の場合)
そして、約定シミュレーションシステム1は、算出した登録価格に基づいて、ティック注文をシミュレーション用ワーク板234に登録する(S1104)。具体的には、ティック注文が売注文の場合、約定シミュレーションシステム1は、算出した登録価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの売気配数量に、当該ティック注文で指定された株数を加算する。
(Iii) S1104 (in the case of S1102 → S1104)
The
一方、ティック注文が売訂正注文又は売取消注文の場合、約定シミュレーションシステム1は、算出した登録価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。そして、約定シミュレーションシステム1は、選択したレコードの売気配数量から、当該ティック注文で指定された株数を減算する。
On the other hand, when the tick order is a sales correction order or a sales cancellation order, the
一方、ティック注文が買注文の場合、約定シミュレーションシステム1は、算出した登録価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの買気配数量に、当該ティック注文で指定された株数を加算する。
On the other hand, when the tick order is a buy order, the
一方、ティック注文が買訂正注文又は買取消注文の場合、約定シミュレーションシステム1は、算出した登録価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの買気配数量から、当該ティック注文で指定された株数を減算する。
On the other hand, when the tick order is a purchase correction order or a purchase cancellation order, the
以上のように、約定シミュレーションシステム1は、算出した登録価格に基づいて、ティック注文をシミュレーション用ワーク板234に登録する。なお、約定シミュレーションシステム1は、これまでにアルゴ注文をシミュレーション用ワーク板234に登録していない場合、ティック注文で指定された価格を、登録価格とする。つまり、約定シミュレーションシステム1は、マーケットインパクトを考慮せずに(通常通りに)、ティック注文をシミュレーション用ワーク板234に登録する。
As described above, the
(iv)S1103
一方、シミュレーション用ワーク板234にアルゴ注文を登録しようとする場合(S1101でアルゴ注文と判断された場合)、約定シミュレーションシステム1は、登録しようとするアルゴ注文について銘柄や値段などの妥当性を論理チェックする(S1103)。
(Iv) S1103
On the other hand, when an algo order is to be registered on the simulation work board 234 (when it is determined as an algo order in S1101), the
アルゴ注文が論理的に誤っている場合、約定シミュレーションシステム1は、当該アルゴ注文の識別子を含む受付エラー通知を作成する。次に、約定シミュレーションシステム1は、作成した受付エラー通知を、アルゴリズム取引システムに送信する。そして、約定シミュレーションシステム1は、当該ワーク板登録・約定シミュレート処理を終了する。
When the algo order is logically wrong, the
(iv)S1104(S1103→S1104の場合)
アルゴ注文が論理的に正しい場合、約定シミュレーションシステム1は、アルゴ注文のシミュレーション用ワーク板234への反映を試みる(S1104)。例えば、アルゴ注文が訂正注文又は取消注文の場合には、約定シミュレーションシステム1は、当該アルゴ注文によって訂正又は取消を要求された注文(買注文又は売注文)がシミュレーション用ワーク板234に残っているか否かを判定する。
(Iv) S1104 (in the case of S1103 → S1104)
If the algo order is logically correct, the
アルゴ注文がワーク板234に反映できない場合、約定シミュレーションシステム1は、当該アルゴ注文の識別子を含む執行エラー通知を作成する。次に、約定シミュレーションシステム1は、作成した執行エラー通知をアルゴリズム取引システムに送信する。
If the algo order cannot be reflected on the
一方、アルゴ注文がワーク板234に反映できる場合、約定シミュレーションシステム1は、受信したアルゴ注文を、時系列に従って、シミュレーション用ワーク板234に登録する(S1104)。具体的には、アルゴ注文が売注文の場合、約定シミュレーションシステム1は、当該アルゴ注文で指定された価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの売気配数量に、当該アルゴ注文で指定された株数を加算する。一方、アルゴ注文が売訂正注文又は売取消注文の場合、約定シミュレーションシステム1は、当該アルゴ注文で指定された価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの売気配数量から、当該アルゴ注文で指定された株数を減算する。
On the other hand, when the algo order can be reflected on the
また、アルゴ注文が買注文の場合、約定シミュレーションシステム1は、当該アルゴ注文で指定された価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの買気配数量に、当該アルゴ注文で指定された株数を加算する。一方、アルゴ注文が買訂正注文又は買取消注文の場合、約定シミュレーションシステム1は、当該アルゴ注文で指定された価格とシミュレーション用ワーク板234の気配値とが一致するレコードを、シミュレーション用ワーク板234から選択する。次に、約定シミュレーションシステム1は、選択したレコードの買気配数量から、当該アルゴ注文で指定された株数を減算する。
When the algo order is a buy order, the
以上のように、約定シミュレーションシステム1は、アルゴ注文をシミュレーション用ワーク板234に登録する。
As described above, the
(v)S1105
約定シミュレーションシステム1は、シミュレーション用ワーク板234に基づいて、注文が約定するか否かを判定する(S1105)。具体的には、約定シミュレーションシステム1は、シミュレーション用ワーク板234のいずれかのレコードの売気配数量及び買気配数量の双方に「1」以上の値が格納されている場合、注文が約定すると判定する。更に、約定シミュレーションシステム1は、成行注文に関する情報を示すレコードの売気配数量又は買気配数量のいずれかに「1」以上の値が格納されている場合にも、注文が約定すると判定する。
(V) S1105
The
注文が約定する場合、処理はS1106に移行し、注文が約定しない場合、処理はそのままS1108に移行する。 If the order is filled, the process proceeds to S1106. If the order is not filled, the process proceeds to S1108 as it is.
(vi)S1106
注文が約定する場合、約定シミュレーションシステム1は、シミュレーション用ワーク板234に基づいて、注文を約定させる(S1106)。そして、約定シミュレーションシステム1は、シミュレーション用ワーク板234の売気配数量及び買気配数量から、約定した株数を減算する。これによって、約定シミュレーションシステム1は、シミュレーション用ワーク板234を、約定前の状態から約定後の状態に更新する。
(Vi) S1106
When the order is executed, the
また、約定シミュレーションシステム1は、約定した注文がアルゴ注文であるか否かを判定する。約定した注文がアルゴ注文でない場合、処理は、そのままS1108に移行する。
Further, the
一方、約定した注文がアルゴ注文である場合、約定シミュレーションシステム1は、約定価格及び約定高を含む約定通知を作成する。そして、約定シミュレーションシステム1は、作成した約定通知を、アルゴリズム取引システムに送信する。
On the other hand, when the executed order is an algo order, the
(vii)S1107
更に、約定シミュレーションシステム1は、アルゴ注文の約定結果に基づいて、初期インパクトP0を算出する(S1107)。例えば、約定シミュレーションシステム1は、シミュレーション用ワーク板234に登録されている売注文の最安値と買注文の最高値との中間値(ミッドプライス)を、当該約定直前のシミュレーション用ワーク板234及び当該約定直後のシミュレーション用ワーク板234のそれぞれで算出する。そして、約定シミュレーションシステム1は、算出した2つのミッドプライスの差(ミッドプライスの変化量)を、初期インパクトP0とする。
(Vii) S1107
Further, the
次に、約定シミュレーションシステム1は、更新された最新のシミュレーション用ワーク板234と当該ワーク板登録・約定シミュレート処理が行われる直前のシミュレーション用ワーク板234とを比較することによって、シミュレーションにおけるティックデータを作成する。そのため、約定シミュレーションシステム1は、更新された最新のシミュレーション用ワーク板234及び当該ワーク板登録・約定シミュレート処理が行われる直前のシミュレーション用ワーク板234の双方を記憶している。具体的には、約定シミュレーションシステム1は、シミュレーション上における現在の日付けを、ティックデータの取引日として保持する。そして、約定シミュレーションシステム1は、シミュレーション上における現在の時刻を、ティックデータの時刻として保持する。
Next, the
また、約定シミュレーションシステム1は、シミュレーション対象の銘柄の識別子を、ティックデータの銘柄コードとして保持する。さらに、約定シミュレーションシステム1は、直前に作成したティックデータのレコード通番に「1」を加算することによって算出した値を、ティックデータのレコード通番として保持する。
Further, the
さらに、約定シミュレーションシステム1は、注文を約定させた価格を、ティックデータの約定値(現値)として保持する。また、約定シミュレーションシステム1は、約定した株数を、ティックデータの約定高として保持する。
Further, the
次に、約定シミュレーションシステム1は、当該ワーク板登録・約定シミュレート処理によって、シミュレーション用ワーク板234の売気配数量が変化したレコードを、シミュレーション用ワーク板234から選択する。そして、約定シミュレーションシステム1は、選択したレコードの気配値を、ティックデータの売気配値として保持する。また、約定シミュレーションシステム1は、選択したレコードの売気配数量を、ティックデータの売気配数量として保持する。
Next, the
さらに、約定シミュレーションシステム1は、当該ワーク板登録・約定シミュレート処理によって、シミュレーション用ワーク板234の買気配数量が変化したレコードを、シミュレーション用ワーク板234から選択する。そして、約定シミュレーションシステム1は、選択したレコードの気配値を、ティックデータの買気配値として保持する。また、約定シミュレーションシステム1は、選択したレコードの買気配数量を、ティックデータの買気配数量として保持する。
Further, the
(viii)S1108
以上のように、約定シミュレーションシステム1は、シミュレーションにおけるティックデータを作成する(S1108)。また、約定シミュレーションシステム1は、作成したティックデータを、相場情報として、アルゴリズム取引システム24に送信する。更に、約定シミュレーションシステム1は、作成したティックデータを、結果ファイル239に格納する。その後、約定シミュレーションシステム1は、当該ワーク板登録・約定シミュレート処理を終了する。
(Viii) S1108
As described above, the
<まとめ>
(1)本発明では、アルゴリズム取引システムのパフォーマンス評価に用いられる株の売買のシミュレーションを行う約定シミュレーションシステムに対し、過去の市場における株の値動きを示すティックデータを基に、銘柄別に過去1年間(期間指定可能)の現在値以上の約定値が連続するアップティックの期間の時間、および、現在値以下の約定値が連続するダウンティックの期間の時間を基礎データとして抽出する。そして、その基礎データの平均値、中央値、最小値、最大値を集計し、提供する。ユーザはこの提供された情報に基づいて、適切なマーケットインパクト減衰係数を選択或いは決定する。或いは、ユーザによって指定された期間におけるアップティックの期間の時間、及びダウンティックの期間の時間の値の中央値又は平均値(前場用、後場用にそれぞれ求めても良いし、アップティック用、ダウンティック用にそれぞれ求めても良い)を求め、その値をマーケットインパクト減衰係数として提供しても良い。このようにすることにより、適切なマーケットインパクト減衰係数を設定することができるので、アルゴリズム取引システムのパフォーマンスを検証するための約定シミュレーションシステムのシミュレーション精度を向上させることができる。
<Summary>
(1) In the present invention, for a contract simulation system for simulating stock trading used for performance evaluation of an algorithm trading system, based on tick data indicating stock price movements in the past market, The period of uptick period in which the contract value equal to or greater than the current value of the period can be specified and the time of the downtick period in which the contract value equal to or less than the current value continues are extracted as basic data. Then, the average value, median value, minimum value, and maximum value of the basic data are aggregated and provided. The user selects or determines an appropriate market impact attenuation factor based on this provided information. Alternatively, the median or average value of the uptick period time and the downtick period time value in the period specified by the user (may be obtained for the front and the back, respectively, for the uptick and for the downtick May be obtained for each tick) and the value may be provided as a market impact attenuation coefficient. By doing in this way, since an appropriate market impact attenuation coefficient can be set, the simulation accuracy of the contract simulation system for verifying the performance of the algorithm trading system can be improved.
(2)本発明は、実施形態の機能を実現するソフトウェアのプログラムコードによっても実現できる。この場合、プログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出す。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、及びそれを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、CD−ROM、DVD−ROM、ハードディスク、光ディスク、光磁気ディスク、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどが用いられる。 (2) The present invention can also be realized by software program codes that implement the functions of the embodiments. In this case, a storage medium in which the program code is recorded is provided to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention. As a storage medium for supplying such program code, for example, a flexible disk, CD-ROM, DVD-ROM, hard disk, optical disk, magneto-optical disk, CD-R, magnetic tape, nonvolatile memory card, ROM Etc. are used.
また、プログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現されるようにしてもよい。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータ上のメモリに書きこまれた後、そのプログラムコードの指示に基づき、コンピュータのCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施の形態の機能が実現されるようにしてもよい。 Also, based on the instruction of the program code, an OS (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. May be. Further, after the program code read from the storage medium is written in the memory on the computer, the computer CPU or the like performs part or all of the actual processing based on the instruction of the program code. Thus, the functions of the above-described embodiments may be realized.
さらに、実施の形態の機能を実現するソフトウェアのプログラムコードを、ネットワークを介して配信することにより、それをシステム又は装置のハードディスクやメモリ等の記憶手段又はCD−RW、CD−R等の記憶媒体に格納し、使用時にそのシステム又は装置のコンピュータ(又はCPUやMPU)が当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して実行するようにしても良い。 Further, by distributing the program code of the software that realizes the functions of the embodiment via a network, it is stored in a storage means such as a hard disk or memory of a system or apparatus, or a storage medium such as a CD-RW or CD-R And the computer (or CPU or MPU) of the system or apparatus may read and execute the program code stored in the storage means or the storage medium when used.
最後に、ここで述べたプロセス及び技術は本質的に如何なる特定の装置に関連することはなく、コンポーネントの如何なる相応しい組み合わせによってでも実装できることを理解する必要がある。更に、汎用目的の多様なタイプのデバイスがここで記述した教授に従って使用可能である。ここで述べた方法のステップを実行するのに、専用の装置を構築するのが有益であることが判るかもしれない。また、実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。本発明は、具体例に関連して記述したが、これらは、すべての観点に於いて限定の為ではなく説明の為である。本分野にスキルのある者には、本発明を実施するのに相応しいハードウェア、ソフトウェア、及びファームウエアの多数の組み合わせがあることが解るであろう。例えば、記述したソフトウェアは、アセンブラ、C/C++、perl、Shell、PHP、Java(登録商標)等の広範囲のプログラム又はスクリプト言語で実装できる。 Finally, it should be understood that the processes and techniques described herein are not inherently related to any particular apparatus, and can be implemented by any suitable combination of components. In addition, various types of devices for general purpose can be used in accordance with the teachings described herein. It may prove useful to build a dedicated device to perform the method steps described herein. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined. Although the present invention has been described with reference to specific examples, these are in all respects illustrative rather than restrictive. Those skilled in the art will appreciate that there are numerous combinations of hardware, software, and firmware that are suitable for implementing the present invention. For example, the described software can be implemented in a wide range of programs or script languages such as assembler, C / C ++, perl, shell, PHP, Java (registered trademark).
さらに、上述の実施形態において、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。全ての構成が相互に接続されていても良い。 Furthermore, in the above-described embodiment, control lines and information lines are those that are considered necessary for explanation, and not all control lines and information lines on the product are necessarily shown. All the components may be connected to each other.
加えて、本技術分野の通常の知識を有する者には、本発明のその他の実装がここに開示された本発明の明細書及び実施形態の考察から明らかになる。ただし、明細書内の記述及び実施形態における具体例は典型的なものに過ぎず、本発明の範囲と精神は後続する請求範囲で示される。 In addition, other implementations of the invention will be apparent to those skilled in the art from consideration of the specification and embodiments of the invention disclosed herein. However, the specific examples in the description and the embodiments in the specification are merely typical, and the scope and spirit of the present invention are shown in the following claims.
1・・・約定シミュレーションシステム、11・・・CPU、12・・・メモリ、13・・・HDD、14・・・通信制御装置、15・・・インタフェース、16・・・キーボード、17・・・ディスプレイ、18・・・外部入出力装置、19・・・ネットワーク、21・・・過去の実市場の相場情報原データ(原データ、ティック原データともいう)、22・・・シミュレーションパラメータ格納部、23・・・約定シミュレーションコア部、231・・・注文分解等事前処理、232・・・分解後注文ファイル(原データをもとに作成したティック注文)、233・・・注文板登録処理、234・・・ワーク板、235・・・ティックデータ作成送信処理、236・・・アルゴ注文の論理チェック処理、237・・・アルゴ注文の板登録処理、238・・・約定シミュレート処理、239・・・結果ファイル格納部、24・・・アルゴリズム取引システム
DESCRIPTION OF
Claims (16)
過去の実市場における相場の値動きを示す原データを格納する格納部と、を有し、
前記プロセッサは、
前記原データを読み込み、当該原データから各約定値と約定時刻を特定する約定取得処理と、
前記約定取得処理で取得した前記各約定値及び約定時刻から、アップティック時間とダウンティック時間を抽出するティック変遷時間抽出処理と、
前記アップティック時間と前記ダウンティック時間を集計し、少なくとも指定された期間における前記アップティック時間及び前記ダウンティック時間を統計処理することにより前記マーケットインパクト減衰係数を算出するパラメータ算出処理と、
を実行することを特徴とするマーケットインパクト減衰係数算出装置。 A processor for calculating a market impact attenuation coefficient;
A storage unit for storing original data indicating price movements in the past actual market,
The processor is
A contract acquisition process that reads the original data and identifies each contract value and contract time from the original data;
A tick transition time extraction process for extracting an up tick time and a down tick time from the respective contract values and contract times acquired in the contract acquisition process,
A parameter calculation process for calculating the market impact attenuation coefficient by calculating the uptick time and the downtick time, and statistically processing the uptick time and the downtick time in at least a specified period;
A market impact attenuation coefficient calculation apparatus characterized by executing:
前記プロセッサは、前記パラメータ算出処理において、前記指定された期間における前記アップティック時間及び前記ダウンティック時間を合せた全ての値の中央値又は平均値を前記マーケットインパクト減衰係数とすることを特徴とするマーケットインパクト減衰係数算出装置。 In claim 1,
The processor is characterized in that, in the parameter calculation process, a median value or an average value of all values of the uptick time and the downtick time in the specified period is used as the market impact attenuation coefficient. Market impact attenuation coefficient calculation device.
前記プロセッサは、前記パラメータ算出処理において、前記指定された期間における前記アップティック時間の中央値又は平均値をアップティック用のマーケットインパクト減衰係数とし、前記指定された期間における前記ダウンティック時間の中央値又は平均値をダウンティック用のマーケットインパクト減衰係数とすることを特徴とするマーケットインパクト減衰係数算出装置。 In claim 1,
In the parameter calculation process, the processor uses a median value or an average value of the uptic time in the designated period as a market impact attenuation coefficient for uptics, and a median value of the downtick time in the designated period Alternatively, a market impact attenuation coefficient calculating apparatus characterized in that an average value is a market impact attenuation coefficient for downtics.
前記プロセッサは、前記パラメータ算出処理において、前記指定された期間における前場の前記アップティック時間及び前記ダウンティック時間を合せた全ての値の中央値又は平均値を前場用のマーケットインパクト減衰係数とし、前記指定された期間における後場の前記アップティック時間及び前記ダウンティック時間を合せた全ての値の中央値又は平均値を後場用のマーケットインパクト減衰係数とすることを特徴とするマーケットインパクト減衰係数算出装置。 In claim 1,
In the parameter calculation process, the processor sets a median value or an average value of all values including the up-stic time and the down-tick time in the specified period as the market impact attenuation coefficient for the front field, A market impact attenuation coefficient calculation apparatus characterized in that a median value or an average value of all values including the up-tick time and the down-tick time in a specified period is used as a market impact attenuation coefficient for the subsequent market.
過去の実市場における相場の値動きを示す原データを格納する格納部と、を有し、
前記プロセッサは、
前記原データを読み込み、当該原データから各約定値と約定時刻を特定する約定取得処理と、
前記約定取得処理で取得した前記各約定値及び約定時刻から、アップティック時間とダウンティック時間を抽出するティック変遷時間抽出処理と、
前記アップティック時間と前記ダウンティック時間を集計し、複数の期間のそれぞれについて、前記アップティック時間及び前記ダウンティック時間に関する複数種類の統計データをユーザに提示する参考情報提示処理と、
前記ユーザが前記複数種類の統計データに基づいて決定した値を受け取り、前記マーケットインパクト減衰係数とする処理と、
を実行することを特徴とするマーケットインパクト減衰係数算出装置。 A processor for calculating a market impact attenuation coefficient;
A storage unit for storing original data indicating price movements in the past actual market,
The processor is
A contract acquisition process that reads the original data and identifies each contract value and contract time from the original data;
A tick transition time extraction process for extracting an up tick time and a down tick time from the respective contract values and contract times acquired in the contract acquisition process,
Reference information presenting processing for summarizing the uptick time and the downtick time, and presenting a plurality of types of statistical data regarding the uptick time and the downtick time to the user for each of a plurality of periods;
A process of receiving a value determined by the user based on the plurality of types of statistical data and setting the market impact attenuation coefficient;
A market impact attenuation coefficient calculation apparatus characterized by executing:
アルゴリズム取引システムによる証券取引のシミュレーションを行う約定シミュレーション処理部と、を有し、
前記プロセッサは、さらに、
前記原データに含まれる、証券の値動きを示す第1のティックデータを時系列に沿って抽出する処理と、
前記抽出された第1のティックデータに基づいて、前記過去の実市場における証券の注文状況を示す第1のワーク板を更新する処理と、
更新前の前記第1のワーク板と更新後の前記第1のワーク板とを比較することによって、前記過去の市場において新たに発生した注文の内容を示す第1の注文情報を推定する処理と、
前記推定された第1の注文情報を、記憶装置に格納する処理と、
前記アルゴリズム取引システムからの注文の内容を示す第2の注文情報を受信し、前記記憶装置から、前記第1の注文情報を時系列に沿って抽出する処理と、
前記マーケットインパクト減衰係数を考慮して、前記抽出した第1の注文情報及び前記第2の注文情報を、仮想的な市場における証券の値動きを示す第2のワーク板に時系列に沿って反映することによって、前記第2のワーク板を更新する処理と、
更新後の前記第2のワーク板に基づいて、前記仮想的な市場において注文を約定させる処理と、
を実行することを特徴とする約定シミュレーションシステム。 The market impact reduction coefficient calculation device according to claim 1 or 5,
A contract simulation processing unit for simulating securities trading by an algorithm trading system,
The processor further includes:
A process of extracting first tick data included in the original data indicating the price movement of securities along a time series;
A process of updating a first work board indicating an order status of securities in the past actual market based on the extracted first tick data;
A process for estimating first order information indicating the contents of an order newly generated in the past market by comparing the first work board before update and the first work board after update; ,
A process of storing the estimated first order information in a storage device;
Processing for receiving second order information indicating the contents of an order from the algorithmic trading system, and extracting the first order information from the storage device in a time series;
In consideration of the market impact attenuation coefficient, the extracted first order information and the second order information are reflected in time series on the second work board showing the price movement of the securities in the virtual market. A process of updating the second workpiece plate,
A process for executing an order in the virtual market based on the updated second work board;
An execution simulation system characterized by
前記プロセッサは、前記第2のワーク板を更新する処理において、前記マーケットインパクト減衰係数に基づいて約定が仮想的な市場に一時的に与える影響の大きさを示すマーケットインパクトを算出し、前記抽出した第1の注文情報に含まれる証券の注文価格に、前記算出したマーケットインパクトを加算して前記注文価格を変更し、前記注文価格が変更された第1の注文情報に基づいて、前記第2のワーク板を更新することを特徴とする約定シミュレーションシステム。 In claim 6,
In the process of updating the second work board, the processor calculates a market impact indicating the magnitude of the temporary effect of the contract on the virtual market based on the market impact attenuation coefficient, and extracts the extracted the order price of securities included in the first order information, the order price change by adding the market impacts that the calculated, based on the first order information the order price is changed, the second An execution simulation system characterized by renewing the work board.
プロセッサが、過去の実市場における相場の値動きを示す原データを格納する格納部から、当該原データを読み込み、当該原データから各約定値と約定時刻を特定するステップと、
前記プロセッサが、前記特定した各約定値及び約定時刻から、アップティック時間とダウンティック時間を抽出するステップと、
前記プロセッサが、前記アップティック時間と前記ダウンティック時間を集計し、少なくとも指定された期間における前記アップティック時間及び前記ダウンティック時間を統計処理することにより前記マーケットインパクト減衰係数を算出するステップと、
を含むことを特徴とする方法。 Market impact, which indicates the magnitude of the temporary impact of a deal on a virtual market, is a method of calculating the market impact attenuation coefficient,
A processor reads the original data from a storage unit that stores the original data indicating the price movement of the market price in the past actual market, and specifies each contract value and execution time from the original data;
The processor extracting an uptick time and a downtick time from each of the identified execution values and execution times;
The processor calculates the market impact attenuation coefficient by aggregating the uptick time and the downtick time, and statistically processing the uptick time and the downtick time in at least a specified period;
A method comprising the steps of:
前記プロセッサは、前記マーケットインパクト減衰係数を算出するステップにおいて、前記指定された期間における前記アップティック時間及び前記ダウンティック時間を合せた全ての値の中央値又は平均値を前記マーケットインパクト減衰係数とすることを特徴とする方法。 In claim 8,
In the step of calculating the market impact attenuation coefficient , the processor sets a median value or an average value of all values including the uptick time and the downtick time in the specified period as the market impact attenuation coefficient. A method characterized by that.
前記プロセッサは、前記マーケットインパクト減衰係数を算出するステップにおいて、前記指定された期間における前記アップティック時間の中央値又は平均値をアップティック用のマーケットインパクト減衰係数とし、前記指定された期間における前記ダウンティック時間の中央値又は平均値をダウンティック用のマーケットインパクト減衰係数とすることを特徴とする方法。 In claim 8,
In the step of calculating the market impact attenuation coefficient , the processor sets a median value or an average value of the uptick times in the specified period as a market impact attenuation coefficient for uptics, and the downsampling in the specified period. A method characterized in that a median or average value of tick times is a market impact attenuation coefficient for down ticks.
前記プロセッサは、前記マーケットインパクト減衰係数を算出するステップにおいて、前記指定された期間における前場の前記アップティック時間及び前記ダウンティック時間を合せた全ての値の中央値又は平均値を前場用のマーケットインパクト減衰係数とし、前記指定された期間における後場の前記アップティック時間及び前記ダウンティック時間を合せた全ての値の中央値又は平均値を後場用のマーケットインパクト減衰係数とすることを特徴とする方法。 In claim 8,
In the step of calculating the market impact attenuation coefficient , the processor calculates a median value or an average value of all values including the up-tic time and the down-tick time of the pre-field during the designated period as the market impact for the pre-field. The method is characterized in that an attenuation coefficient is used, and a median value or an average value of all values including the up-tick time and the down-tick time of the subsequent market in the specified period is used as the market impact attenuation coefficient for the subsequent market.
プロセッサが、過去の実市場における相場の値動きを示す原データを格納する格納部から、当該原データを読み込み、当該原データから各約定値と約定時刻を特定するステップと、
前記プロセッサが、前記特定した各約定値及び約定時刻から、アップティック時間とダウンティック時間を抽出するステップと、
前記プロセッサが、前記アップティック時間と前記ダウンティック時間を集計し、複数の期間のそれぞれについて、前記アップティック時間及び前記ダウンティック時間に関する複数種類の統計データをユーザに提示するステップと、
前記プロセッサが、前記ユーザが前記複数種類の統計データに基づいて決定した値を受け取り、前記マーケットインパクト減衰係数とするステップと、
を含むことを特徴とする方法。 Market impact, which indicates the magnitude of the temporary impact of a deal on a virtual market, is a method of calculating the market impact attenuation coefficient,
A processor reads the original data from a storage unit that stores the original data indicating the price movement of the market price in the past actual market, and specifies each contract value and execution time from the original data;
The processor extracting an uptick time and a downtick time from each of the identified execution values and execution times;
The processor aggregates the uptick time and the downtick time, and presents to the user a plurality of types of statistical data related to the uptick time and the downtick time for each of a plurality of periods;
The processor receives a value determined by the user based on the plurality of types of statistical data and sets the market impact attenuation coefficient;
A method comprising the steps of:
前記プロセッサが、前記原データに含まれる、証券の値動きを示す第1のティックデータを時系列に沿って抽出するステップと、
前記プロセッサが、前記抽出された第1のティックデータに基づいて、前記過去の実市場における証券の注文状況を示す第1のワーク板を更新するステップと、
前記プロセッサが、更新前の前記第1のワーク板と更新後の前記第1のワーク板とを比較することによって、前記過去の市場において新たに発生した注文の内容を示す第1の注文情報を推定するステップと、
前記プロセッサが、前記推定された第1の注文情報を、記憶装置に格納するステップと、
前記プロセッサが、前記アルゴリズム取引システムからの注文の内容を示す第2の注文情報を受信し、前記記憶装置から、前記第1の注文情報を時系列に沿って抽出するステップと、
前記プロセッサが、前記マーケットインパクト減衰係数を考慮して、前記抽出した第1の注文情報及び前記第2の注文情報を、仮想的な市場における証券の値動きを示す第2のワーク板に時系列に沿って反映することによって、前記第2のワーク板を更新するステップと、
前記プロセッサが、更新後の前記第2のワーク板に基づいて、前記仮想的な市場において注文を約定させる処理と、
を実行することを特徴とする約定シミュレーション方法。 A contract simulation method for simulating securities trading by an algorithm trading system using a market impact attenuation coefficient calculated by a method of calculating a market impact reduction coefficient according to claim 8 or 12,
The processor extracting, in a time series, first tick data indicating a price movement of a security included in the original data;
The processor updating a first work board indicating an order status of securities in the past actual market based on the extracted first tick data;
The processor compares the first work plate before the update and the first work plate after the update, thereby obtaining first order information indicating the contents of an order newly generated in the past market. Estimating, and
The processor storing the estimated first order information in a storage device;
The processor receiving second order information indicating the contents of an order from the algorithmic trading system, and extracting the first order information from the storage device in time series;
The processor takes the extracted first order information and the second order information into the second work board showing the price movement of the securities in the virtual market in time series in consideration of the market impact attenuation coefficient. Updating the second workpiece plate by reflecting along;
A process in which the processor executes an order in the virtual market based on the updated second work board;
The execution simulation method characterized by performing.
前記プロセッサは、前記第2のワーク板を更新するステップにおいて、前記マーケットインパクト減衰係数に基づいて約定が仮想的な市場に一時的に与える影響の大きさを示すマーケットインパクトを算出し、前記抽出した第1の注文情報に含まれる証券の注文価格に、前記算出したマーケットインパクトを加算して前記注文価格を変更し、前記注文価格が変更された第1の注文情報に基づいて、前記第2のワーク板を更新することを特徴とする約定シミュレーション方法。 In claim 13,
In the step of updating the second work board, the processor calculates a market impact indicating the magnitude of the temporary effect of the contract on the virtual market based on the market impact attenuation coefficient, and extracts the extracted market impact . the order price of securities included in the first order information, the order price change by adding the market impacts that the calculated, based on the first order information the order price is changed, the second An execution simulation method characterized by renewing a workpiece plate.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013152556A JP6230315B2 (en) | 2013-07-23 | 2013-07-23 | Market impact attenuation coefficient calculation device, market impact attenuation coefficient calculation method, contract simulation system, and contract simulation method |
CN201410350030.5A CN104346750A (en) | 2013-07-23 | 2014-07-22 | Market effect attenuation coefficient calculation device and method, and agreed simulation system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013152556A JP6230315B2 (en) | 2013-07-23 | 2013-07-23 | Market impact attenuation coefficient calculation device, market impact attenuation coefficient calculation method, contract simulation system, and contract simulation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015022690A JP2015022690A (en) | 2015-02-02 |
JP6230315B2 true JP6230315B2 (en) | 2017-11-15 |
Family
ID=52487040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013152556A Expired - Fee Related JP6230315B2 (en) | 2013-07-23 | 2013-07-23 | Market impact attenuation coefficient calculation device, market impact attenuation coefficient calculation method, contract simulation system, and contract simulation method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6230315B2 (en) |
CN (1) | CN104346750A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016125273A1 (en) * | 2015-02-04 | 2016-08-11 | 三菱電機株式会社 | Information processing device, information processing method, and information processing program |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11149465A (en) * | 1997-11-19 | 1999-06-02 | Seft Dev Lab Co Ltd | Evaluation method using time constant |
JP2001022849A (en) * | 1999-07-08 | 2001-01-26 | Sony Corp | Device and method for price fluctuation estimation, device and method for price fluctuation warning, and program provision medium |
JP5039309B2 (en) * | 2006-03-09 | 2012-10-03 | ファイテックフォース株式会社 | Trading system |
JP5099419B2 (en) * | 2007-07-23 | 2012-12-19 | 株式会社日立ソリューションズ | Contract simulation system and program |
US20100114745A1 (en) * | 2008-10-30 | 2010-05-06 | Sap Ag | System and method for calculating and applying market data change rate sets |
KR101689909B1 (en) * | 2009-04-28 | 2016-12-26 | 센티언트 테크놀로지스 (바베이도스) 리미티드 | Class-based distributed evolutionary algorithm for asset management and trading |
JP2011215908A (en) * | 2010-03-31 | 2011-10-27 | Toshiba Solutions Corp | Algorithm transaction system, method and program |
JP5537454B2 (en) * | 2011-01-25 | 2014-07-02 | 株式会社東芝 | Securities trading simulation system |
-
2013
- 2013-07-23 JP JP2013152556A patent/JP6230315B2/en not_active Expired - Fee Related
-
2014
- 2014-07-22 CN CN201410350030.5A patent/CN104346750A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JP2015022690A (en) | 2015-02-02 |
CN104346750A (en) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101150225B1 (en) | Method for providing market data in an electronic trading environment | |
CN110291550A (en) | The system and method for improving the safety of intelligent contract on block chain | |
JP6284472B2 (en) | Method and system for evaluating decision-making opportunities | |
TW202008231A (en) | Method and device for predicting number of foreign transactions | |
JP2018169759A (en) | Plant evaluation system, plant evaluation method and program | |
KR20160055235A (en) | System and method for determining a tradable value | |
JP7399967B2 (en) | Trading schedule management system | |
JP6230315B2 (en) | Market impact attenuation coefficient calculation device, market impact attenuation coefficient calculation method, contract simulation system, and contract simulation method | |
US20200211110A1 (en) | Systems and methods for visualizing a trade life cycle and detecting discrepancies | |
JP5099419B2 (en) | Contract simulation system and program | |
JP6474184B1 (en) | Stock price prediction support system and method | |
JP2013041422A (en) | Board information analysis apparatus, board information analysis method, and program | |
CN112508706A (en) | Stock ordering method and device based on reinforcement learning | |
JP2010205203A (en) | Virtual transaction system of stock | |
JP2011215908A (en) | Algorithm transaction system, method and program | |
JP6958954B1 (en) | Investment advice provision method and system | |
US11568362B2 (en) | Systems and methods for visualizing a trade life cycle and detecting discrepancies | |
JP2002073985A (en) | Method for assisting transaction and storage medium recording program for assisting transaction | |
CN115018400B (en) | Wind control data processing method and device, electronic equipment and medium | |
JP7373384B2 (en) | Verification method for computer systems and scheduling systems | |
JP4190328B2 (en) | Production plan generation apparatus and production plan generation method | |
KR20200077356A (en) | Method and system for evaluation trading result | |
KR20200077697A (en) | Method and system for evaluation trading result | |
CN118297521A (en) | Non-stop inventory checking method, device, equipment and medium of electronic commerce platform | |
CN114331408A (en) | Digital asset transaction method, apparatus and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20150827 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160714 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170601 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170620 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170815 |
|
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: 20171010 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171017 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6230315 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
LAPS | Cancellation because of no payment of annual fees |