JP6068713B1 - Equipment that executes trading of securities - Google Patents

Equipment that executes trading of securities Download PDF

Info

Publication number
JP6068713B1
JP6068713B1 JP2016123611A JP2016123611A JP6068713B1 JP 6068713 B1 JP6068713 B1 JP 6068713B1 JP 2016123611 A JP2016123611 A JP 2016123611A JP 2016123611 A JP2016123611 A JP 2016123611A JP 6068713 B1 JP6068713 B1 JP 6068713B1
Authority
JP
Japan
Prior art keywords
brand
specific
selling
user
server
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
JP2016123611A
Other languages
Japanese (ja)
Other versions
JP2017228083A (en
Inventor
和久 柴山
和久 柴山
稔 白土
稔 白土
健一 加納
健一 加納
有賀 博
博 有賀
史朗 牛山
史朗 牛山
智秀 保科
智秀 保科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WEALTHNAVI INC.
Original Assignee
WEALTHNAVI INC.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WEALTHNAVI INC. filed Critical WEALTHNAVI INC.
Priority to JP2016123611A priority Critical patent/JP6068713B1/en
Application granted granted Critical
Publication of JP6068713B1 publication Critical patent/JP6068713B1/en
Priority to PCT/JP2017/022787 priority patent/WO2017221956A1/en
Publication of JP2017228083A publication Critical patent/JP2017228083A/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)

Abstract

【課題】 ユーザに新規なサービスを提供するように構成された有価証券の売買を実行する装置を提供すること。【解決手段】 一実施形態に係るサーバ装置は、所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段と、前記所定のユーザについて、少なくとも1つの銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方に基づいて、未実現損失が生じている特定銘柄を売買すべき数量を算出する算出手段と、前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段と、を具備する。【選択図】 図4PROBLEM TO BE SOLVED: To provide an apparatus for performing trading of securities configured to provide a new service to a user. A server apparatus according to an embodiment relates to a predetermined user, a realized gain, an interest in a specific year in association with each brand held in an account opened by the predetermined user at a certain financial institution. Storage means for storing at least distributions / dividends and unrealized losses and at least one of total realized profit and interest / distribution / dividends for at least one issue for the given user Based on the calculation means for calculating the quantity to be bought and sold for the specific issue in which the unrealized loss occurs, and for the predetermined user, after executing the sale process of selling the quantity of the specific issue, within a predetermined time And buying and selling processing means for executing a purchase process for purchasing the specific brand in the same quantity as the quantity. [Selection] Figure 4

Description

本出願において開示された技術は、有価証券の売買を実行する装置に関する。   The technology disclosed in the present application relates to an apparatus for performing trading of securities.

有価証券の売買に用いられる装置としては、特許第5823084号公報(特許文献1)に開示されたものが知られている。特許文献1は、ユーザからの利益分の売り指示に応じて、利益分に応じた売却処理を実行する装置を開示している(なお、特許文献1の開示内容は、引用により本明細書に組み入れられる。)。   A device disclosed in Japanese Patent No. 5823084 (Patent Document 1) is known as an apparatus used for trading securities. Patent Document 1 discloses a device that executes a sale process according to profits in response to a profit-sale instruction from a user (the disclosure of Patent Document 1 is incorporated herein by reference). Incorporated).

特許第5823084号公報Japanese Patent No. 5823084

本発明の様々な実施形態では、ユーザに新規なサービスを提供するように構成された有価証券の売買を実行する装置を提供する。   Various embodiments of the present invention provide an apparatus for performing the buying and selling of securities configured to provide new services to a user.

本発明の一態様に係るサーバ装置は、所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段と、前記所定のユーザについて、少なくとも1つの銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方に基づいて、未実現損失が生じている特定銘柄を売買すべき数量を算出する算出手段と、前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段と、を具備するものである。
本発明の一態様に係る端末装置は、所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段と、前記所定のユーザについて、少なくとも1つの銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方に基づいて、未実現損失が生じている特定銘柄を売買すべき数量を算出する算出手段と、前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段と、を具備するものである。
本発明の一態様に係る売買方法は、コンピュータによって実行される売買方法であって、所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する段階と、前記所定のユーザについて、少なくとも1つの銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方に基づいて、未実現損失が生じている特定銘柄を売買すべき口数を算出する段階と、前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する段階と、を含むものである。
本発明の一態様に係るコンピュータプログラムは、コンピュータを、所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段、前記所定のユーザについて、少なくとも1つの銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方に基づいて、未実現損失が生じている特定銘柄を売買すべき数量を算出する算出手段、並びに、前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段、として機能させるものである。
The server apparatus according to one aspect of the present invention relates to a realized profit, interest / distribution in a specific year in association with each brand held in an account opened by a predetermined user for a predetermined user. Storage means for storing at least gold / dividend and unrealized loss, and for the predetermined user, based on at least one of the total realized profit and the total of interest / distribution / dividend for at least one issue And calculating means for calculating the quantity to be bought and sold for the specific issue with the unrealized loss, and for the predetermined user, after executing the sale process for selling the quantity of the specific issue, within a predetermined time, Buying and selling processing means for executing a purchase process for purchasing the specific brand in the same quantity as the quantity.
The terminal device according to an aspect of the present invention relates to a realized profit, interest / distribution in a specific year for a predetermined user in association with each brand held in an account opened by the predetermined user at a certain financial institution. Storage means for storing at least gold / dividend and unrealized loss, and for the predetermined user, based on at least one of the total realized profit and the total of interest / distribution / dividend for at least one issue And calculating means for calculating the quantity to be bought and sold for the specific issue with the unrealized loss, and for the predetermined user, after executing the sale process for selling the quantity of the specific issue, within a predetermined time, Buying and selling processing means for executing a purchase process for purchasing the specific brand in the same quantity as the quantity.
A trading method according to an aspect of the present invention is a trading method executed by a computer, and for a predetermined user, the predetermined user is associated with each brand held in an account opened in a certain financial institution, Storing at least the realized gain, interest / distribution / dividend and unrealized loss in a specific year, and the total realized gain and interest / distribution / dividend for at least one issue for the given user; Based on at least one of the total amount of gold, a step of calculating the number of units to be bought / sold for a specific issue in which an unrealized loss has occurred, and a sale process for selling the specific issue for the predetermined user are executed. And performing a purchase process for purchasing the specific brand in the predetermined time in the same amount as the quantity.
A computer program according to an aspect of the present invention relates to a realized gain, interest / distribution money for a predetermined user in association with each stock held in an account established by the predetermined user at a certain financial institution. Storage means for storing at least dividends and unrealized losses, based on at least one of the total realized profit and interest / distribution / dividend for at least one issue for the given user, The calculation means for calculating the quantity to be bought and sold for the specific issue in which the unrealized loss has occurred, and for the predetermined user, after executing the sale processing for selling the quantity of the specific issue, within a predetermined time, It is made to function as a buying and selling processing means for executing a purchasing process for purchasing a specific brand in the same quantity as the quantity.

図1は、本発明の一実施形態に係る有価証券の売買システム1の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of a securities trading system 1 according to an embodiment of the present invention. 図2は、図1に示した有価証券の売買システム1に用いられる売買サーバ10(を構成する各サーバ)の構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the configuration of the trading server 10 (each server constituting the trading server 10) used in the securities trading system 1 shown in FIG. 図3は、図1に示した有価証券の売買システム1に用いられる端末装置30の構成の一例を示すブロック図である。FIG. 3 is a block diagram showing an example of the configuration of the terminal device 30 used in the securities trading system 1 shown in FIG. 図4は、図1に示した有価証券の売買システム1において用いられる売買サーバ10が有する機能の一例を示すブロック図である。FIG. 4 is a block diagram showing an example of functions of the trading server 10 used in the securities trading system 1 shown in FIG. 図5は、図1に示した有価証券の売買システム1において行われる動作の一例を示すフロー図である。FIG. 5 is a flowchart showing an example of operations performed in the securities trading system 1 shown in FIG. 図6は、図1に示した有価証券の売買システム1において用いられる売買サーバ10のデータベースサーバ16に記憶されるユーザの資産に関する情報の一例を示す図である。FIG. 6 is a diagram showing an example of information related to user assets stored in the database server 16 of the trading server 10 used in the securities trading system 1 shown in FIG. 図7は、図1に示した有価証券の売買システム1において用いられる売買サーバ10の証券サーバ16から提供される時価情報の一例を示す図である。FIG. 7 is a diagram showing an example of market price information provided from the securities server 16 of the trading server 10 used in the securities trading system 1 shown in FIG. 図8は、図1に示した有価証券の売買システム1において用いられる売買サーバ10のデータベースサーバ16に記憶される取引情報の一例を示す図である。FIG. 8 is a diagram showing an example of transaction information stored in the database server 16 of the trading server 10 used in the securities trading system 1 shown in FIG.

以下、添付図面を参照して、本発明の様々な実施形態を説明する。なお、添付図面において共通する構成要素には同一の参照符号が付されている。   Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, common constituent elements are denoted by the same reference numerals.

1.一実施形態に係る有価証券の売買システムの概要
一実施形態に係る有価証券の売買システムは、ユーザが有価証券の取引により発生した利益に対して課税される税金(所得税、住民税、復興税等)(以下「所得税等」という。)を最適化する新規なサービスをユーザに提供するものである。具体的には、税法上、ユーザの特定の年における証券取引において発生した譲渡益及び利金・分配金・配当金(以下便宜上「分配金等」という。)を譲渡損と相殺することが可能であることを前提として、或る時点で或るユーザについて少なくとも1つの銘柄について実現益及び分配金等(の少なくとも一方)が生じており、かつ、少なくとも1つの銘柄(特定銘柄)について未実現損失が生じている場合には、上記少なくとも1つの銘柄について発生した実現益及び分配金等(の少なくとも一方)の総額に照らして、当該金額と実現損失を相殺するために売却すべき上記特定銘柄の数量(口数、株数、額面金額等。以下同様とする。)を算出した上で、上記特定銘柄を上記数量売却する売却処理を実行した後、所定の時間内に、上記特定銘柄を上記数量と同一の数量購入する購入処理を実行することにより、上記特定銘柄について保有数量に変動を生じさせることなく実現損失を生じさせるものである。これにより、ユーザは、上記少なくとも1つの銘柄について生じている実現益の総額及び分配金等の総額から上記特定銘柄について生じた実現損失を相殺した金額を、所得税等の対象とすることによって、単に実現益及び分配金等(の少なくとも一方)のみが発生した場合に比して、支払うべき所得税等を減ずることができる。
図1は、本発明の一実施形態に係る有価証券の売買システムの構成の一例を示すブロック図である。図1に示すように、有価証券の売買システム1は、主に、売買サーバ10と、売買サーバ10に対してインターネット等を含む通信網20を介して接続された複数の端末装置30−1、30−2、・・・、30−N(以下「端末装置30」と総称することがある。)と、を含む。
1. Overview of Securities Trading System According to One Embodiment A securities buying and selling system according to one embodiment includes a tax (income tax, resident tax, reconstruction tax, etc.) that is taxed on profits generated by a user through a securities transaction. ) (Hereinafter referred to as “income tax”) is provided to the user with a new service. Specifically, for the purpose of tax law, it is possible to offset the gain on transfer and interest / distribution / dividend (hereinafter referred to as “distribution etc.” for the sake of convenience) generated in securities transactions in a specific year with the loss on transfer. Assuming that, at a certain point in time, at least one issue has at least one realized gain and / or distribution, etc., and at least one issue (specific issue) has not been realized. In the case of the above-mentioned specific issues to be sold in order to offset the realized loss and realized loss against the total amount of realized gains and distributions (at least one) of the at least one issue After calculating the quantity (number of shares, number of shares, face value, etc., the same shall apply hereinafter), after executing the sale process of selling the specified stock in the above quantity, the specified stock within a predetermined time. The by executing purchase processing to buy the same quantity and the quantity is causing a realized loss without causing fluctuations in the possession quantity for the specific brand. As a result, the user simply sets the amount obtained by offsetting the realized loss generated for the specific issue from the total realized gain and distribution amount generated for the at least one issue as a target of income tax, etc. Compared to the case where only realized profits and distributions (at least one of them) are generated, income tax to be paid can be reduced.
FIG. 1 is a block diagram showing an example of the configuration of a securities trading system according to an embodiment of the present invention. As shown in FIG. 1, a securities trading system 1 mainly includes a trading server 10 and a plurality of terminal devices 30-1 connected to the trading server 10 via a communication network 20 including the Internet. 30-2,..., 30-N (hereinafter may be collectively referred to as “terminal device 30”).

