JP6999077B2 - Trading equipment, trading programs and trading methods - Google Patents

Trading equipment, trading programs and trading methods Download PDF

Info

Publication number
JP6999077B2
JP6999077B2 JP2021003638A JP2021003638A JP6999077B2 JP 6999077 B2 JP6999077 B2 JP 6999077B2 JP 2021003638 A JP2021003638 A JP 2021003638A JP 2021003638 A JP2021003638 A JP 2021003638A JP 6999077 B2 JP6999077 B2 JP 6999077B2
Authority
JP
Japan
Prior art keywords
order
price
cpu
market price
market
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021003638A
Other languages
Japanese (ja)
Other versions
JP2021051818A (en
Inventor
茂紀 河野
勝 福島
晃司 土田
由美 小田
Original Assignee
株式会社外為どっとコム
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 株式会社外為どっとコム filed Critical 株式会社外為どっとコム
Priority to JP2021003638A priority Critical patent/JP6999077B2/en
Publication of JP2021051818A publication Critical patent/JP2021051818A/en
Application granted granted Critical
Publication of JP6999077B2 publication Critical patent/JP6999077B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、取引装置、取引プログラムおよび取引方法に関する。 The present invention relates to a trading device, a trading program and a trading method.

投資家のコンピュータと金融商品取引業者のコンピュータとを通信回線で接続し、投資家がオンラインで金融商品の取引を行うことが可能なオンライン取引システムが使用されている。金融商品の取引に関する指標を時々刻々と算出して、投資家のコンピュータに表示させることにより、投資家の判断を支援する指標値算出装置が提案されている(特許文献1)。 An online trading system is used in which an investor's computer and a financial instruments trader's computer are connected by a communication line so that the investor can trade financial products online. An index value calculation device that supports an investor's judgment by calculating an index related to a transaction of a financial product from moment to moment and displaying it on an investor's computer has been proposed (Patent Document 1).

特開2014-102589号公報Japanese Unexamined Patent Publication No. 2014-102589

金融商品の市場価格は常に変動しているので、取引を行うタイミングが損益に大きく影響する。しかしながら、一般投資家の場合には金融商品の取引が本業ではないため、市場価格を常に監視して有利な取引を行うことは難しい。 Since the market price of financial products is constantly changing, the timing of transactions has a great influence on profit and loss. However, in the case of general investors, it is difficult to constantly monitor market prices and conduct advantageous transactions because trading of financial products is not their main business.

一つの側面では、金融商品の市場価格が投資家の想定している方向に変動したことを検出して、取引を行う取引装置等を提供することを目的とする。 One aspect is to detect that the market price of a financial product has fluctuated in the direction expected by an investor, and to provide a trading device or the like for conducting a transaction.

取引装置は、金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得する条件取得部と、前記条件取得部が取得した判定時間幅の範囲の過去の時間における金融商品の市場価格の最小値を取得する過去価格取得部と、金融商品の市場価格を逐次取得する市場価格取得部と、前記市場価格取得部が取得した第1市場価格が、前記最小値に、前記判定時間幅と前記単位判定価格幅との積を加算した値以上である場合に、買いポジション取得の約定を行う約定部とを備える。 The trading device has a condition acquisition unit for acquiring the judgment time width and the unit judgment price range regarding the market price of the financial product, and the market price of the financial product in the past time within the range of the judgment time width acquired by the condition acquisition unit. The past price acquisition unit that acquires the minimum value, the market price acquisition unit that sequentially acquires the market price of financial products, and the first market price acquired by the market price acquisition unit are set to the minimum value and the determination time width. When the value is equal to or greater than the value obtained by adding the product to the unit determination price range, a contract unit for executing a buy position acquisition is provided.

取引装置は、金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得する条件取得部と、前記条件取得部が取得した判定時間幅の範囲の過去の時間における金融商品の市場価格の最大値を取得する過去価格取得部と、金融商品の市場価格を逐次取得する市場価格取得部と、前記市場価格取得部が取得した第1市場価格が、前記最大値から、前記判定時間幅と前記単位判定価格幅との積を減算した値以下である場合に、売りポジション取得の約定を行う約定部とを備える。 The trading device has a condition acquisition unit for acquiring the judgment time width and the unit judgment price range regarding the market price of the financial product, and the market price of the financial product in the past time within the range of the judgment time width acquired by the condition acquisition unit. The past price acquisition unit that acquires the maximum value, the market price acquisition unit that sequentially acquires the market price of financial products, and the first market price acquired by the market price acquisition unit are the determination time width from the maximum value. When the value is equal to or less than the value obtained by subtracting the product with the unit determination price range, a contract unit for executing a sell position acquisition is provided.

一つの側面では、金融商品の市場価格が投資家の想定している方向に変動したことを検出して、取引を行う取引装置等を提供することが可能となる。 On one aspect, it is possible to detect that the market price of a financial product has fluctuated in the direction expected by an investor and provide a trading device or the like for conducting a transaction.

取引システムの構成を示す説明図である。It is explanatory drawing which shows the structure of a trading system. レートDBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of rate DB. デルタTDBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of Delta TDB. HLDBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of HLDB. 投資家情報DBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the investor information DB. 受注DBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the order DB. 発注DBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the order | order DB. ポジションDBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of a position DB. 投資家クライアントの入力画面例を示す説明図である。It is explanatory drawing which shows the input screen example of an investor client. デルタ注文による新規注文を説明する説明図である。It is explanatory drawing explaining a new order by a delta order. 相対トリガトレール注文による決済注文を説明する説明図である。It is explanatory drawing explaining the settlement order by a relative trigger trail order. 受注DBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the order DB. 発注DBのレコードレイアウトを示す説明図である。It is explanatory drawing which shows the record layout of the order | order DB. レート記録サーバのプログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the processing flow of the program of the rate recording server. 投資家サーバのプログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of the program of an investor server. 注文受付サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the processing flow of an order acceptance subroutine. 証拠金確認サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the processing flow of the margin confirmation subroutine. 発注証拠金更新サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of order margin update subroutine. 合計発注証拠金算出サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of the total order margin calculation subroutine. ポジション取得サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of a position acquisition subroutine. デルタ判定のサブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the processing flow of the subroutine of a delta determination. ポジション決済サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the processing flow of a position settlement subroutine. ストップトリガ判定サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the processing flow of the stop trigger determination subroutine. 相対トリガトレール判定サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of a relative trigger trail determination subroutine. 実施の形態2のデルタ注文による新規注文を説明する説明図である。It is explanatory drawing explaining the new order by the delta order of Embodiment 2. 実施の形態2のデルタ判定のサブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of the subroutine of the delta determination of Embodiment 2. 実施の形態3の投資家クライアントの入力画面例を示す説明図である。It is explanatory drawing which shows the input screen example of the investor client of Embodiment 3. FIG. 実施の形態3のデルタトレール注文による新規注文を説明する説明図である。It is explanatory drawing explaining the new order by the delta trail order of Embodiment 3. 実施の形態3のポジション取得サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of the position acquisition subroutine of Embodiment 3. 実施の形態4のポジション取得サブルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the process flow of the position acquisition subroutine of Embodiment 4. 実施の形態5の取引装置の動作を示す機能ブロック図である。It is a functional block diagram which shows the operation of the transaction apparatus of Embodiment 5. 実施の形態6の取引システムの構成を示す説明図である。It is explanatory drawing which shows the structure of the transaction system of Embodiment 6.

[実施の形態1]
図1は、取引システム10の構成を示す説明図である。取引システム10は、時々刻々と価格が変動する金融商品の取引を行う際に使用されるシステムである。本実施の形態においては、外国為替証拠金取引を行う際に使用する取引システム10を例にして説明する。株式取引、先物取引等においても、同様のシステムを使用することが可能である。
[Embodiment 1]
FIG. 1 is an explanatory diagram showing a configuration of a transaction system 10. The trading system 10 is a system used when trading financial products whose prices fluctuate from moment to moment. In the present embodiment, a trading system 10 used when conducting foreign exchange margin trading will be described as an example. The same system can be used for stock trading, futures trading, etc.

取引システム10は、投資家サーバ11、レート記録サーバ21、投資家クライアント31、金融機関サーバ32およびこれらを相互に接続するネットワークを含む。 The trading system 10 includes an investor server 11, a rate recording server 21, an investor client 31, a financial institution server 32, and a network connecting them to each other.

投資家クライアント31は、投資家がオンライン取引に使用するパソコン、タブレットまたはスマートフォン等の情報処理装置である。投資家クライアント31のハードウェア構成については説明を省略する。 The investor client 31 is an information processing device such as a personal computer, a tablet, or a smartphone that an investor uses for online transactions. The description of the hardware configuration of the investor client 31 will be omitted.

金融機関サーバ32は、インターバンク市場に参加する銀行等が使用する情報処理装置である。金融機関サーバ32は、為替レートの市場価格を1秒間に10回から100回程度の頻度でネットワークを介して提示する。金融機関サーバ32のハードウェア構成については説明を省略する。 The financial institution server 32 is an information processing device used by banks and the like participating in the interbank market. The financial institution server 32 presents the market price of the exchange rate via the network at a frequency of about 10 to 100 times per second. The description of the hardware configuration of the financial institution server 32 will be omitted.

なお、インターバンク市場においては、市場参加者がそれぞれ市場価格を提示して取引を行う。インターバンク市場の参加者は、信用度が高く、多額の外貨を取引する大手銀行に限定されている。一方、外国為替証拠金取引はインターバンク市場で形成されている市場価格に準じる為替レートに基づいて取引される。 In the interbank market, each market participant presents the market price and conducts a transaction. Participants in the interbank market are limited to large banks that have high creditworthiness and trade large amounts of foreign currency. On the other hand, foreign exchange margin trading is conducted based on the exchange rate based on the market price formed in the interbank market.

投資家サーバ11は、金融商品取引業者が管理および運用を行う情報処理装置である。投資家サーバ11は、投資家クライアント31からオンラインで受信した金融商品の取引を処理する情報処理装置である。本実施の形態においては、金融商品取引業者は、顧客である個々の投資家に対して、1つの投資家サーバ11を使用する。投資家サーバ11は、本実施の形態の取引装置の一例である。 The investor server 11 is an information processing device managed and operated by a financial instruments business operator. The investor server 11 is an information processing device that processes transactions of financial products received online from the investor client 31. In this embodiment, the financial instruments business operator uses one investor server 11 for each investor who is a customer. The investor server 11 is an example of the trading device of the present embodiment.

レート記録サーバ21は、金融商品取引業者が管理および運用を行う情報処理装置である。レート記録サーバ21は、金融機関サーバ32から提示された市場価格を記録および処理し、投資家サーバ11に提供する情報処理装置である。 The rate recording server 21 is an information processing device managed and operated by a financial instruments business operator. The rate recording server 21 is an information processing device that records and processes the market price presented by the financial institution server 32 and provides it to the investor server 11.

投資家サーバ11は、CPU(Central Processing Unit)12、主記憶装置13、補助記憶装置14、通信部15およびバスを備える。 The investor server 11 includes a CPU (Central Processing Unit) 12, a main storage device 13, an auxiliary storage device 14, a communication unit 15, and a bus.

CPU12は、本発明に係るプログラムを実行する演算制御装置である。CPU12には、一または複数のCPUまたはマルチコアCPU等が使用される。CPU12は、バスを介して投資家サーバ11を構成するハードウェア各部と接続されている。 The CPU 12 is an arithmetic control device that executes a program according to the present invention. As the CPU 12, one or a plurality of CPUs, a multi-core CPU, or the like is used. The CPU 12 is connected to each part of the hardware constituting the investor server 11 via a bus.

主記憶装置13は、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)、フラッシュメモリ等の記憶装置である。主記憶装置13には、CPU12が行う処理の途中で必要な情報およびCPU12で実行中のプログラムが一時的に保存される。 The main storage device 13 is a storage device such as a SRAM (Static Random Access Memory), a DRAM (Dynamic Random Access Memory), and a flash memory. The main storage device 13 temporarily stores information necessary in the middle of processing performed by the CPU 12 and a program being executed by the CPU 12.

補助記憶装置14は、SRAM、フラッシュメモリ、ハードディスクまたは磁気テープ等の記憶装置である。補助記憶装置14には、CPU12に実行させるプログラム、投資家情報DB(Database)51、受注DB52、発注DB53、ポジションDB54、およびプログラムの実行に必要な各種データが保存される。通信部15は、投資家サーバ11とネットワークとの間の通信を行うインターフェイスである。 The auxiliary storage device 14 is a storage device such as a SRAM, a flash memory, a hard disk, or a magnetic tape. The auxiliary storage device 14 stores a program to be executed by the CPU 12, an investor information DB (Database) 51, an order DB 52, an order DB 53, a position DB 54, and various data necessary for executing the program. The communication unit 15 is an interface for communicating between the investor server 11 and the network.

本実施の形態の投資家サーバ11は、汎用のパーソナルコンピュータ、大型計算機等の情報機器等である。また、本実施の形態の投資家サーバ11は、大型計算機上で動作する仮想マシンでも良い。投資家情報DB51、受注DB52、発注DB53およびポジションDB54は、投資家サーバ11の外部に設置された大容量記憶装置等に記憶されていても良い。 The investor server 11 of the present embodiment is a general-purpose personal computer, an information device such as a large-scale computer, or the like. Further, the investor server 11 of the present embodiment may be a virtual machine operating on a large-scale computer. The investor information DB 51, the order DB 52, the order DB 53, and the position DB 54 may be stored in a large-capacity storage device installed outside the investor server 11.

レート記録サーバ21は、レート記録CPU22、主記憶装置23、補助記憶装置24、通信部25およびバスを備える。 The rate recording server 21 includes a rate recording CPU 22, a main storage device 23, an auxiliary storage device 24, a communication unit 25, and a bus.

レート記録CPU22は、本発明に係るプログラムを実行する演算制御装置である。レート記録CPU22には、一または複数のCPUまたはマルチコアCPU等が使用される。レート記録CPU22は、バスを介してレート記録サーバ21を構成するハードウェア各部と接続されている。 The rate recording CPU 22 is an arithmetic control device that executes a program according to the present invention. As the rate recording CPU 22, one or a plurality of CPUs, a multi-core CPU, or the like is used. The rate recording CPU 22 is connected to each part of the hardware constituting the rate recording server 21 via a bus.

主記憶装置23は、SRAM、DRAM、フラッシュメモリ等の記憶装置である。主記憶装置23には、レート記録CPU22が行う処理の途中で必要な情報およびレート記録CPU22で実行中のプログラムが一時的に保存される。 The main storage device 23 is a storage device such as a SRAM, a DRAM, or a flash memory. The main storage device 23 temporarily stores information necessary in the middle of processing performed by the rate recording CPU 22 and a program being executed by the rate recording CPU 22.

補助記憶装置24は、SRAM、フラッシュメモリ、ハードディスクまたは磁気テープ等の記憶装置である。補助記憶装置24には、レート記録CPU22に実行させるプログラム、レートDB41、HLDB43、デルタTDB42、およびプログラムの実行に必要な各種データが保存される。通信部25は、レート記録サーバ21とネットワークとの間の通信を行うインターフェイスである。 The auxiliary storage device 24 is a storage device such as a SRAM, a flash memory, a hard disk, or a magnetic tape. The auxiliary storage device 24 stores a program to be executed by the rate recording CPU 22, a rate DB 41, an HDDB 43, a delta TDB 42, and various data necessary for executing the program. The communication unit 25 is an interface for communicating between the rate recording server 21 and the network.

本実施の形態のレート記録サーバ21は、汎用のパーソナルコンピュータ、大型計算機等の情報機器等である。また、本実施の形態のレート記録サーバ21は、大型計算機上で動作する仮想マシンでも良い。レートDB41、HLDB43およびデルタTDB42は、レート記録サーバ21の外部に設置された大容量記憶装置等に記憶されていても良い。 The rate recording server 21 of the present embodiment is a general-purpose personal computer, an information device such as a large-scale computer, or the like. Further, the rate recording server 21 of the present embodiment may be a virtual machine operating on a large-scale computer. The rate DB 41, HLDB 43, and delta TDB 42 may be stored in a large-capacity storage device or the like installed outside the rate recording server 21.

図2は、レートDB41のレコードレイアウトを示す説明図である。レートDB41は、通貨ペアごとの売値および買値の市場価格とタイムスタンプとを関連づけるDBである。レートDB41は、通貨ペアフィールド、売レートフィールド、買レートフィールドおよびタイムスタンプフィールドを有する。 FIG. 2 is an explanatory diagram showing a record layout of the rate DB 41. The rate DB 41 is a DB that associates the market price of the selling price and the buying price for each currency pair with the time stamp. The rate DB 41 has a currency pair field, a sell rate field, a buy rate field, and a time stamp field.

通貨ペアフィールドには、外国為替取引を行う二つの通貨の組合せが記録されている。たとえば「USD/JPY」は、米ドルと日本円との組合せを示す。同様に、「EUR」はユーロ、「GBP」は、英ポンド、「AUD」は、オーストラリアドルを示す。 In the currency pair field, the combination of two currencies for foreign exchange trading is recorded. For example, "USD / JPY" indicates a combination of US dollars and Japanese yen. Similarly, "EUR" stands for Euro, "GBP" stands for British Pound, and "AUD" stands for Australian Dollar.

売レートフィールドには、投資家が通貨ペアフィールドに記録された通貨ペアのうちの、前側の通貨を後側の通貨で購入する際の市場価格が記録されている。買レートフィールドには、投資家が通貨ペアフィールドに記録された通貨ペアのうちの、前側の通貨を後側の通貨で売却する際の市場価格が記録されている。 In the sell rate field, the market price when an investor purchases the front currency in the rear currency among the currency pairs recorded in the currency pair field is recorded. The buy rate field records the market price of the currency pairs recorded in the currency pair field when the investor sells the front currency in the rear currency.

タイムスタンプフィールドには、市場価格をレートDB41に記録した日時が記録されている。タイムスタンプフィールドの前半は日付、後半は時刻を示す。時刻の小数点以下の3桁は、ミリ秒単位の時刻を示す。レートDB41は、一組の通貨ペアについて1つのフィールドを有する。 In the time stamp field, the date and time when the market price was recorded in the rate DB 41 is recorded. The first half of the time stamp field indicates the date, and the second half indicates the time. The three digits after the decimal point of the time indicate the time in milliseconds. The rate DB 41 has one field for a set of currency pairs.

具体例を挙げて説明する。図2に示すレートDB41の1行目は、米ドルを売却したい投資家に対しては1ドル100.096円のレートが、米ドルを購入したい投資家に対しては1ドル100.104円のレートが、それぞれタイムスタンプに示す日時に提示されたことを示す。 A specific example will be described. The first line of the rate DB41 shown in FIG. 2 is a rate of 100.096 yen per dollar for investors who want to sell US dollars and a rate of 100.104 yen per dollar for investors who want to buy US dollars. Indicates that each was presented at the date and time indicated on the time stamp.

レート記録CPU22は、金融機関サーバ32から提示された市場価格を受信するたびに、該当する通貨ペアのレコードを更新する。すなわち、レートDB41には、その時点で最新の市場価格が記録されている。レート記録サーバ21は、一つの金融機関サーバ32から提示される市場価格を受信してレートDB41に記録しても良いし、複数の金融機関サーバ32から提示される市場価格を受信してレートDB41に記録しても良い。 The rate recording CPU 22 updates the record of the corresponding currency pair each time it receives the market price presented by the financial institution server 32. That is, the latest market price at that time is recorded in the rate DB 41. The rate recording server 21 may receive the market price presented from one financial institution server 32 and record it in the rate DB 41, or may receive the market price presented from a plurality of financial institution servers 32 and record the market price in the rate DB 41. You may record it in.

レート記録サーバ21は、他の金融商品取引業者から提示される為替レートをレートDB41に記録しても良い。また、レート記録サーバ21は、インターバンク市場の市場価格に基づいて自社の為替ディーラが判断した市場価格を記録しても良い。 The rate recording server 21 may record the exchange rate presented by another financial instrument trader in the rate DB 41. Further, the rate recording server 21 may record the market price determined by its own exchange dealer based on the market price of the interbank market.

図3は、デルタTDB42のレコードレイアウトを示す説明図である。デルタTDB42は、番号と判定時間幅ΔTとを関連づけるDBである。デルタTDB42は番号フィールドとΔTフィールドとを有する。番号フィールドには、1から連番で番号が記録されている。ΔTフィールドには、判定時間幅ΔTが記録されている。デルタTDB42は、一つの番号について1つのレコードを有する。デルタTDB42は、次に説明するHLDB43を作成する際に使用されるDBである。 FIG. 3 is an explanatory diagram showing the record layout of the delta TDB 42. The delta TDB 42 is a DB that associates the number with the determination time width ΔT. The delta TDB 42 has a number field and a ΔT field. In the number field, numbers are recorded sequentially from 1. The determination time width ΔT is recorded in the ΔT field. The delta TDB 42 has one record for one number. The delta TDB 42 is a DB used when creating the HDDB43 described below.