本実施形態では、売買サーバ10は、計算サーバ12と、計算サーバ12に接続されたウェブサーバ14と、計算サーバ12及びウェブサーバ14に接続されたデータベースサーバ16と、データベースサーバ16に接続された証券サーバ18と、を含む。なお、別の実施形態では、売買サーバ10は、計算サーバ12、ウェブサーバ14、データベースサーバ16及び証券サーバ18の各々が果たす機能をすべて果たすように、1つ又は複数のデータベースとして構成されるものであってもよい。   In the present embodiment, the trading server 10 is connected to the calculation server 12, the web server 14 connected to the calculation server 12, the database server 16 connected to the calculation server 12 and the web server 14, and the database server 16. Securities server 18. In another embodiment, the trading server 10 is configured as one or a plurality of databases so as to perform all of the functions performed by each of the calculation server 12, the web server 14, the database server 16, and the securities server 18. It may be.

ウェブサーバ14は、端末装置30から受信した情報に応じて、計算サーバ12及びデータベースサーバ16から受信した様々な情報を用いてウェブページを表示するためのHTMLデータを生成して端末装置30に送信する。データベースサーバ16は、ウェブサーバ14、計算サーバ12及び証券サーバ18の各々から受信した情報を記憶するとともに、記憶した情報を計算サーバ12及びウェブサーバ14に送信する。計算サーバ12は、ウェブサーバ14及びデータベースサーバ16の各々から受信した情報に基づいて、様々な処理及び演算を実行し、そのような処理及び演算の結果をウェブサーバ14及びデータベースサーバ16に送信する。証券サーバ18は、有価証券に関する様々な情報を、図示しない証券取引所(東京証券取引所やニューヨーク証券取引所等を含む様々な証券取引所)に配置された図示しないサーバ装置から通信網20等を介して受信し、そのように受信した情報をデータベースサーバ16に送信する。   The web server 14 generates HTML data for displaying a web page using various information received from the calculation server 12 and the database server 16 according to the information received from the terminal device 30 and transmits the HTML data to the terminal device 30. To do. The database server 16 stores information received from each of the web server 14, the calculation server 12, and the securities server 18, and transmits the stored information to the calculation server 12 and the web server 14. The calculation server 12 executes various processes and operations based on information received from the web server 14 and the database server 16, and transmits the results of such processes and operations to the web server 14 and the database server 16. . The stock server 18 receives various information related to securities from a server device (not shown) arranged on a stock exchange (not shown) (Tokyo Stock Exchange, New York Stock Exchange, etc.). The information received as such is transmitted to the database server 16.

ユーザは、そのユーザの端末装置30を用いて、売買サーバ10(特にウェブサーバ14)との間で様々な情報を送受信することによって、有価証券の売買に関する様々なサービス(以下「有価証券売買サービス」という。)の提供を受けることができる。   The user transmits / receives various information to / from the trading server 10 (particularly the web server 14) using the terminal device 30 of the user, and thereby various services related to trading of securities (hereinafter referred to as “securities trading service”). ")".

2.売買サーバ10の構成
売買サーバ10を構成する計算サーバ12、ウェブサーバ14、データベースサーバ16及び証券サーバ18が共通して有する構成について図2を参照して説明する。図2は、図1に示した有価証券の売買システムに用いられる売買サーバ10(を構成する各サーバ)の構成の一例を示すブロック図である。
2. Configuration of Trading Server 10 The configuration that the calculation server 12, the web server 14, the database server 16, and the securities server 18 that constitute the trading server 10 have in common will be described with reference to FIG. FIG. 2 is a block diagram showing an example of the configuration of the trading server 10 (each server constituting the trading server 10) used in the securities trading system shown in FIG.

図2に示すように、各サーバは、CPU101と、メインメモリ102と、ユーザインターフェイス(I/F)103と、通信インターフェイス(I/F)104と、外部メモリ105と、ディスクドライブ106と、を含み、これらの各構成要素がバス107を介して互いに電気的に接続されている。   As shown in FIG. 2, each server includes a CPU 101, a main memory 102, a user interface (I / F) 103, a communication interface (I / F) 104, an external memory 105, and a disk drive 106. These components are electrically connected to each other via a bus 107.

CPU101は、外部メモリ105からオペレーティングシステム、及び、様々な機能を実現するためのプログラム等をメインメモリ102にロードし、ロードしたプログラムに含まれる命令を実行する。メインメモリ102は、CPU101が実行するプログラムを格納するために用いられ、例えばDRAMによって構成される。
なお、計算サーバ14に搭載されたCPU101は、ウェブサーバ14及びデータベースサーバ16の各々から受信した情報に基づいて、様々な処理及び演算を実行する。また、ウェブサーバ14に搭載されたCPU101は、端末装置30から受信した情報に応じて、計算サーバ12及びデータベースサーバ16から受信した様々な情報を用いてウェブページを表示するためのHTMLデータを生成する。
The CPU 101 loads an operating system, a program for realizing various functions, and the like from the external memory 105 into the main memory 102, and executes instructions included in the loaded program. The main memory 102 is used for storing a program executed by the CPU 101, and is constituted by a DRAM, for example.
The CPU 101 mounted on the calculation server 14 executes various processes and calculations based on information received from each of the web server 14 and the database server 16. The CPU 101 mounted on the web server 14 generates HTML data for displaying a web page using various information received from the calculation server 12 and the database server 16 in accordance with the information received from the terminal device 30. To do.

ユーザI/F103は、例えば、オペレータの入力を受け付けるキーボードやマウス等の情報入力装置と、CPU101の演算結果を出力する液晶ディスプレイ等の情報出力装置と、を含む。通信I/F104は、ハードウェア、ファームウェア、TCP/IPドライバやPPPドライバ等の通信用ソフトウェア、又は、これらの組み合わせとして実装される。
なお、計算サーバ12、ウェブサーバ14、データベースサーバ16及び証券サーバ18の各サーバは、通信I/F104を用いて、他のサーバと通信可能に接続される。さらに、ウェブサーバ14は、通信I/F104を用いて、通信網20を介して端末装置30と通信可能に構成される。
The user I / F 103 includes, for example, an information input device such as a keyboard and a mouse that receives an operator's input, and an information output device such as a liquid crystal display that outputs a calculation result of the CPU 101. The communication I / F 104 is implemented as hardware, firmware, communication software such as a TCP / IP driver or a PPP driver, or a combination thereof.
Note that the calculation server 12, the web server 14, the database server 16, and the securities server 18 are communicably connected to other servers using the communication I / F 104. Further, the web server 14 is configured to be able to communicate with the terminal device 30 via the communication network 20 using the communication I / F 104.

外部メモリ105は、例えば磁気ディスクドライブで構成され、様々な機能を実現するためのプログラム等の様々なプログラムが記憶される。また、外部メモリ105には、これらのプログラムにおいて用いられる各種データも記憶されうる。   The external memory 105 is composed of, for example, a magnetic disk drive, and stores various programs such as programs for realizing various functions. The external memory 105 can also store various data used in these programs.

ディスクドライブ106は、CD−ROM、DVD−ROM、DVD−R等の各種の記憶メディアに格納されたデータを読み込み、又は、これらの記憶メディアにデータを書き込む。
以上、売買サーバ10を構成する計算サーバ12、ウェブサーバ14、データベースサーバ16及び証券サーバ18が共通して有する構成について説明した。
The disk drive 106 reads data stored in various storage media such as a CD-ROM, a DVD-ROM, and a DVD-R, or writes data to these storage media.
In the above, the structure which the calculation server 12, the web server 14, the database server 16, and the securities server 18 which comprise the buying and selling server 10 have in common was demonstrated.

ここで、このような構成を有するウェブサーバ14に着目すると、ウェブサーバ14は、階層構造を有する複数のウェブページから成るウェブサイトを管理するウェブサーバであり、端末装置30に対して、有価証券売買サービスを提供することができる。端末装置30に備えられたブラウザソフトウェアは、ウェブページを表示するためのHTMLデータをウェブサーバ14から取得し、取得したHTMLデータを解析して、当該ウェブページを端末装置30のユーザに提示することができる。このウェブページを表示するためのHTMLデータも外部メモリ105に記憶されうる。HTMLデータは、HTML等のマークアップ言語で記述されたHTML文書から成り、このHTML文書には、タグを利用して様々な画像を関連付けることができる。また、HTML文書には、ActionScriptやJavaScript(登録商標)等のスクリプト言語等で記述されたプログラムを埋め込むことができる。
このように、ウェブサーバ14は、有価証券売買サービスを提供するウェブサイトを管理し、このウェブサイトを構成するウェブページを端末装置30からの要求に応じて配信することにより、ユーザに有価証券売買サービスを提供することができる。
Here, paying attention to the web server 14 having such a configuration, the web server 14 is a web server that manages a website composed of a plurality of web pages having a hierarchical structure. Trading services can be provided. The browser software provided in the terminal device 30 acquires HTML data for displaying the web page from the web server 14, analyzes the acquired HTML data, and presents the web page to the user of the terminal device 30. Can do. HTML data for displaying the web page can also be stored in the external memory 105. The HTML data includes an HTML document described in a markup language such as HTML, and various images can be associated with the HTML document using tags. A program written in a script language such as ActionScript or Javascript (registered trademark) can be embedded in the HTML document.
In this way, the web server 14 manages the website that provides the securities trading service, and distributes the web pages constituting the website in response to a request from the terminal device 30, thereby allowing the user to buy / sell securities. Service can be provided.

3.端末装置30の構成
端末装置30は、一実施形態において、売買サーバ10から取得したウェブサイトのウェブページをウェブブラウザ上で表示することができる任意の情報処理装置であって、例えば、携帯電話機、スマートフォン、パーソナルコンピュータ、タッチパッドを含むが、これらには限られない。
3. The terminal device 30 of the terminal device 30 is an arbitrary information processing device capable of displaying a web page of a website acquired from the trading server 10 on a web browser in one embodiment, for example, a mobile phone, Including but not limited to smartphones, personal computers and touchpads.

図3を参照して端末装置30の構成を説明する。図3は、図1に示した有価証券の売買システム1に用いられる端末装置30の構成の一例を示すブロック図である。端末装置30は、図3に示すように、CPU31、メインメモリ32と、ユーザインターフェイス(I/F)33と、通信インターフェイス(I/F)34と、外部メモリ35と、を含み、これらの各構成要素がバス36を介して互いに電気的に接続されている。   The configuration of the terminal device 30 will be described with reference to FIG. FIG. 3 is a block diagram showing an example of the configuration of the terminal device 30 used in the securities trading system 1 shown in FIG. As shown in FIG. 3, the terminal device 30 includes a CPU 31, a main memory 32, a user interface (I / F) 33, a communication interface (I / F) 34, and an external memory 35. The components are electrically connected to each other via a bus 36.

CPU31は、外部メモリ35からオペレーティングシステム等の様々なプログラムをメインメモリ32にロードし、ロードしたプログラムに含まれる命令を実行する。メインメモリ32は、CPU31が実行するプログラムを格納するために用いられ、例えばDRAMによって構成される。   The CPU 31 loads various programs such as an operating system from the external memory 35 to the main memory 32 and executes instructions included in the loaded program. The main memory 32 is used for storing a program executed by the CPU 31, and is constituted by, for example, a DRAM.

ユーザI/F33は、例えば、ユーザの入力を受け付けるタッチパネル、キーボード、ボタンやマウス等の情報入力装置と、CPU31の演算結果を出力する液晶ディスプレイ等の情報出力装置と、を含む。通信I/F34は、ハードウェア、ファームウェア、又は、TCP/IPドライバやPPPドライバ等の通信用ソフトウェア又はこれらの組み合わせとして実装され、通信網20を介してサーバ装置10と通信可能に構成される。
外部メモリ35は、例えば磁気ディスクドライブやフラッシュメモリ等により構成され、オペレーティングシステム等の様々なプログラムを記憶する。
The user I / F 33 includes, for example, an information input device such as a touch panel that accepts user input, a keyboard, buttons, and a mouse, and an information output device such as a liquid crystal display that outputs a calculation result of the CPU 31. The communication I / F 34 is implemented as hardware, firmware, communication software such as a TCP / IP driver or a PPP driver, or a combination thereof, and is configured to be able to communicate with the server device 10 via the communication network 20.
The external memory 35 is configured by, for example, a magnetic disk drive, a flash memory, or the like, and stores various programs such as an operating system.

このような構成を有する端末装置30は、例えば、HTML形式のファイル(HTMLデータ)を解釈して画面表示するためのブラウザソフトウェアを備えており、このブラウザソフトウェアの機能により売買サーバ10から取得したHTMLデータを解釈して、受信したHTMLデータに対応するウェブページを表示することができる。また、端末装置30は、ブラウザソフトウェアに組み込まれるプラグインソフト(例えば、アドビシステムズ社から提供されているFLASH Player)(FLASHは商標)を備えており、HTMLデータに埋め込まれたSWF形式のファイルを売買サーバ10から取得し、当該SWF形式のファイルをブラウザソフトウェア及びプラグインソフトを用いて実行することができる。   The terminal device 30 having such a configuration includes, for example, browser software for interpreting an HTML format file (HTML data) and displaying the screen, and the HTML acquired from the trading server 10 by the function of the browser software. The data can be interpreted to display a web page corresponding to the received HTML data. Further, the terminal device 30 includes plug-in software (for example, FLASH Player provided by Adobe Systems) (FLASH is a trademark) incorporated in browser software, and a SWF format file embedded in HTML data is provided. The SWF format file obtained from the trading server 10 can be executed using browser software and plug-in software.

端末装置30においてHTML形式のファイル(HTMLデータ)が解釈されると、例えば、このファイルにおいて指定されたアニメーションや操作用アイコンが端末装置30の画面に表示される。ユーザは、端末装置30の入力インターフェイス(例えば、タッチスクリーンやボタン)を用いて有価証券売買サービスを進行させるための指示を入力することができる。ユーザから入力された指示は、端末装置30のブラウザ等のプラットフォームの機能を通じて売買サーバ10に伝達される。   When the terminal device 30 interprets an HTML format file (HTML data), for example, an animation or an operation icon specified in the file is displayed on the screen of the terminal device 30. The user can input an instruction to advance the securities trading service using an input interface (for example, a touch screen or a button) of the terminal device 30. The instruction input from the user is transmitted to the trading server 10 through a platform function such as a browser of the terminal device 30.

4.売買サーバ10の機能
図4は、図1に示した有価証券の売買システム1において用いられる売買サーバ10が有する機能の一例を示すブロック図である。図4に示すように、売買サーバ10は、主に、記憶部110と、算出部120と、売買処理部130と、を含む。
4). Function of Trading Server 10 FIG. 4 is a block diagram showing an example of the function of the trading server 10 used in the securities trading system 1 shown in FIG. As shown in FIG. 4, the trading server 10 mainly includes a storage unit 110, a calculation unit 120, and a trading processing unit 130.

記憶部110は、各ユーザについて、該ユーザが或る金融機関(ここでは一例として金融商品取引業者である「WN社」)に開設した口座において保有する複数の銘柄の各々に対応付けて、実現益、分配金等及び未実現損失等を含む様々な情報を記憶することができる。なお、金融機関には、預金取扱等金融機関(銀行、信用金庫、信用農業共同組合連合会等)、金融商品取引業者、及び、保険会社が含まれる。さらにまた、金融機関には、諸外国の法律等により定められた金融機関も含まれる。
算出部120は、各ユーザについて、少なくとも1つの銘柄(又は全銘柄)についての実現益の総額及び分配金等の総額のうちの少なくとも一方(又は両方)に基づいて、未実現損失が生じている特定銘柄を売買すべき数量(口数)を算出することができる。また、算出部120は、未実現損失が生じている特定銘柄を売買すべき数量を、全特定銘柄についての未実現損失の総額に対する上記特定銘柄の未実現損失の割合に基づいて算出することができる。
売買処理部130は、各ユーザについて、上記特定銘柄を上記数量売却する売却処理を実行した後、所定の時間内に、上記特定銘柄を上記数量と同一の数量購入する購入処理を実行することができる。
The storage unit 110 is realized by associating each user with each of a plurality of brands held in an account opened by the user at a certain financial institution (here, “WN company” which is a financial product transaction company). Various information including profits, distributions, etc. and unrealized losses can be stored. Financial institutions include deposit handling financial institutions (banks, credit unions, credit agricultural cooperative associations, etc.), financial product traders, and insurance companies. Furthermore, financial institutions include financial institutions defined by laws of other countries.
The calculation unit 120 causes an unrealized loss for each user based on at least one (or both) of the total realized profit and the total distribution amount for at least one brand (or all brands). It is possible to calculate the quantity (number of units) to be bought and sold for a specific brand. In addition, the calculation unit 120 may calculate the quantity to be bought and sold for the specific issue in which the unrealized loss has occurred based on the ratio of the unrealized loss of the specific issue to the total unrealized loss for all the specific issues. it can.
For each user, the sale processing unit 130 may execute a purchase process for purchasing the specific brand in the predetermined amount after the sale process for selling the specific brand in the predetermined amount. it can.

このような売買サーバ10が有する各機能は、図2に示した構成を用いて実現され得るものである。   Each function of the trading server 10 can be realized by using the configuration shown in FIG.

5.有価証券の売買システムの動作
上記構成を有する有価証券の売買システム1において有価証券売買サービスを提供するために行われる動作の一例について説明する。
まず、有価証券の売買システム1において行われる動作の概要について図5を参照して簡単に説明する。図5は、図1に示した有価証券の売買システム1において行われる動作の一例を示すフロー図である。
5. Operation of Securities Trading System An example of an operation performed to provide a securities trading service in the securities trading system 1 having the above configuration will be described.
First, an outline of operations performed in the securities trading system 1 will be briefly described with reference to FIG. FIG. 5 is a flowchart showing an example of operations performed in the securities trading system 1 shown in FIG.

まず、ステップ(以下「ST」という。)40において、ユーザ(ここでは「ユーザ甲」)が、端末装置30を利用して、売買サーバ10のウェブサーバ14により提供されている有価証券売買サービスを提供するための所定のサイトにアクセスして、様々な情報を入力してウェブサーバ14に送信する。ユーザ甲は、有価証券の購入に費やす金額等を含む様々な情報を指定してウェブサーバ14に送信することができる。このような情報は、ウェブサーバ14を介して計算サーバ12に送信される。これにより、計算サーバ12は、ユーザ甲について、所定のアルゴリズムに従って、複数の銘柄が含まれたポートフォリオを自動的に生成する。   First, in step (hereinafter referred to as “ST”) 40, a user (here “User A”) uses the terminal device 30 to execute a securities trading service provided by the web server 14 of the trading server 10. A predetermined site for providing is accessed, and various information is input and transmitted to the web server 14. The user A can designate various information including the amount of money spent for purchasing the securities and transmit it to the web server 14. Such information is transmitted to the calculation server 12 via the web server 14. Thereby, the calculation server 12 automatically generates a portfolio including a plurality of issues for the user A according to a predetermined algorithm.

ST42において、計算サーバ12は、リバランス処理を実行する。具体的には、計算サーバ12は、ユーザ甲のポートフォリオの状態を監視し、このポートフォリオを構成する複数の銘柄の各々の資産が全体の資産に対して特定の割合を占めるように、各銘柄を適切な口数売却又は購入するリバランス処理を実行する。各銘柄の資産が全体の資産に対して占める割合は、限定されるものではなく、予め設けられた設定値であってもよいし、ユーザ甲から指定された設定値であってもよい。   In ST42, the calculation server 12 executes a rebalance process. Specifically, the calculation server 12 monitors the state of the portfolio of the user A, and sets each brand so that each asset of a plurality of brands constituting this portfolio occupies a specific ratio with respect to the entire asset. Perform rebalancing process to sell or purchase the appropriate number of units. The ratio of the assets of each brand with respect to the total assets is not limited, and may be set values provided in advance or set values designated by the user A.

ST44において、計算サーバ12は、ユーザ甲の資産に関する情報を生成(更新)する。これにより、計算サーバ12は、ユーザ甲の資産に関する情報を生成(更新)してデータベースサーバ16に記憶する。   In ST44, the calculation server 12 generates (updates) information regarding the assets of the user A. As a result, the calculation server 12 generates (updates) information related to the asset of the user A and stores it in the database server 16.

図6は、図1に示した有価証券の売買システム1において用いられる売買サーバ10のデータベースサーバ16に記憶されるユーザの資産に関する情報の一例を示す図である。図6に例示するように、データベースサーバ16は、顧客ID「0001」で識別されるユーザ甲について、ユーザ甲が金融商品取引業者(WN社)に開設した口座において保有する銘柄A〜銘柄Gの各々について、例えば、保有口数、平均取得単価、実現益、累積分配金額、時価、未実現損失を記憶することができる(なお、図6に示された、目標実現損、売買口数及び売買後平均取得単価は、ST46における処理を説明するためのものであって、データベースサーバ16に記憶されるものではない)。   FIG. 6 is a diagram showing an example of information related to user assets stored in the database server 16 of the trading server 10 used in the securities trading system 1 shown in FIG. As illustrated in FIG. 6, for the user A identified by the customer ID “0001”, the database server 16 has the brand A to the brand G held in the account opened by the user A at the financial product trader (WN company). For example, it is possible to store, for example, the number of units held, average acquisition unit price, realized profit, cumulative distribution amount, market price, unrealized loss (note that the target realized loss, number of trading units and average after trading shown in FIG. 6) The acquisition unit price is for explaining the processing in ST46, and is not stored in the database server 16).

これらの情報のうち、「時価(円)」は、例えば図7に示す時価情報(これは証券サーバ18からデータベースサーバ16に提供される情報である)に基づいて計算サーバ12により算出されたものである。例えば、銘柄Aの「時価(円)」である「11792(円)」は、米国ドルと日本円との為替レートである「110.28(円)」に銘柄Aの価格である「106.93(ドル)」を乗ずることによって算出されたものである。したがって、各銘柄の「時価(円)」は、証券サーバ18から提供される時価情報に依存して時々刻々と変化するものであるといえる。   Among these pieces of information, the “market price (yen)” is calculated by the calculation server 12 based on, for example, the market price information shown in FIG. 7 (this is information provided from the securities server 18 to the database server 16). It is. For example, “11792 (yen)” which is the “market price (yen)” of the brand A is “106.28 (yen)” which is the exchange rate between the US dollar and the Japanese yen, and the price of the brand A is “106. 93 (dollars) ". Therefore, it can be said that the “market price (yen)” of each brand changes from time to time depending on the market price information provided from the securities server 18.