図4は、HLDB43のレコードレイアウトを示す説明図である。HLDB43は、タイムスタンプ、その時点の市場価格と、判定時間幅ΔT内の過去の最低市場価格Lおよび最高市場価格Hとを関連づけるDBである。HLDB43は、通貨ペアフィールド、売買フィールド、タイムスタンプフィールド、市場価格フィールド、ΔT=10秒フィールド、ΔT=30秒フィールドを有する。ΔT=10秒フィールドおよびΔT=30秒フィールドは、それぞれLフィールドおよびHフィールドを有する。HLDB43は、後述するデルタ注文を行う際に使用されるDBである。 FIG. 4 is an explanatory diagram showing the record layout of the HLDB43. The HLDB43 is a DB that associates the time stamp, the market price at that time, with the past minimum market price L and the maximum market price H within the determination time width ΔT. The HDDB43 has a currency pair field, a trading field, a time stamp field, a market price field, a ΔT = 10 second field, and a ΔT = 30 second field. The ΔT = 10 second field and the ΔT = 30 second field have an L field and an H field, respectively. The HLDB43 is a DB used when making a delta order, which will be described later.

通貨ペアフィールドには、外国為替取引を行う二つの通貨の組合せが記録されている。売買フィールドには、「売」または「買」の別が記録されている。タイムスタンプフィールドには、タイムスタンプが記録されている。市場価格フィールドには、通貨ペアフィールドおよび売買フィールドに記録された為替取引に関する市場価格が記録されている。 In the currency pair field, the combination of two currencies for foreign exchange trading is recorded. In the buy / sell field, the distinction between "sell" and "buy" is recorded. A time stamp is recorded in the time stamp field. The market price field records the market price for the exchange transaction recorded in the currency pair field and the trading field.

ΔT=10秒フィールドのLフィールドには、タイムスタンプの時点から過去10秒間で最も安い市場価格が記録されている。ΔT=10秒フィールドのHフィールドには、タイムスタンプの時点から過去10秒間で最も高い市場価格が記録されている。ΔT=30秒フィールドのLフィールドには、タイムスタンプの時点から過去30秒間で最も安い市場価格が記録されている。ΔT=30秒フィールドのHフィールドには、タイムスタンプの時点から過去30秒間で最も高い市場価格が記録されている。 In the L field of the ΔT = 10 second field, the cheapest market price in the past 10 seconds from the time of the time stamp is recorded. In the H field of the ΔT = 10 second field, the highest market price in the past 10 seconds from the time of the time stamp is recorded. In the L field of the ΔT = 30 second field, the cheapest market price in the past 30 seconds from the time of the time stamp is recorded. In the H field of the ΔT = 30 second field, the highest market price in the past 30 seconds from the time of the time stamp is recorded.

なお、図4ではΔT=10秒フィールドおよびΔT=30秒フィールド以外は記載を省略するが、HLDB43は図3を使用して説明したデルタTDB42のΔTフィールドに記録されたそれぞれの判定時間幅ΔTに対応するフィールドを有する。それぞれのフィールドは、ΔT=10秒フィールドと同様にLフィールドおよびHフィールドを有する。HLDB43は、一つのタイムスタンプについて一つのレコードを有する。 Although the description is omitted in FIG. 4 except for the ΔT = 10-second field and the ΔT = 30-second field, the HLDB43 has a determination time width ΔT recorded in the ΔT field of the delta TDB42 described using FIG. Has a corresponding field. Each field has an L field and an H field as well as a ΔT = 10 second field. The HLDB43 has one record for one time stamp.

具体例を挙げて説明する。図4の上から2レコード目の、タイムスタンプが「2016/09/05 10:00:00.005」時点から過去10秒間の最高の市場価格は100.200円である。上から3レコード目の、タイムスタンプが「2016/09/05 10:00:00.040」の時点の市場価格は、100.280円である。そのため、このレコードの時点から過去10秒間の最高の市場価格は100.280円であり、ΔT=10秒フィールドのHフィールドに「100.280」が記録される。 A specific example will be described. The highest market price for the past 10 seconds from the time stamp of the second record from the top of FIG. 4 is "2016/09/05 10:00: 00.05" is 100.200 yen. The market price at the time when the time stamp of the third record from the top is "2016/09/05 10:00: 00.040" is 100.280 yen. Therefore, the highest market price for the past 10 seconds from the time of this record is 100.280 yen, and "100.280" is recorded in the H field of the ΔT = 10 second field.

図5は、投資家情報DB51のレコードレイアウトを示す説明図である。投資家情報DB51は、投資家サーバ11が取引を処理する投資家に関する情報を記録するDBである。投資家情報DB51は、項目フィールドと内容フィールドとを有する。項目フィールドには、「投資家ID(IDentification)」、「氏名」、「証拠金」等の項目名が記録されている。内容フィールドには、それぞれの項目に対応する内容が記録されている。証拠金については後述する。 FIG. 5 is an explanatory diagram showing a record layout of the investor information DB 51. The investor information DB 51 is a DB in which the investor server 11 records information about an investor who processes a transaction. The investor information DB 51 has an item field and a content field. In the item field, item names such as "investor ID (IDentification)", "name", and "margin" are recorded. In the content field, the content corresponding to each item is recorded. Margin will be described later.

図6は、受注DB52のレコードレイアウトを示す説明図である。受注DB52は、金融商品取引業者に注文した外国為替取引の注文番号、注文の内容および注文状況を関連づけるDBである。 FIG. 6 is an explanatory diagram showing the record layout of the order DB 52. The order DB 52 is a DB that associates the order number of the foreign exchange transaction ordered from the financial instrument trader, the content of the order, and the order status.

受注DB52は、注文番号フィールド、通貨ペアフィールド、注文タイプフィールド、取引種別フィールド、執行条件フィールド、注文価格フィールド、トリガ値フィールド、トリガ幅フィールド、トレール幅フィールド、ΔPフィールド、ΔTフィールド、取引金額フィールド、期限フィールド、注文状況フィールド、発注証拠金フィールドおよび親注文番号フィールドを有する。 The order DB 52 includes an order number field, a currency pair field, an order type field, a transaction type field, an execution condition field, an order price field, a trigger value field, a trigger width field, a trail width field, a ΔP field, a ΔT field, and a transaction amount field. It has a deadline field, an order status field, an order margin field and a parent order number field.

注文番号フィールドには、個々の注文に固有に付与された注文番号が記録されている。通貨ペアフィールドには、注文された通貨ペアが記録されている。注文タイプフィールドには、「新規」「決済利益確定」「決済ストップ」のいずれのタイプの注文であるかが記録されている。「新規」は、投資家が新たなポジションを取得する注文を意味する。「決済利益確定」は、投資家が保有しているポジションを反対売買により決済して利益を確定する注文を意味する。「決済ストップ」は、投資家が保有しているポジションを反対売買により決済して、損切りを行うストップ注文を意味する。 The order number field records the order number that is uniquely assigned to each order. The currency pair field records the currency pair ordered. In the order type field, which type of order is "new", "settlement profit settlement", or "settlement stop" is recorded. "New" means an order in which an investor acquires a new position. "Settlement profit settlement" means an order in which a position held by an investor is settled by counter-trading and the profit is settled. "Settlement stop" means a stop order in which the position held by the investor is settled by counter-trading and the loss is cut off.

取引種別フィールドには、「売」または「買」のどちらの注文であるかが記録されている。「売」は売り注文を、「買」は、買い注文を意味する。執行条件フィールドには、注文を執行する際の判定条件の種類が記録されている。「デルタ」、「相対トリガトレール」および「トレール」については後述する。 In the transaction type field, whether the order is "sell" or "buy" is recorded. "Sell" means a sell order, and "buy" means a buy order. In the execution condition field, the type of judgment condition for executing the order is recorded. "Delta", "relative trigger trail" and "trail" will be described later.

「指値」は、後述する注文価格フィールドに記録された価格よりも投資家にとって有利な条件であれば約定することを意味する。たとえば、買い注文である場合には、注文価格よりも市場価格が安い場合に約定する。売り注文である場合には、注文価格よりも市場価格が高い場合に約定する。 "Limit" means to execute if the conditions are more favorable to the investor than the price recorded in the order price field described later. For example, in the case of a buy order, the contract is executed when the market price is lower than the order price. In the case of a sell order, it is executed when the market price is higher than the order price.

「逆指値」は、後述する注文価格フィールドに記録された価格よりも投資家にとって不利な条件であれば約定することを意味する。たとえば、買い注文である場合には、注文価格よりも市場価格が高い場合に約定する。売り注文である場合には、注文価格よりも市場価格が安い場合に約定する。 "Stop price" means to execute if the conditions are more disadvantageous to the investor than the price recorded in the order price field described later. For example, in the case of a buy order, it is executed when the market price is higher than the order price. In the case of a sell order, the contract is executed when the market price is lower than the order price.

注文価格フィールドには、投資家が指定した注文価格が記録されている。注文価格フィールドに「-」が記録されている場合には、価格が未定であることを意味する。 The order price field records the order price specified by the investor. If a "-" is recorded in the order price field, it means that the price is undecided.

トリガ値フィールド、トリガ幅フィールド、トレール幅フィールド、ΔPフィールドおよびΔTフィールドには、執行条件が「デルタ」、「相対トリガトレール」および「トレール」である場合のパラメータが記録されている。各パラメータの詳細については後述する。 The parameters when the execution conditions are "delta", "relative trigger trail", and "trail" are recorded in the trigger value field, the trigger width field, the trail width field, the ΔP field, and the ΔT field. Details of each parameter will be described later.

取引金額フィールドには、顧客が注文した取引金額が記録されている。取引金額は、通貨ペアの左側に示された通貨を使用して示す。具体的には、注文番号101は米ドルで1000ドルの注文であることを示す。 The transaction amount field records the transaction amount ordered by the customer. The transaction amount is shown using the currency shown on the left side of the currency pair. Specifically, order number 101 indicates an order of $ 1000 in US dollars.

期限フィールドには、注文の有効期限が記録されている。「GTC」は、Good Till Cancelの略であり、無期限で有効な注文を意味する。注文状況フィールドには、注文の状況が記録されている。「注文中」は投資家が指定した条件と市場価格とが合致した場合に約定する注文を示す。「待機中」は、関連する注文が約定した場合に、有効になる注文を示す。注文状況フィールドには、約定したことを示す「成立」、注文を取り消したことを示す「取消済」等も記録される。 The expiration field records the expiration date of the order. "GTC" is an abbreviation for Good Till Cancel and means an order that is valid indefinitely. The order status field records the status of the order. "On order" indicates an order to be filled when the conditions specified by the investor and the market price are met. "Waiting" indicates an order that becomes valid when the related order is filled. In the order status field, "established" indicating that the order has been executed, "cancelled" indicating that the order has been canceled, and the like are also recorded.

発注証拠金フィールドには、新規注文を行う際に必要な発注証拠金が記録されている。発注証拠金については後述する。なお、決済注文を行う場合には発注証拠金は不要であるので「-」が記録されている。 The order margin field records the order margin required to place a new order. The order margin will be described later. When placing a settlement order, an order margin is not required, so "-" is recorded.

親注文番号フィールドには、関連する新規注文の注文番号が記録されている。たとえば注文番号101は、新規注文であるので親注文は存在しない。そのため親注文番号フィールドには「-」が記録されている。注文番号102および注文番号103は、注文番号101の決済注文であるので、親注文番号フィールドに「101」が記録されている。 The parent order number field records the order number of the associated new order. For example, since the order number 101 is a new order, there is no parent order. Therefore, "-" is recorded in the parent order number field. Since the order number 102 and the order number 103 are settlement orders of the order number 101, "101" is recorded in the parent order number field.

図7は、発注DB53のレコードレイアウトを示す説明図である。発注DB53は、投資家が指定した条件と市場価格とが合致した場合に約定する外国為替取引の注文番号、注文の内容および注文状況を関連づけるDBである。 FIG. 7 is an explanatory diagram showing a record layout of the order DB 53. The order DB 53 is a DB that associates the order number of the foreign exchange transaction, the content of the order, and the order status to be executed when the conditions specified by the investor and the market price are met.

発注DB53は、注文番号フィールド、通貨ペアフィールド、注文タイプフィールド、取引種別フィールド、執行条件フィールド、注文価格フィールド、トリガ値フィールド、トリガ幅フィールド、トレール幅フィールド、ΔPフィールド、ΔTフィールド、取引金額フィールド、期限フィールド、発注証拠金フィールドおよび親注文番号フィールドを有する。各フィールドに記録されているデータは、図6を使用して説明した受注DB52と同様であるので説明を省略する。 The order DB 53 includes an order number field, a currency pair field, an order type field, a transaction type field, an execution condition field, an order price field, a trigger value field, a trigger width field, a trail width field, a ΔP field, a ΔT field, and a transaction amount field. It has a deadline field, an order margin field and a parent order number field. Since the data recorded in each field is the same as the order DB 52 described with reference to FIG. 6, the description thereof will be omitted.

図8は、ポジションDB54のレコードレイアウトを示す説明図である。ポジションDB54は、投資家が保有しているポジションの注文番号、ポジションの内容および関連注文の番号を関連づけるDBである。ポジションDB54は、注文番号フィールド、通貨ペアフィールド、取引種別フィールド、約定価格フィールド、取引金額フィールド、約定日時フィールドおよび決済注文番号フィールドを有する。決済注文番号フィールドは、利益確定フィールドとストップフィールドとを有する。 FIG. 8 is an explanatory diagram showing the record layout of the position DB 54. The position DB 54 is a DB that associates the order number of the position held by the investor, the content of the position, and the number of the related order. The position DB 54 has an order number field, a currency pair field, a transaction type field, a contract price field, a transaction amount field, a contract date and time field, and a settlement order number field. The settlement order number field has a profit taking field and a stop field.

注文番号フィールドには、個々の注文に固有に付与された注文番号が記録されている。通貨ペアフィールドには、注文された通貨ペアが記録されている。取引種別フィールドには、「売」または「買」のどちらのポジションであるかが記録されている。「売」は売り注文により取ったポジションであることを、「買」は買い注文により取ったポジションであることを意味する。 The order number field records the order number that is uniquely assigned to each order. The currency pair field records the currency pair ordered. In the transaction type field, whether the position is "sell" or "buy" is recorded. "Sell" means a position taken by a sell order, and "buy" means a position taken by a buy order.

約定価格フィールドには、ポジションを取った際の約定価格が記録されている。取引金額フィールドには、ポジションの取引金額が記録されている。約定日時フィールドには、ポジションが約定した日時が記録されている。利益確定フィールドには、利益確定注文の注文番号が記録されている。ストップフィールドにはストップ注文の注文番号が記録されている。 In the contract price field, the contract price at the time of taking a position is recorded. The transaction amount of the position is recorded in the transaction amount field. The date and time when the position was executed is recorded in the execution date and time field. The order number of the profit-taking order is recorded in the profit-taking field. The order number of the stop order is recorded in the stop field.

ここで、証拠金および発注証拠金について説明する。証拠金は、投資家が金融商品取引業者に対して担保として差し入れた金銭を示す。外国為替証拠金取引では、投資家は証拠金を担保として、証拠金よりも高額の外国通貨の売りポジションまたは買いポジションを取ることができる。投資家は、保有しているポジションを反対売買により決済することにより、為替変動に応じた損益を得る。 Here, the margin and the order margin will be described. Margin indicates the amount of money that an investor has pledged as collateral to a financial instruments business operator. In Forex Margin Trading, an investor can take a sell or buy position in a foreign currency higher than the margin with the margin as collateral. Investors obtain profit or loss according to exchange rate fluctuations by closing the positions they hold by counter-trading.

以下の説明では、投資家が差し入れた証拠金から、投資家が保有しているポジションを時価評価した場合の損益を差し引いた金額を、有効証拠金と呼ぶ。有効証拠金は、保有しているポジションをすべて時価で決済した場合に、投資家の手元に残る証拠金に相当する金額である。 In the following explanation, the amount obtained by subtracting the profit and loss when the position held by the investor is marked to market from the margin deposited by the investor is called the effective margin. The effective margin is the amount equivalent to the margin that remains in the hands of the investor when all the positions held are settled at the market price.

同様に、投資家が保有しているポジションを取得した際の価格に対して所定の証拠金率を積算した金額を、必要証拠金と呼ぶ。投資家は、必要証拠金以上の有効証拠金を維持する必要がある。仮に有効証拠金が必要証拠金を下回った場合には、金融商品取引業者は投資家が保有しているポジションを強制的に決済する、いわゆるロスカットを行う。ロスカットにより、差し入れた証拠金以上の損失を投資家がこうむることを防止することができる。 Similarly, the amount obtained by adding a predetermined margin rate to the price at the time of acquiring a position held by an investor is called a required margin. Investors need to maintain a valid margin above the required margin. If the effective margin is less than the required margin, the financial instruments business operator forcibly settles the position held by the investor, so-called loss cut. Stop-loss insurance can prevent investors from incurring losses beyond the margin they have deposited.

投資家が新たなポジションを取得した場合には、取得価格に応じて必要証拠金が増加する。仮に、有効証拠金が増加後の必要証拠金を下回った場合には、ポジションを取得した直後にロスカットが発生して投資家が損失をうける可能性がある。 When an investor acquires a new position, the required margin increases according to the acquisition price. If the effective margin is less than the required margin after the increase, a loss cut may occur immediately after the position is acquired and the investor may suffer a loss.

このような損失を避けるため、新規注文を行う場合には、約定した場合の投資家の有効証拠金が十分であるか否かを確認することが望ましい。本実施の形態においては、CPU12は、式(1)に基づいてそれぞれの新規注文に対する発注証拠金を算出し、受注DB52の発注証拠金フィールドに記録する。
発注証拠金=約定見込価格×取引金額×証拠金率 ‥‥‥ (1)
発注証拠金は、約定見込価格の為替レートで新規注文が約定した場合に増加する必要証拠金の金額である。
In order to avoid such losses, when placing a new order, it is desirable to confirm whether the investor's effective margin in the case of execution is sufficient. In the present embodiment, the CPU 12 calculates the order margin for each new order based on the equation (1) and records it in the order margin field of the order DB 52.
Margin for order = Expected contract price x Transaction amount x Margin rate ‥‥‥ (1)
The order margin is the amount of margin required that increases when a new order is executed at the exchange rate of the expected execution price.

投資家から新規注文を受け付けた場合には、CPU12はその新規注文に対する発注証拠金を算出する。CPU12は、受け付けた新規注文を含む未約定の注文に関する発注証拠金の合計額である合計発注証拠金を算出する。CPU12は、有効証拠金が合計発注証拠金と必要証拠金との和以上である場合には、新規注文を受け付ける。CPU12は、有効証拠金が合計発注証拠金と必要証拠金との和未満である場合には、新規注文を受け付けない。 When a new order is received from an investor, the CPU 12 calculates an order margin for the new order. The CPU 12 calculates a total order margin, which is the total amount of order margin for unfilled orders including new orders received. The CPU 12 accepts a new order when the effective margin is equal to or greater than the sum of the total order margin and the required margin. The CPU 12 does not accept a new order if the effective margin is less than the sum of the total order margin and the required margin.

以上により、CPU12は、約定した直後に必要証拠金が有効証拠金を超えてロスカットが起きる可能性の高い新規注文を防止することができる。 As described above, the CPU 12 can prevent a new order in which the required margin exceeds the effective margin and a loss cut is likely to occur immediately after the execution.

CPU12は、投資家からの注文を受け付けた日時における市場価格を式(1)の約定見込価格に使用することができる。CPU12は、図4を使用して説明したHLDB43から最新のレコードを抽出し、任意の判定時間幅ΔTのHフィールドに記録された値を約定見込価格に使用することもできる。このようにすることにより、実際に約定した際に増加する必要証拠金が式(1)に基づいて算出した発注証拠金を大きく上回り、ロスカットが起きる可能性を低減できる。 The CPU 12 can use the market price at the date and time when the order from the investor is received as the expected contract price of the formula (1). The CPU 12 can also extract the latest record from the HDDB43 described with reference to FIG. 4 and use the value recorded in the H field of any determination time width ΔT for the estimated contract price. By doing so, the required margin that increases when the contract is actually executed greatly exceeds the order margin calculated based on the equation (1), and the possibility of loss cut can be reduced.

CPU12は、投資家からの注文を受け付けた日時における市場価格に所定の安全係数を積算した値を式(1)の約定見込価格に使用することができる。安全係数には1以上の任意の数値を使用することができる。このようにすることにより、投資家が市場価格の変動が激しい通貨ペアを発注して約定した場合に、ロスカットが起こる可能性を低減できる。 The CPU 12 can use a value obtained by adding a predetermined safety factor to the market price at the date and time when the order from the investor is received for the estimated contract price of the equation (1). Any numerical value of 1 or more can be used for the safety factor. By doing so, it is possible to reduce the possibility of loss cut when an investor orders and executes a currency pair whose market price fluctuates sharply.

CPU12は、投資家の投資実績および保有資産等の条件、発注する通貨ペアおよび外国為替市場の状況等により、安全係数を変更しても良い。 The CPU 12 may change the safety factor depending on the investment performance of the investor, the conditions such as the assets held, the currency pair to be ordered, the situation of the foreign exchange market, and the like.