また、ユーザ甲についてデータベースサーバ16に記憶される情報のうち、「未実現損益(円)」もまた、実質的には、例えば図7に示す時価情報に基づいて計算サーバ12により算出されたものである。例えば、銘柄Aの「未実現損益(円)」である「−9240(円)」は、銘柄Aの「時価」である「11792(円)」から銘柄Aの「平均取得単価(円)」である「12100(円)」を減じた値に、銘柄Aの「保有口数」である「30」を乗ずることによって算出されたものである。したがって、各銘柄の「未実現損益(円)」もまた、証券サーバ18から提供される時価情報に依存して時々刻々と変化するものであるといえる。   Of the information stored in the database server 16 for the user A, the “unrealized gain / loss (yen)” is also substantially calculated by the calculation server 12 based on the market price information shown in FIG. It is. For example, “−9240 (yen)”, which is “unrealized gain / loss (yen)” of brand A, is “average acquisition unit price (yen)” of brand A from “11792 (yen)”, which is “market price” of brand A. Is calculated by multiplying the value obtained by subtracting “12100 (yen)”, which is “30”, which is the “number of shares” of the brand A. Therefore, it can be said that the “unrealized gain / loss (yen)” of each brand also changes from time to time depending on the market price information provided from the securities server 18.

データベースサーバ16は、以上のような情報をユーザ甲だけでなく他のユーザについても(すなわち、各ユーザについて)記憶することができる。   The database server 16 can store the above information not only for the user A but also for other users (that is, for each user).

図5に戻り、ST46において、計算サーバ12は、少なくとも1つの銘柄の実現益の総額及び分配金等の総額のうちの少なくとも一方が生じており、かつ、少なくとも1つの特定銘柄について未実現損失が生じている場合には、この特定銘柄を売買すべき口数を算出する。   Returning to FIG. 5, in ST46, the calculation server 12 generates at least one of the total realized gain of at least one issue and the total amount of distribution, etc., and there is an unrealized loss for at least one specific issue. If so, calculate the number of units to buy or sell this particular issue.

ST48において、計算サーバ12は、特定銘柄をST46において算出された口数売却する売却処理、及び、特定銘柄をST46において算出された口数と同一の口数購入する購入処理を実行する。   In ST48, the calculation server 12 executes a sale process for selling the specific brand in the unit calculated in ST46, and a purchase process for purchasing the specific brand in the same number as the unit calculated in ST46.

この後、上述した処理(ST40〜ST48)が繰り返される。この場合、ST40において、ユーザ甲が何らの情報も入力しない場合には、何らの処理も行われず、処理はST42に移行する。
また、ST42において、リバランス処理は、例えば、いずれかの銘柄の資産が全体の資産に対して占める割合がこの銘柄について設定されている割合と相違している場合にのみ、実行されるようにしてもよいし、及び/又は、所定の周期(例えば、1週間、2週間、1ヶ月、3か月等の任意の周期)ごとに実行されるようにしてもよい。
さらに、ST44において、ユーザ甲の資産に関する情報の更新もまた、例えば、所定の周期(例えば、毎日(例えば朝5時)、毎週、毎月等の任意の周期)ごとに実行されるようにしてもよいし、及び/又は、ST42におけるリバランス処理及び/又はST48における特定銘柄の売買処理が実行される都度、実行されるようにしてもよい。
さらにまた、ST48において、特定銘柄の売買処理は、所定の周期(毎日、毎週、毎月、毎四半期、毎年その他一定の周期)ごとに実行されるようにしてもよいし、少なくとも1つの銘柄についての分配金等が更新された時点、少なくとも1つの銘柄が売却された時点、ST42におけるリバランス処理が実行された時点、ST40においてユーザ甲の端末装置30から所定の信号(特定銘柄の売買処理を実行する旨を売買サーバ10に対して指示する信号等)を受信した時点、及び/又は、売買サーバ10(計算サーバ12、ウェブサーバ14、データベースサーバ16及び証券サーバ18のうちのいずれであってもよい)に設けられたユーザインターフェイス(I/F)103を介してこの売買サーバ10を操作するオペレータにより入力された所定の信号が上記売買サーバ10のCPU101に検出された時点(例えば、オペレータが、特定のユーザについて、特定銘柄の売買処理を実行すべく、所定のアイコン等をクリックしたり、キーボードから所定の情報を入力した時点)において実行されるようにしてもよい。
Thereafter, the above-described processing (ST40 to ST48) is repeated. In this case, if the user A does not input any information in ST40, no processing is performed, and the processing moves to ST42.
In ST42, the rebalancing process is executed only when, for example, the ratio of the assets of any brand to the total assets is different from the ratio set for this brand. And / or may be executed every predetermined cycle (for example, any cycle such as one week, two weeks, one month, three months, etc.).
Furthermore, in ST44, the update of the information related to the assets of the user A is also executed, for example, every predetermined cycle (for example, every cycle (for example, every day at 5 am, every week, every month, etc.)). Alternatively, and / or each time the rebalancing process at ST42 and / or the trading process for the specific brand at ST48 is executed.
Furthermore, in ST48, the trading process for a specific brand may be executed at a predetermined cycle (daily, weekly, monthly, quarterly, yearly or other fixed period), or at least one brand may be executed. When the distribution amount is updated, when at least one brand is sold, when the rebalancing process in ST42 is executed, and in ST40, a predetermined signal (execution processing for a specific brand is executed from the terminal device 30 of the user A) And / or any of the trading server 10 (calculation server 12, web server 14, database server 16 and securities server 18). By an operator operating this trading server 10 via a user interface (I / F) 103 provided in the When the inputted predetermined signal is detected by the CPU 101 of the trading server 10 (for example, an operator clicks a predetermined icon or the like to execute trading processing of a specific brand for a specific user, or from the keyboard It may be executed at the time of inputting predetermined information.

5−1.特定銘柄を売買すべき口数の算出(ST46)の詳細について
上述したST46において行われる(ユーザ甲について)特定銘柄を売買すべき口数の算出について具体的に説明する。
5-1. Details of the calculation of the number of units to buy and sell the specific issue (ST46) The calculation of the number of units to buy and sell the specific issue performed in ST46 described above (for the user A) will be specifically described.

まず、前提条件として、ユーザ毎に次のデータを利用する(時価単価は全ユーザで共通である)。
銘柄ID i(i∈I,I={1,2,3,...,n}
保有口数 Amount
取得単価 AC
時価単価 MV
実現損益(今年分) RP
累積分配金額(今年分) DV
未実現損益 UP
銘柄iの代替銘柄のID ai(但し、iは集合Iには含まれない。)
なお、銘柄iの代替銘柄については、「6.変形例」において後述する。
First, as a precondition, the following data is used for each user (the market unit price is common to all users).
Stock ID i (i∈I, I = {1, 2, 3,..., N})
Number of holdings Amount i
Acquisition unit price AC i
Market unit price MV i
Realized gain / loss (for this year) RP i
Cumulative distribution amount (for this year) DV i
Unrealized gain / loss UP i
ID ai of the alternative brand of the brand i (however, i is not included in the set I)
The alternative brands of the brand i will be described later in “6. Modifications”.

以下に述べるステップ1〜ステップ3が計算サーバ12により実行される。
(1)ステップ1
ユーザ甲の実現損益(実現損益及び分配金等のうちの少なくとも一方)の総額が次の式に従って算出される。

Figure 0006068713

ユーザ甲の実現損益が利益となっている場合(TRP>0)であって、かつ、ユーザ甲が未実現損失が生じている銘柄(特定銘柄)を保有している(UP<0となっているiが存在する)場合には、ステップ2が実行される。なお、図6に示した例では、TRP=16600(円)である。
(2)ステップ2
未実現損失が生じている銘柄(特定銘柄)全部のIDの集合をU(UI)とする。
(3)ステップ3
未実現損失の総額が次の式に従って計算される。
Figure 0006068713

なお、図6に示した例では、TUL=9773(円)である。
本実施形態では、ユーザが同一日において同一銘柄の売却及び購入を約定した場合、税務上、先に購入を行いその後に売却を行ったものとみなして、税務上の譲渡損益を算出することを前提とする。そうすると、未実現損失の発生した銘柄の全数量を購入及び売却したとしても、損出し可能な額は未実現損失の総額の半分までであることになる(段落0044参照)。そうすると、未実現損失の総額の半分(TUL/2)が相殺したい実現益以下であれば、全ての未実現損失を実現させる取引すなわち最大限の損出しが行われる。そうでない場合には、相殺したい実現益が、次の式に従って、未実現損失の金額の割合で特定銘柄に割り振られる。
Figure 0006068713

これにより、各特定銘柄について目標実現損Tが算出される(なお、図6に示した例では、目標実現損Tは、図6において「目標実現損(円)」として記載されている)。よって、各特定銘柄を売買すべき口数Xが次の式に従って算出される。
=Amount×T÷(−UP−T) (1)
このように、各特定銘柄について売買すべき口数Xが算出される。なお、図6に示した例では、銘柄A、銘柄B、銘柄C及び銘柄Gが特定銘柄に該当し、これらについて売買すべき口数は、それぞれ、22、67、25及び3である。
これらの特定銘柄をそれぞれ算出された口数で購入した後、これらの特定銘柄をそれぞれ算出されたものと同一の口数で売却した場合には、実現する損失額は、16796(円)である。これに対して、実現益の総額は上記のとおり16600(円)である。
なお、ユーザ甲が金融商品取引業者であるWN社に開設した口座が一般口座である場合等税制上適切と考えられる場合には、下記式(2)を用いることもできる。
=T÷(AC−MV) (2)
また、上記式(1)又は上記式(2)を用いて、各特定銘柄について売買すべき口数Xを算出する際には、別の実施形態では、Tをそのまま用いることに代えて、Tに所定の演算を施したものを用いてもよい。例えば、所定の位(1の位、10の位、100の位等の任意の位)でTを四捨五入(又は切り上げ若しくは切り捨て)したものを上記式(1)又は上記式(2)に代入し、Tから所定の数値を減じたものを上記式(1)又は上記式(2)に代入し、及び/又は、Tに所定の係数(1未満の係数)を乗じたものを上記式(1)又は上記式(2)に代入したりすることができる。このような手法を用いた場合であっても、最終的には、(Tをそのまま用いる場合に比べて、節税効果は下がる可能性はあるものの)ユーザ甲は、支払うべき所得税等を依然として減ずることができる。
Steps 1 to 3 described below are executed by the calculation server 12.
(1) Step 1
The total amount of realized profit / loss of user A (at least one of realized profit / loss and distribution) is calculated according to the following formula.
Figure 0006068713

When the realized profit / loss of the user A is profit (TRP> 0), and the user A has a brand (specific brand) in which an unrealized loss occurs (UP i <0) If i exists), step 2 is executed. In the example shown in FIG. 6, TRP = 16600 (yen).
(2) Step 2
A set of unrealized loss issues (specific brand) all ID and U (U I).
(3) Step 3
The total unrealized loss is calculated according to the following formula:
Figure 0006068713

In the example shown in FIG. 6, TUL = 3 9773 (yen).
In the present embodiment, when the user promises to sell and purchase the same issue on the same day, it is assumed that the purchase is made first and then the sale is made for tax purposes, and the transfer profit / loss for tax purposes is calculated. Assumption. Then, even if the entire number of issues with unrealized losses is purchased and sold, the amount that can be lost is up to half of the total unrealized losses (see paragraph 0044). Then, if half of the total unrealized loss (TUL / 2) is less than or equal to the realized gain to be offset, a transaction that realizes all unrealized losses, that is, maximum loss is performed. If this is not the case, the realized gain to be offset is allocated to the specific issue in proportion to the amount of the unrealized loss according to the following formula:
Figure 0006068713

Thus, (Note target realized loss T i is calculated for each particular brand, in the example shown in FIG. 6, the target realized loss T i is described as "target realized loss (yen)" in FIG. 6 ). Therefore, the number X i of each specific brand to be bought and sold is calculated according to the following formula.
X i = Amount i × T i ÷ (−UP i −T i ) (1)
In this way, the number X i to be bought and sold for each specific brand is calculated. In the example shown in FIG. 6, brand A, brand B, brand C, and brand G correspond to specific brands, and the numbers to be traded for these are 22, 67, 25, and 3, respectively.
If these specific issues are purchased in the calculated units and then sold in the same units as those calculated, the realized loss is 16796 (yen). On the other hand, the total realized profit is 16600 (yen) as described above.
Note that the following equation (2) can also be used when it is considered appropriate for taxation, such as when the account opened by the user A at WN, which is a financial product transaction company, is a general account.
X i = T i ÷ (AC i −MV i ) (2)
Further, when calculating the number X i to be traded for each specific issue using the above formula (1) or the above formula (2), in another embodiment, instead of using T i as it is, it may be used after performing a predetermined operation on T i. For example, a predetermined position (1-position, 2, 10, any position, such as 100 in place) substituting those rounded to T i (or rounded up or down) in the formula (1) or the formula (2) Substituting a value obtained by subtracting a predetermined numerical value from T i into the above equation (1) or the above equation (2) and / or multiplying T i by a predetermined coefficient (coefficient less than 1) Or can be substituted into the equation (1) or the above equation (2). Even in the case of using such a technique, finally, (as compared with the case where the T i used as is tax savings although the effect is likely to fall there) user Jia, reduces still income tax owed be able to.

次に、上述した式(1)がどのようにして導かれるのかについて簡単に説明する。
まず前提条件として、以下のとおり設定する。
目標損出し額 T円(>0)
特定銘柄の取得価格 a円
特定銘柄の時価 b円(<a)
現在の保有口数 n口
購入・売却口数 X口(これが求めるべき値である)
Next, how the equation (1) described above is derived will be briefly described.
First, the following conditions are set as preconditions.
Target loss amount T yen (> 0)
Acquisition price of specific brands a yen Market price of specific brands b yen (<a)
Current number of units held n units Number of units purchased / sold X units (this is the value that should be obtained)

購入後の取得価格は、次の式により求められる。
(an+bX)÷(n+X)
売却による実現損は、次の式により求められる。
bX−X×((an+bx)÷(n+X))=−T
両方の式を整理すると、次の式が得られる。
(n+X)bX−anX−bX=−(n+X)T
bnX−anX+TX=−nT
これを解くと次の式が得られる。
X=nT÷(an−bn−T)
これにより、上述した式(1)が導き出される。
The acquisition price after purchase is determined by the following formula.
(An + bX) ÷ (n + X)
Realized loss on sale is determined by the following formula.
bX−X × ((an + bx) ÷ (n + X)) = − T
Rearranging both equations gives the following equation:
(N + X) bX-anX -bX 2 = - (n + X) T
bnX-anX + TX = -nT
Solving this gives the following equation:
X = nT ÷ (an−bn−T)
Thereby, the above-described formula (1) is derived.

なお、目標額Tは含み損の金額(=(a−b)n円)よりも小さいことが前提となっている。目標額が含み損の金額(=(a−b)n円)に対して近くなればなるほど、(an−bn−T)が0に近づき、Xが極端に大きくなる。すなわち、損を出し切るためには、売却・購入後の取得価格を可能な限り現在の時価に近づける必要があり、そうするためには非常に多くの口数を売却及び購入することが必要となる。
(例)含み損が20万円ある場合に15万円を損出しするためには、現在の保有口数の3倍の口数を売買することが必要となるが、それは不可能である。
売買口数Xを保有口数nまでに制限する場合には、まず、次の式を解く
X=nT+(an−bn−T)≦n
これにより、次の式が得られる。
T≦(an−bn)÷2
このように、損出しできるのは、含み損の半分までであることが理解される。
It is assumed that the target amount T is smaller than the amount of unrealized loss (= (ab) n yen). The closer the target amount is to the amount of unrealized loss (= (a−b) n yen), the closer (an−bn−T) becomes to 0 and X becomes extremely large. In other words, in order to make a full loss, it is necessary to make the acquisition price after sale / purchase as close as possible to the current market price, and in order to do so, it is necessary to sell and purchase a very large number of units.
(Example) In order to lose 150,000 yen when there is an unrealized loss of 200,000 yen, it is necessary to buy and sell 3 times the current number of holdings, but this is not possible.
When limiting the number of trading units X to the number n of holdings, first solve the following equation: X = nT + (an−bn−T) ≦ n
Thereby, the following expression is obtained.
T ≦ (an−bn) ÷ 2
Thus, it is understood that the loss can be up to half of the included loss.

5−2.特定銘柄の売買処理(ST48)の詳細について
上述したST48において行われる(ユーザ甲について)特定銘柄の売買処理について具体的に説明する。
5-2. Details of the specific brand trading process (ST48) The specific brand trading process performed in ST48 described above (for user A) will be specifically described.

計算サーバ12は、各特定銘柄を(上記ST46において算出された)口数T売却する売却処理を実行した後、所定の時間内に、各特定銘柄を上記口数と同一の口数購入する購入処理を実行する。ここでいう所定の時間とは、例えば、売却処理を実行した日付と購入処理を実行した日付とが同日となるような任意の時間であってよい。 Calculation server 12, after executing the sale process for each specific brand (calculated in the ST46) number of units T i sale within a predetermined time, the purchase processing of each particular brand purchased same number of units as the number of units Run. The predetermined time here may be an arbitrary time such that the date when the sale process is executed and the date when the purchase process is executed are the same day.

具体的には、図6に示した例では、特定銘柄Aに着目すると、計算サーバ12は、特定銘柄Aを口数22売却する売却処理を実行した後、所定の時間内に、特定銘柄Aを口数22購入する購入処理を実行する。このような売却処理及び購入処理としては、具体的には、計算サーバ12は、例えば、データベースサーバ16において、取引情報として、図8に例示するような情報を記憶する。   Specifically, in the example illustrated in FIG. 6, when focusing on the specific brand A, the calculation server 12 executes the sale process of selling the specific brand A in 22 units, and then performs the specific brand A within a predetermined time. A purchase process for purchasing 22 units is executed. Specifically, as such sale processing and purchase processing, for example, the calculation server 12 stores information illustrated in FIG. 8 as transaction information in the database server 16, for example.

図8には、第1行目において、顧客ID「0001」により識別される「ユーザ甲」が、WN社に特定銘柄Aを口数22売却することによってWN社から259424円(時価11792×口数22)の支払いを受けたという情報が記録され、第2行目において、同じく「ユーザ甲」が、WN社から特定銘柄Aを口数22購入することによってWN社に259424円(時価11792×口数22)を支払ったという情報が記録される。
なお、図8には示していないが、他の特定銘柄(すなわち、特定銘柄B、特定銘柄C及び特定銘柄G)についても、計算サーバ12は、データベースサーバ16に同様の情報を記録する。
本実施形態では、図8に示した例から明らかなように、計算サーバ12は、仕切取引に従って、特定銘柄Aを売買する。すなわち、計算サーバ12は、予め定められた一定時点における市場価格(例えば前日の終値等)(予め合意された価格、又は、予め定められた算定方法に従って算出された価格)である「11792(円)」で特定銘柄Aを売却した後、上記市場価格と同一の価格である「11792(円)」で特定銘柄Aを購入する。
なお、図8に示した例では、計算サーバ12は、特定銘柄Aの売却処理に係る約定日と特定銘柄Aの購入処理に係る約定日とを「同日」(2016年5月28日)に設定し、特定銘柄Aの売却処理に係る受渡日と特定銘柄Aの購入処理に係る受渡日とを「同日」(2016年6月2日)に設定して、売却処理及び購入処理を実行している。しかし、計算サーバ12は、特定銘柄Aの売却処理に係る約定日と特定銘柄Aの購入処理に係る約定日とを「異日」に設定し、及び/又は、特定銘柄Aの売却処理に係る受渡日と特定銘柄Aの購入処理に係る受渡日とを「異日」に設定して、売却処理及び購入処理を実行してもよい。すなわち、計算サーバ12は、特定銘柄Aの売却処理に係る約定日と特定銘柄Aの購入処理に係る約定日とを同日又は異日に設定し、及び/又は、特定銘柄Aの売却処理に係る受渡日と特定銘柄Aの購入処理に係る受渡日とを同日又は異日に設定して、売却処理及び購入処理を実行してもよい。
In FIG. 8, in the first line, “User A” identified by the customer ID “0001” sells the specific brand A to the WN company in 22 units, thereby obtaining 259424 yen (market price of 11792 × 22 units) from the WN company. ) Is recorded, and in the second line, “User A” also purchases 22 specific stocks A from WN, and pays 259424 yen to WN (market price 11792 × 22) Is recorded.
Although not shown in FIG. 8, the calculation server 12 records the same information on the database server 16 for other specific brands (that is, the specific brand B, the specific brand C, and the specific brand G).
In this embodiment, as is clear from the example shown in FIG. 8, the calculation server 12 buys and sells the specific brand A according to the partition transaction. That is, the calculation server 12 has a market price (for example, the closing price of the previous day) (a price agreed in advance or a price calculated according to a predetermined calculation method) at a predetermined time point “11792 (yen ) ", The specified brand A is purchased at" 11792 (yen) "which is the same price as the market price.
In the example illustrated in FIG. 8, the calculation server 12 sets the execution date related to the sale process of the specified issue A and the execution date related to the purchase process of the specified issue A to “the same day” (May 28, 2016). Set the delivery date related to the sale process of the specified issue A and the delivery date related to the purchase process of the specified issue A to “same day” (June 2, 2016), and execute the sale process and purchase process ing. However, the calculation server 12 sets the execution date related to the sale process of the specified issue A and the execution date related to the purchase process of the specified issue A to “different day” and / or related to the sale process of the specified issue A. The delivery process and the purchase process may be executed by setting the delivery date and the delivery date related to the purchase process of the specific brand A to “different day”. In other words, the calculation server 12 sets the execution date related to the sale process of the specified issue A and the execution date related to the purchase process of the specified issue A on the same day or different days, and / or relates to the sale process of the specified issue A. The delivery process and the purchase process may be executed by setting the delivery date and the delivery date related to the purchase process of the specific brand A on the same day or different days.

以上のような売買処理を実行した結果、図6に例示したような各ユーザの資産に関する情報は更新される必要がある。具体的には、図6に示した「平均取得単価(円)」はもはや正確な値ではなくなっている。すなわち、例えば、特定銘柄Aについては、「平均取得単価(円)」は、「12100」ではなく、図6に参考までに「売買後平均取得単価(円)」に示した「11970」(=(12100×30+11792×22)÷(30+22))に更新されなければならない。このような更新は、上述したようにST44において実行される。   As a result of executing the above-described buying and selling process, information regarding the assets of each user as illustrated in FIG. 6 needs to be updated. Specifically, the “average acquisition unit price (yen)” shown in FIG. 6 is no longer an accurate value. That is, for example, for the specific issue A, the “average acquisition unit price (yen)” is not “12100”, but “11970” (= It must be updated to (12100 × 30 + 11792 × 22) ÷ (30 + 22)). Such an update is executed in ST44 as described above.