図9は、投資家クライアント31の入力画面例を示す説明図である。投資家クライアント31は、ネットワークを介して投資家サーバ11から受信した情報に基づいてディスプレイに図9に示す入力画面を表示する。投資家クライアント31は、タッチパネル、キーボードまたはマウスなどの入力機器を介して、投資家による入力を受け付け、ネットワークを介して投資家サーバ11に送信する。なお、投資家サーバ11と投資家クライアント31との間の通信は、SSL(Secure Sockets Layer)等の暗号化技術により、セキュリティを確保する。 FIG. 9 is an explanatory diagram showing an example of an input screen of the investor client 31. The investor client 31 displays the input screen shown in FIG. 9 on the display based on the information received from the investor server 11 via the network. The investor client 31 receives input by the investor via an input device such as a touch panel, a keyboard, or a mouse, and transmits the input to the investor server 11 via the network. The communication between the investor server 11 and the investor client 31 is ensured by an encryption technique such as SSL (Secure Sockets Layer).

入力画面は、通貨ペア欄61、金額欄62、新規欄63、決済欄64および成立反復欄65を含む。新規欄63は、新規種別欄631および新規注文欄632を含む。決済欄64は、決済種別欄641、利益確定注文欄642およびストップ注文欄643を含む。なお、図9においては、選択されている項目を二重線で囲んで示す。 The input screen includes a currency pair field 61, an amount field 62, a new field 63, a settlement field 64, and a successful establishment repeat field 65. The new column 63 includes a new type column 631 and a new order column 632. The settlement column 64 includes a settlement type column 641, a profit-taking order column 642, and a stop order column 643. In FIG. 9, the selected item is shown by being surrounded by a double line.

CPU12は、通貨ペア欄61を介して、投資家が取引する通貨ペアを受け付ける。CPU12は、金額欄62を介して、投資家が取引する金額を受け付ける。CPU12は、新規種別欄631を介して、「売」または「買」のどちらの新規注文であるかを受け付ける。なお、CPU12は、決済種別欄641に新規種別欄631で受け付けた注文の反対取引が選択された状態を表示する。 The CPU 12 accepts currency pairs traded by investors via the currency pair column 61. The CPU 12 accepts an amount to be traded by an investor via the amount column 62. The CPU 12 accepts whether the new order is "sell" or "buy" via the new type column 631. The CPU 12 displays a state in which the opposite transaction of the order received in the new type column 631 is selected in the settlement type column 641.

CPU12は、新規注文欄632を介して新規注文の執行条件およびパラメータを受け付ける。CPU12は、利益確定注文欄642を介して利益確定注文の執行条件およびパラメータを受け付ける。CPU12は、ストップ注文欄643を介してストップ注文の執行条件およびパラメータを受け付ける。 The CPU 12 accepts execution conditions and parameters of a new order via the new order field 632. The CPU 12 accepts execution conditions and parameters of a profit-taking order via the profit-taking order column 642. The CPU 12 accepts the execution conditions and parameters of the stop order via the stop order column 643.

CPU12は、成立反復欄65を介して決済注文が約定した後に再度同じ注文を反復するか否かを受け付ける。図9において「Off」は注文の反復を行わないことを意味する。「PL+Repeat」は、決済注文が約定した際に利益が出た場合には同一条件の注文を反復し、利益が出なかった場合には反復を行わないことを意味する。 The CPU 12 accepts whether or not to repeat the same order again after the settlement order is filled through the establishment repetition column 65. In FIG. 9, "Off" means that the order is not repeated. "PL + Repeat" means that an order with the same conditions is repeated when a profit is generated when a settlement order is executed, and no repetition is performed when a profit is not generated.

図10は、デルタ注文による新規注文を説明する説明図である。縦軸は市場価格を示す。横軸は時間を示す。黒丸は、各時間における市場価格を示す。図10を使用してデルタ注文について説明する。 FIG. 10 is an explanatory diagram illustrating a new order by a delta order. The vertical axis shows the market price. The horizontal axis shows time. Black circles indicate the market price at each time. A delta order will be described with reference to FIG.

市場価格は、短期的にみると不規則に変動するが、長期的にみると上昇トレンド相場と下降トレンド相場とを繰り返して周期的に変動する場合が多いことが経験的に知られている。また、トレンド相場の間では、市場価格が狭い価格帯の範囲で変動するいわゆるレンジ相場が発生する場合が多いことも経験的に知られている。 It is empirically known that the market price fluctuates irregularly in the short term, but in the long term, it often fluctuates periodically by repeating the uptrend market and the downtrend market. It is also empirically known that, among trend markets, so-called range markets, in which market prices fluctuate within a narrow price range, often occur.

投資家は、市場価格がどのように変動するかを予測して、投資を行う。特に、レンジ相場から上昇トレンド相場に移行するタイミングで取った買いポジションを上昇トレンド相場の終了時に決済すること、およびレンジ相場から下降トレンド相場に移行するタイミングで取った売りポジションを上昇トレンド相場の終了時に決済することにより、投資家は効率良く利益を得ることができる。 Investors make investments by predicting how market prices will fluctuate. In particular, the buy position taken at the timing of transition from the range market to the uptrend market is settled at the end of the uptrend market, and the sell position taken at the timing of transition from the range market to the downtrend market is closed at the end of the uptrend market. Investors can efficiently profit by making payments from time to time.

図10において、現在時刻をtAで示す。時刻tAにおける市場価格はAである。判定時間幅ΔTの時間Tの開始時刻が時刻tS、終了時刻が時刻tEである。ここで時刻tEは、時刻tAの一つ前のタイムスタンプである。時刻tSから時刻tEまでの時間内における最低市場価格Lおよび最高市場価格Hを図10にHおよびLの記号で示す。 In FIG. 10, the current time is indicated by t A. The market price at time t A is A. The start time of the time T of the determination time width ΔT is the time t S , and the end time is the time t E. Here, the time t E is a time stamp immediately before the time t A. The lowest market price L and the highest market price H in the time from time t S to time t E are indicated by symbols H and L in FIG.

図4を使用して説明したHLDB43の一つのレコードのタイムスタンプフィールドに時刻tEが、市場価格フィールドに時刻tEにおける市場価格Eが、Lフィールドに最低市場価格Lが、Hフィールドに最高市場価格Hがそれぞれ記録されている。 Time t E is in the time stamp field of one record of HLDB43 described using FIG. 4, market price E at time t E is in the market price field, lowest market price L is in L field, and highest market is in H field. The price H is recorded respectively.

市場価格が上昇トレンド相場に入った場合には、図10に示すように、市場価格Aと最低市場価格Lとの差が、単位判定価格幅ΔPと判定時間幅ΔTとの積である判定価格幅よりも大きくなる。CPU12は、デルタ注文の条件が満たされたと判定して、約定を行う。ここで、単位判定価格幅ΔPおよび判定時間幅ΔTは、デルタ注文に関するパラメータである。 When the market price enters the upward trend market, as shown in FIG. 10, the difference between the market price A and the lowest market price L is the judgment price which is the product of the unit judgment price width ΔP and the judgment time width ΔT. It will be larger than the width. The CPU 12 determines that the conditions for the delta order are satisfied, and executes the execution. Here, the unit determination price width ΔP and the determination time width ΔT are parameters related to the delta order.

以上に説明したデルタ注文について、簡単にまとめる。判定時間幅ΔTは、市場価格が上昇トレンド相場または下降トレンド相場に入ったか否かを判定する時間幅を示すパラメータである。単位判定価格幅ΔPは、市場価格が上昇トレンド相場または下降トレンド相場に入ったか否かを判定する単位時間あたりの価格幅を示すパラメータである。 The delta orders described above are briefly summarized. The determination time width ΔT is a parameter indicating the time width for determining whether or not the market price has entered the uptrend market or the downtrend market. The unit determination price range ΔP is a parameter indicating the price range per unit time for determining whether or not the market price has entered the uptrend market or the downtrend market.

本実施の形態においては、CPU12は、市場価格Aと最低市場価格Lとの差が単位判定価格幅ΔPと判定時間幅ΔTとの積である判定価格幅を超えたことを、市場価格が上昇トレンド相場に入ったことを示す指標に使用する。同様に、CPU12は、最高市場価格Hと市場価格Aとの差が単位判定価格幅ΔPと判定時間幅ΔTとの積である判定価格幅を超えたことを、市場価格が下降トレンド相場に入ったことを示す指標に使用する。 In the present embodiment, the market price of the CPU 12 rises when the difference between the market price A and the minimum market price L exceeds the determination price range, which is the product of the unit determination price width ΔP and the determination time width ΔT. It is used as an indicator that the market has entered the trend market. Similarly, in the CPU 12, the market price enters the downtrend market when the difference between the highest market price H and the market price A exceeds the judgment price range which is the product of the unit judgment price width ΔP and the judgment time width ΔT. It is used as an index to indicate that.

図10に示すように、CPU12が、市場価格が上昇トレンド相場に入った直後である時刻tAに価格Aで買いポジションを取り、市場価格が十分に上昇した時刻tBに市場価格Bで決済することにより、価格Bと価格Aの差額に対応する利益が生じる。同様に、CPU12が、市場価格が下降トレンド相場に入った直後に売りポジションを取り、市場価格が十分に下落した後に決済することにより、売却価格と購入価格の差額に対応する利益が生じる。 As shown in FIG. 10, the CPU 12 takes a buy position at the price A at the time t A immediately after the market price enters the upward trend market, and settles at the market price B at the time t B when the market price rises sufficiently. By doing so, a profit corresponding to the difference between the price B and the price A is generated. Similarly, the CPU 12 takes a sell position immediately after the market price enters the downtrend market and settles after the market price has fallen sufficiently, so that a profit corresponding to the difference between the sell price and the purchase price is generated.

図10において、たとえば、tAに取得した市場価格Aは第1市場価格の一例である。このとき、tAより後に取得した市場価格は、第2市場価格の一例である。 In FIG. 10, for example, the market price A acquired in t A is an example of the first market price. At this time, the market price acquired after t A is an example of the second market price.

上昇トレンド相場が生じると予測している投資家は、デルタ注文による買い注文を指示する。市場価格の推移を投資家自身がリアルタイムで監視しなくても、上昇トレンド相場が生じた場合にはCPU12が自動的に有利なポジションを取る処理を行う。予測が外れて上昇トレンド相場が生じない場合には、CPU12は買いポジションを取る処理を行わないため、損失の発生を回避することが可能である。 Investors who anticipate an uptrend market will direct buy orders by delta orders. Even if the investor does not monitor the transition of the market price in real time, the CPU 12 automatically takes an advantageous position when an uptrend market price occurs. If the forecast is wrong and the uptrend market price does not occur, the CPU 12 does not perform the process of taking a buy position, so that it is possible to avoid the occurrence of a loss.

下降トレンド相場が生じると予測している投資家は、デルタ注文による売り注文を指示する。市場価格の推移を投資家自身がリアルタイムで監視しなくても、下降トレンド相場が生じた場合にはCPU12が自動的に有利なポジションを取る処理を行う。予測が外れて下降トレンド相場が生じない場合には、CPU12は売りポジションを取る処理を行わないため、損失の発生を回避することが可能である。 Investors who anticipate a downtrend market will direct sell orders by delta orders. Even if the investor does not monitor the transition of the market price in real time, the CPU 12 automatically takes an advantageous position when a downtrend market occurs. If the forecast is wrong and the downtrend market price does not occur, the CPU 12 does not perform the process of taking a sell position, so that it is possible to avoid the occurrence of a loss.

CPU12は、最小値幅単位pipsに基づいて単位判定価格幅ΔPおよび判定時間幅ΔTの入力を受け付けても良い。様々な為替ペアを扱う投資家である場合、pipsを使用することにより、外国為替の値動きを把握しやすい場合がある。 The CPU 12 may accept inputs of the unit determination price width ΔP and the determination time width ΔT based on the minimum price range unit pips. If you are an investor dealing with various exchange pairs, it may be easier to grasp the price movement of foreign exchange by using pips.

CPU12は、単位判定価格幅ΔPの代わりに、判定価格幅の入力を受け付けても良い。判定時間幅ΔTと、判定価格幅とを別々に考慮したい投資家の要望に対応することが可能である。 The CPU 12 may accept an input of the determination price range instead of the unit determination price range ΔP. It is possible to meet the demands of investors who want to consider the judgment time width ΔT and the judgment price width separately.

CPU12は、単位判定価格幅ΔPを市場価格に対する相対値により受け付けても良い。たとえば、注文入力時の市場価格、最高市場価格H、最低市場価格L、または最高市場価格Hと最低市場価格Lとの平均値のいずれかに対する5%のように定めることができる。 The CPU 12 may accept the unit determination price range ΔP as a relative value to the market price. For example, it can be set as 5% of the market price at the time of order entry, the highest market price H, the lowest market price L, or the average value of the highest market price H and the lowest market price L.

図11は、相対トリガトレール注文による決済注文を説明する説明図である。縦軸は市場価格を示す。横軸は時間を示す。黒丸は、各時間における市場価格を示す。図10を使用して相対トリガトレール注文について説明する。 FIG. 11 is an explanatory diagram illustrating a settlement order by a relative trigger trail order. The vertical axis shows the market price. The horizontal axis shows time. Black circles indicate the market price at each time. A relative trigger trail order will be described with reference to FIG.

トレール注文は、市場価格の上昇幅、または下落幅に合わせて、逆指値注文の価格をリアルタイムで自動修正する注文方法であり、ストップ注文に利用されている。相対トリガトレール注文においては、トレール注文の初期値を相対的に定める。 Trail ordering is an ordering method that automatically corrects the price of stop orders in real time according to the rise or fall of the market price, and is used for stop orders. In the relative trigger trail order, the initial value of the trail order is relatively determined.

時刻tAにおいて、市場価格Aで買いポジションを取った場合を例にして説明する。ここで買いポジションは、図9を使用して説明したデルタ注文を使用して取ることができる。また従来から広く使用されている指値注文または成行き注文により買いポジションを取っても良い。 The case where a buy position is taken at the market price A at time t A will be described as an example. Here the buy position can be taken using the delta order described with reference to FIG. In addition, a buy position may be taken by a limit order or a market order that has been widely used in the past.

CPU12は、買いポジション価格である市場価格Aに利益確定注文のトリガ幅ΔTgを加算した価格を、相対トリガトレール注文のトリガ価格Trigに設定する。CPU12は、買いポジション価格である市場価格Aからストップ注文のトレール幅ΔSを減算した価格S1をストップ注文価格に設定する。ストップ注文価格は、保有しているポジションを反対売買により決済して、損切りを行うストップ注文を実施する逆指値である。 The CPU 12 sets the price obtained by adding the trigger width ΔTg of the profit-taking order to the market price A, which is the buy position price, as the trigger price Trig of the relative trigger trail order. The CPU 12 sets the stop order price as the price S1 obtained by subtracting the trail width ΔS of the stop order from the market price A which is the buy position price. The stop order price is a stop order for executing a stop order in which the held position is settled by counter-trading and the loss is cut off.

CPU12は、市場価格を逐次取得する。時刻t23における市場価格P23からストップ注文のトレール幅ΔSを減算した価格S2が価格S1より高いので、CPU12はストップ注文価格を価格S2に変更する。同様に、時刻t24における市場価格P24からストップ注文のトレール幅ΔSを減算した価格S3が価格S2より高いので、CPU12は、時刻t24においてストップ注文価格を価格S3に変更する。 The CPU 12 sequentially acquires the market price. Since the price S2 obtained by subtracting the trail width ΔS of the stop order from the market price P23 at the time t23 is higher than the price S1, the CPU 12 changes the stop order price to the price S2. Similarly, since the price S3 obtained by subtracting the trail width ΔS of the stop order from the market price P24 at the time t24 is higher than the price S2, the CPU 12 changes the stop order price to the price S3 at the time t24.

時刻t25において、CPU12は市場価格P25がトリガ価格Trigを上回ると判定する。CPU12は、市場価格P25から利益確定注文のトレール幅ΔRを減算した価格M1をトレール価格に設定する。トレール価格は、保有しているポジションを反対売買により決済して、利益を確定する逆指値注文を行う価格である。さらに時刻t25において、CPU12は、ストップ注文を取り消す。 At time t25, the CPU 12 determines that the market price P25 exceeds the trigger price Trig. The CPU 12 sets the trail price M1 obtained by subtracting the trail width ΔR of the profit-taking order from the market price P25. The trail price is the price at which a stop order is placed to settle the position held by counter-trading and confirm the profit. Further, at time t25, the CPU 12 cancels the stop order.

時刻t26における市場価格P26からトレール幅ΔRを減算した価格M2がトレール価格M1より高いので、CPU12は価格M2をトレール価格に設定する。時刻tBにおける市場価格Bがトレール価格M2以下であるので、CPU12は利益確定注文を実施する。 Since the price M2 obtained by subtracting the trail width ΔR from the market price P26 at the time t26 is higher than the trail price M1, the CPU 12 sets the price M2 to the trail price. Since the market price B at time t B is equal to or less than the trail price M2, the CPU 12 executes a profit-taking order.

以上に説明した相対トリガトレール注文について、簡単にまとめる。利益確定注文のトリガ幅ΔTgは、相対トリガトレール注文のトレール開始価格を定めるパラメータである。利益確定注文のトレール幅ΔRは、相対トリガトレール注文の逆指値の変動量を定めるパラメータである。 The relative trigger trail orders described above are briefly summarized. The trigger width ΔTg of the profit-taking order is a parameter that determines the trail starting price of the relative trigger trail order. The trail width ΔR of the profit-taking order is a parameter that determines the fluctuation amount of the stop price of the relative trigger trail order.

本実施の形態においては、CPU12は、トレール価格のトレールを開始するトリガ価格を、ポジションの取得価格を基準にして相対的に設定する。図10を使用して説明したデルタ注文のように、約定するまでポジションの価格が定まらない場合であっても、CPU12は、投資家が期待する水準および方向の市場価格変動が生じた後に利益確定注文のトレールを開始する。 In the present embodiment, the CPU 12 relatively sets the trigger price for starting the trail of the trail price with respect to the acquisition price of the position. Even if the price of the position is not fixed until it is filled, as in the delta order described using FIG. 10, the CPU 12 will take profit after the market price fluctuations in the level and direction expected by the investor occur. Start the trail of the order.

図11においては、買いポジションを取り、売り決済を行う場合を例にして説明した。同様にして、売りポジションを取り、買い決済を行う場合であっても、CPU12は相対トリガトレール注文を実施することが可能である。 In FIG. 11, a case where a buy position is taken and a sell settlement is performed has been described as an example. Similarly, even when a sell position is taken and a buy settlement is performed, the CPU 12 can execute a relative trigger trail order.

外国為替取引においては、ネットワークのタイムラグ等により指値注文であっても注文価格と約定価格とが異なる、いわゆるスリッページが生じる場合がある。相対トリガトレール注文を使用することにより、スリッページが生じた場合であっても、CPU12は、ポジションの約定価格を基準として利益確定注文のトレールを開始するトリガ価格を定めることが可能である。 In foreign exchange trading, so-called slippage may occur in which the order price and the contract price are different even for limit orders due to network time lag. By using a relative trigger trail order, the CPU 12 can determine the trigger price to start the trail of the profit taking order based on the contract price of the position even if slippage occurs.

図12は、受注DB52のレコードレイアウトを示す説明図である。図13は、発注DB53のレコードレイアウトを示す説明図である。図6から図13を使用して、CPU12が行う処理の概要を説明する。また受注DB52および発注DB53の、トリガ値フィールド、トリガ幅フィールド、トレール幅フィールド、ΔPフィールドおよびΔTフィールドに記録される各パラメータについても説明する。 FIG. 12 is an explanatory diagram showing the record layout of the order DB 52. FIG. 13 is an explanatory diagram showing a record layout of the order DB 53. The outline of the process performed by the CPU 12 will be described with reference to FIGS. 6 to 13. Further, each parameter recorded in the trigger value field, the trigger width field, the trail width field, the ΔP field, and the ΔT field of the order DB 52 and the order DB 53 will be described.

図6は、図9を使用して説明した画面を介してCPU12が取得した3件の新規注文およびそれぞれの決済注文が記録された状態の受注DB52を示す。注文番号101はデルタ注文を使用する新規買い注文であり、注文番号102は相対トリガトレール注文を使用する決済利益確定注文、注文番号103はトレール注文を使用する決済ストップ注文である。注文番号104はデルタ注文を使用する新規売り注文であり、注文番号105は相対トリガトレール注文を使用する決済利益確定注文、注文番号106はトレール注文を使用する決済ストップ注文である。注文番号107は、指値注文を使用する新規買い注文であり、注文番号108は指値注文を使用する決済利益確定注文、注文番号106は逆指値注文を使用する決済ストップ注文である。 FIG. 6 shows an order DB 52 in a state in which three new orders acquired by the CPU 12 and each settlement order are recorded via the screen described with reference to FIG. Order number 101 is a new buy order using a delta order, order number 102 is a settlement profit taking order using a relative trigger trail order, and order number 103 is a settlement stop order using a trail order. Order number 104 is a new sell order using a delta order, order number 105 is a settlement profit taking order using a relative trigger trail order, and order number 106 is a settlement stop order using a trail order. Order number 107 is a new buy order using a limit order, order number 108 is a settlement profit taking order using a limit order, and order number 106 is a settlement stop order using a stop order.