ユーザが一定の有価証券の取引に関して或る年について納める所得税等の金額は、当該有価証券についての実現損益の総額及び分配金等の総額に基づいて、又はそれを更に他の所得と通算して、決せられる。本実施形態では、少なくとも1つの銘柄について実現益及び分配金等(の少なくとも一方)が生じており、かつ、少なくとも1つの銘柄(特定銘柄)について未実現損失が生じている場合には、上記少なくとも1つの銘柄について実現益及び分配金等(の少なくとも一方)に基づいて、上記特定銘柄を売買すべき数量(口数)を算出した上で、上記特定銘柄を上記数量売却する売却処理を実行した後、所定の時間内に、上記特定銘柄を上記数量と同一の数量購入する購入処理を実行することにより、上記特定銘柄について実現損失を生じさせることができる。これにより、確定申告時には、ユーザは、上記少なくとも1つの銘柄について生じている実現益の総額及び分配金等の総額から上記特定銘柄について生じた実現損失を相殺した金額を、所得税等の対象とすることによって、支払うべき所得税等を減ずることができる。   The amount of income tax, etc. paid by a user for a certain transaction for a certain year is based on the total amount of realized gains and losses and distributions, etc., for that securities, or in addition to other income. , Decided. In the present embodiment, when at least one issue (at least one) of realized gain and distribution etc. occurs and at least one issue (specific issue) has an unrealized loss, at least After calculating the quantity (number of units) to buy and sell the specified brand based on realized gain and distribution (at least one), etc. for one brand, and after executing the sale process to sell the quantity of the specified brand By executing a purchase process for purchasing the specific brand in the predetermined time in the same quantity as the above quantity, an actual loss can be caused for the specific brand. As a result, at the time of final filing, the user will be subject to income tax, etc., which is the amount obtained by offsetting the realized loss that occurred for the specific issue from the total realized profit and distribution amount that have occurred for the at least one issue. As a result, income taxes to be paid can be reduced.

なお、特定口座を通じて上記の取引を行っているユーザについては、特定銘柄を上記口数売却する売却処理を実行した後、「同日に」この特定銘柄を同一の口数購入する購入処理を実行する、という手法(以下便宜上「手法A」という。)を採用した場合であっても、現行の日本の税法上、先に購入を行いその後に売却を行ったものとみなして課税の対象となる実現損益を算定することとされている。
しかし、日本国の税法が改正され、手法Aを実行した場合には、実際に行われた取引と同様に、先に売却を行いその後に購入を行ったものと取り扱われるようになることも考えられる。また、一般口座を利用しているユーザ等、現行の日本の税法上も手法Aを採用した場合に実際に行われた取引と同様に、先に売却を行いその後に購入を行ったものと取り扱われるユーザも存在する。
In addition, for users who conduct the above transactions through a specific account, after executing the sale process of selling the specified stock in the above-mentioned number of units, the purchase process of purchasing the same number of the same stock on the same day is executed. Even if the method (hereinafter referred to as “Method A” for convenience) is adopted, the current Japanese tax law assumes that the purchase is made first and then sold, and the realized profit or loss subject to taxation is It is supposed to be calculated.
However, if Japan's tax law is amended and Method A is implemented, it may be treated as if it was sold first and then purchased in the same way as the actual transaction. It is done. In addition, in the case of the user who uses a general account, the current Japanese tax law treats it as if it was sold first and then purchased in the same way as the transaction actually performed when Method A was adopted. Some users are also

6.変形例
次に、上述した実施形態に関する様々な変形例について説明する。
上記実施形態では、計算サーバ12が特定銘柄の売却処理及び購入処理を「同日」に行う場合について説明した。しかし、別の実施形態では、計算サーバ12は、売却処理及び購入処理を「同日」にではなく「異日」に(例えば購入処理を売却処理の翌日に)実行することも可能である。この場合には、現行の日本国の税法上でも、ユーザは、確定申告時に、この特定銘柄について生じた実現損失を、少なくとも1つの銘柄について生じている実現益の総額及び分配金等の総額から相殺することが認められる。例えば、計算サーバ12は、日本時間6月9日午後11時59分に売却処理を実行し、日本時間6月10日午前0時1分に購入処理を実行すれば、現在施行されている日本国の税法上、ユーザは、確定申告時に、この特定銘柄について生じた実現損失を、少なくとも1つの銘柄について生じている実現益の総額及び分配金等の総額から相殺することが可能である。この例では、売却処理の実行時と購入処理の実行時との間には約2分間しか経過していないため、特に、約定時の市場価格で特定銘柄の売買を行う委託取引の場合、すなわち、売却処理の実行時における市場価格で特定銘柄を売却し購入処理の実行時における市場価格で特定銘柄を購入する場合には、売却処理の実行時と購入処理の実行時との間において特定銘柄の時価が大きく変動する可能性が低いと想定されることから、売却処理の実行時と購入処理の実行時との価格差を最小限にすることができる可能性がある。
6). Modification will be described Various modifications of the embodiments described above.
In the above-described embodiment, a case has been described in which the calculation server 12 performs the sale process and purchase process for a specific issue “on the same day”. However, in another embodiment, the calculation server 12 can execute the sale process and the purchase process on “another day” instead of “the same day” (for example, the purchase process on the day after the sale process). In this case, even under the current Japanese tax law, the user must calculate the realized loss for this specific issue at the time of final tax return from the total realized profit and the total amount of distributions etc. for at least one issue. It is allowed to offset. For example, if the calculation server 12 executes the sale process at 11:59 pm on June 9, Japan time and executes the purchase process at 0:01 am on June 10, Japan time, the Japan currently in effect According to national tax law, the user can offset the realized loss caused for the specific issue from the total realized profit and the total amount of distribution, etc. generated for at least one issue at the time of final tax return. In this example, only about two minutes have passed between the execution of the sale process and the execution of the purchase process, so in particular, in the case of a consignment transaction in which a specific stock is bought and sold at a contracted market price, that is, When selling a specified issue at the market price at the time of the sale process and purchasing the specified issue at the market price at the time of the purchase process, the specified issue is between the execution of the sale process and the purchase process. Since it is assumed that there is a low possibility that the market price will fluctuate significantly, there is a possibility that the price difference between the sale process and the purchase process can be minimized.

また、上記実施形態では、計算サーバ12が仕切取引に従って特定銘柄を売買する場合について説明した。しかし、計算サーバ12は、特定銘柄を売買する際には、仕切取引だけでなく、委託取引に従うものであってもよい。なお、上述したとおり、仕切取引とは、予め定められた一定時点における市場価格(例えば前日の終値等)(又は予め合意された価格、若しくは、予め定められた算定方法に従って算出された価格)で有価証券を売買する方式の取引を意味し、委託取引とは、売買を行う時点における市場価格で有価証券を売買する方式の取引を意味する。   Moreover, the said embodiment demonstrated the case where the calculation server 12 trades a specific brand according to a partition transaction. However, the calculation server 12 may follow not only a partition transaction but also a consignment transaction when buying and selling a specific brand. As described above, a partition transaction is a market price (for example, the closing price of the previous day) at a predetermined point in time (or a price agreed in advance or a price calculated according to a predetermined calculation method). The transaction of the method of buying and selling securities is meant, and the consignment transaction means the transaction of buying and selling securities at the market price at the time of buying and selling.

また、上記実施形態では、特定銘柄を売買すべき口数を算出する(ST46)際には、計算サーバ12は、ユーザ甲が金融商品取引業者(WN社)に開設した口座において保有する各銘柄に存在する実現益及び分配金等としては、その口座に含まれるもののみを用いる場合について説明した。しかし、計算サーバ12は、或る銘柄についての実現益(分配金等)として、ユーザ甲が「他の」金融機関を介した取引によりその銘柄について発生した実現益(分配金等)を含めて、特定銘柄を売買すべき口数を算出することも可能である。すなわち、計算サーバ12は、少なくとも1つの銘柄についての実現益の総額(分配金等の総額)から、他の金融機関を介した取引により上記少なくとも1つの銘柄について発生した実現損益の総額(分配金等の総額)を加減して、特定銘柄を売買すべき口数を算出することも可能である。これにより、ユーザ甲は、自身が有するすべてのポートフォリオの内容に基づいてより効果的に有価証券の譲渡損益に課税される所得税等を最適化することができる。ここで、このような「他の」金融機関を介した取引によりその銘柄について発生した実現益(分配金等)に関する情報は、ユーザ甲の端末装置30により例えばST40(図5)においてユーザ甲により入力され、通信網20及びウェブサーバ14を介して、データベースサーバ16に記憶されるとともに、計算サーバ12に提供されるようにしてもよい。   Further, in the above embodiment, when calculating the number of units for which a specific issue should be bought and sold (ST46), the calculation server 12 assigns each issue held in the account opened by the user A to the financial product trader (WN company). We explained the case of using only those included in the account as realized gains and distributions. However, the calculation server 12 includes the realized gain (distribution etc.) generated for the brand by the transaction through the “other” financial institution as the realized gain (distribution etc.) for the certain brand. It is also possible to calculate the number of units for which a specific issue should be bought and sold. That is, the calculation server 12 calculates the total realized profit / loss (distribution) from the total realized profit (total amount of distribution etc.) for at least one issue from the above-mentioned at least one issue by transactions through other financial institutions. It is also possible to calculate the number of units for which a specific issue should be traded. Thereby, the user A can optimize the income tax or the like that is more effectively taxed on the gain or loss of the transfer of the securities based on the contents of all the portfolios that the user A has. Here, the information on the realized profit (distribution etc.) generated for the brand by the transaction through such “other” financial institution is obtained by the user A at the terminal device 30 of the user A, for example, at ST40 (FIG. 5). The data may be input and stored in the database server 16 via the communication network 20 and the web server 14 and may be provided to the calculation server 12.

上記実施形態では、ユーザの端末装置30が売買サーバ10のウェブサーバ14にアクセスすることによって、売買サーバ10から有価証券売買サービスの提供を受ける形態について説明した。しかし、ユーザの端末装置30が、例えばインストールされた所定のアプリケーションプログラムを実行することによって、売買サーバ10に含まれた計算サーバ12、データベースサーバ16及び証券サーバ18の各々が果たすものと等価な機能を実行するように構成された形態を採用することも可能である。これにより、ユーザは、端末装置30のみを用いることによって、売買サーバ10にアクセスすることなく、有価証券売買サービスの提供を受けることが可能である。この場合、端末装置30は、図4に例示したもの(記憶部10、算出部120及び売買処理部130)と等価な機能を有する必要がある。   In the said embodiment, the form which receives provision of securities trading service from the trading server 10 when a user's terminal device 30 accesses the web server 14 of the trading server 10 was demonstrated. However, a function equivalent to that performed by each of the calculation server 12, the database server 16, and the securities server 18 included in the buying and selling server 10 by the user's terminal device 30 executing, for example, a predetermined application program installed therein. It is also possible to adopt a configuration configured to execute Thereby, the user can receive provision of the securities trading service without accessing the trading server 10 by using only the terminal device 30. In this case, the terminal device 30 needs to have a function equivalent to that illustrated in FIG. 4 (the storage unit 10, the calculation unit 120, and the sale processing unit 130).