注文番号101および注文番号104は、デルタ注文であるので注文価格が未定である。そのため、注文価格フィールドに「-」が記録されている。図10を使用して説明したデルタ注文のパラメータである単位判定価格幅ΔPおよび判定時間幅ΔTが、ΔPフィールドおよびΔTフィールドにそれぞれ記録されている。トリガ値、トリガ幅およびトレール幅のパラメータは指定されていないので、これらのフィールドには「-」が記録されている。 Since the order number 101 and the order number 104 are delta orders, the order prices are undecided. Therefore, "-" is recorded in the order price field. The unit determination price width ΔP and the determination time width ΔT, which are the parameters of the delta order described with reference to FIG. 10, are recorded in the ΔP field and the ΔT field, respectively. Since the trigger value, trigger width and trail width parameters are not specified, "-" is recorded in these fields.

注文番号102および注文番号105は、注文価格が未定である。そのため、注文価格フィールドに「-」が記録されている。図11を使用して説明した相対トリガトレール注文のパラメータであるトリガ幅ΔTgおよびトレール幅ΔRが、トリガ幅フィールドおよびトレール幅フィールドにそれぞれ記録されている。トリガ値、単位判定価格幅ΔPおよび判定時間幅ΔTは指定されていないので、これらのフィールドには「-」が記録されている。 The order prices of order number 102 and order number 105 are undecided. Therefore, "-" is recorded in the order price field. The trigger width ΔTg and trail width ΔR, which are the parameters of the relative trigger trail order described with reference to FIG. 11, are recorded in the trigger width field and the trail width field, respectively. Since the trigger value, the unit determination price width ΔP, and the determination time width ΔT are not specified, “−” is recorded in these fields.

注文番号103および注文番号106も、注文価格が未定である。そのため、注文価格フィールドに「-」が記録されている。図11を使用して説明したトレール注文のパラメータであるトレール幅ΔSが、トレール幅フィールドに記録されている。トリガ値、トリガ幅、単位判定価格幅ΔPおよび判定時間幅ΔTは指定されていないので、これらのフィールドには「-」が記録されている。 The order prices of order numbers 103 and 106 are also undecided. Therefore, "-" is recorded in the order price field. The trail width ΔS, which is a parameter of the trail order described with reference to FIG. 11, is recorded in the trail width field. Since the trigger value, the trigger width, the unit determination price width ΔP, and the determination time width ΔT are not specified, “−” is recorded in these fields.

注文番号107から109は、指値注文および逆指値注文であるので、注文価格フィールドに価格が記録されている。トリガ値、トリガ幅、トレール幅、単位判定価格幅ΔPおよび判定時間幅ΔTは指定されていないので、これらのフィールドには「-」が記録されている。 Since order numbers 107 to 109 are limit orders and stop orders, the price is recorded in the order price field. Since the trigger value, the trigger width, the trail width, the unit determination price width ΔP, and the determination time width ΔT are not specified, “−” is recorded in these fields.

新規注文である、注文番号101、注文番号104および注文番号107の注文状況フィールドに「注文中」と記録されている。新規注文が約定していないため、それぞれの新規注文に関連する決済注文の注文状況フィールドには「待機中」と記録されている。 "Ordering" is recorded in the order status fields of the new orders, order number 101, order number 104 and order number 107. Since the new order has not been filled, the order status field of the settlement order associated with each new order is recorded as "waiting".

CPU12は、図6を使用して説明した受注DB52を参照して注文状況フィールドに「注文中」と記録されているレコードを抽出し、注文番号フィールドをキーとして発注DB53と照合する。受注DB52から抽出したレコードに発注DB53に記録されていないレコードがある場合には、CPU12は該当するレコードを発注DB53に複写する。図7は、複写が完了した状態の発注DB53を示す。 The CPU 12 extracts a record in which "ordering" is recorded in the order status field with reference to the order DB 52 described with reference to FIG. 6, and collates it with the order DB 53 using the order number field as a key. If the record extracted from the order DB 52 includes a record that is not recorded in the order DB 53, the CPU 12 copies the corresponding record to the order DB 53. FIG. 7 shows an order DB 53 in a state where copying is completed.

CPU12は、発注DB53に記録されている各レコードについて、執行条件、各パラメータおよび市場価格に基づき約定可否を判定する。約定可能ではないと判定した場合には、市場価格を取得しなおして、約定可否を判定することを繰り返す。なお、注文価格フィールドに注文価格が記録されていないレコードについては、CPU12は執行条件およびパラメータにより示される条件が満たされたと判定した後に、約定可否を判定する。 The CPU 12 determines whether or not the contract can be executed for each record recorded in the order DB 53 based on the execution conditions, the parameters, and the market price. If it is determined that the contract is not possible, the market price is reacquired and the determination of whether or not the contract is possible is repeated. For the record in which the order price is not recorded in the order price field, the CPU 12 determines whether or not the contract can be executed after it is determined that the execution condition and the condition indicated by the parameter are satisfied.

約定可能であると判定した場合には、発注DB53は所定の取引プロトコルに従って取引相手との間で約定を行う。金融商品の取引プロトコルは従来から使用されているので説明を省略する。 If it is determined that the contract is possible, the order DB 53 makes a contract with the trading partner according to a predetermined transaction protocol. Since the transaction protocol for financial instruments has been used conventionally, the description thereof will be omitted.

なお、CPU12は、発注DB53に記録されている複数のレコードに対する処理を並行して実施する。 The CPU 12 performs processing on a plurality of records recorded in the order DB 53 in parallel.

図12は、注文番号101が約定した後の受注DB52を示す。CPU12は、注文番号101のレコードの注文状況フィールドに、「約定」を記録する。CPU12は、受注DB52の親注文番号フィールドを検索して、注文番号101に対応する決済注文である注文番号102および注文番号103を抽出する。CPU12は、注文番号102および注文番号103のレコードの注文状況フィールドに「注文中」を記録する。 FIG. 12 shows the order DB 52 after the order number 101 is executed. The CPU 12 records the "contract" in the order status field of the record of the order number 101. The CPU 12 searches the parent order number field of the order DB 52 and extracts the order number 102 and the order number 103, which are settlement orders corresponding to the order number 101. The CPU 12 records "ordering" in the order status field of the record of the order number 102 and the order number 103.

CPU12は、約定済の注文番号101に対応するレコードを、図7を使用して説明した発注DB53から削除する。CPU12は、図12を使用して説明した受注DB52を参照して注文状況フィールドに「注文中」と記録されているレコードを抽出し、注文番号フィールドをキーとして発注DB53と照合する。受注DB52から抽出したレコードのうち注文番号102および注文番号103は発注DB53に記録されていない。したがって、CPU12は注文番号102および注文番号103に対応するレコードを発注DB53に複写する。 The CPU 12 deletes the record corresponding to the executed order number 101 from the order DB 53 described with reference to FIG. 7. The CPU 12 extracts a record recorded as "ordering" in the order status field with reference to the order DB 52 described with reference to FIG. 12, and collates it with the order DB 53 using the order number field as a key. Of the records extracted from the order DB 52, the order number 102 and the order number 103 are not recorded in the order DB 53. Therefore, the CPU 12 copies the records corresponding to the order number 102 and the order number 103 to the order DB 53.

CPU12は、相対トリガトレール注文である注文番号102のレコードのトリガ値フィールドに、ポジションの約定価格にトリガ幅ΔTgを加算した値を記録する。CPU12は、トレール注文である注文番号103のレコードの注文価格フィールドに、ポジションの約定価格にトレール幅ΔSを加算した値を記録する。以上の処理が完了した状態の発注DB53を、図13に示す。 The CPU 12 records a value obtained by adding the trigger width ΔTg to the contract price of the position in the trigger value field of the record of the order number 102 which is a relative trigger trail order. The CPU 12 records a value obtained by adding the trail width ΔS to the contract price of the position in the order price field of the record of the order number 103 which is a trail order. FIG. 13 shows an order DB 53 in a state where the above processing is completed.

CPU12は、発注DB53に追加されたレコードを含む各レコードについて、執行条件、各パラメータおよび市場価格に基づき約定可否を判定する。 The CPU 12 determines whether or not to execute the contract based on the execution conditions, the parameters, and the market price for each record including the record added to the order DB 53.

図14は、レート記録サーバ21のプログラムの処理の流れを示すフローチャートである。図14を使用して、本実施の形態のレート記録CPU22がHLDB43を生成する処理の流れを説明する。 FIG. 14 is a flowchart showing a processing flow of the program of the rate recording server 21. FIG. 14 will be used to describe a flow of processing in which the rate recording CPU 22 of the present embodiment generates the HLDB43.

レート記録CPU22は、ネットワークを介して金融機関サーバ32が提示する市場価格を取得する(ステップS501)。レート記録CPU22は、図4を使用して説明したHDDB43に新しいレコードを作成し、タイムスタンプおよび市場価格をそれぞれのフィールドに記録する(ステップS502)。 The rate recording CPU 22 acquires the market price presented by the financial institution server 32 via the network (step S501). The rate recording CPU 22 creates a new record in the HDD B43 described with reference to FIG. 4 and records the time stamp and the market price in their respective fields (step S502).

レート記録CPU22は、カウンタIを初期値1に設定する(ステップS503)。レート記録CPU22は、図3を使用して説明したデルタTDB42から番号フィールドがカウンタIと一致するレコードを抽出し、ΔTフィールドに記録された判定時間幅ΔTを取得する(ステップS504)。 The rate recording CPU 22 sets the counter I to the initial value 1 (step S503). The rate recording CPU 22 extracts a record whose number field matches the counter I from the delta TDB 42 described with reference to FIG. 3, and acquires the determination time width ΔT recorded in the ΔT field (step S504).

レート記録CPU22は、HDDB43のタイムスタンプフィールドおよび市場価格フィールドを参照して、直近の判定時間幅ΔTの時間内の市場価格の最高値Hを抽出する(ステップS505)。レート記録CPU22は、HDDB43のタイムスタンプフィールドおよび市場価格フィールドを参照して、直近の判定時間幅ΔTの時間内の市場価格の最低値Lを抽出する(ステップS506)。レート記録CPU22は、ステップS502で作成したレコードの判定時間幅ΔTに対応するLフィールドに最低値Lを、Hフィールドに最高値Hをそれぞれ記録する(ステップS507)。 The rate recording CPU 22 refers to the time stamp field and the market price field of the HDD B43 to extract the highest value H of the market price within the time of the latest determination time width ΔT (step S505). The rate recording CPU 22 refers to the time stamp field and the market price field of the HDD B43 to extract the lowest value L of the market price within the time of the latest determination time width ΔT (step S506). The rate recording CPU 22 records the minimum value L in the L field corresponding to the determination time width ΔT of the record created in step S502 and the maximum value H in the H field (step S507).

レート記録CPU22は、デルタTDB42のすべてのレコードの処理を終了したか否かを判定する(ステップS508)。終了していないと判定した場合(ステップS508でNO)、レート記録CPU22はステップS504に戻る。終了したと判定した場合(ステップS508でYES)、レート記録CPU22はプログラムを終了するか否かを判定する(ステップS509)。ここでプログラムを終了すると判定する場合とは、金融商品取引業者から終了の指示を受け付けた場合である。 The rate recording CPU 22 determines whether or not the processing of all the records of the delta TDB 42 has been completed (step S508). If it is determined that the process has not been completed (NO in step S508), the rate recording CPU 22 returns to step S504. When it is determined that the program has been completed (YES in step S508), the rate recording CPU 22 determines whether or not to terminate the program (step S509). Here, the case where the program is determined to be terminated is the case where the instruction to terminate the program is received from the financial instruments business operator.

終了しないと判定した場合(ステップS509でNO)、レート記録CPU22はステップS501に戻る。終了すると判定した場合(ステップS509でYES)、レート記録CPU22は処理を終了する。 If it is determined that the process does not end (NO in step S509), the rate recording CPU 22 returns to step S501. If it is determined to end (YES in step S509), the rate recording CPU 22 ends the process.

図15は、投資家サーバ11のプログラムの処理の流れを示すフローチャートである。図15を使用して、CPU12が行う処理の流れを説明する。なお、図15は1件の新規注文受付、ポジション取得および決済の一連の処理を行うプログラムを示す。CPU12は、新規注文に対応する数のプログラムを、並行して実行する。 FIG. 15 is a flowchart showing the processing flow of the program of the investor server 11. FIG. 15 will be used to describe the flow of processing performed by the CPU 12. Note that FIG. 15 shows a program that performs a series of processing of one new order reception, position acquisition, and settlement. The CPU 12 executes a number of programs corresponding to new orders in parallel.

CPU12は、注文受付サブルーチンを起動する(ステップS521)。注文受付サブルーチンは、ネットワークを介して投資家クライアント31から注文を受け付けるサブルーチンである。注文受付サブルーチンの処理の流れは後述する。 The CPU 12 activates the order acceptance subroutine (step S521). The order acceptance subroutine is a subroutine that accepts an order from the investor client 31 via the network. The processing flow of the order acceptance subroutine will be described later.

CPU12は証拠金確認サブルーチンを起動する(ステップS523)。証拠金確認サブルーチンは、証拠金が足りるか否かを確認するサブルーチンである。証拠金確認サブルーチンの処理の流れは後述する。 The CPU 12 activates the margin confirmation subroutine (step S523). The margin confirmation subroutine is a subroutine that confirms whether or not the margin is sufficient. The flow of processing of the margin confirmation subroutine will be described later.

CPU12は、証拠金確認サブルーチンの処理結果に基づき証拠金が足りるか否かを判定する(ステップS524)。証拠金が足りると判定した場合(ステップS524でYES)、CPU12はポジション取得サブルーチンを起動する(ステップS525)。ポジション取得サブルーチンは、ステップS521で受け付けた注文に基づいて新規ポジションを取得する処理を行うサブルーチンである。ポジション取得サブルーチンの処理の流れは後述する。 The CPU 12 determines whether or not the margin is sufficient based on the processing result of the margin confirmation subroutine (step S524). When it is determined that the margin is sufficient (YES in step S524), the CPU 12 activates the position acquisition subroutine (step S525). The position acquisition subroutine is a subroutine that performs a process of acquiring a new position based on the order received in step S521. The processing flow of the position acquisition subroutine will be described later.

CPU12は、ステップS525の処理結果に基づき受注DB52を更新する(ステップS526)。具体的には、約定した場合には約定した新規注文の受注レコードの注文状況フィールドに「約定」と記録し、対応する決済注文の受注レコードの注文状況フィールドに「注文中」と記録する。期限フィールドに記録された期限が到来した等の理由で約定せずにポジション取得サブルーチンを終了した場合には、約定しなかった新規注文および対応する決済注文の注文状況フィールドに「取消」と記録する。 The CPU 12 updates the order DB 52 based on the processing result of step S525 (step S526). Specifically, when a contract is executed, "contract" is recorded in the order status field of the order record of the executed new order, and "ordering" is recorded in the order status field of the order record of the corresponding settlement order. If the position acquisition subroutine is terminated without execution due to reasons such as the deadline recorded in the deadline field, "Cancel" is recorded in the order status field of the unfilled new order and the corresponding settlement order. ..

CPU12は、ステップS525の処理結果に基づき発注DB53を更新する(ステップS527)。具体的には、CPU12は、ステップS526で処理を行った発注レコードを削除する。さらに、CPU12は、決済した新規注文に対応する決済注文に関するレコードを受注DB52から発注DB53に複写する。 The CPU 12 updates the order DB 53 based on the processing result of step S525 (step S527). Specifically, the CPU 12 deletes the order record processed in step S526. Further, the CPU 12 copies the record related to the settlement order corresponding to the settled new order from the order DB 52 to the order DB 53.

CPU12は、ステップS525で取得したポジションが存在するか否かを判定する(ステップS528)。存在すると判定した場合(ステップS528でYES)、CPU12はポジション決済サブルーチンを起動する(ステップS529)。ポジション決済サブルーチンは、保有するポジションを決済する処理を行うサブルーチンである。ポジション決済サブルーチンの処理の流れは後述する。 The CPU 12 determines whether or not the position acquired in step S525 exists (step S528). If it is determined that it exists (YES in step S528), the CPU 12 activates the position settlement subroutine (step S529). The position settlement subroutine is a subroutine that performs a process of settlement of a held position. The processing flow of the position settlement subroutine will be described later.

CPU12は、ステップS529の処理結果に基づき受注DB52を更新する(ステップS530)。具体的には、約定した決済注文の受注レコードの注文状況フィールドに「約定」と記録し、約定しなかった決済注文の受注レコードの注文状況フィールドに「取消」と記録する。 The CPU 12 updates the order DB 52 based on the processing result of step S529 (step S530). Specifically, "contract" is recorded in the order status field of the order record of the executed settlement order, and "cancellation" is recorded in the order status field of the order record of the unfilled settlement order.

CPU12は、発注DB53を更新する(ステップS531)。具体的には、ステップS529で処理を行った発注レコードを削除する。ステップS525で取得したポジションが存在しないと判定した場合(ステップS528でNO)およびステップS531の終了後、CPU12は処理を終了する。 The CPU 12 updates the order DB 53 (step S531). Specifically, the order record processed in step S529 is deleted. When it is determined that the position acquired in step S525 does not exist (NO in step S528) and after the end of step S531, the CPU 12 ends the process.

証拠金が足りないと判定した場合(ステップS524でNO)、CPU12はネットワークを介して投資家クライアント31に証拠金が不足する旨を表示する(ステップS535)。CPU12は、ステップS521で受け付けた注文に関するレコードを受注DB52および発注DB53から削除する(ステップS536)。CPU12は、その後処理を終了する。 When it is determined that the margin is insufficient (NO in step S524), the CPU 12 indicates to the investor client 31 via the network that the margin is insufficient (step S535). The CPU 12 deletes the record related to the order received in step S521 from the order DB 52 and the order DB 53 (step S536). The CPU 12 then ends the process.

図16は、注文受付サブルーチンの処理の流れを示すフローチャートである。注文受付サブルーチンは、ネットワークを介して投資家クライアント31から注文を受け付けるサブルーチンである。図16を使用して、注文受付サブルーチンの処理の流れを説明する。 FIG. 16 is a flowchart showing the processing flow of the order acceptance subroutine. The order acceptance subroutine is a subroutine that accepts an order from the investor client 31 via the network. A flow of processing of the order acceptance subroutine will be described with reference to FIG.

CPU12は、ネットワークを介して投資家クライアント31のCPUに入力画面するために必要な情報を送信する。投資家クライアント31のCPUは、投資家クライアント31の表示部に図9を使用して説明した入力画面を表示する。以下の説明では投資家クライアント31のCPUによる処理を省略して、「CPU12は、投資家クライアント31に入力画面を表示する」のように記載する(ステップS551)。 The CPU 12 transmits information necessary for input screen to the CPU of the investor client 31 via the network. The CPU of the investor client 31 displays the input screen described with reference to FIG. 9 on the display unit of the investor client 31. In the following description, the processing by the CPU of the investor client 31 is omitted, and it is described as "the CPU 12 displays the input screen on the investor client 31" (step S551).

CPU12は、入力画面を介して外国為替証拠金取引の注文の入力を受け付ける(ステップS552)。CPU12は、入力された注文にエラーがあるか否かを判定する(ステップS553)。エラーがある場合とは、たとえば新規買い注文の指値が市場価格よりも高い場合である。 The CPU 12 accepts the input of the foreign exchange margin trading order via the input screen (step S552). The CPU 12 determines whether or not there is an error in the entered order (step S553). The case where there is an error is, for example, when the limit price of a new buy order is higher than the market price.

エラーがあると判定した場合(ステップS553でYES)、CPU12はエラーの内容を投資家クライアント31に表示し(ステップS554)、ステップS551に戻る。エラーが無いと判定した場合(ステップS553でNO)、CPU12は入力を受け付けた注文に対して注文番号を付与する(ステップS555)。 If it is determined that there is an error (YES in step S553), the CPU 12 displays the content of the error on the investor client 31 (step S554), and returns to step S551. When it is determined that there is no error (NO in step S553), the CPU 12 assigns an order number to the order for which the input is accepted (step S555).

CPU12は、ステップS552で受け付けた注文内容を受注DB52に記録する(ステップS556)。CPU12はステップS552で受け付けた注文内容のうち、新規注文を発注DB53に記録する(ステップS557)。その後CPU12は処理を終了する。 The CPU 12 records the order contents received in step S552 in the order DB 52 (step S556). The CPU 12 records a new order in the order DB 53 among the order contents received in step S552 (step S557). After that, the CPU 12 ends the process.

図17は、証拠金確認サブルーチンの処理の流れを示すフローチャートである。証拠金確認サブルーチンは、証拠金が足りるか否かを確認するサブルーチンである。図17を使用して、証拠金確認サブルーチンの処理の流れを説明する。 FIG. 17 is a flowchart showing the processing flow of the margin confirmation subroutine. The margin confirmation subroutine is a subroutine that confirms whether or not the margin is sufficient. The flow of processing of the margin confirmation subroutine will be described with reference to FIG.

CPU12は、レートDB41より各外国為替の市場価格を取得する(ステップS571)。CPU12は、ネットワークを介して金融機関サーバ32から直接市場価格を取得しても良い。 The CPU 12 acquires the market price of each foreign exchange from the rate DB 41 (step S571). The CPU 12 may acquire the market price directly from the financial institution server 32 via the network.

CPU12は、変数「合計損益」を初期値0に設定する(ステップS572)。CPU12は、カウンタIを初期値1に設定する(ステップS573)。CPU12は、ポジションDB54よりI番目のポジションレコードを抽出して、式(2)に基づき時価損益を算出する(ステップS574)。
時価損益=(市場価格-約定価格)×取引金額 ‥‥‥ (2)
ここで、市場価格は、保有するポジションを反対取引により決済する際の価格である。
The CPU 12 sets the variable “total profit / loss” to the initial value 0 (step S572). The CPU 12 sets the counter I to the initial value 1 (step S573). The CPU 12 extracts the I-th position record from the position DB 54 and calculates the market value profit / loss based on the equation (2) (step S574).
Market value = (market price-contract price) x transaction amount ‥‥‥ (2)
Here, the market price is the price at which the held position is settled by the opposite transaction.

CPU12は、変数「合計損益」にステップS574で算出した時価損益を加算する(ステップS575)。CPU12は、ポジションDB54に記録されたすべてのポジションの処理を終了したか否かを判定する(ステップS576)。終了していないと判定した場合(ステップS576でNO)、CPU12は、カウンタIに1を加算する(ステップS577)。CPU12は、ステップS574に戻る。 The CPU 12 adds the market value calculated in step S574 to the variable “total profit / loss” (step S575). The CPU 12 determines whether or not the processing of all the positions recorded in the position DB 54 has been completed (step S576). If it is determined that the process has not been completed (NO in step S576), the CPU 12 adds 1 to the counter I (step S577). The CPU 12 returns to step S574.

すべてのポジションの処理を終了したと判定した場合(ステップS576でYES)、CPU12は、式(3)に基づき有効証拠金を算出する(ステップS581)。
有効証拠金=証拠金+時価損益 ‥‥‥ (3)
When it is determined that the processing of all positions has been completed (YES in step S576), the CPU 12 calculates the effective margin based on the equation (3) (step S581).
Effective Margin = Margin + Market Value Gain / Loss ‥‥‥ (3)

CPU12は、発注証拠金更新のサブルーチンを起動する(ステップS582)。発注証拠金更新のサブルーチンは、発注DB53の発注証拠金フィールドに記録されたデータを市場価格に基づいて更新するサブルーチンである。発注証拠金更新のサブルーチンの処理の流れは後述する。 The CPU 12 activates a subroutine for updating the order margin (step S582). The order margin update subroutine is a subroutine that updates the data recorded in the order margin field of the order DB 53 based on the market price. The flow of processing of the subroutine for updating the order margin will be described later.

CPU12は、合計発注証拠金算出のサブルーチンを起動する(ステップS583)。合計発注証拠金算出のサブルーチンは、新規注文の発注証拠金を合計した合計発注証拠金を算出するサブルーチンである。合計発注証拠金算出のサブルーチンの処理の流れは後述する。 The CPU 12 activates a subroutine for calculating the total order margin (step S583). The subroutine for calculating the total order margin is a subroutine for calculating the total order margin, which is the sum of the order margins for new orders. The flow of processing of the subroutine for calculating the total order margin will be described later.

CPU12は、ポジションDB54の約定価格フィールドに記録された約定価格の総和である合計約定価格に所定の証拠金率を乗じて、必要証拠金を算出する(ステップS584)。必要証拠金は、保有しているポジションを維持するために必要な証拠金である。証拠金率は、金融商品取引業者と投資家との間の契約等に定める値であり、たとえば4%である。 The CPU 12 calculates the required margin by multiplying the total contract price, which is the sum of the contract prices recorded in the contract price field of the position DB 54, by the predetermined margin rate (step S584). Margin requirement is the margin required to maintain the position you hold. The margin rate is a value specified in a contract between a financial instruments business operator and an investor, and is, for example, 4%.

CPU12は、有効証拠金が必要証拠金と合計発注証拠金との和以上であるか否かを判定する(ステップS585)。有効証拠金が必要証拠金と合計発注証拠金との和以上であると判定した場合(ステップS585でYES)、CPU12は「証拠金は足りる」と判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS586)。CPU12は、その後処理を終了する。 The CPU 12 determines whether or not the effective margin is equal to or greater than the sum of the required margin and the total order margin (step S585). If it is determined that the effective margin is equal to or greater than the sum of the required margin and the total order margin (YES in step S585), the CPU 12 determines that "the margin is sufficient" and the main storage device 13 or the auxiliary storage device. Store in 14 (step S586). The CPU 12 then ends the process.

有効証拠金が必要証拠金と合計発注証拠金との和未満であると判定した場合(ステップS585でNO)、CPU12は「証拠金は足りない」と判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS587)。CPU12は、その後処理を終了する。 If it is determined that the effective margin is less than the sum of the required margin and the total order margin (NO in step S585), the CPU 12 determines that "the margin is insufficient" and the main storage device 13 or the auxiliary storage. Store in the device 14 (step S587). The CPU 12 then ends the process.

図18は、発注証拠金更新サブルーチンの処理の流れを示すフローチャートである。発注証拠金更新のサブルーチンは、発注DB53の発注証拠金フィールドに記録されたデータを市場価格に基づいて更新するサブルーチンである。図18を使用して、発注証拠金更新のサブルーチンの処理の流れを説明する。 FIG. 18 is a flowchart showing the processing flow of the order margin update subroutine. The order margin update subroutine is a subroutine that updates the data recorded in the order margin field of the order DB 53 based on the market price. A flow of processing of the subroutine for updating the order margin will be described with reference to FIG.

CPU12は、レートDB41より各外国為替の市場価格を取得する(ステップS601)。CPU12は、カウンタIを初期値1に設定する(ステップS602)。CPU12は、発注DB53からI番目の発注レコードを取得する(ステップS603)。CPU12は、取得した発注レコードの注文タイプフィールドを参照して、新規注文の発注レコードであるか否かを判定する(ステップS604)。 The CPU 12 acquires the market price of each foreign exchange from the rate DB 41 (step S601). The CPU 12 sets the counter I to the initial value 1 (step S602). The CPU 12 acquires the I-th order record from the order DB 53 (step S603). The CPU 12 refers to the order type field of the acquired order record and determines whether or not the order record is a new order (step S604).

新規注文の発注レコードであると判定した場合(ステップS604でYES)、CPU12は、執行条件フィールドを参照して発注証拠金が確定しているか否かを判定する(ステップS605)。具体的には、執行条件が「指値」または「逆指値」である場合は、発注証拠金が確定している。執行条件が「デルタ」等の市場価格に応じて注文価格が変動する条件である場合は、発注証拠金が確定していない。 When it is determined that it is an order record for a new order (YES in step S604), the CPU 12 determines whether or not the order margin is fixed by referring to the execution condition field (step S605). Specifically, when the execution condition is "limit price" or "stop price", the order margin is fixed. If the execution condition is a condition such as "Delta" where the order price fluctuates according to the market price, the order margin is not fixed.

発注証拠金が確定していないと判定した場合(ステップS605でNO)、CPU12は、式(1)に基づいて新たな発注証拠金を算出する(ステップS606)。CPU12は、発注DB53の発注証拠金フィールドを、ステップS606で算出した発注証拠金により更新する(ステップS607)。 If it is determined that the order margin has not been determined (NO in step S605), the CPU 12 calculates a new order margin based on the equation (1) (step S606). The CPU 12 updates the order margin field of the order DB 53 with the order margin calculated in step S606 (step S607).

新規注文の発注レコードではないと判定した場合(ステップS604でNO)、発注証拠金が確定していると判定した場合(ステップS605でYES)およびステップS607の終了後、CPU12は、発注DB53のすべてのレコードの処理が終了したか否かを判定する(ステップS608)。 When it is determined that the order record is not a new order (NO in step S604), when it is determined that the order margin is fixed (YES in step S605), and after the end of step S607, the CPU 12 performs all of the order DB 53. It is determined whether or not the processing of the record of is completed (step S608).

終了していないと判定した場合(ステップS608でNO)、CPU12は、カウンタIに1を加算する(ステップS609)。CPU12は、ステップS603に戻る。終了したと判定した場合(ステップS608でYES)、CPU12は処理を終了する。 If it is determined that the process has not been completed (NO in step S608), the CPU 12 adds 1 to the counter I (step S609). The CPU 12 returns to step S603. If it is determined that the process is completed (YES in step S608), the CPU 12 ends the process.

なお、CPU12は、ステップS601を省略して、呼び出し元のプログラムで取得した市場価格を本サブルーチンでも使用しても良い。市場価格を取得する処理を省略することにより、発注証拠金更新のサブルーチンの処理を早くすることができる。 Note that the CPU 12 may omit step S601 and use the market price acquired by the calling program in this subroutine as well. By omitting the process of acquiring the market price, it is possible to speed up the process of the subroutine for updating the order margin.

また、CPU12は、ステップS605とステップS606との間で市場価格を取得しても良い。発注証拠金を算出する直前で市場価格を取得することにより、最新の市場価格を発注証拠金に反映させることができる。 Further, the CPU 12 may acquire the market price between step S605 and step S606. By acquiring the market price immediately before calculating the order margin, the latest market price can be reflected in the order margin.

図19は、合計発注証拠金算出サブルーチンの処理の流れを示すフローチャートである。合計発注証拠金算出のサブルーチンは、新規注文の発注証拠金を合計した合計発注証拠金を算出するサブルーチンである。図19を使用して、合計発注証拠金算出のサブルーチンの処理の流れを説明する。 FIG. 19 is a flowchart showing the processing flow of the total order margin calculation subroutine. The subroutine for calculating the total order margin is a subroutine for calculating the total order margin, which is the sum of the order margins for new orders. A flow of processing of the subroutine for calculating the total order margin will be described with reference to FIG.

CPU12は、変数「合計発注証拠金」を初期値0に設定する(ステップS621)。CPU12は、カウンタIを初期値1に設定する(ステップS622)。CPU12は、発注DB53からI番目の発注レコードを取得する(ステップS623)。CPU12は、取得した発注レコードの注文タイプフィールドを参照して、新規注文の発注レコードであるか否かを判定する(ステップS624)。 The CPU 12 sets the variable "total order margin" to the initial value 0 (step S621). The CPU 12 sets the counter I to the initial value 1 (step S622). The CPU 12 acquires the I-th order record from the order DB 53 (step S623). The CPU 12 refers to the order type field of the acquired order record and determines whether or not the order record is a new order (step S624).

新規注文の発注レコードであると判定した場合(ステップS624でYES)、CPU12は、変数「合計発注証拠金」に、発注証拠金フィールドに記録された発注証拠金を加算する(ステップS625)。 If it is determined that the order record is a new order (YES in step S624), the CPU 12 adds the order margin recorded in the order margin field to the variable "total order margin" (step S625).

新規注文の発注レコードでないと判定した場合(ステップS624でNO)およびステップS625の終了後、CPU12は、発注DB53のすべてのレコードの処理が終了したか否かを判定する(ステップS626)。 When it is determined that it is not an order record for a new order (NO in step S624) and after the end of step S625, the CPU 12 determines whether or not the processing of all the records in the order DB 53 is completed (step S626).

終了していないと判定した場合(ステップS626でNO)、CPU12は、カウンタIに1を加算する(ステップS627)。CPU12は、ステップS623に戻る。終了したと判定した場合(ステップS626でYES)、CPU12は処理を終了する。 If it is determined that the process has not been completed (NO in step S626), the CPU 12 adds 1 to the counter I (step S627). The CPU 12 returns to step S623. If it is determined that the process is completed (YES in step S626), the CPU 12 ends the process.

図20は、ポジション取得サブルーチンの処理の流れを示すフローチャートである。ポジション取得サブルーチンは、ステップS521で受け付けた注文に基づいて新規ポジションを取得する処理を行うサブルーチンである。図20を使用して、ポジション取得サブルーチンの処理の流れを説明する。なお、本実施の形態においては、ステップS521で取得した新規注文の執行条件は、デルタ注文、指値注文または成行注文のいずれかである。 FIG. 20 is a flowchart showing the processing flow of the position acquisition subroutine. The position acquisition subroutine is a subroutine that performs a process of acquiring a new position based on the order received in step S521. The flow of processing of the position acquisition subroutine will be described with reference to FIG. In the present embodiment, the execution condition of the new order acquired in step S521 is either a delta order, a limit order, or a market order.

CPU12は、ステップS521で取得した新規注文の執行条件がデルタ注文であるか否かを判定する(ステップS641)。デルタ注文であると判定した場合(ステップS641でYES)、CPU12は、デルタ判定のサブルーチンを起動する(ステップS642)。デルタ判定のサブルーチンは、市場価格が所定の変動幅を超えて上昇トレンドまたは下降トレンドに移行したか否かを判定するサブルーチンである。デルタ判定のサブルーチンの処理の流れは後述する。 The CPU 12 determines whether or not the execution condition of the new order acquired in step S521 is a delta order (step S641). When it is determined that the order is delta (YES in step S641), the CPU 12 activates the subroutine for delta determination (step S642). The delta determination subroutine is a subroutine that determines whether or not the market price has moved to an uptrend or a downtrend beyond a predetermined fluctuation range. The processing flow of the delta determination subroutine will be described later.

CPU12は、デルタ判定のサブルーチンの処理結果がONであるか否かを判定する(ステップS643)。ONでないと判定した場合(ステップS643でNO)、CPU12は、デルタ注文の処理を終了するか否かを判定する(ステップS644)。たとえば、発注DB53の期限フィールドに記録された期限を過ぎた場合、投資家クライアント31より注文中止の指示を取得した場合、投資家の取引口座が証拠金の残高不足によりロスカットされた場合等に、CPU12は、デルタ注文の処理を終了すると判定する。 The CPU 12 determines whether or not the processing result of the delta determination subroutine is ON (step S643). When it is determined that it is not ON (NO in step S643), the CPU 12 determines whether or not to end the processing of the delta order (step S644). For example, when the deadline recorded in the deadline field of the order DB 53 has passed, when an order cancellation instruction is obtained from the investor client 31, or when the investor's trading account is lost due to insufficient margin balance, etc. The CPU 12 determines that the processing of the delta order is completed.

終了しないと判定した場合(ステップS644でNO)、CPU12は、ステップS642に戻る。 If it is determined that the process does not end (NO in step S644), the CPU 12 returns to step S642.

デルタ注文でないと判定した場合(ステップS641でNO)、CPU12は、ステップS521で取得した新規注文の執行条件が指値注文であるか否かを判定する(ステップS651)。指値注文ではないと判定した場合(ステップS651でNO)およびデルタ判定のサブルーチンの処理結果がONであると判定した場合(ステップS643でYES)、CPU12は、市場価格で約定を行う成行約定の処理を行う(ステップS645)。 When it is determined that the order is not a delta order (NO in step S641), the CPU 12 determines whether or not the execution condition of the new order acquired in step S521 is a limit order (step S651). When it is determined that the order is not a limit order (NO in step S651) and when it is determined that the processing result of the delta determination subroutine is ON (YES in step S643), the CPU 12 processes the market execution to execute the execution at the market price. (Step S645).

指値注文であると判定した場合(ステップS651でYES)、CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS652)。CPU12は、ネットワークを介して金融機関サーバ32から直接市場価格を取得しても良い。 If it is determined that the order is a limit order (YES in step S651), the CPU 12 acquires the foreign exchange market price from the rate DB 41 (step S652). The CPU 12 may acquire the market price directly from the financial institution server 32 via the network.

CPU12は、発注レコードの注文価格フィールドに記録された注文価格と市場価格とを比較して、指値注文の成立可否を判定する(ステップS653)。具体的には、買い注文である場合には、CPU12は、注文価格よりも市場価格の方が安い場合に指値注文が成立可能であると判定する。売り注文である場合には、CPU12は、注文価格よりも市場価格の方が高い場合に指値注文が成立可能であると判定する。 The CPU 12 compares the order price recorded in the order price field of the order record with the market price, and determines whether or not the limit order can be established (step S653). Specifically, in the case of a buy order, the CPU 12 determines that the limit order can be established when the market price is lower than the order price. In the case of a sell order, the CPU 12 determines that the limit order can be completed when the market price is higher than the order price.

成立可でないと判定した場合(ステップS653でNO)、CPU12は、指値注文の処理を終了するか否かを判定する(ステップS654)。たとえば、発注DB53の期限フィールドに記録された期限を過ぎた場合、投資家クライアント31より注文中止の指示を取得した場合、投資家の取引口座が証拠金の残高不足によりロスカットされた場合等に、CPU12は、指値注文の処理を終了すると判定する。指値注文の処理を終了しないと判定した場合(ステップS654でNO)、CPU12はステップS652に戻る。 When it is determined that the establishment is not possible (NO in step S653), the CPU 12 determines whether or not to end the processing of the limit order (step S654). For example, when the deadline recorded in the deadline field of the order DB 53 has passed, when an order cancellation instruction is obtained from the investor client 31, or when the investor's trading account is lost due to insufficient margin balance, etc. The CPU 12 determines that the limit order processing is completed. If it is determined that the limit order processing is not completed (NO in step S654), the CPU 12 returns to step S652.

指値注文が成立可であると判定した場合(ステップS653でYES)、CPU12は、指値注文による約定の処理を行う(ステップS655)。 When it is determined that the limit order can be established (YES in step S653), the CPU 12 processes the execution by the limit order (step S655).

ステップS645またはステップS655の終了後、CPU12は、ポジションDB54に約定した注文の注文番号、通貨ペア、取引種別、約定価格、取引金額、約定日時および決済注文の番号を記録する(ステップS656)。なお、CPU12は、約定した注文の番号をキーとして受注DB52の親注文番号フィールドを検索することにより決済注文の注文番号および利益確定注文、ストップ注文の別を抽出する。 After the end of step S645 or step S655, the CPU 12 records the order number, currency pair, transaction type, transaction price, transaction amount, execution date and time, and settlement order number of the executed order in the position DB 54 (step S656). The CPU 12 extracts the order number of the settlement order, the profit-taking order, and the stop order by searching the parent order number field of the order DB 52 using the executed order number as a key.

デルタ注文の処理を終了すると判定した場合(ステップS644でYES)、指値注文の処理を終了すると判定した場合(ステップS654でYES)、およびステップS656の終了後、CPU12は処理を終了する。 When it is determined to end the processing of the delta order (YES in step S644), when it is determined to end the processing of the limit order (YES in step S654), and after the end of step S656, the CPU 12 ends the processing.

図21は、デルタ判定のサブルーチンの処理の流れを示すフローチャートである。デルタ判定のサブルーチンは、市場価格が所定の変動幅を超えて上昇トレンドまたは下降トレンドに移行したか否かを判定するサブルーチンである。図21を使用して、デルタ判定のサブルーチンの処理の流れを説明する。 FIG. 21 is a flowchart showing the processing flow of the delta determination subroutine. The delta determination subroutine is a subroutine that determines whether or not the market price has moved to an uptrend or a downtrend beyond a predetermined fluctuation range. A flow of processing of the delta determination subroutine will be described with reference to FIG. 21.

CPU12は、注文対象の通貨ペアをキーとして、HLDB43より最新のHLレコードを取得する(ステップS671)。CPU12は、注文対象の通貨ペアをキーとして、レートDB41よりレートレコードを取得する(ステップS672)。 The CPU 12 acquires the latest HL record from the HLDB43 using the currency pair to be ordered as a key (step S671). The CPU 12 acquires a rate record from the rate DB 41 using the currency pair to be ordered as a key (step S672).

CPU12は、ステップS671で取得したHLレコードとステップS672で取得したレートレコードのタイムスタンプフィールドに記録されたタイムスタンプ同士が一致しているか否かを判定する(ステップS673)。一致していると判定した場合(ステップS673でYES)、CPU12はHLDB43より一つ前のHLレコードを取得する(ステップS674)。 The CPU 12 determines whether or not the time stamps recorded in the time stamp fields of the HL record acquired in step S671 and the rate record acquired in step S672 match each other (step S673). If it is determined that they match (YES in step S673), the CPU 12 acquires the HL record immediately before the HLDB43 (step S674).

タイムスタンプが一致していないと判定した場合(ステップS673でNO)およびステップS674の終了後、CPU12は、処理中の注文が買い注文であるか否かを判定する(ステップS675)。 When it is determined that the time stamps do not match (NO in step S673) and after the end of step S674, the CPU 12 determines whether or not the order being processed is a buy order (step S675).

買い注文であると判定した場合(ステップS675でYES)、CPU12は、式(4)に基づき市場価格と過去のトレンドと注文時の条件との関係を判定する(ステップS676)。
市場価格-L≧ΔP×ΔT ‥‥‥(4)
市場価格は、ステップS672で取得したレートレコードの買レートフィールドに記録された価格である。
ΔPは、デルタ注文のパラメータである単位判定価格幅ΔPである。
ΔTは、デルタ注文のパラメータである判定時間幅ΔTである。
Lは、ステップS671で取得したHLレコードの、注文条件の判定時間幅ΔTに対応するLフィールドに記録された価格であり、判定時間幅ΔTの期間内の最低価格を示す。
When it is determined that the order is a buy (YES in step S675), the CPU 12 determines the relationship between the market price, the past trend, and the condition at the time of ordering based on the equation (4) (step S676).
Market price-L ≧ ΔP × ΔT ‥‥‥ (4)
The market price is the price recorded in the buy rate field of the rate record acquired in step S672.
ΔP is a unit determination price range ΔP which is a parameter of the delta order.
ΔT is the determination time width ΔT, which is a parameter of the delta order.
L is the price recorded in the L field corresponding to the determination time width ΔT of the order condition of the HL record acquired in step S671, and indicates the lowest price within the period of the determination time width ΔT.