また、上記実施形態では、特定銘柄の売買処理(ST48)を実行する際には、最も好ましい例として、計算サーバ12が、或る特定銘柄を算出された数量(口数)売却した後、その特定銘柄と同一の銘柄を上記数量と同一の数量購入する場合について説明した。しかし、別の実施形態では、計算サーバ12は、或る特定銘柄を算出された数量売却した後、その特定銘柄とは別の銘柄を、上記数量と同一の数量又は上記数量とは異なる数量購入するようにしてもよい。具体的には、上記実施形態では、計算サーバ12が、例えば、価格が500円である銘柄K(指数Sに連動する銘柄)を数量2売却した場合には、その後、価格が500円である同一の銘柄Kを上記数量と同一の数量2購入するが、別の実施形態では、価格が500円である銘柄Kを数量2売却した後、例えば、価格が1000円である別の銘柄L(指数Sに連動する銘柄)を数量1購入してもよいし、価格が250円である銘柄M(指数Sに連動する銘柄)を数量4購入してもよいし、価格が500円である銘柄N(指数Sに連動する銘柄)を数量2購入してもよい。   In the above embodiment, when the trading process (ST48) for a specific brand is executed, as a most preferable example, after the calculation server 12 sells the calculated quantity (number of units) for a specific brand, The case where the same number of brands as the brand is purchased in the same quantity as described above has been described. However, in another embodiment, after the calculation server 12 sells the calculated quantity of a specific brand, the calculation server 12 purchases a brand different from the specific brand in the same quantity as the above quantity or a quantity different from the above quantity. You may make it do. Specifically, in the above-described embodiment, for example, when the calculation server 12 sells a quantity 2 of a brand K (a brand linked to the index S) whose price is 500 yen, the price is 500 yen thereafter. The same brand K is purchased in the same quantity 2 as the above quantity, but in another embodiment, after selling the quantity 2 of the brand K having a price of 500 yen, for example, another brand L having a price of 1000 yen ( (Stocks linked to index S) may be purchased in quantity 1. Brands M whose price is 250 yen (stocks linked to index S) may be purchased in quantity 4. Brands whose price is 500 yen. N (stocks linked to the index S) may be purchased in quantity 2.

ここで、特定銘柄と別の銘柄を購入する場合、かかる銘柄は、売却する特定銘柄と同一の株価指数に連動しているなど、値動きが近似する銘柄であることが好ましいが、そうでない銘柄であってはならないわけではない。   Here, when purchasing a brand different from a specific brand, such brand is preferably a brand whose price movement approximates, such as being linked to the same stock price index as the particular brand to be sold. It doesn't have to be.

以下、計算サーバ12が、或る特定銘柄を算出された数量売却した後、その特定銘柄とは別の銘柄(代替銘柄)を、上記数量と同一の数量又は上記数量とは異なる数量購入する場合において、代替銘柄を購入すべき数量をどのようにして算出するのかについて説明する。   In the following, after the calculation server 12 sells the calculated quantity of a specific brand, a brand (substitute brand) different from the specific brand is purchased in a quantity equal to or different from the above quantity. Now, how to calculate the quantity of alternative brands to be purchased will be described.

上記「5−1.特定銘柄を売買すべき口数の算出(ST46)の詳細について」において用いた前提条件をそのまま適用する。
まず、上述したステップ1〜ステップ3が実行される。この後、以下に述べる新たなステップ(4)が実行される。
データベースサーバ16には、各銘柄iに対応付けて、その銘柄iの代替銘柄aiが少なくとも1つ記憶されている。代替銘柄aiは、好ましくは、特定銘柄iを売却して代替銘柄aiを購入した場合に、ユーザ甲のポートフォリオの特性が大きく変化することのないように決定されるものとすることができる。例えば、代替銘柄aiは、対応する特定銘柄iと同一の株価指数に連動しているなど、値動きが近似する銘柄であってもよい。
計算サーバ12は、売却する特定銘柄iに対応付けて記憶されている少なくとも1つの代替銘柄から、いずれかの代替銘柄aiを選択する。さらに、計算サーバ12は、以下の式に従って、代替銘柄aiを購入すべき数量Yを算出することができる。
=X×MV÷MVai
この結果、計算サーバ12は、ST48において、特定銘柄iを数量X売却する売却処理を実行した後、代替銘柄aiを数量Y購入する購入処理を実行する。
The preconditions used in “5-1. Details of Calculation of Number of Units to Buy / Sell Specific Brand (ST46)” are applied as they are.
First, steps 1 to 3 described above are executed. Thereafter, a new step (4) described below is executed.
The database server 16 stores at least one alternative brand ai of the brand i in association with each brand i. The alternative stock ai may be determined so that the characteristics of the user's portfolio do not change significantly when the specific stock i is sold and the alternative stock ai is purchased. For example, the alternative brand ai may be a brand whose price movement approximates, such as being linked to the same stock price index as the corresponding specific brand i.
The calculation server 12 selects any alternative brand ai from at least one alternative brand stored in association with the specific brand i to be sold. Furthermore, the calculation server 12 can calculate the quantity Y i to purchase the alternative brand a i according to the following equation.
Y i = X i × MV i ÷ MV ai
As a result, in ST48, the calculation server 12 executes a sale process of selling the specific brand i for the quantity X i and then executes a purchase process for purchasing the alternative brand a i for the quantity Y i .

また、上述した様々な実施形態では、最も好ましい形態として、売却する特定銘柄の価格と購入する特定銘柄(又は代替銘柄)の価格とが同一となるように、計算サーバ12が特定銘柄(代替銘柄)を売買する場合について説明した。しかし、売却する特定銘柄の価格と購入する特定銘柄(又は代替銘柄)の価格とは必ずしも完全に同一である必要はない。特定銘柄を或る数量売却した際の売却額と、特定銘柄(又は代替銘柄)を或る数量購入した際の購入額とが同一となることが、最も好ましいが、(1)上述した様々な実施形態において利用可能な様々な数式には、除算を含むために割り切れない数式も存在すること、及び、(2)売却すべき特定銘柄の価格と、購入すべき特定銘柄(又は代替銘柄)の価格とが、必ずしも同額となるとは限らないこと等を含む様々な要因により、特定銘柄を或る数量売却した際の売却額と、特定銘柄(又は代替銘柄)を或る数量購入した際の購入額とが、同一とはならない場合もある。このような場合であっても、ポートフォリオの特性を大きく変化させることなく支払うべき所得税等を減ずることができるという効果が得られることは明らかである。よって、本件出願に開示された発明は、支払うべき所得税等を減ずることができる限りにおいて、特定銘柄を或る数量売却した際の売却額と、特定銘柄(又は代替銘柄)を或る数量購入した際の購入額とが、同一となる場合だけでなく、概ね同一となる場合をも包含するものである。   In the various embodiments described above, as a most preferable form, the calculation server 12 makes the specific brand (substitute brand) so that the price of the specific brand to be sold and the price of the specific brand (or alternative brand) to be purchased are the same. ) Was explained. However, the price of the specific brand to be sold and the price of the specific brand (or alternative brand) to be purchased are not necessarily completely the same. It is most preferable that the sale price when a certain amount of a specific brand is sold and the purchase price when a certain amount (or alternative brand) is purchased are the same, (1) The various formulas available in the embodiment include formulas that cannot be divided because they include division, and (2) the price of the specific issue to be sold and the specific issue (or alternative issue) to be purchased. Due to various factors including the price is not necessarily the same amount, the sale price when a certain amount of a certain issue is sold and the purchase when a certain amount (or alternative) is purchased. The forehead may not be the same. Even in such a case, it is clear that the income tax that should be paid can be reduced without significantly changing the portfolio characteristics. Therefore, the invention disclosed in the present application purchased a certain amount of sale of a certain issue and a certain issue (or alternative issue) as long as the income tax to be paid can be reduced. This includes not only the case where the purchase amount at the time is the same, but also the case where the purchase amount is almost the same.

さらにまた、上述した様々な実施形態は、矛盾が生じない限りにおいて、相互に組み合わせて用いることが可能なものである。   Furthermore, the various embodiments described above can be used in combination with each other as long as no contradiction arises.

本明細書で説明される処理及び手順は、実施形態において明示的に説明されたものによってのみならず、ソフトウェア、ハードウェア又はこれらの組み合わせによっても実現可能なものである。具体的には、本明細書で説明された処理及び手順は、集積回路、揮発性メモリ、不揮発性メモリ、磁気ディスク、光ストレージ等の媒体に、当該処理に相当するロジックを実装することによって実現される。また、本明細書で説明される処理及び手順は、それらの処理・手順をコンピュータプログラムとして実装し、各種のコンピュータに実行させることが可能である。   The processes and procedures described in the present specification can be realized not only by those explicitly described in the embodiment but also by software, hardware, or a combination thereof. Specifically, the processes and procedures described in this specification are realized by mounting logic corresponding to the processes on a medium such as an integrated circuit, a volatile memory, a nonvolatile memory, a magnetic disk, or an optical storage. Is done. Further, the processes and procedures described in this specification can be implemented as a computer program and executed by various computers.

本明細書中で説明される処理及び手順が単一の装置、ソフトウェア、コンポーネント、モジュールによって実行される旨が説明されたとしても、そのような処理又は手順は、複数の装置、複数のソフトウェア、複数のコンポーネント、及び/又は、複数のモジュールによって実行されるものとすることができる。また、本明細書中で説明されるデータ、テーブル又はデータベースが単一のメモリに格納される旨説明されたとしても、そのようなデータ、テーブル又はデータベースは、単一の装置に備えられた複数のメモリ又は複数の装置に分散して配置された複数のメモリに分散して格納されるものとすることができる。さらに、本明細書において説明されるソフトウェア及びハードウェアの要素は、それらをより少ない構成要素に統合して、又は、より多い構成要素に分解することによって実現されるものとすることができる。   Even though the processes and procedures described herein are described as being performed by a single device, software, component, or module, such processes or procedures may include multiple devices, multiple software, It may be executed by multiple components and / or multiple modules. Further, even if it is described that the data, table, or database described in this specification is stored in a single memory, such data, table, or database may be stored in a single device. Or a plurality of memories arranged in a distributed manner in a plurality of devices. Further, the software and hardware elements described herein may be realized by integrating them into fewer components or by disassembling them into more components.

1 有価証券の売買システム
10 売買サーバ
12 計算サーバ
14 ウェブサーバ
16 データベースサーバ
17 証券サーバ
20 通信網
30 端末装置
110 記憶部
120 算出部
130 売買処理部
DESCRIPTION OF SYMBOLS 1 Trading system 10 Trading server 12 Calculation server 14 Web server 16 Database server 17 Securities server 20 Communication network 30 Terminal device 110 Storage part 120 Calculation part 130 Trading process part

Claims (12)