式(4)が真であると判定した場合(ステップS676でYES)、CPU12は、処理結果がONであると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS677)。CPU12は、その後処理を終了する。 When it is determined that the equation (4) is true (YES in step S676), the CPU 12 determines that the processing result is ON and stores it in the main storage device 13 or the auxiliary storage device 14 (step S677). The CPU 12 then ends the process.

式(4)が偽であると判定した場合(ステップS676でNO)、CPU12は、処理結果が「OFF」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS678)。CPU12は、その後処理を終了する。 When it is determined that the equation (4) is false (NO in step S676), the CPU 12 determines that the processing result is "OFF" and stores it in the main storage device 13 or the auxiliary storage device 14 (step S678). ). The CPU 12 then ends the process.

買い注文でないと判定した場合(ステップS675でNO)、CPU12は、式(5)に基づき市場価格と過去のトレンドと注文時の条件との関係を判定する(ステップS681)。
H-市場価格≧ΔP×ΔT ‥‥‥(5)
市場価格は、ステップS672で取得したレートレコードの売レートフィールドに記録された価格である。
ΔPは、デルタ注文のパラメータである単位判定価格幅ΔPである。
ΔTは、デルタ注文のパラメータである判定時間幅ΔTである。
Hは、ステップS671で取得したHLレコードの、注文条件の判定時間幅ΔTに対応するHフィールドに記録された価格であり、判定時間幅ΔTの期間内の最高価格を示す。
When it is determined that the order is not a buy order (NO in step S675), the CPU 12 determines the relationship between the market price, the past trend, and the condition at the time of ordering based on the equation (5) (step S681).
H-Market price ≧ ΔP × ΔT ‥‥‥ (5)
The market price is the price recorded in the selling rate field of the rate record acquired in step S672.
ΔP is a unit determination price range ΔP which is a parameter of the delta order.
ΔT is the determination time width ΔT, which is a parameter of the delta order.
H is the price recorded in the H field corresponding to the determination time width ΔT of the order condition of the HL record acquired in step S671, and indicates the highest price within the period of the determination time width ΔT.

式(5)が真であると判定した場合(ステップS681でYES)、CPU12は、処理結果がONであると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS682)。CPU12は、その後処理を終了する。 When it is determined that the equation (5) is true (YES in step S681), the CPU 12 determines that the processing result is ON and stores it in the main storage device 13 or the auxiliary storage device 14 (step S682). The CPU 12 then ends the process.

式(5)が偽であると判定した場合(ステップS681でNO)、CPU12は、処理結果が「OFF」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS683)。CPU12は、その後処理を終了する。 When it is determined that the equation (5) is false (NO in step S681), the CPU 12 determines that the processing result is "OFF" and stores it in the main storage device 13 or the auxiliary storage device 14 (step S683). ). The CPU 12 then ends the process.

図22は、ポジション決済サブルーチンの処理の流れを示すフローチャートである。ポジション決済サブルーチンは、保有するポジションを決済する処理を行うサブルーチンである。図22を使用して、ポジション決済サブルーチンの処理の流れを説明する。なお、本実施の形態においては、ステップS521で取得した決済利益確定注文の執行条件は、相対トリガトレール注文または指値注文であり、決済ストップ注文の執行条件はトレール注文である。 FIG. 22 is a flowchart showing the processing flow of the position settlement subroutine. The position settlement subroutine is a subroutine that performs a process of settlement of a held position. A flow of processing of the position settlement subroutine will be described with reference to FIG. 22. In the present embodiment, the execution condition of the settlement profit settlement order acquired in step S521 is a relative trigger trail order or a limit order, and the execution condition of the settlement stop order is a trail order.

CPU12は、ステップS521で取得した新規注文の決済利益確定条件が相対トリガトレール注文であるか否かを判定する(ステップS701)。相対トリガトレール注文であると判定した場合(ステップS701でYES)、CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS702)。 The CPU 12 determines whether or not the settlement profit determination condition of the new order acquired in step S521 is a relative trigger trail order (step S701). If it is determined that the order is a relative trigger trail (YES in step S701), the CPU 12 acquires the market price of the foreign exchange from the rate DB 41 (step S702).

CPU12は、利益確定注文のトレールを開始する利益確定トリガがONであるか否かを判定する(ステップS703)。具体的には、買い注文である場合にはステップS702で取得した市場価格が式(6)および式(7)を満たす場合に、CPU12は利益確定トリガがONであると判定する。
市場価格>トリガ価格Trig‥‥‥ (6)
トリガ価格Trig=新規注文時の約定価格+ΔTg ‥‥‥ (7)
ΔTgは、相対トリガトレール注文のパラメータであるトリガ幅ΔTgである。
The CPU 12 determines whether or not the profit taking trigger for starting the trail of the profit taking order is ON (step S703). Specifically, in the case of a buy order, when the market price acquired in step S702 satisfies the equations (6) and (7), the CPU 12 determines that the profit taking trigger is ON.
Market price> Trigger price Trig ‥‥‥ (6)
Trigger price Trig = Contract price at the time of new order + ΔTg ‥‥‥ (7)
ΔTg is a trigger width ΔTg which is a parameter of the relative trigger trail order.

同様に、売り注文である場合にはステップS702で取得した市場価格が式(8)および式(9)を満たす場合に、CPU12は利益確定トリガがONであると判定する。
市場価格<トリガ価格Trig ‥‥‥ (8)
トリガ価格Trig=新規注文時の約定価格-ΔTg ‥‥‥ (9)
Similarly, in the case of a sell order, when the market price acquired in step S702 satisfies the equations (8) and (9), the CPU 12 determines that the profit taking trigger is ON.
Market price <Trigger price Trig ‥‥‥ (8)
Trigger price Trig = Contract price at the time of new order-ΔTg ‥‥‥ (9)

利益確定トリガがONであると判定した場合(ステップS703でYES)、CPU12は、相対トリガトレール判定のサブルーチンを起動する(ステップS704)。相対トリガトレール判定のサブルーチンは、市場価格に応じて逆指値をトレールしながら相対トリガトレールの条件が満たされたことを判定するサブルーチンである。相対トリガトレール判定のサブルーチンの処理の流れは後述する。CPU12は、相対トリガトレール判定のサブルーチンで定まる条件に基づいて、逆指値約定を行う(ステップS705)。 When it is determined that the profit determination trigger is ON (YES in step S703), the CPU 12 activates the subroutine of the relative trigger trail determination (step S704). The subroutine for determining the relative trigger trail is a subroutine for determining that the condition of the relative trigger trail is satisfied while trailing the stop price according to the market price. The flow of processing of the subroutine for determining the relative trigger trail will be described later. The CPU 12 performs stop price execution based on the condition determined by the subroutine of the relative trigger trail determination (step S705).

利益確定トリガがONでないと判定した場合(ステップS703でNO)、CPU12は、ストップトリガ判定のサブルーチンを起動する(ステップS711)。ストップトリガ判定のサブルーチンは、決済ストップ注文により損切りを行うか否かを判定するサブルーチンである。ストップトリガ判定のサブルーチンの処理の流れは後述する。 When it is determined that the profit determination trigger is not ON (NO in step S703), the CPU 12 activates the stop trigger determination subroutine (step S711). The stop trigger determination subroutine is a subroutine that determines whether or not to perform stop-loss by a settlement stop order. The processing flow of the stop trigger determination subroutine will be described later.

CPU12は、ストップトリガ判定のサブルーチンの処理結果が「ストップ」であるか否かを判定する(ステップS712)。「ストップ」でないと判定した場合(ステップS712でNO)、CPU12はステップS702に戻る。「ストップ」であると判定した場合(ステップS712でYES)、CPU12は、市場価格で約定を行う成行約定の処理を行う(ステップS713)。 The CPU 12 determines whether or not the processing result of the stop trigger determination subroutine is "stop" (step S712). If it is determined that it is not a "stop" (NO in step S712), the CPU 12 returns to step S702. If it is determined to be "stop" (YES in step S712), the CPU 12 performs a market execution process for executing the contract at the market price (step S713).

相対トリガトレール注文でないと判定した場合(ステップS701でNO)、CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS721)。CPU12は、決済利益確定注文の指値注文の成立可否を判定する(ステップS722)。成立可であると判定した場合(ステップS722でYES)、CPU12は、決済利益確定注文の執行条件に基づいて、指値約定を行う(ステップS723)。 If it is determined that the order is not a relative trigger trail order (NO in step S701), the CPU 12 acquires the foreign exchange market price from the rate DB 41 (step S721). The CPU 12 determines whether or not the limit order of the settlement profit fixed order can be established (step S722). If it is determined that the establishment is possible (YES in step S722), the CPU 12 executes a limit execution based on the execution condition of the settlement profit settlement order (step S723).

指値注文が成立可でないと判定した場合(ステップS722でNO)、CPU12は、ストップトリガ判定のサブルーチンを起動する(ステップS724)。ストップトリガ判定のサブルーチンは、ステップS711で起動したサブルーチンと同一のサブルーチンである。 When it is determined that the limit order cannot be established (NO in step S722), the CPU 12 activates the stop trigger determination subroutine (step S724). The subroutine for determining the stop trigger is the same subroutine as the subroutine started in step S711.

CPU12は、ストップトリガ判定のサブルーチンの処理結果が「ストップ」であるか否かを判定する(ステップS725)。「ストップ」でないと判定した場合(ステップS725でNO)、CPU12はステップS721に戻る。「ストップ」であると判定した場合(ステップS725でYES)、CPU12は、市場価格で約定を行う成行約定の処理を行う(ステップS726)。 The CPU 12 determines whether or not the processing result of the stop trigger determination subroutine is "stop" (step S725). If it is determined that it is not "stop" (NO in step S725), the CPU 12 returns to step S721. If it is determined to be "stop" (YES in step S725), the CPU 12 performs a market execution process for executing the contract at the market price (step S726).

ステップS705、ステップS713、ステップS723またはステップS726の終了後、CPU12は、ポジションDB54から決済した新規注文に関するレコードを削除する(ステップS731)。その後、CPU12は処理を終了する。 After the end of step S705, step S713, step S723 or step S726, the CPU 12 deletes the record relating to the new order settled from the position DB 54 (step S731). After that, the CPU 12 ends the process.

図23は、ストップトリガ判定サブルーチンの処理の流れを示すフローチャートである。ストップトリガ判定のサブルーチンは、決済ストップ注文により損切りを行うか否かを判定するサブルーチンである。図23を使用して、ストップトリガ判定のサブルーチンの処理の流れを説明する。 FIG. 23 is a flowchart showing the processing flow of the stop trigger determination subroutine. The stop trigger determination subroutine is a subroutine that determines whether or not to perform stop-loss by a settlement stop order. FIG. 23 will be used to describe the process flow of the stop trigger determination subroutine.

CPU12は、判定する対象の注文が売り注文であるか否かを判定する(ステップS752)。売り注文であると判定した場合(ステップS752でYES)、CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS753)。 The CPU 12 determines whether or not the order to be determined is a sell order (step S752). If it is determined that the order is a sell order (YES in step S752), the CPU 12 acquires the market price of foreign exchange from the rate DB 41 (step S753).

CPU12は、市場価格がストップ注文のトリガ値以下であるか否かを判定する(ステップS754)。ストップ注文のトリガ値以下でないと判定した場合(ステップS754でNO)、CPU12は、市場価格とトリガ値との関係が式(10)を満たすか否かを判定する(ステップS755)。
市場価格-ΔS>トリガ値 ‥‥‥ (10)
ΔSは、ストップ注文のトレール幅ΔSである。
The CPU 12 determines whether or not the market price is equal to or less than the trigger value of the stop order (step S754). When it is determined that the value is not equal to or less than the trigger value of the stop order (NO in step S754), the CPU 12 determines whether or not the relationship between the market price and the trigger value satisfies the equation (10) (step S755).
Market price-ΔS> Trigger value ‥‥‥ (10)
ΔS is the trail width ΔS of the stop order.

式(10)が真であると判定した場合(ステップS755でYES)、CPU12は、トリガ値を式(10)の左辺の値に変更する(ステップS756)。ステップS756の処理により、CPU12は市場価格の上昇に追従して売り注文のストップ注文価格を変更、すなわちトレールする。 When it is determined that the equation (10) is true (YES in step S755), the CPU 12 changes the trigger value to the value on the left side of the equation (10) (step S756). By the process of step S756, the CPU 12 changes, that is, trails, the stop order price of the sell order in accordance with the rise in the market price.

式(10)が真でないと判定した場合(ステップS755でNO)およびステップS756の終了後、CPU12は、処理結果が「継続」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS757)。CPU12は、その後処理を終了する。 When it is determined that the equation (10) is not true (NO in step S755) and after the end of step S756, the CPU 12 determines that the processing result is "continuation" and determines that the main storage device 13 or the auxiliary storage device 14 is used. Store (step S757). The CPU 12 then ends the process.

売り注文でないと判定した場合(ステップS752でNO)、CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS761)。 If it is determined that the order is not a sell order (NO in step S752), the CPU 12 acquires the foreign exchange market price from the rate DB 41 (step S761).

CPU12は、市場価格がストップ注文のトリガ値以上であるか否かを判定する(ステップS762)。ストップ注文のトリガ値以上でないと判定した場合(ステップS762でNO)、CPU12は、市場価格とトリガ値との関係が式(11)を満たすか否かを判定する(ステップS763)。
市場価格+ΔS>トリガ値 ‥‥‥ (11)
ΔSは、ストップ注文のトレール幅ΔSである。
The CPU 12 determines whether or not the market price is equal to or higher than the trigger value of the stop order (step S762). When it is determined that the value is not equal to or greater than the trigger value of the stop order (NO in step S762), the CPU 12 determines whether or not the relationship between the market price and the trigger value satisfies the equation (11) (step S763).
Market price + ΔS> Trigger value ‥‥‥ (11)
ΔS is the trail width ΔS of the stop order.

式(11)が真であると判定した場合(ステップS763でYES)、CPU12は、トリガ値を式(10)の左辺の値に変更する(ステップS764)。ステップS764の処理により、CPU12は市場価格の下落に追従して買い注文のストップ注文価格を変更、すなわちトレールする。 When it is determined that the equation (11) is true (YES in step S763), the CPU 12 changes the trigger value to the value on the left side of the equation (10) (step S764). By the process of step S764, the CPU 12 changes the stop order price of the buy order, that is, trails, following the decline in the market price.

式(11)が真でないと判定した場合(ステップS763でNO)およびステップS764の終了後、CPU12は、処理結果が「継続」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS765)。CPU12は、その後処理を終了する。 When it is determined that the equation (11) is not true (NO in step S763) and after the end of step S764, the CPU 12 determines that the processing result is "continuation" and determines that the main storage device 13 or the auxiliary storage device 14 is used. Store (step S765). The CPU 12 then ends the process.

売り注文で市場価格がストップ注文のトリガ値以下であると判定した場合(ステップS754でYES)、および、買い注文で市場価格がストップ注文のトリガ値以上であると判定した場合(ステップS762でYES)、CPU12は、処理結果が「ストップ」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS771)。CPU12は、その後処理を終了する。 When it is determined in the sell order that the market price is equal to or less than the trigger value of the stop order (YES in step S754), and when it is determined in the buy order that the market price is equal to or greater than the trigger value of the stop order (YES in step S762). ), The CPU 12 determines that the processing result is "stop" and stores it in the main storage device 13 or the auxiliary storage device 14 (step S771). The CPU 12 then ends the process.

図24は、相対トリガトレール判定サブルーチンの処理の流れを示すフローチャートである。相対トリガトレール判定のサブルーチンは、市場価格に応じて逆指値をトレールしながら相対トリガトレールの条件が満たされたことを判定するサブルーチンである。図24を使用して、相対トリガトレール判定のサブルーチンの処理の流れを説明する。 FIG. 24 is a flowchart showing the processing flow of the relative trigger trail determination subroutine. The subroutine for determining the relative trigger trail is a subroutine for determining that the condition of the relative trigger trail is satisfied while trailing the stop price according to the market price. A flow of processing of the subroutine of relative trigger trail determination will be described with reference to FIG. 24.

CPU12は、判定する対象の注文が売り注文であるか否かを判定する(ステップS791)。売り注文であると判定した場合(ステップS791でYES)、CPU12は、注文価格を市場価格から利益確定注文のトレール幅ΔRを減算した値に設定する(ステップS792)。ここで、注文価格は逆指値注文価格である。 The CPU 12 determines whether or not the order to be determined is a sell order (step S791). When it is determined that the order is a sell order (YES in step S791), the CPU 12 sets the order price to a value obtained by subtracting the trail width ΔR of the profit-taking order from the market price (step S792). Here, the order price is the stop order price.

CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS793)。CPU12は、市場価格から利益確定注文のトレール幅ΔRを減算した値が注文価格以上であるか否かを判定する(ステップS794)。以上ではないと判定した場合(ステップS794でNO)、CPU12はステップS792に戻る。 The CPU 12 acquires the foreign exchange market price from the rate DB 41 (step S793). The CPU 12 determines whether or not the value obtained by subtracting the trail width ΔR of the profit-taking order from the market price is equal to or greater than the order price (step S794). If it is determined that the above is not the case (NO in step S794), the CPU 12 returns to step S792.

以上であると判定した場合(ステップS794でYES)、CPU12は市場価格が注文価格以下であるか否かを判定する(ステップS795)。以下ではないと判定した場合(ステップS795でNO)、CPU12はステップS793に戻る。 When it is determined that the above is the case (YES in step S794), the CPU 12 determines whether or not the market price is equal to or less than the order price (step S795). If it is determined that the following is not the case (NO in step S795), the CPU 12 returns to step S793.

売り注文でないと判定した場合(ステップS791でNO)、CPU12は、注文価格を市場価格に利益確定注文のトレール幅ΔRを加算した値に設定する(ステップS796)。ここで、注文価格は逆指値注文価格である。 When it is determined that the order is not a sell order (NO in step S791), the CPU 12 sets the order price to a value obtained by adding the trail width ΔR of the profit-taking order to the market price (step S796). Here, the order price is the stop order price.

CPU12は、レートDB41より外国為替の市場価格を取得する(ステップS797)。CPU12は、市場価格に利益確定注文のトレール幅ΔRを加算した値が注文価格以下であるか否かを判定する(ステップS798)。以下ではないと判定した場合(ステップS798でNO)、CPU12はステップS796に戻る。 The CPU 12 acquires the foreign exchange market price from the rate DB 41 (step S797). The CPU 12 determines whether or not the value obtained by adding the trail width ΔR of the profit-taking order to the market price is equal to or less than the order price (step S798). If it is determined that the following is not the case (NO in step S798), the CPU 12 returns to step S796.

以下であると判定した場合(ステップS798でYES)、CPU12は市場価格が注文価格以上であるか否かを判定する(ステップS799)。以上ではないと判定した場合(ステップS799でNO)、CPU12はステップS797に戻る。 When it is determined that the following is true (YES in step S798), the CPU 12 determines whether or not the market price is equal to or higher than the order price (step S799). If it is determined that the above is not the case (NO in step S799), the CPU 12 returns to step S797.

売り注文で市場価格が注文価格以下であると判定した場合(ステップS795でYES)、および、買い注文で市場価格が注文価格以上であると判定した場合(ステップS799でYES)、CPU12は処理を終了する。 When it is determined in the sell order that the market price is equal to or less than the order price (YES in step S795), and when it is determined in the buy order that the market price is equal to or higher than the order price (YES in step S799), the CPU 12 processes. finish.

なお、CPU12は、新規注文のみを受け付けても良い。たとえば、長期保有を望む投資家、および市場価格をリアルタイムに確認して成行注文で決済を行いたい投資家の場合には、ポジション取得のみを本実施の形態の取引装置に任せることができる。同様に、CPU12は既に保有しているポジションの決済注文のみを受け付けても良い。 The CPU 12 may accept only new orders. For example, in the case of an investor who wants to hold a long-term holding and an investor who wants to confirm the market price in real time and settle by a market order, only the position acquisition can be left to the trading device of this embodiment. Similarly, the CPU 12 may only accept settlement orders for positions already held.

本実施の形態によると、図10を使用して説明したデルタ注文による新規注文を行なうことによりトレンド相場の初期に自動的に有利なポジションを取る取引装置を実現することができる。 According to the present embodiment, it is possible to realize a trading device that automatically takes an advantageous position at the initial stage of the trend market by placing a new order by the delta order described with reference to FIG.

本実施の形態によると、図11を使用して説明した相対トリガトレール注文による決済注文を行い、トレンド相場のピークを検出した直後の有利な条件で自動的にポジションを決済する取引装置を実現することができる。 According to the present embodiment, a trading device for placing a settlement order by the relative trigger trail order described with reference to FIG. 11 and automatically closing the position under favorable conditions immediately after detecting the peak of the trend market is realized. be able to.

本実施の形態によると、デルタ注文の他に、従来から使用されている指値注文または成行き注文による新規注文も処理することが可能な取引装置を実現することができる。また、相対トリガトレール注文の他に指値注文による決済利益確定注文も処理することが可能な取引装置を実現することが可能な取引装置を実現することができる。新規注文の執行条件と決済注文との執行条件とを、任意に組み合わせて実施することが可能な取引装置を実現することができる。 According to this embodiment, it is possible to realize a trading device capable of processing not only delta orders but also new orders by limit orders or market orders that have been conventionally used. Further, it is possible to realize a trading device capable of realizing a trading device capable of processing a settlement profit settlement order by a limit order in addition to a relative trigger trail order. It is possible to realize a trading device capable of executing any combination of execution conditions of a new order and execution conditions of a settlement order.