所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段と、
前記所定のユーザについて、未実現損失が生じているすべての特定銘柄を売買すべき数量を算出する算出手段であって、すべての銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方と、前記すべての特定銘柄についての未実現損失及び保有数量と、前記すべての特定銘柄についての前記未実現損失の総額と、に基づいて、前記特定銘柄を売買すべき数量を算出する算出手段と、
前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段と、
を具備することを特徴とするサーバ装置。
For a given user, at least the realized gain, interest / distribution / dividend and unrealized loss for a specific year are stored in association with each stock held in an account opened by the given user at a certain financial institution Storage means for
A calculation means for calculating a quantity to be bought / sold for all the specified stocks in which the unrealized loss has occurred for the predetermined user, the total realized profit and interest / distribution / dividends for all the stocks and at least one of total, the the unrealized losses and possess quantities for all the specific brand, the the total amount of the unrealized loss for all specific stocks, based on the quantity to be traded the specific brand Calculating means for calculating
For the predetermined user, after executing a selling process for selling the quantity of the specific brand, within a predetermined time, buying and selling processing means for executing a purchase process for purchasing the specific brand in the same quantity as the quantity;
A server device comprising:
前記算出手段は、特定銘柄を売買すべき数量を、前記すべての特定銘柄についての前記未実現損失の総額に対する特定銘柄について前記未実現損失の割合に基づいて算出する、請求項に記載のサーバ装置。 The calculating means, the quantity to be traded each particular stock is calculated based on the ratio of the unrealized loss for each specific stock relative to the total of the unrealized loss for all the specific brand, to claim 1 The server apparatus of description. 前記算出手段は、前記実現益の総額から他の金融機関を介した取引により発生した実現損益の総額を加減して、前記特定銘柄を売買すべき数量を算出する、請求項1又は請求項に記載のサーバ装置。 Said calculation means, and adjusting the total realized gains generated by transactions via other financial institutions from gross the realization gains, calculates the quantity to be traded the specific brand, claim 1 or claim 2 The server device described in 1. 前記算出手段は、前記利金・分配金・配当金の総額から他の金融機関を介した取引により発生した利金・分配金・配当金の総額を加減して、前記特定銘柄を売買すべき数量を算出する、請求項1から請求項のいずれかに記載のサーバ装置。 The calculation means should buy and sell the specified stock by adding or subtracting the total amount of interest, distribution and dividends generated by transactions through other financial institutions from the total amount of interest, distribution and dividends. The server device according to any one of claims 1 to 3 , wherein a quantity is calculated. 前記売買処理手段は、前記売却処理に係る約定日と前記購入処理に係る約定日とを同日又は異日に設定して、前記売却処理及び前記購入処理を実行する、請求項1から請求項のいずれかに記載のサーバ装置。 The trading processing means sets the agreement date according to the purchasing process and trade date according to the sale process in the same day or different days, executes the selling process and the purchase processing, claims 1 to 4 The server apparatus in any one of. 前記売買処理手段は、前記売却処理に係る受渡日と前記購入処理に係る受渡日とを同日又は異日に設定して、前記売却処理及び前記購入処理を実行する、請求項1から請求項のいずれかに記載のサーバ装置。 The trading processing means sets the delivery date of the purchase processing and settlement date relating to the sale process in the same day or different days, it executes the selling process and the purchase processing, claims 1 to 5 The server apparatus in any one of. 前記売買処理手段は、前記売却処理において前記特定銘柄を予め合意された価格、予め定められた算定方法に従って算出された価格又は予め定められた時点における市場価格で売却し、前記購入処理において前記特定銘柄を前記価格と同一の価格で購入する、請求項1から請求項のいずれかに記載のサーバ装置。 The buying and selling processing means sells the specific brand in the selling process at a price agreed in advance, a price calculated according to a predetermined calculation method, or a market price at a predetermined time, and the specific processing in the purchasing process. The server apparatus according to any one of claims 1 to 6 , wherein a brand is purchased at the same price as the price. 前記売買処理手段は、前記売却処理において前記特定銘柄を当該売却処理時における市場価格で売却し、前記購入処理において前記特定銘柄を当該購入処理時における市場価格で購入する、請求項1から請求項のいずれかに記載のサーバ装置。 The said buying and selling processing means sells the specified brand at the market price at the time of the sale process in the sale process, and purchases the specified brand at the market price at the time of the purchase process in the purchase process. 6. The server device according to any one of 6 . 前記売買処理手段は、前記購入処理及び前記売買処理を、毎日、毎週、毎月、毎四半期、毎年その他一定の周期、少なくとも1つの銘柄についての分配金額が更新された時点、少なくとも1つの銘柄が売却された時点、リバランス処理が実行された時点、前記所定のユーザの端末装置から所定の信号を受信した時点、及び、当該サーバ装置に設けられたユーザインターフェイスを介して当該サーバ装置のオペレータにより入力された所定の信号が検出された時点のうちの少なくとも1つのタイミングにおいて実行する、請求項1から請求項のいずれかに記載のサーバ装置。 The buying and selling processing means sells the purchasing process and the buying and selling process every day, every week, every month, every quarter, every other fixed period, when the distribution amount for at least one brand is updated, at least one brand is sold. Input by the operator of the server device via a user interface provided in the server device, when a rebalancing process is executed, when a predetermined signal is received from the terminal device of the predetermined user, The server device according to any one of claims 1 to 8 , wherein the server device is executed at at least one of timings at which detected predetermined signals are detected. 所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段と、
前記所定のユーザについて、未実現損失が生じているすべての特定銘柄を売買すべき数量を算出する算出手段であって、すべての銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方と、前記すべての特定銘柄についての未実現損失及び保有数量と、前記すべての特定銘柄についての前記未実現損失の総額と、に基づいて、前記特定銘柄を売買すべき数量を算出する算出手段と、
前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段と、
を具備することを特徴とする端末装置。
For a given user, at least the realized gain, interest / distribution / dividend and unrealized loss for a specific year are stored in association with each stock held in an account opened by the given user at a certain financial institution Storage means for
A calculation means for calculating a quantity to be bought / sold for all the specified stocks in which the unrealized loss has occurred for the predetermined user, the total realized profit and interest / distribution / dividends for all the stocks and at least one of total, the the unrealized losses and possess quantities for all the specific brand, the the total amount of the unrealized loss for all specific stocks, based on the quantity to be traded the specific brand Calculating means for calculating
For the predetermined user, after executing a selling process for selling the quantity of the specific brand, within a predetermined time, buying and selling processing means for executing a purchase process for purchasing the specific brand in the same quantity as the quantity;
A terminal device comprising:
コンピュータによって実行される売買方法であって、
所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、特定の年における実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する段階と、
前記所定のユーザについて、未実現損失が生じているすべての特定銘柄を売買すべき数量を算出する算出手段であって、すべての銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方と、前記すべての特定銘柄についての未実現損失及び保有数量と、前記すべての特定銘柄についての前記未実現損失の総額と、に基づいて、前記特定銘柄を売買すべき数量を算出する段階と、
前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する段階と、
を含むことを特徴とする売買方法。
A trading method executed by a computer,
For a given user, at least the realized gain, interest / distribution / dividend and unrealized loss for a specific year are stored in association with each stock held in an account opened by the given user at a certain financial institution And the stage of
A calculation means for calculating a quantity to be bought / sold for all the specified stocks in which the unrealized loss has occurred for the predetermined user, the total realized profit and interest / distribution / dividends for all the stocks and at least one of total, the the unrealized losses and possess quantities for all the specific brand, the the total amount of the unrealized loss for all specific stocks, based on the quantity to be traded the specific brand Calculating
For the predetermined user, after executing a selling process for selling the quantity of the specific brand, in a predetermined time, executing a purchase process for purchasing the specific brand in the same quantity as the quantity;
The buying and selling method characterized by including.
コンピュータを、
所定のユーザについて、前記所定のユーザが或る金融機関に開設した口座において保有する各銘柄に対応付けて、実現益、利金・分配金・配当金及び未実現損失を少なくとも記憶する記憶手段、
前記所定のユーザについて、未実現損失が生じているすべての特定銘柄を売買すべき数量を算出する算出手段であって、すべての銘柄についての実現益の総額及び利金・分配金・配当金の総額のうちの少なくとも一方と、前記すべての特定銘柄についての未実現損失及び保有数量と、前記すべての特定銘柄についての前記未実現損失の総額と、に基づいて、前記特定銘柄を売買すべき数量を算出する算出手段、並びに、
前記所定のユーザについて、前記特定銘柄を前記数量売却する売却処理を実行した後、所定の時間内に、前記特定銘柄を前記数量と同一の数量購入する購入処理を実行する売買処理手段、
として機能させることを特徴とするコンピュータプログラム。
Computer
Storage means for storing at least realized gain, interest / distribution / dividend and unrealized loss in association with each brand held in an account opened by a predetermined financial institution for a predetermined user,
A calculation means for calculating a quantity to be bought / sold for all the specified stocks in which the unrealized loss has occurred for the predetermined user, the total realized profit and interest / distribution / dividends for all the stocks and at least one of total, the the unrealized losses and possess quantities for all the specific brand, the the total amount of the unrealized loss for all specific stocks, based on the quantity to be traded the specific brand Calculating means for calculating
For the predetermined user, after executing a sale process for selling the quantity of the specific brand, within a predetermined time, buy and sell processing means for executing a purchase process for purchasing the specific brand in the same quantity as the quantity;
A computer program that functions as a computer program.
JP2016123611A 2016-06-22 2016-06-22 Equipment that executes trading of securities Active JP6068713B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016123611A JP6068713B1 (en) 2016-06-22 2016-06-22 Equipment that executes trading of securities
PCT/JP2017/022787 WO2017221956A1 (en) 2016-06-22 2017-06-21 Device for executing trading of securities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016123611A JP6068713B1 (en) 2016-06-22 2016-06-22 Equipment that executes trading of securities

Publications (2)

Publication Number Publication Date
JP6068713B1 true JP6068713B1 (en) 2017-01-25
JP2017228083A JP2017228083A (en) 2017-12-28

Family

ID=57890502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016123611A Active JP6068713B1 (en) 2016-06-22 2016-06-22 Equipment that executes trading of securities

Country Status (1)

Country Link
JP (1) JP6068713B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009199263A (en) * 2008-02-20 2009-09-03 Daiwa Securities Group Inc Profit/loss amount determination type ordering system
JP2009237742A (en) * 2008-03-26 2009-10-15 Daiwa Securities Group Inc Securities trading order processing system and method, and program
JP2012084083A (en) * 2010-10-14 2012-04-26 Daiwa Securities Group Inc Ordering processing system, its method and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009199263A (en) * 2008-02-20 2009-09-03 Daiwa Securities Group Inc Profit/loss amount determination type ordering system
JP2009237742A (en) * 2008-03-26 2009-10-15 Daiwa Securities Group Inc Securities trading order processing system and method, and program
JP2012084083A (en) * 2010-10-14 2012-04-26 Daiwa Securities Group Inc Ordering processing system, its method and program

Also Published As

Publication number Publication date
JP2017228083A (en) 2017-12-28

Similar Documents

Publication Publication Date Title
AU773873B2 (en) Method, system and apparatus for managing risk within a portfolio
US7606756B2 (en) Synthetic funds having structured notes
US20150371335A1 (en) Business Financing Method and System
Edelstein et al. The market for real estate presales: A theoretical approach
JP2005527915A (en) Constant leverage synthetic assets
US20210326988A1 (en) Data Access in a Computer Based Virtual Fund Management System
KR20010039776A (en) Asset management advice system and recording medium containing program of the system
KR20060085565A (en) System and method for managing indirect-investment-type financial product connected to the use of card
US20190130506A1 (en) Graphical user interface, apparatus, system and method for facilitating the utilization of a real-time value of collateralized property in a centralized database
US20130166475A1 (en) Computerized system and method for a structured financial product
US12014420B1 (en) System and method for managing data for delivering a pre-calculated defined investment outcome in an exchange-traded fund
US20160019646A1 (en) Computer systems and methods for balancing indexes
CA2494113C (en) Synthetic funds having structured notes
JP2020107154A (en) Simulation device, program, and control method
JP6068713B1 (en) Equipment that executes trading of securities
JP6174779B1 (en) Equipment that executes trading of securities
Huang et al. Valuation and Hedging of the Ruin‐Contingent Life Annuity (RCLA)
JP6105799B1 (en) Equipment used for trading securities
WO2017221956A1 (en) Device for executing trading of securities
JP6105828B1 (en) Equipment used for trading securities
US20230267495A1 (en) Liquidity pools for tokenized rewards
Advisors LLC
JP5059533B2 (en) Funding system using securities-backed loans
US20150193875A1 (en) Creation processor for divisible instruments
JP2002342580A (en) Current price browsing system for investment trust invested for private bond

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161222

R150 Certificate of patent or registration of utility model

Ref document number: 6068713

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250