[実施の形態2]
本実施の形態は、市場価格がトレンド相場に入ったか否かを判定するパラメータである判定価格幅Qが、判定時間幅ΔTにおける最高市場価格Hまたは最低市場価格Lとの差である取引装置に関する。
[Embodiment 2]
The present embodiment relates to a trading device in which the determination price range Q, which is a parameter for determining whether or not the market price has entered the trend market, is the difference between the maximum market price H or the minimum market price L in the determination time width ΔT. ..

図25は、実施の形態2のデルタ注文による新規注文を説明する説明図である。縦軸は市場価格を示す。横軸は時間を示す。黒丸は、各時間における市場価格を示す。図25を使用して、本実施の形態のデルタ注文について説明する。 FIG. 25 is an explanatory diagram illustrating a new order by the delta order of the second embodiment. The vertical axis shows the market price. The horizontal axis shows time. Black circles indicate the market price at each time. FIG. 25 will be used to describe the delta order of this embodiment.

図25において、現在時刻をtAで示す。時刻tAにおける市場価格はAである。判定時間幅ΔTの時間Tの開始時刻が時刻tS、終了時刻が時刻tEである。ここで時刻tEは、時刻tAの一つ前のタイムスタンプである。時刻tSから時刻tEまでの時間内における最低市場価格Lおよび最高市場価格Hを図25にHおよびLの記号で示す。 In FIG. 25, the current time is indicated by t A. The market price at time t A is A. The start time of the time T of the determination time width ΔT is the time t S , and the end time is the time t E. Here, the time t E is a time stamp immediately before the time t A. The lowest market price L and the highest market price H in the time from time t S to time t E are indicated by symbols H and L in FIG.

図4を使用して説明したHLDB43の一つのレコードのタイムスタンプフィールドに時刻tEが、市場価格フィールドに時刻tEにおける市場価格Eが、Lフィールドに最低市場価格Lが、Hフィールドに最高市場価格Hがそれぞれ記録されている。 Time t E is in the time stamp field of one record of HLDB43 described using FIG. 4, market price E at time t E is in the market price field, lowest market price L is in L field, and highest market is in H field. The price H is recorded respectively.

本実施の形態においては、図12を使用して説明した受注DB52および図13を使用して説明した発注DB53は、ΔPフィールドの代わりに判定価格幅Qを記録するQフィールドを有する。 In the present embodiment, the order DB 52 described with reference to FIG. 12 and the order DB 53 described with reference to FIG. 13 have a Q field for recording the determination price range Q instead of the ΔP field.

市場価格が上昇トレンド相場に入った場合には、図25に示すように、市場価格Aは最低市場価格Lおよび最高市場価格Hにより示されるレンジ相場の範囲から判定価格幅Q以上高くなる。CPU12は、デルタ注文の条件が満たされたと判定して、約定を行う。ここで、判定価格幅Qは、デルタ注文に関するパラメータである。 When the market price enters the upward trend market, as shown in FIG. 25, the market price A becomes higher than the determined price range Q from the range of the range market indicated by the lowest market price L and the highest market price H. The CPU 12 determines that the conditions for the delta order are satisfied, and executes the execution. Here, the determined price range Q is a parameter related to the delta order.

以上に説明した本実施の形態のデルタ注文について、簡単にまとめる。判定時間幅ΔTは、市場価格が上昇トレンド相場または下降トレンド相場に入ったか否かを判定する時間幅を示すパラメータである。判定価格幅Qは、市場価格が上昇トレンド相場または下降トレンド相場に入ったか否かを判定するレンジ相場との差額を示すパラメータである。 The delta order of the present embodiment described above will be briefly summarized. The determination time width ΔT is a parameter indicating the time width for determining whether or not the market price has entered the uptrend market or the downtrend market. The determination price range Q is a parameter indicating the difference from the range market that determines whether or not the market price has entered the uptrend market or the downtrend market.

本実施の形態においては、CPU12は、市場価格Aが最低市場価格Lおよび最高市場価格Hにより示されるレンジ相場の範囲から判定価格幅Q以上離れたことを、市場価格が上昇トレンド相場に入ったことを示す指標に使用する。 In the present embodiment, the CPU 12 enters the upward trend market when the market price A is separated from the range of the range market indicated by the minimum market price L and the maximum market price H by the determined price range Q or more. It is used as an index to indicate that.

図26は、実施の形態2のデルタ判定サブルーチンの処理の流れを示すフローチャートである。図26に示すサブルーチンは、図21を使用して説明したデルタ判定のサブルーチンの代わりに使用するサブルーチンである。ステップS671からステップS675までは、図21と同一であるので説明を省略する。 FIG. 26 is a flowchart showing a processing flow of the delta determination subroutine of the second embodiment. The subroutine shown in FIG. 26 is a subroutine used in place of the delta determination subroutine described with reference to FIG. 21. Since steps S671 to S675 are the same as those in FIG. 21, the description thereof will be omitted.

買い注文であると判定した場合(ステップS675でYES)、CPU12は、式(12)に基づき市場価格と過去のトレンドと注文時の条件との関係を判定する(ステップS871)。
市場価格≧H+Q ‥‥‥(12)
市場価格は、ステップS672で取得したレートレコードの買レートフィールドに記録された価格である。
Qは、デルタ注文のパラメータである判定価格幅Qである。
Hは、ステップS671で取得したHLレコードの、注文条件の判定時間幅ΔTに対応するHフィールドに記録された価格であり、判定時間幅ΔTの期間内の最高価格を示す。
When it is determined that the order is a buy (YES in step S675), the CPU 12 determines the relationship between the market price, the past trend, and the condition at the time of ordering based on the equation (12) (step S871).
Market price ≧ H + Q ‥‥‥‥ (12)
The market price is the price recorded in the buy rate field of the rate record acquired in step S672.
Q is the determined price range Q, which is a parameter of the delta order.
H is the price recorded in the H field corresponding to the determination time width ΔT of the order condition of the HL record acquired in step S671, and indicates the highest price within the period of the determination time width ΔT.

式(12)が真であると判定した場合(ステップS871でYES)、CPU12は、処理結果がONであると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS677)。CPU12は、その後処理を終了する。 When it is determined that the equation (12) is true (YES in step S871), the CPU 12 determines that the processing result is ON and stores it in the main storage device 13 or the auxiliary storage device 14 (step S677). The CPU 12 then ends the process.

式(4)が偽であると判定した場合(ステップS871でNO)、CPU12は、処理結果が「OFF」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS678)。CPU12は、その後処理を終了する。 When it is determined that the equation (4) is false (NO in step S871), the CPU 12 determines that the processing result is "OFF" and stores it in the main storage device 13 or the auxiliary storage device 14 (step S678). ). The CPU 12 then ends the process.

買い注文でないと判定した場合(ステップS675でNO)、CPU12は、式(13)に基づき市場価格と過去のトレンドと注文時の条件との関係を判定する(ステップS872)。
市場価格≦L-Q ‥‥‥(13)
市場価格は、ステップS672で取得したレートレコードの売レートフィールドに記録された価格である。
Qは、デルタ注文のパラメータである判定価格幅Qである。
Lは、ステップS671で取得したHLレコードの、注文条件の判定時間幅ΔTに対応するLフィールドに記録された価格であり、判定時間幅ΔTの期間内の最低価格を示す。
When it is determined that the order is not a buy order (NO in step S675), the CPU 12 determines the relationship between the market price, the past trend, and the condition at the time of ordering based on the equation (13) (step S872).
Market price ≤ LQ ‥‥‥‥ (13)
The market price is the price recorded in the selling rate field of the rate record acquired in step S672.
Q is the determined price range Q, which is a parameter of the delta order.
L is the price recorded in the L field corresponding to the determination time width ΔT of the order condition of the HL record acquired in step S671, and indicates the lowest price within the period of the determination time width ΔT.

式(13)が真であると判定した場合(ステップS872でYES)、CPU12は、処理結果がONであると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS682)。CPU12は、その後処理を終了する。 When it is determined that the equation (13) is true (YES in step S872), the CPU 12 determines that the processing result is ON and stores it in the main storage device 13 or the auxiliary storage device 14 (step S682). The CPU 12 then ends the process.

式(5)が偽であると判定した場合(ステップS872でNO)、CPU12は、処理結果が「OFF」であると判定して、主記憶装置13または補助記憶装置14に記憶する(ステップS683)。CPU12は、その後処理を終了する。 When it is determined that the equation (5) is false (NO in step S872), the CPU 12 determines that the processing result is "OFF" and stores it in the main storage device 13 or the auxiliary storage device 14 (step S683). ). The CPU 12 then ends the process.

本実施の形態によるとレンジ相場の幅の大小にかかわらずデルタ注文による新規注文を行なうことにより、トレンド相場の初期に自動的に有利なポジションを取る取引装置を実現することができる。 According to this embodiment, it is possible to realize a trading device that automatically takes an advantageous position at the initial stage of the trend market by placing a new order by a delta order regardless of the width of the range market.

なお、判定時間幅Qは、最高市場価格Hと最低市場価格Lとの差に対する比率により規定されても良い。投資家が、変動幅の大きい通貨ペアと小さい通貨ペアとの違いをあまり意識する必要のない取引装置を提供することが可能である。 The determination time width Q may be defined by the ratio to the difference between the highest market price H and the lowest market price L. It is possible for investors to provide a trading device that does not need to be aware of the difference between a currency pair with a large fluctuation range and a currency pair with a small fluctuation range.

[実施の形態3]
本実施の形態は、市場価格がトレンド相場に入ったと判定した後に、トレールにより市場価格の上昇幅、または下落幅に合わせて、逆指値注文の価格をリアルタイムで自動修正する取引装置に関する。実施の形態1と共通する部分については、説明を省略する。
[Embodiment 3]
The present embodiment relates to a trading device that automatically corrects the price of a stop order in real time according to the rise or fall of the market price by a trail after it is determined that the market price has entered the trend market. The description of the parts common to the first embodiment will be omitted.

図27は、実施の形態3の投資家クライアント31の入力画面例を示す説明図である。図27に示す入力画面例は、図9を使用して説明した入力画面例の代わりに使用する画面である。図27に示す入力画面例においては、新規注文欄632を介してデルタトレール注文を受け付けることができる。CPU12は、デルタトレール注文においては、単位判定価格幅ΔP、判定時間幅ΔTおよびトレール幅ΔRの3つのパラメータを受け付ける。 FIG. 27 is an explanatory diagram showing an example of an input screen of the investor client 31 according to the third embodiment. The input screen example shown in FIG. 27 is a screen used in place of the input screen example described with reference to FIG. In the input screen example shown in FIG. 27, the delta trail order can be accepted via the new order field 632. The CPU 12 accepts three parameters of the unit determination price width ΔP, the determination time width ΔT, and the trail width ΔR in the delta trail order.

図28は、実施の形態3のデルタトレール注文による新規注文を説明する説明図である。縦軸は市場価格を示す。横軸は時間を示す。黒丸は、各時間における市場価格を示す。図28においては、レンジ相場が上昇トレンド相場に転じた後のピーク付近で売りポジションを取り、その後十分に価格が下落した後に買い約定により決済を行う場合を例にして説明する。 FIG. 28 is an explanatory diagram illustrating a new order by the delta trail order of the third embodiment. The vertical axis shows the market price. The horizontal axis shows time. Black circles indicate the market price at each time. In FIG. 28, a case will be described in which a sell position is taken near the peak after the range market turns into an uptrend market, and then the price is sufficiently lowered and then the settlement is made by a buy contract.

図28において、時刻t41から説明を開始する。時刻t41における市場価格はP41である。判定時間幅ΔTの時間Tの開始時刻が時刻tS、終了時刻が時刻tEである。ここで時刻tEは、時刻t41の一つ前のタイムスタンプである。時刻tSから時刻tEまでの時間内における最低市場価格Lおよび最高市場価格Hを図28にHおよびLの記号で示す。 In FIG. 28, the description starts from the time t41. The market price at time t41 is P41. The start time of the time T of the determination time width ΔT is the time t S , and the end time is the time t E. Here, the time t E is a time stamp immediately before the time t41. The lowest market price L and the highest market price H in the time from time t S to time t E are indicated by symbols H and L in FIG. 28.

図28において、時刻t41における市場価格P41と最低市場価格Lとの差は、単位判定価格幅ΔPと判定時間幅ΔTとの積である判定価格幅よりも大きい。CPU12は、トレールを行うトリガがONになったと判定する。 In FIG. 28, the difference between the market price P41 and the lowest market price L at time t41 is larger than the determination price range which is the product of the unit determination price width ΔP and the determination time width ΔT. The CPU 12 determines that the trigger for trailing has been turned on.

CPU12は、市場価格P41にトレール幅ΔRを加算して狙い価格N1を設定する。狙い価格N1は、新たに売りポジションを取得する新規注文を実施する逆指値である。 The CPU 12 sets the target price N1 by adding the trail width ΔR to the market price P41. The target price N1 is a stop price for executing a new order to acquire a new sell position.

時刻t42における市場価格P42は狙い価格N1よりも高いので、CPU12は市場価格P42にトレール幅ΔRを加算した狙い価格N2を設定する。時刻tCにおける市場価格Cが狙い価格N2以下であるので、CPU12は新規注文を実施する。 Since the market price P42 at time t42 is higher than the target price N1, the CPU 12 sets the target price N2 by adding the trail width ΔR to the market price P42. Since the market price C at time t C is equal to or less than the target price N2, the CPU 12 places a new order.

その後、市場価格が下落した時刻tDにおいて、CPU12は反対売買によりポジションを決済する。以上によりポジション取得価格Cと決済価格Dとの差額に対応する利益が生じる。 After that, at the time t D when the market price falls, the CPU 12 closes the position by counter-trading. As a result, a profit corresponding to the difference between the position acquisition price C and the settlement price D is generated.

以上に説明したデルタトレール注文について、簡単にまとめる。判定時間幅ΔTは、市場価格が上昇トレンド相場または下降トレンド相場に入ったか否かを判定する時間幅を示すパラメータである。単位判定価格幅ΔPは、市場価格が上昇トレンド相場または下降トレンド相場に入ったか否かを判定する単位時間あたりの価格幅を示すパラメータである。トレール幅ΔRは、デルタトレール注文の逆指値の変動量を定めるパラメータである。 The delta trail orders described above are briefly summarized. The determination time width ΔT is a parameter indicating the time width for determining whether or not the market price has entered the uptrend market or the downtrend market. The unit determination price range ΔP is a parameter indicating the price range per unit time for determining whether or not the market price has entered the uptrend market or the downtrend market. The trail width ΔR is a parameter that determines the fluctuation amount of the stop price of the delta trail order.

本実施の形態においては、CPU12は、トレンド相場の開始を検出した後に、トレールを開始する。CPU12は、トレンド相場の終了を検知してポジションを取得する。 In the present embodiment, the CPU 12 starts the trail after detecting the start of the trend market. The CPU 12 detects the end of the trend market and acquires a position.

図29は、実施の形態3のポジション取得サブルーチンの処理の流れを示すフローチャートである。図29に示すサブルーチンは、図20を使用して説明したポジション取得のサブルーチンの代わりに使用するサブルーチンである。なお、本実施の形態においては、ステップS521で取得した新規注文の執行条件は、デルタ注文、デルタトレール注文、指値注文または成行注文のいずれかである。 FIG. 29 is a flowchart showing the processing flow of the position acquisition subroutine of the third embodiment. The subroutine shown in FIG. 29 is a subroutine used in place of the position acquisition subroutine described with reference to FIG. In the present embodiment, the execution condition of the new order acquired in step S521 is any one of a delta order, a delta trail order, a limit order, and a market order.

CPU12は、ステップS521で取得した新規注文の執行条件がデルタ注文またはデルタトレール注文であるか否かを判定する(ステップS901)。デルタ注文またはデルタトレール注文であると判定した場合(ステップS901でYES)、CPU12は、デルタ判定のサブルーチンを起動する(ステップS642)。デルタ判定のサブルーチンは、図21を使用して説明したサブルーチンと同一のサブルーチンである。 The CPU 12 determines whether or not the execution condition of the new order acquired in step S521 is a delta order or a delta trail order (step S901). When it is determined that the order is a delta order or a delta trail order (YES in step S901), the CPU 12 activates a delta determination subroutine (step S642). The delta determination subroutine is the same subroutine as the subroutine described with reference to FIG.

CPU12は、デルタ判定のサブルーチンの処理結果がONであるか否かを判定する(ステップS643)。ONでないと判定した場合(ステップS643でNO)、CPU12は、デルタ注文の処理を終了するか否かを判定する(ステップS644)。終了しないと判定した場合(ステップS644でNO)、CPU12は、ステップS642に戻る。 The CPU 12 determines whether or not the processing result of the delta determination subroutine is ON (step S643). When it is determined that it is not ON (NO in step S643), the CPU 12 determines whether or not to end the processing of the delta order (step S644). If it is determined that the process does not end (NO in step S644), the CPU 12 returns to step S642.

ONであると判定した場合(ステップS643でYES)、CPU12は、ステップS521で取得した新規注文の執行条件がデルタトレール注文であるか否かを判定する(ステップS902)。 If it is determined to be ON (YES in step S643), the CPU 12 determines whether or not the execution condition of the new order acquired in step S521 is a delta trail order (step S902).

デルタトレール注文であると判定した場合(ステップS902でYES)、CPU12は相対トリガトレール判定のサブルーチンを起動する(ステップS903)。相対トリガトレール判定にサブルーチンは、図24を使用して説明したサブルーチンと同一のサブルーチンである。CPU12は、相対トリガトレール判定のサブルーチンで定まる条件に基づいて、逆指値約定を行う(ステップS904)。 When it is determined that the order is a delta trail (YES in step S902), the CPU 12 activates a subroutine for determining a relative trigger trail (step S903). The subroutine for determining the relative trigger trail is the same subroutine as the subroutine described with reference to FIG. 24. The CPU 12 performs stop price execution based on the condition determined by the subroutine of the relative trigger trail determination (step S904).

デルタ注文またはデルタトレール注文でないと判定した場合(ステップS901でNO)、CPU12は、ステップS521で取得した新規注文の執行条件が指値注文であるか否かを判定する(ステップS651)。ステップS651からステップS655までは、図20と同一であるので説明を省略する。 If it is determined that the order is not a delta order or a delta trail order (NO in step S901), the CPU 12 determines whether or not the execution condition of the new order acquired in step S521 is a limit order (step S651). Since steps S651 to S655 are the same as those in FIG. 20, the description thereof will be omitted.

指値注文でないと判定した場合(ステップS651でNO)およびデルタトレール注文でないと判定した場合(ステップS902でNO)、CPU12は、市場価格で約定を行う成行約定の処理を行う(ステップS905)。 When it is determined that the order is not a limit order (NO in step S651) and when it is determined that the order is not a delta trail order (NO in step S902), the CPU 12 performs a market execution process for executing the execution at the market price (step S905).

ステップS904、ステップS905またはステップS655の終了後、CPU12は、ポジションDB54に約定した注文の注文番号、通貨ペア、取引種別、約定価格、取引金額、約定日時および決済注文の番号を記録する(ステップS656)。 After the end of step S904, step S905 or step S655, the CPU 12 records the order number, currency pair, transaction type, contract price, transaction amount, execution date and time and settlement order number of the executed order in the position DB 54 (step S656). ).

デルタ注文の処理を終了すると判定した場合(ステップS644でYES)、指値注文の処理を終了すると判定した場合(ステップS654でYES)、およびステップS656の終了後、CPU12は処理を終了する。 When it is determined to end the processing of the delta order (YES in step S644), when it is determined to end the processing of the limit order (YES in step S654), and after the end of step S656, the CPU 12 ends the processing.

本実施の形態によると、市場価格がトレンド相場に入った後、ピーク付近でポジションを取得する取引装置を提供することが可能である。 According to this embodiment, it is possible to provide a trading device that acquires a position near the peak after the market price enters the trend market.

[実施の形態4]
本実施の形態は、約定の直前に証拠金の確認を行う取引装置に関する。実施の形態3と共通する部分については、説明を省略する。
[Embodiment 4]
The present embodiment relates to a trading device that confirms margin immediately before a contract. The description of the parts common to the third embodiment will be omitted.

図30は、実施の形態4のポジション取得サブルーチンの処理の流れを示すフローチャートである。図30に示すサブルーチンは、図20を使用して説明したポジション取得のサブルーチンの代わりに使用するサブルーチンである。なお、本実施の形態においては、ステップS521で取得した新規注文の執行条件は、デルタ注文、指値注文または成行注文のいずれかである。 FIG. 30 is a flowchart showing a processing flow of the position acquisition subroutine of the fourth embodiment. The subroutine shown in FIG. 30 is a subroutine used in place of the position acquisition subroutine described with reference to FIG. In the present embodiment, the execution condition of the new order acquired in step S521 is either a delta order, a limit order, or a market order.

ステップS641からステップS644まで、およびステップS651からステップS654までは、図20と同一であるので説明を省略する。 Since steps S641 to S644 and steps S651 to S654 are the same as those in FIG. 20, the description thereof will be omitted.

デルタ判定のサブルーチンの処理結果がONであると判定した場合(ステップS643でYES)および指値注文ではないと判定した場合(ステップS651でNO)、CPU12は、図17を使用して説明した証拠金確認のサブルーチンを起動する(ステップS911)。 When it is determined that the processing result of the delta determination subroutine is ON (YES in step S643) and when it is determined that the order is not a limit order (NO in step S651), the CPU 12 uses the margin described with reference to FIG. Invokes a confirmation subroutine (step S911).

CPU12は、証拠金確認サブルーチンの処理結果に基づき証拠金が足りるか否かを判定する(ステップS912)。証拠金が足りると判定した場合(ステップS912でYES)、CPU12は、市場価格で約定を行う成行約定の処理を行う(ステップS645)。証拠金が足りないと判定した場合(ステップS912でNO)、CPU12は処理を終了する。 The CPU 12 determines whether or not the margin is sufficient based on the processing result of the margin confirmation subroutine (step S912). When it is determined that the margin is sufficient (YES in step S912), the CPU 12 processes a market contract that makes a contract at the market price (step S645). If it is determined that the margin is insufficient (NO in step S912), the CPU 12 ends the process.

指値注文が成立可であると判定した場合(ステップS653でYES)、CPU12は、図17を使用して説明した証拠金確認のサブルーチンを起動する(ステップS913)。 When it is determined that the limit order can be completed (YES in step S653), the CPU 12 activates the margin confirmation subroutine described with reference to FIG. 17 (step S913).

CPU12は、証拠金確認サブルーチンの処理結果に基づき証拠金が足りるか否かを判定する(ステップS914)。証拠金が足りると判定した場合(ステップS914でYES)、CPU12は、指値注文による約定の処理を行う(ステップS655)。証拠金が足りないと判定した場合(ステップS914でNO)、CPU12は処理を終了する。 The CPU 12 determines whether or not the margin is sufficient based on the processing result of the margin confirmation subroutine (step S914). When it is determined that the margin is sufficient (YES in step S914), the CPU 12 processes the execution by the limit order (step S655). If it is determined that the margin is insufficient (NO in step S914), the CPU 12 ends the process.

ステップS645またはステップS655の終了後、CPU12は、ポジションDB54に約定した注文の注文番号、通貨ペア、取引種別、約定価格、取引金額、約定日時および決済注文の番号を記録する(ステップS656)。 After the end of step S645 or step S655, the CPU 12 records the order number, currency pair, transaction type, transaction price, transaction amount, execution date and time, and settlement order number of the executed order in the position DB 54 (step S656).

デルタ注文の処理を終了すると判定した場合(ステップS644でYES)、指値注文の処理を終了すると判定した場合(ステップS654でYES)、およびステップS656の終了後、CPU12は処理を終了する。 When it is determined to end the processing of the delta order (YES in step S644), when it is determined to end the processing of the limit order (YES in step S654), and after the end of step S656, the CPU 12 ends the processing.

前述のとおり、CPU12は図15を使用して説明したプログラムを複数並行して実行する。CPU12は、ステップS911またはステップ913の証拠金確認のサブルーチンの起動からステップS645またはステップS655の約定までの間はプログラムの処理の優先度を高くして、短時間で処理を行うことが望ましい。 As described above, the CPU 12 executes a plurality of programs described with reference to FIG. 15 in parallel. It is desirable that the CPU 12 raises the priority of program processing from the activation of the margin confirmation subroutine in step S911 or 913 to the execution in step S645 or step S655, and performs the processing in a short time.

本実施の形態によると、約定直前に証拠金を確認することにより、約定した直後にロスカットが生じて投資家が損失をうけることを防止する取引装置を提供することができる。 According to the present embodiment, by confirming the margin immediately before the contract, it is possible to provide a trading device that prevents the investor from suffering a loss due to a loss cut immediately after the contract.

[実施の形態5]
図31は、実施の形態5の取引装置の動作を示す機能ブロック図である。本実施の形態の取引装置の一例である投資家サーバ11は、CPU12による制御に基づいて以下のように動作する。
[Embodiment 5]
FIG. 31 is a functional block diagram showing the operation of the trading device according to the fifth embodiment. The investor server 11, which is an example of the trading device of the present embodiment, operates as follows based on the control by the CPU 12.

投資家サーバ11は、条件取得部86と、過去価格取得部87と、市場価格取得部88と約定部89とを備える。条件取得部86は、金融商品の市場価格に関する判定時間幅と判定価格幅とを取得する。過去価格取得部87は、条件取得部86が取得した判定時間幅の範囲の過去の時間における金融商品の市場価格の範囲を取得する。市場価格取得部88は、金融商品の市場価格を逐次取得する。約定部89は、市場価格取得部88が取得した第1市場価格が、過去価格取得部87が取得した範囲から条件取得部86が取得した判定価格幅以上に高い場合に、買いポジション取得の約定を行う。 The investor server 11 includes a condition acquisition unit 86, a past price acquisition unit 87, a market price acquisition unit 88, and a contract unit 89. The condition acquisition unit 86 acquires the determination time width and the determination price range regarding the market price of the financial instrument. The past price acquisition unit 87 acquires the range of the market price of the financial instrument in the past time within the range of the determination time range acquired by the condition acquisition unit 86. The market price acquisition unit 88 sequentially acquires the market price of the financial product. The execution unit 89 executes a buy position acquisition when the first market price acquired by the market price acquisition unit 88 is higher than the determined price range acquired by the condition acquisition unit 86 from the range acquired by the past price acquisition unit 87. I do.

[実施の形態6]
実施の形態6は、汎用のコンピュータとプログラム71とを組み合わせて動作させることにより、本実施の形態の取引装置を実現する形態に関する。図32は、実施の形態6の取引システム10の構成を示す説明図である。図32を使用して、本実施の形態の構成を説明する。なお、実施の形態1と共通する部分の説明は省略する。
[Embodiment 6]
The sixth embodiment relates to a mode in which the transaction device of the present embodiment is realized by operating a general-purpose computer and a program 71 in combination. FIG. 32 is an explanatory diagram showing the configuration of the transaction system 10 of the sixth embodiment. The configuration of this embodiment will be described with reference to FIG. 32. The description of the parts common to the first embodiment will be omitted.

本実施の形態の取引システム10は、取引システム10は、投資家マシン74、レート記録マシン75、投資家クライアント31、金融機関サーバ32およびこれらを相互に接続するネットワークを含む。 In the trading system 10 of the present embodiment, the trading system 10 includes an investor machine 74, a rate recording machine 75, an investor client 31, a financial institution server 32, and a network connecting them to each other.

金融商品取引業者が管理および運用を行う投資家マシン74およびレート記録マシン75は、汎用のパーソナルコンピュータ、大型計算機等の情報機器等である。また、本実施の形態の投資家マシン74およびレート記録マシン75は、大型計算機上で動作する仮想マシンでも良い。 The investor machine 74 and the rate recording machine 75 managed and operated by the financial instruments business operator are general-purpose personal computers, information devices such as large-scale computers, and the like. Further, the investor machine 74 and the rate recording machine 75 of the present embodiment may be virtual machines operating on a large-scale computer.

投資家マシン74は、CPU12、主記憶装置13、補助記憶装置14、通信部15、読取部16およびバスを備える。レート記録マシン75は、レート記録CPU22、主記憶装置23、補助記憶装置24、通信部25およびバスを備える。 The investor machine 74 includes a CPU 12, a main storage device 13, an auxiliary storage device 14, a communication unit 15, a reading unit 16, and a bus. The rate recording machine 75 includes a rate recording CPU 22, a main storage device 23, an auxiliary storage device 24, a communication unit 25, and a bus.

プログラム71は、可搬型記録媒体72に記録されている。CPU12は、読取部16を介してプログラム71を読み込み、補助記憶装置14に保存する。またCPU12は、投資家マシン74内に実装されたフラッシュメモリ等の半導体メモリ73に記憶されたプログラム71を読出しても良い。さらに、CPU12は、通信部15およびネットワークを介して接続される図示しない他のサーバコンピュータからプログラム71をダウンロードして補助記憶装置14に保存しても良い。 The program 71 is recorded on the portable recording medium 72. The CPU 12 reads the program 71 via the reading unit 16 and stores it in the auxiliary storage device 14. Further, the CPU 12 may read the program 71 stored in the semiconductor memory 73 such as the flash memory mounted in the investor machine 74. Further, the CPU 12 may download the program 71 from the communication unit 15 and another server computer (not shown) connected via the network and store the program 71 in the auxiliary storage device 14.

プログラム71のうち、投資家マシン74が実行する部分は、投資家マシン74の制御プログラムとしてインストールされ、主記憶装置13にロードして実行される。これにより、投資家マシン74は上述した投資家サーバ11として機能する。 The portion of the program 71 executed by the investor machine 74 is installed as a control program of the investor machine 74, loaded into the main storage device 13 and executed. As a result, the investor machine 74 functions as the investor server 11 described above.

また、プログラム71のうちレート記録マシン75が実行する部分はネットワークを介してレート記録マシン75の制御プログラムとしてインストールされ、主記憶装置23にロードして実行される。これにより、レート記録マシン75は上述したレート記録サーバ21として機能する。 Further, the portion of the program 71 executed by the rate recording machine 75 is installed as a control program of the rate recording machine 75 via the network, and is loaded and executed in the main storage device 23. As a result, the rate recording machine 75 functions as the rate recording server 21 described above.

各実施例で記載されている技術的特徴(構成要件)はお互いに組合せ可能であり、組み合わせすることにより、新しい技術的特徴を形成することができる。
今回開示された実施の形態はすべての点で例示であって、制限的なものでは無いと考えられるべきである。本発明の範囲は、上記した意味では無く、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
The technical features (constituent requirements) described in each embodiment can be combined with each other, and by combining them, new technical features can be formed.
The embodiments disclosed this time should be considered to be exemplary in all respects and not restrictive. The scope of the present invention is shown by the scope of claims, not the above-mentioned meaning, and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.

10 取引システム
11 投資家サーバ(取引装置)
12 CPU
13 主記憶装置
14 補助記憶装置
15 通信部
16 読取部
21 レート記録サーバ
22 レート記録CPU
23 主記憶装置
24 補助記憶装置
25 通信部
31 投資家クライアント
32 金融機関サーバ
41 レートDB
42 デルタTDB
43 HLDB
51 投資家情報DB
52 受注DB
53 発注DB
54 ポジションDB
61 通貨ペア欄
62 金額欄
63 新規欄
631 新規種別欄
632 新規注文欄
64 決済欄
641 決済種別欄
642 利益確定注文欄
643 ストップ注文欄
65 成立反復欄
71 プログラム
72 可搬型記録媒体
73 半導体メモリ
74 投資家マシン
75 レート記録マシン
86 条件取得部
87 過去価格取得部
88 市場価格取得部
89 約定部
10 Trading system 11 Investor server (trading equipment)
12 CPU
13 Main storage device 14 Auxiliary storage device 15 Communication unit 16 Reading unit 21 Rate recording server 22 Rate recording CPU
23 Main storage device 24 Auxiliary storage device 25 Communication unit 31 Investor client 32 Financial institution server 41 Rate DB
42 Delta TDB
43 HLDB
51 Investor Information DB
52 Order DB
53 Ordering DB
54 Position DB
61 Currency pair column 62 Amount column 63 New column 631 New type column 632 New order column 64 Settlement column 641 Settlement type column 642 Profit taking order column 643 Stop order column 65 Successful repeat column 71 Program 72 Portable recording medium 73 Semiconductor memory 74 Investment House machine 75 Rate recording machine 86 Condition acquisition department 87 Past price acquisition department 88 Market price acquisition department 89 Contract department

Claims (7)

金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得する条件取得部と、
前記条件取得部が取得した判定時間幅の範囲の過去の時間における金融商品の市場価格の最小値を取得する過去価格取得部と、
金融商品の市場価格を逐次取得する市場価格取得部と、
前記市場価格取得部が取得した第1市場価格が、前記最小値に、前記判定時間幅と前記単位判定価格幅との積を加算した値以上である場合に、買いポジション取得の約定を行う約定部と
を備える取引装置。
The condition acquisition unit for acquiring the judgment time width and the unit judgment price range regarding the market price of financial products,
The past price acquisition unit that acquires the minimum value of the market price of the financial instrument in the past time within the range of the judgment time width acquired by the condition acquisition unit, and the past price acquisition unit.
The market price acquisition department, which sequentially acquires the market prices of financial products,
When the first market price acquired by the market price acquisition unit is equal to or greater than the value obtained by adding the product of the determination time width and the unit determination price range to the minimum value, a contract for acquiring a buy position is executed. A trading device equipped with a department.
金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得する条件取得部と、
前記条件取得部が取得した判定時間幅の範囲の過去の時間における金融商品の市場価格の最大値を取得する過去価格取得部と、
金融商品の市場価格を逐次取得する市場価格取得部と、
前記市場価格取得部が取得した第1市場価格が、前記最大値から、前記判定時間幅と前記単位判定価格幅との積を減算した値以下である場合に、売りポジション取得の約定を行う約定部と
を備える取引装置。
The condition acquisition unit for acquiring the judgment time width and the unit judgment price range regarding the market price of financial products,
The past price acquisition unit that acquires the maximum value of the market price of the financial instrument in the past time within the range of the judgment time range acquired by the condition acquisition unit, and the past price acquisition unit.
The market price acquisition department, which sequentially acquires the market prices of financial products,
When the first market price acquired by the market price acquisition unit is equal to or less than the value obtained by subtracting the product of the determination time width and the unit determination price range from the maximum value, a contract for acquiring a sell position is executed. A trading device equipped with a department.
前記金融商品は、担保にした有効証拠金以上の金額で外貨を取引可能な外国為替証拠金取引であり、
前記条件取得部は、新規または決済の取引区分と、取引金額とをさらに取得し、
前記取引区分が新規である場合に、前記第1市場価格と前記取引金額とに基づいて約定した場合の前記有効証拠金の過不足を判定する証拠金判定部を備える請求項1または請求項2に記載の取引装置。
The financial product is a foreign exchange margin trading that allows foreign currency to be traded at an amount equal to or greater than the effective margin secured as collateral.
The condition acquisition unit further acquires the transaction category of new or settlement and the transaction amount.
Claim 1 or claim 2 including a margin determination unit for determining excess or deficiency of the effective margin when the transaction is executed based on the first market price and the transaction amount when the transaction category is new. The trading equipment described in.
金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得し、
前記判定時間幅の範囲の過去の時間における金融商品の市場価格の最小値を取得し、
取得した第1市場価格が、前記最小値に、前記判定時間幅と前記単位判定価格幅との積を加算した値以上である場合に、買いポジション取得の約定を行う
処理をコンピュータに実行させる取引プログラム。
Obtain the judgment time width and unit judgment price range regarding the market price of financial products,
Obtain the minimum market price of a financial instrument in the past time within the judgment time range, and obtain the minimum value.
A transaction that causes a computer to execute a process of executing a buy position acquisition when the acquired first market price is equal to or greater than the value obtained by adding the product of the determination time width and the unit determination price range to the minimum value. program.
金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得し、
前記判定時間幅の範囲の過去の時間における金融商品の市場価格の最大値を取得し、
取得した第1市場価格が、前記最大値から、前記判定時間幅と前記単位判定価格幅との積を減算した値以下である場合に、売りポジション取得の約定を行う
処理をコンピュータに実行させる取引プログラム。
Obtain the judgment time width and unit judgment price range regarding the market price of financial products,
Obtain the maximum value of the market price of the financial instrument in the past time within the judgment time range, and obtain the maximum value.
A transaction that causes a computer to execute a process of executing a sell position acquisition when the acquired first market price is equal to or less than the value obtained by subtracting the product of the determination time width and the unit determination price range from the maximum value. program.
金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得し、
前記判定時間幅の範囲の過去の時間における金融商品の市場価格の最小値を取得し、
取得した第1市場価格が、前記最小値に、前記判定時間幅と前記単位判定価格幅との積を加算した値以上である場合に、買いポジション取得の約定を行う
処理をコンピュータに実行させる取引方法。
Obtain the judgment time width and unit judgment price range regarding the market price of financial products,
Obtain the minimum market price of a financial instrument in the past time within the judgment time range, and obtain the minimum value.
A transaction that causes a computer to execute a process of executing a buy position acquisition when the acquired first market price is equal to or greater than the value obtained by adding the product of the determination time width and the unit determination price range to the minimum value. Method.
金融商品の市場価格に関する判定時間幅と単位判定価格幅とを取得し、
前記判定時間幅の範囲の過去の時間における金融商品の市場価格の最大値を取得し、
取得した第1市場価格が、前記最大値から、前記判定時間幅と前記単位判定価格幅との積を減算した値以下である場合に、売りポジション取得の約定を行う
処理をコンピュータに実行させる取引方法。
Obtain the judgment time width and unit judgment price range regarding the market price of financial products,
Obtain the maximum value of the market price of the financial instrument in the past time within the judgment time range, and obtain the maximum value.
A transaction that causes a computer to execute a process of executing a sell position acquisition when the acquired first market price is equal to or less than the value obtained by subtracting the product of the determination time width and the unit determination price range from the maximum value. Method.
JP2021003638A 2021-01-13 2021-01-13 Trading equipment, trading programs and trading methods Active JP6999077B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021003638A JP6999077B2 (en) 2021-01-13 2021-01-13 Trading equipment, trading programs and trading methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021003638A JP6999077B2 (en) 2021-01-13 2021-01-13 Trading equipment, trading programs and trading methods

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016207121A Division JP6832127B2 (en) 2016-10-21 2016-10-21 Trading equipment, trading programs and trading methods

Publications (2)

Publication Number Publication Date
JP2021051818A JP2021051818A (en) 2021-04-01
JP6999077B2 true JP6999077B2 (en) 2022-01-18

Family

ID=75158077

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021003638A Active JP6999077B2 (en) 2021-01-13 2021-01-13 Trading equipment, trading programs and trading methods

Country Status (1)

Country Link
JP (1) JP6999077B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004234601A (en) 2003-02-03 2004-08-19 Fujitsu Ltd Automatic ordering method for commodity trade
JP2008040689A (en) 2006-08-03 2008-02-21 Mitsubishi Corporation Futures & Securities Ltd Trading order processing system
JP2009217796A (en) 2008-02-15 2009-09-24 Sony Corp Foreign exchange deposit transaction server, foreign exchange deposit transaction system, processing methods thereof and program
JP2014102589A (en) 2012-11-16 2014-06-05 Ueda Harlow Co Ltd Computer program, order data generation program, index value calculation method, and index value calculation device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004234601A (en) 2003-02-03 2004-08-19 Fujitsu Ltd Automatic ordering method for commodity trade
JP2008040689A (en) 2006-08-03 2008-02-21 Mitsubishi Corporation Futures & Securities Ltd Trading order processing system
JP2009217796A (en) 2008-02-15 2009-09-24 Sony Corp Foreign exchange deposit transaction server, foreign exchange deposit transaction system, processing methods thereof and program
JP2014102589A (en) 2012-11-16 2014-06-05 Ueda Harlow Co Ltd Computer program, order data generation program, index value calculation method, and index value calculation device

Also Published As

Publication number Publication date
JP2021051818A (en) 2021-04-01

Similar Documents

Publication Publication Date Title
Jang et al. Liquidity premia and transaction costs
US6493682B1 (en) Optimal order choice: evaluating uncertain discounted trading alternatives
US10229453B2 (en) Method and system for low latency basket calculation
US8489491B2 (en) Method of managing financial instruments, equipment lease derivatives and other collateral instruments, data architecture, application and process program
US20060143099A1 (en) System, method, and computer program for creating and valuing financial insturments linked to average credit spreads
Cartea et al. Spoofing and price manipulation in order-driven markets
KR102447254B1 (en) Exchange operation method and system for supporting high speed transaction execution
Ersan et al. Algorithmic and high-frequency trading in Borsa Istanbul
JP6810574B2 (en) Trading equipment, trading programs and trading methods
WO2016012217A1 (en) Computer systems and methods for balancing indexes
JP6832126B2 (en) Trading equipment, trading programs and trading methods
JP6999077B2 (en) Trading equipment, trading programs and trading methods
US8468080B2 (en) System and method for administering invested funds
JP6832127B2 (en) Trading equipment, trading programs and trading methods
Chutka et al. Usage of P/E earning models as a tool for valuation of shares in condition of global market
JP2001290943A (en) Method and device for cross trading processing and recording medium having its program recorded thereon
WO2006098654A1 (en) System for displaying results of purchase/sales of share investment fund shares on a stock exchange
JP2023007602A (en) Support system for collation of asset information
US20160247225A1 (en) Option Box Volatility Indexes
Doumenis et al. A Critical Analysis of Volatility Surprise in Bitcoin Cryptocurrency and Other Financial Assets. Risks 9: x
KR102447258B1 (en) Exchange operation method and system for supporting investment guide model
Blose et al. Overnight versus day returns in gold and gold related assets
JP2002304520A (en) Device for calculating portfolio value and method for the same and its program and recording medium with its program recorded
JP2006039649A (en) Investment trust trade system and computer program
JP2003323546A (en) L/s fund investment system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210113

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

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20211109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20211109

R150 Certificate of patent or registration of utility model

Ref document number: 6999077

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250