Device with a fully automatic ai trading program having function of automatic increase option positions
Patent Information
- Application Number
- TW114111460
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-03-28
- Filing Date
- 2025-03-26
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2045-03-25
AI Technical Summary
Designing automated options trading programs is difficult due to the complexity of options trading strategies are quite diverse, involving multiple strategies with varying parameters and risk management challenges, especially for large-scale trading, and existing systems lack user-friendly interfaces and effective risk control mechanisms.
An automated options trading program with a user interface that allows traders to input strategies through custom parameters, featuring a screen interface that generates balanced strategy input screens for risk control, leveraging the options application program interface (API) provided by securities and futures companies, and includes modules for order placement, risk management, and margin monitoring.
Enables options traders to easily input strategies, manage risk, and optimize margin, reducing the risk of large-scale multi-position trading and improving the win rate through dynamic price adjustments and real-time risk balancing.
Smart Images

Figure TWG2TB001910472_001 
Figure TWG2TB001910472_002 
Figure TWG2TB001910472_003
Abstract
Description
Technical Field
[0001] It relates to a technology for option program trading applied to computer devices, and more particularly to a device for a fully automated artificial intelligence trading program with automatic option (option) increment functionality. Prior Technology
[0002] In the securities trading market, financial products are categorized based on the nature of the rights involved, such as equity products, futures products, and options products, each representing different rights and obligations. Specifically, a 'stock' represents ownership of the financial product; a 'futures' contract is a contract that agrees to buy or sell the financial product at a specific price at a specific future date; and an 'option' is a contract that grants the buyer the right to buy or sell the financial product at a specific price at a specific time. Currently, each type of financial product can be traded through financial product order placement software or by placing orders directly with securities and futures companies (futures companies, or securities and futures companies) through automated trading programs.
[0003] Options, a type of financial instrument (e.g., stock index options, specific company stock index options, etc.), possess rights such as buy (buy), sell (sell), call (the right to purchase the underlying asset in the future), and put (the right to sell the underlying asset in the future). This has led to the development of special trading concepts (single buy / sell strategies) such as buy call, buy put, sell call, and sell put. Furthermore, options trading has spawned many different special trading strategies (combination strategies), such as: call spread, call spread, put spread, put spread, buy straddle, buy straddle, sell straddle, buy time spread, sell time spread, buy butterfly spread, sell butterfly spread, buy vulture spread, sell vulture spread, etc. These various trading strategies are also fundamental knowledge that must be mastered to use automated trading programs. Because the concept of options trading is quite complex, developing automated options trading programs is relatively difficult. This is because there are many parameters to consider, the parameters required when placing an order vary, and the parameters to be analyzed after the order is placed also differ. In other words, designing a suitable automated options trading program is not easy.
[0004] Generally, when a user wants to design an automated options trading program for their own use, the following steps are required: Step 1: Determine the product: that is, the financial product and expiration date of the options. For example, the user selects Taiwan Stock Exchange Index (TAIEX) options, electronic options, or financial options (others include individual stock options, TSMC options, UMC options, etc., or foreign financial product options such as gold and silver options, etc.). Different expiration dates correspond to different products (e.g., monthly expiration is TX0, first week expiration is TX1, second week expiration is TX2, etc.); Step 2: Determine the trading strategy, price, and number of contracts. After selecting the Taiwan Stock Exchange Index (TAIEX) option as a financial product, the user then chooses the trading strategy as described above, determines the strike price (e.g., index 18,500), decides whether the buy / sell price is "market price" (the currently available price) or "limit price" (a custom price), and determines the number of lots per order. Step three involves uploading the order and executing the trade. If the trade fails, the user can place a pending order or delete it. Step four involves counting the number of lots traded upon successful execution. Step five involves deciding whether to close the position or wait for settlement. Step six involves viewing the statistics to determine the execution status of the automated options trading program. The above steps also include other more detailed aspects, such as margin calculation for sell orders, lot and point counts, transaction fee statistics, and market quote information for the financial product (stock index options use a T-shaped quote format, i.e., a two-sided quote for both call and put options). For the programmer, it is essential to thoroughly understand each of these steps before writing the automated options trading program. Typically, before an automated options trading program goes live, the programmer conducts backtesting. This involves simulating the program using historical trading records from the stock exchange or simulating current market conditions to determine its performance. Based on this, the programmer modifies their trading strategy. Regarding bid and ask prices, current backtesting using historical data only allows the use of the "market price" (executed price), not the "limit price" model, because it's impossible to go back in time to confirm whether a limit price would be executed. Similarly, simulations using the current market can only use the "market price," not the "limit price." In actual trading, a combination of the "market price" and the "limit price" is used. Therefore, current automated options trading programs pre-determine a price (either "market price" or "limit price") before execution.
[0005] Taking Taiwan Stock Exchange Index (TSE) options as an example, since they are contracts based on the Taiwan Stock Exchange's weighted average stock price index, their market price fluctuates dynamically with changes in the index. The current price of different strike prices (indexes) also changes constantly. Therefore, setting a limit order for automatic trading often results in no trades. Thus, the technical challenge in writing an automatic options trading program is to allow users to select a dynamic price, which the program can then automatically generate and execute trades based on their chosen strategy. Using a market price allows for faster execution, but may result in trades at unfavorable prices. Conversely, using a limit order may result in extremely low execution rates, losing the advantage of market conditions. This presents a dilemma in designing automatic options trading programs. When trading options, there are three conditions for placing an order: ROD (Rest of Day): This refers to a "valid order for the current day"; once the order is submitted, it remains valid until the market closes that day as long as the order holder does not delete it. When an investor places a limit order, the system generally automatically sets it as a "ROD" order. IOC (Immediate-or-Cancel): This means "execute immediately or cancel," allowing partial execution of the order; otherwise, the remaining orders are canceled. When an investor places a market order, the system automatically sets it as an "IOC" order. FOK (Fill-or-Kill): This means "execute all orders immediately or cancel," meaning that if all orders are executed at the time of placement, they are canceled. In other words, limit orders are generally ROD orders, while market orders are generally IOC orders.
[0006] Furthermore, as mentioned earlier, options trading strategies are quite diverse. Unlike equity or futures financial products, which only have basic buy and sell strategies, options can be traded using multiple strategies that involve both buying and selling simultaneously. The prices and margin requirements for these different strategies vary. The margin calculation formula is: Premium Value + Max(A Value - Out-of-the-Money Value, B Value), where the out-of-the-money value for a call is Max[(Strike Price - Underlying Index Price) × Contract Multiplier, 0], and the out-of-the-money value for a put is Max[(Underlying Index Price - Strike Price) × Contract Multiplier, 0]. In other words, options also have the complex concepts of 'in-the-money value' and 'out-of-the-money value,' making the basic information about options even more complex. Therefore, writing automated options trading programs is naturally more difficult, and interfacening the various parameters of such programs is even more challenging. Even if the programmers of automated options trading programs manage to interface the various parameters, they will not make them public. Because the programmers of automated options trading programs write their programs for their own convenience, efficiency, and automation, not for the benefit of others, there is virtually no information available on the market regarding the parameter interfaces of automated options trading programs. This is considered a trade secret by the programmers. Therefore, how to make the parameter interfaces of automated options trading programs more user-friendly, allowing options traders to easily select entry strategies, stop-loss strategies, pricing strategies, and buy / sell strategies through a visual user interface, has become a crucial issue for the designers of automated options trading programs. This is especially important if the automated options trading program is to be made public and become a program that can be used by many options traders.
[0007] In addition, options trading has a special trading mode called seller trading (also known as market maker trading). Seller trading requires margin deposits, the calculation formula of which has been described previously and will not be repeated here. Sellers have various strategies, such as selling call options, selling put options, call spreads, put spreads, call spreads, put spreads, straddles, straddles, time spreads, time spreads, butterfly spreads, butterfly spreads, bullish spreads, bullish spreads, bullish spreads, bullish spreads, and bullish spreads, etc. Among these, selling call options, selling put options, selling straddles, and selling straddles require higher margin deposits, while the other combined strategies, because they involve buying call or put options, have lower margin requirements. In other words, seller trading, besides acting as a seller, can also generate various combined strategies by simultaneously acting as a buyer. These different combined strategy orders can be directly placed with securities and futures companies through order placement. Similarly, automated options trading programs can also place orders for combined strategy orders through the application programming interface (API) provided by securities and futures companies. However, in terms of ease of execution, combined strategy orders, because they have two strike prices, and each strike price has its own price, lot size, etc., are more difficult to execute than single buy / sell strategies. However, from the perspective of automated options trading programs, even the best program is useless if it cannot execute. Therefore, designers of automated options trading programs tend to use models that can be reliably executed. Otherwise, even if a trading model with a perfect rate of return is designed, if it cannot execute, the program is useless. This is an important mindset in the design of automated options trading programs. Therefore, from the perspective of ease of execution, program designers tend to place orders for each combined strategy separately, or place separate buy or sell orders, and then combine them into a strategy to increase the probability of execution.
[0008] Once an automated trading strategy is set up, how to reduce risk (hedging) and increase profits is a key consideration for every algorithmic trader. This becomes even more crucial after a trade, as the market for options financial instruments fluctuates. From this perspective, designers of automated options trading programs tend to manage the risk of each trade individually; in other words, they set stop-loss points for each trade. When the stop-loss trigger condition is met, the position is closed. For example, on the buyer's side, since the call or put options they purchase contain both time value and intrinsic value (the value of an option includes: "intrinsic value," which is the immediate value of exercising the option; and "time value," which represents a "future potential value"), as the time value gradually diminishes over time, or when the index rises or falls sharply, the buyer must consider whether to close the position to avoid excessive losses. Similarly, on the seller's side, the risk of significant margin losses due to large index fluctuations must also be considered. This issue becomes even more pronounced when the number of contracts traded increases. In other words, when the number of buy and sell contracts for options by traders increases significantly—for example, to hundreds, thousands, or even tens of thousands—the single-trade trigger control method may cause the program to crash due to insufficient processing power from the computer's hardware and software caused by the excessive number of monitoring points. Therefore, developing an effective automated risk management method for automated options trading programs has become a challenge for their designers. Currently, no specific and effective risk control technologies related to such large-scale trading have been disclosed on the market. Similarly, it remains a trade secret for large-scale automated program traders (who can be referred to as large investors).
[0009] Furthermore, for automated options traders, when executing numerous sell orders for call or put options with positions at multiple different strike prices, insufficient margin can prevent them from continuing automated trading. How to enable automated options trading programs to monitor margin balances and optimize margin through margin recovery mechanisms, thereby increasing the number of trades and maximizing capital utilization, has become a crucial consideration for designers of automated options trading programs. Summary of the Invention
[0010] In view of this, this invention utilizes the options application program interface (API) provided by securities and futures companies to develop an automated options trading program. It redefines the parameter values to be input into the user interface through various custom parameters, allowing options traders to easily input their desired options order strategies through the user interface. Furthermore, the user interface generates multiple balanced strategy input screens for options sellers, enabling users to easily input parameters to achieve risk control for large-scale trading. This allows options traders to simultaneously achieve a balance between strategic trading and risk control, thereby significantly reducing the risk of large-scale multi-position trading and improving the overall win rate of options trading.
[0011] To achieve the above objectives, the present invention provides a device for a fully automated artificial intelligence trading program with automatic option (option) scaling function. The device includes a memory and a screen, and is connected to a securities and futures company server. The securities and futures company server includes a server communication module, a server processor, and a server memory. The device comprises: a communication module for establishing an Internet connection and connecting to the server's communication module; a program trading connection module; and a screen interface generation module for generating a user interface on the screen. The user interface includes at least an account information screen, a transaction information statistics screen, and a program trading parameter screen. The program trading parameter screen includes at least one program trading parameter setting screen. The account information screen displays an option product, and one of the program trading parameter setting screens includes a scaling parameter setting area, which further includes: a scaling strategy selection bar and at least one scaling parameter. The system includes: a selection panel; a transaction data statistics module, which receives multiple transaction reports from the securities and futures company's server after multiple orders are placed and executed, and compiles multiple transaction information from these transaction reports; a leverage strategy setting module, which reads a leverage parameter defined in the leverage strategy selection panel and the at least one leverage parameter selection panel, and reads a current time value amplitude value. When the current time value amplitude value exceeds a time value amplitude threshold setting value, the leverage parameter is executed to leverage or establish a position in a current options position; an automatic order placement integration module, which places these orders to the securities and futures company's server; a memory, which stores an application program, including the program trading connection module, the screen interface generation module, the leverage strategy setting module, the automatic order placement integration module, and the transaction data statistics module; and one or more processors connected to the memory and the screen to execute the application program.
[0012] Furthermore, in some embodiments of the present invention, the strategy selection column is selected from: double sell strategy, double buy strategy, single sell strategy, single buy strategy, and price difference strategy.
[0013] Furthermore, in some embodiments of the present invention, the current time value amplitude is calculated based on a time value parameter, and further includes: a manual sampling setting checkbox for calculating the time value parameter using a sampling parameter after selection; a sampling seconds setting box, which is one of the sampling parameters, for setting the sampling interval in seconds; and a sampling number setting box, which is one of the sampling parameters, for setting the sampling number; wherein the current time value amplitude is obtained by sampling the time value parameter based on the sampling parameter, calculating an average time value parameter, and subtracting the lowest average time value parameter from the current average time value parameter.
[0014] Furthermore, in some embodiments of the present invention, the current time value amplitude is calculated based on a time value parameter, and the calculation of the time value parameter is sampled based on a preset sampling parameter. The current time value amplitude is obtained by sampling the time value parameter based on the sampling parameter, calculating an average time value parameter, and subtracting the lowest average time value parameter from the current average time value parameter.
[0015] Furthermore, in some embodiments of the present invention, the current time value amplitude is calculated based on a time value parameter, and further includes: an automatic sampling checkbox for calculating the time value parameter based on a preset sampling parameter after selection; a manual sampling checkbox for calculating the time value parameter based on a sampling parameter after selection; a sampling seconds setting box, which is one of the sampling parameters, for setting the sampling interval in seconds; and a sampling number setting box, which is one of the sampling parameters, for setting the sampling number; wherein the current time value amplitude is obtained by sampling the time value parameter based on the sampling parameters, calculating an average time value parameter, and subtracting the lowest average time value parameter from the current average time value parameter.
[0016] Furthermore, in some embodiments of the present invention, the method for calculating the time value parameter is selected from a total time value, a price balance, and a total time value for a specific interval.
[0017] Furthermore, in some embodiments of the present invention, the time value amplitude threshold setting is set by a time value amplitude threshold setting column.
[0018] Furthermore, in some embodiments of the present invention, the time value amplitude threshold setting is a preset value.
[0019] The following detailed description of the features and advantages of the present invention is sufficient to enable anyone skilled in the art to understand the technical content of the present invention and implement it accordingly. Based on the content disclosed in this specification, the scope of the patent application and the drawings, anyone skilled in the art can easily understand the relevant objectives and advantages of the present invention. Simple Explanation of the Diagram
[0020] Figure 1 is an overall system functional block diagram of a device according to an embodiment of the present invention; Figure 2 is a functional block diagram of an application program according to an embodiment of the present invention. Figure 3 is a full-page example of the user interface according to an embodiment of the present invention. Figure 4 is a user interface diagram of the automatic order placement function in an embodiment of the present invention. Figure 5 shows an embodiment of the user interface of the present invention, including the options for price ranges. Figure 6A is a screenshot of one embodiment of the "dual selling and position building" function of the present invention. Figure 6B is a screenshot illustrating another embodiment of the "dual selling and building a position" function of the present invention. Figure 6C is an explanation of the selection fields in the main switch execution status setting column. Figure 7A is a screenshot of one embodiment of the "double buy position building" function of the present invention. Figure 7B is a screenshot illustrating another embodiment of the "double buy position building" function of the present invention. Figure 8 is a schematic diagram of the scaling strategy setting screen generated by the scaling strategy setting module in an embodiment of the present invention. Implementation
[0021] This invention utilizes the options application program interface (API) provided by securities and futures companies to develop an automated options trading program. It redefines the parameter values to be input into the user interface through various custom parameters, allowing options traders to easily input their desired options order strategies through the user interface. Furthermore, the user interface generates multiple balanced strategy input screens for options sellers, enabling users to easily input parameters to achieve risk control for large-scale trading. This allows options traders to simultaneously achieve a balance between strategic trading and risk management, significantly reducing the risk of large-scale multi-position trading and improving the overall win rate of options trading.
[0022] First, please refer to Figure 1, which is a block diagram of the overall system function of an embodiment of the device of the present invention. Unlike prior art, in terms of system architecture, the device 10 with an automated trading program for options of the present invention can use a computer, preferably a computer device with strong processing and computing power. The device 10 with an automated trading program for options includes: a screen 11, a communication module 12, a processor 13, memory 14, etc.; the securities and futures company server 900 includes a communication module 902, a processor 903, and memory 904, etc. The screen 11 can generate a user interface 15 to provide options traders with the option trader with the option to select various parameters for automated trading, and through visual information, to grasp the price dynamics of the chosen option financial product and the dynamics of the assets they have ordered.
[0023] In the architecture shown in Figure 1, the device 10 with an automated trading program and the securities and futures company server 900 are connected through their respective communication modules (communication module 12 and communication module 902). The device 10 communicates with the securities and futures company server 900 through an application programming interface (API) downloaded and installed by the server and uses its functions. Since the various hardware functions in the hardware architecture are disclosed in prior art, they will not be described in detail here. The following will describe in detail how the various components of the device 10 with an automated trading program and the application program 16 (Figure 2) work together and cooperate with the securities and futures company server 900 to achieve the inventive objective of this invention, thus illustrating the innovation of this invention.
[0024] Please refer to Figure 2, which is a functional block diagram of an application program according to an embodiment of the present invention. The application program 16 mainly includes several modules: program trading connection module 18, screen interface generation module 20, automatic order placement integration module 22, transaction data statistics module 24, first balance monitoring and order setting module 26, second balance monitoring and order setting module 28, third balance monitoring and order setting module 30, fourth balance monitoring and order setting module 32, first margin recovery function module 34, second margin recovery function module 35, double sell position setting module 36-1, double buy position setting module 36-2, price difference position setting module 36-3, steady liquidation setting module 37-1, designated liquidation setting module 37-2, leverage strategy setting module 37-3, long / short balance parameter setting module 37-4, intelligent shift function module 37-5, and fully automatic trading control module 39.
[0025] Application 16 is stored in memory 14 and its various modules are executed by processor 13. Furthermore, application 16 communicates with the communication module 902 of the securities and futures company server 900 through various control communication modules 12, transmitting user accounts, passwords, securities and futures company-provided credentials, and dynamically uploaded order information stored in memory 14. It also receives financial product information, transaction reports, and other data downloaded from the securities and futures company server 900, or data requested by the various modules of application 16. The program trading connection module 18 includes the aforementioned application interface (API) downloaded from the securities and futures company server 900. It translates the instructions generated by the various modules of application 16 into the format required by the securities and futures company server 900; this is part of the prior art and will not be elaborated upon here.
[0026] The screen interface generation module 20 is responsible for generating the user interface 15. After the application 16 is executed, the application 16 begins to execute the various background modules and connects to the securities and futures company server 900 through the process trading connection module 18. The screen interface generation module 20 then generates the user interface 15. The various background modules executed by the application 16 before the user interface 15 is generated fall within the scope of prior art and will not be elaborated upon here. This invention only describes the aspects related to the various innovative technologies of this invention to concisely illustrate the various necessary and special technical features of this invention.
[0027] Please refer to Figure 3, which is a full-page example of the user interface 15 according to an embodiment of the present invention. After successfully logging into the securities and futures company server 900, the screen interface generation module 20 downloads relevant data from the securities and futures company server 900 through the procedural trading connection module 18. Then, the transaction data statistics module 24 counts the corresponding data and fills it into various screens in the user interface 15, namely: account information screen 200, transaction information statistics screen 202, financial product real-time information screen 204, program trading parameter screen 206, manual order placement screen 208, and buy / sell volume and difference statistics screen 210, etc. In the embodiment of Figure 3, the various functional module screens are integrated into a single page so that users can easily see all the functional module screens at a glance. In another embodiment of the present invention, users can also select different functional module screens by clicking on tabs, or by flipping through pages. The various program trading parameter setting screens 60 on the program trading parameter screen 206 are selected via tabs. Similarly, the various program trading parameter setting screens 60 on the program trading parameter screen 206 can also be selected via other methods, such as page turning buttons, scrolling up and down, etc.
[0028] The account information screen 200 displays the user's account, the selected option product (TX0), and the month. This corresponds to the real-time product information on the financial product real-time message screen 204. The transaction information statistics screen 202 displays the transaction information and related statistics of the user's orders. Taking the embodiment in Figure 3 as an example, it is designed from the seller's perspective. The transaction information statistics screen 202 includes at least the following: call option points 36 (the total number of call option points sold by the account), put option points 38 (the total number of put option points sold by the account), total points 40 (the total number of call and put option points sold by the account), call option ratio 42 (the proportion of the total points sold by the account = call option points 36 / (call option points 36 + put option points 38)), call option Delta 44 (the sum of the call option positions in the Delta total points 56 column, located on the left side of the financial product real-time information screen 204. The call option position in the Delta total points 56 column is the number of contracts sold at each strike price multiplied by the Delta value at each strike price, representing the Delta value of the call options sold by the account), and put option Delta. The following columns display the total Delta points (56): 46 (the sum of put options in the Delta total points column; the total Delta points column represents the number of put options sold at each strike price multiplied by the Delta value at each strike price; displayed on the right side of the financial product real-time information screen 204, representing the Delta value of put options sold by this account), Total Delta 48 (call option Delta 44 + put option Delta 46, representing the index of the financial product; each 1-point increase affects the total points value of 40), and Available Margin 50 (the amount of margin currently available for this account). These information columns are compiled by the transaction data statistics module 24 based on the transaction feedback data corresponding to the orders submitted by this account; that is, the transaction feedback returned by the securities and futures company server 900. In addition to recording the transaction return data, the transaction data statistics module 24 also performs several special statistics: call option points 36, put option points 38, total points 40, call option ratio 42, call option Delta 44, put option Delta 46, total Delta 48, etc.; all of the above data are automatically re-calculated by the transaction data statistics module 24. Furthermore, the call option ratio 42 and total Delta 48 parameters can be used in subsequent automated risk balancing strategies, which is a unique technical feature of this invention and has not yet been disclosed in any prior art. Through the information disclosed on the transaction information statistics screen 202, the option trader of this account can clearly see the completed transaction information of their option sellers, and thus understand the specific transaction results and customized balancing parameter results of the option algorithmic trading in this account.Furthermore, those skilled in the art should understand that the Delta value is one of the "option risk coefficients," coded using Greek letters. The Delta value corresponding to the exercise price of each stock market index option is calculated by the corresponding stock exchange, not by this invention. The "option risk coefficient" represents the risk factor (Greek) of the option premium change, or sometimes referred to as the option Greek letter or option parameter. Delta (δ) is defined as: under otherwise unchanged conditions, if the underlying asset rises by 1 point, the premium changes by x points. For example, delta = 0.5 means that if the underlying asset rises by 1 point, the premium increases by 0.5 points. Similarly, Gamma (γ) is defined as: under otherwise unchanged conditions, if the underlying asset rises by 1 point, delta changes by x. This invention calculates the Delta value (each strike price has a corresponding Delta value) by using a standard formula to calculate real-time price quotes for options downloaded from a stock exchange. The Delta value is then multiplied by the number of contracts corresponding to each strike price to obtain Delta 44 for call options and Delta 46 for put options. The total Delta 48 is calculated by adding Delta 44 and Delta 46. This calculation method is not disclosed in any prior art. More notably, prior art uses a one-to-one calculation basis for Delta value calculation; that is, a Delta value generated at a bid / ask level on the call side will generate a corresponding negative Delta value at the corresponding bid / ask level on the put side, and the sum of the two is equal to 0. This invention employs a novel technical concept: multiplying the calculated Delta value by the number of contracts in the corresponding position to obtain a new total Delta value for call options, and even adding the total Delta values for call and put options to obtain a total Delta value. Furthermore, the calculation of the total Delta value for call options, put options, and the total Delta value of this invention can be performed using option trading data or trading data of the corresponding futures contracts. In other words, the total Delta value for call options, put options, and the total Delta value referred to in this invention are not limited to those calculated from option trading data, but also include those calculated from the corresponding futures trading data. Subsequently, specific embodiments will be used to illustrate how the total Delta 48 is applied to risk balancing in option algorithmic trading.
[0029] The real-time financial product information screen 204 displays financial product information downloaded from the securities and futures company server 900. For example, in the embodiment shown in Figure 3, it displays the real-time price information of the Taiwan Index Options (TX0). It also displays some information compiled by the transaction data statistics module 24, such as the points (54), Delta total points (56), and lot size (58) fields on the screen. The points (54) field represents the number of points sold at each strike price, which is the current transaction price of the corresponding strike price multiplied by the corresponding number of sell orders. The Delta total points (56) field is described as above. The lot size (58) field represents the total number of lots sold at each strike price.
[0030] The program trading parameter screen 206 is the most important innovative part of this invention, corresponding to multiple different program automatic order placement modules (various position building modules), risk balancing modules, margin recovery modules, and liquidation modules. This invention, through a program trading parameter interface, allows users to easily and dynamically adjust various parameters of the program automatic trading system in real time, achieving special technical functions such as automatic order placement, dynamic adjustment of automatic order placement parameters, automatic risk balancing adjustment, and automatic liquidation. In Figure 3, the program trading parameter screen 206 represents the state where the screen interface generation module 20 is simultaneously executing several program trading parameter setting screens 60. Currently executing are: the second margin recovery setting screen 60-8, the call option total points control parameter setting screen 60-1, the put option total points control parameter setting screen 60-2, and the fourth balance monitoring and order placement setting screen 60-6. In the embodiment shown in Figure 3, each program trading parameter setting screen 60 contains multiple parameters for different program trading executions. The built-in trading logic will be explained later when describing each screen and functional module. Figure 3 shows the second margin recovery setting screen 60-8, whose main parameter setting fields include: dynamic automatic price adjustment setting field 64, order quantity setting field 80, automatic order placement time interval setting field 66, and automatic recovery time interval setting field 68. Furthermore, in the embodiment shown in Figure 3, switching between the different parameter setting screens of the program trading parameter screen 206 is done via tabs. As mentioned earlier, it can also be switched by scrolling up and down, or by sliding the buttons left and right. In other words, the switching method falls within the scope of prior art and will not be elaborated upon here.
[0031] The manual order placement screen 208 is a traditional order placement screen, which includes fields for each order, such as buy / sell type, buy / sell option, commodity code, order conditions (ROD...), price level, order price, order quantity, etc. Here, the price level field uses a dynamically automatically adjusted price setting field 64 specially developed in this invention, which will be explained later. Option traders who do not wish to use the subsequent automatic order placement mode of this invention can also use the manual order placement screen 208 to place orders one by one.
[0032] The buy / sell volume and difference statistics screen 210 displays the current number of call and put options bought and sold, as well as the difference between the number of buy and sell orders for call options (210-1) and for put options (210-2). The calculated values of the difference between the number of buy and sell orders for call options (210-1) and for put options (210-2) will be used for margin recovery and various balancing monitoring strategies.
[0033] Next, the various automatic trading parameter setting modules in Figure 2 will be explained through the various parameter setting screens. First, please refer to Figure 4, which is the automatic order placement function interface diagram of a user interface according to one embodiment of the present invention. It is the parameter setting screen 60-9 for fancy order placement method (also known as the manual / automatic order placement parameter input setting screen), which includes at least several parameter setting related fields: buy / sell option parameter setting field 69-1, strike price setting field 69-2, buy / sell setting field 69-3, automatic order placement frequency setting field 69-4, dynamic automatic price adjustment setting field 64, order volume setting field 80, automatic order placement time interval setting field 66, automatic recovery time start setting field 68-1, automatic recovery time interval setting field 68, and parameter storage key 62. As mentioned above, the screen interface generation module 20 will generate various different function module screens, and each function module screen has various different parameter setting fields as shown in Figure 4. Users under this account can easily set various strategies and parameters for algorithmic trading by inputting these parameter settings. In the embodiment shown in Figure 4, the parameters are used by the automatic order placement module 22. Users simply need to set the values for each column, including the order parameter setting column 69-1, strike price setting column 69-2, order setting column 69-3, automatic order placement frequency setting column 69-4, dynamic automatic price adjustment setting column 64, and order volume setting column 80. Finally, by pressing the parameter save button 62, these parameters are recorded in memory 14. Subsequently, the automatic order placement module 22 will place orders based on these set parameters.
[0034] Here, the fields for setting the automatic order placement time interval (66), the automatic order recovery time start setting (68-1), and the automatic order recovery time interval setting (68) are particularly noteworthy. The settings of these three fields are closely related to the dynamic automatic price adjustment setting (64). The setting and integration of these fields are also one of the main technical features of this invention. The automatic order placement time interval setting (66) is used to set the automatic order placement time for each order, while the time setting in the automatic order recovery time interval setting (68) is used to automatically delete the order if it is not executed within the time set in the automatic order placement time interval setting (66). This invention utilizes the technical concept of a dynamic automatic price adjustment setting (64), which is presented in Figure 5. Taking the embodiment in Figure 4 as an example, the values in the first column for the order setting parameters 69-1, strike price setting 69-2, order setting 69-3, automatic order placement frequency setting 69-4, dynamic automatic price adjustment setting 64, and order quantity setting 80 are "Call", "17500", "BUY", "fixed price", "1", "300", and "10", respectively; while the values in the fifth column for the order setting parameters 69-1, strike price setting 69-2, order setting 69-3, automatic order placement frequency setting 69-4, dynamic automatic price adjustment setting 64, and order quantity setting 80 are "Put", "17100", "SELL", "intermediate bias price", "1", "30", and "100", respectively; the settings in each column are different. Please refer to Figure 5. The Dynamic Auto-Adjustment Price Setting section (64) has several basic settings: "Immediate Transaction Price," "Medium-Easy Price," "Medium-Difficult Price," "Fixed Price," "Additional Price 1," "Additional Price 2," "Additional Price 3," "Additional Price 4," "Additional Price 5," and "Additional Price 6." This setting method differs from the commonly used "Market Price" and "Limit Price." The "Immediate Transaction Price" is the price offered by the other party (usually a slightly discounted price). For example, if you want to be the buyer at a certain fulfillment price, you would place a buyer's order at the seller's order price, and the transaction would be completed immediately; the reverse is also true. The "Fixed Price" is the current market price. For example, if you want to be the buyer, the price would be the current order price from other buyers. For example, when the strike price is 19500, if at this time, in the real-time quote, the buyer's price for the call option is 150 and the seller's price is 160, and the transaction price falls to 153, then when the user selects different levels in the dynamic automatic adjustment price setting column 64 of the present invention, the automatic order placement module 22 will dynamically adjust the order price according to the current buyer and seller prices of the call option.Among them, the middle-biased easy price is the price that falls between the current prices offered by buyers and sellers, but leans towards the other party's price; the middle-biased difficult price is the price that falls between the current prices offered by buyers and sellers, but leans towards the other party's price. There are many ways to generate these two prices: 1. The middle-biased easy price is selected one level above the immediate transaction price and the fixed price; conversely, the middle-biased difficult price is selected one level above the immediate transaction price and the fixed price. 2. The middle-biased easy price is selected one level above the immediate transaction price and the fixed price, which is the midpoint between the immediate transaction price and the fixed price; conversely, the middle-biased difficult price is selected one level above the fixed price and the midpoint between the immediate transaction price and the fixed price. 3. Other allocation methods between the immediate transaction price and the fixed price. In an example of this method, if the order is placed by the buyer, then the "Immediate Transaction Price" = 160, the "Easy Price" = (150 + 160) / 2 + 1, the "Difficult Price" = (150 + 160) / 2 - 1, the "Fixed Price" = 150, the "Additional Price 1" = 150 - 1, the "Additional Price 2" = 150 - 2, the "Additional Price 3" = 150 - 3, the "Additional Price 4" = 150 - 4, the "Additional Price 5" = 150 - 5, and the "Additional Price 6" = 150 - 6; In this embodiment, if the order is placed by the seller, then the "Immediate Transaction Price" = 150, the "Easy Price" = (150+160) / 2-1, the "Difficult Price" = (150+160) / 2+1, the "Fixed Price" = 160, the "Premium Price 1" = 160+1, the "Premium Price 2" = 160+1, the "Premium Price 3" = 160+1, the "Premium Price 4" = 160+1, the "Premium Price 5" = 160+1, and the "Premium Price 6" = 160+1. The automatic order placement module 22 dynamically generates the order price for each price level based on the current buying and selling prices of the call option, which is the technical meaning of the "Dynamically Automatically Adjusted Price Setting Bar 64". In other words, the purpose of the "Immediate Transaction Price" is to achieve a quick transaction, not necessarily to be most advantageous to either the buyer or the seller. The "fixed price" is the price other buyers or sellers are willing to offer at the moment, which is most advantageous to the buyer or seller, but relatively difficult to complete. The "easy-to-middle price" is relatively easier to complete than the "fixed price," but relatively less advantageous to the buyer or seller in terms of price; the "difficult-to-middle price" is relatively more difficult to complete than the "fixed price," but relatively more advantageous to the buyer or seller in terms of price; the "heavier n-price" is most advantageous to the buyer or seller, but even more difficult to complete. The "Dynamic Auto-Adjusted Price Setting Bar 64" allows the account user to try different dynamically adjusted order prices to adjust their trading mode—whether to quickly complete a position or to obtain the best execution price. Through this technical feature of the present invention, users can more flexibly design their program trading parameters.
[0035] The "Dynamic Auto-Adjusting Price Setting" (64) allows users to select price levels that dynamically adjust to the difficulty of completing a transaction. Combined with the "Auto-Order Time Interval Setting" (66), "Auto-Retrieval Time Activation Setting" (68-1), and "Auto-Retrieval Time Interval Setting" (68), it offers even greater technical significance. When the difficulty of completing a transaction is high, users can adjust the "Auto-Order Time Interval Setting" (66) to a shorter interval and the "Auto-Retrieval Time Interval Setting" (68) to a shorter interval. Alternatively, they can simultaneously adjust the "Auto-Order Count Setting" (69-4) to increase the number of orders, thereby increasing the probability of a successful transaction through continuous order placement. Through experimentation, users can gradually master the optimal settings for these fields.
[0036] In another embodiment of the present invention, the definition of the dynamically automatically adjustable price setting column 64 can also adopt the existing concepts of market price list and limit price list for users to select.
[0037] The embodiment in Figure 4 illustrates that the present invention allows for automated program trading by clicking, entering data, and saving the various program trading parameter fields on the fancy order placement parameter setting screen 60-9. After the various program trading parameter fields are entered and saved, the automatic order placement integration module 22 retrieves the set parameters for automatic order placement and automatic order recovery after the user clicks to execute. Subsequently, the transaction results can be viewed on the transaction information statistics screen 202, as described above.
[0038] Please refer to Figure 5 for the parameters of the buy / sell price setting bar 70. The buy / sell price setting bar 70 provides various buy / sell price settings (which can be called adjustable strike prices), such as "4 levels in-the-money" to "1 level in-the-money", "1 level out-of-the-money" to "20 levels out-of-the-money", as well as "at-the-money" and "forced liquidation". These options allow users to set automatic buy and sell strike price levels, which dynamically adjust according to changes in the index of the underlying asset, i.e., the options product. This is another key technical feature of this invention. Combined with the "dynamically automatically adjusting price setting bar 64", users do not need to input any fixed strike price (as in the embodiment of Figure 4) or fixed "limit price" (as in the prior art) into the program, achieving the special technical effect of dynamically and adaptively generating strike prices and order prices.
[0039] In the embodiment shown in Figure 4, this invention discloses a method for setting buy and sell strategies via the fancy order placement parameter setting screen 60-9, followed by the automatic order placement integration module 22 executing the position building process. Besides single buy and sell options, options trading strategies also include so-called compound strategies, such as double sell, double buy, and spread orders. More diverse spread order combinations include so-called "Iron Eagle" and "Iron Butterfly" strategies; however, securities and futures brokers can only implement combined strategies of double sell, double buy, and spread orders at most, and currently do not offer Iron Eagle or Iron Butterfly trading functionality. The position building strategy of this invention can be set via the fancy order placement parameter setting screen 60-9 in Figure 4, or through the following embodiments. For example, Figures 6A-6C will illustrate the position building method for the double sell strategy, or Figures 7A-7B will illustrate the position building method for the double buy strategy. Additionally, this invention can also provide a position building method for the "spread strategy," which will also be described later.
[0040] Please refer to Figures 6A, 6B, and 6C for an illustration of the "double sell" and "double buy" functions generated by the device of the fully automated artificial intelligence trading program with optional double sell and double buy position building functions of the present invention.
[0041] Figure 6A illustrates a screen diagram of one embodiment of the "dual-sell position building" function of the present invention, showing that the screen interface generation module 20 generates a user interface 15 for the dual-sell position building setting screen 60-11. After the various position building parameter setting fields in the user interface 15 of the dual-sell position building setting screen 60-11 are set, the dual-sell position building setting module 36-1 can start transmitting the various position building parameters to the automatic order placement integration module 22, and the automatic order placement integration module 22 generates an order to perform dual-sell position building until all the conditions set by the position building parameters are met.
[0042] The position-building parameters include the following settings: Immediate Start Checkbox 301-1, Dynamic Automatic Price Adjustment Setting 301-2, Buy / Sell Lower Limit Setting Block 302, Buy / Sell Lower Limit Value Checkbox 302-1, Buy / Sell Lower Limit Setting 302-2, Buy / Sell Price Level Setting Checkbox 302-3, Buy / Sell Price Level Setting 302-4, Buy / Sell Upper Limit Setting Block 303, Main Switch On / Off Instructions 304-1, Main Switch Execution Status Setting 304-2, Order Quantity Setting 305-1, Automatic Order Placement Time Interval Setting 305-2, Stop Position Building Condition Checkbox 1 306-1, Stop Position Building Condition Setting 1 306-2, Stop Position Building Condition Checkbox 2 307-1, Stop Position Building Condition Setting 2 307-2, Scheduled Start Setting 1 308-1, Scheduled Start Setting 2 308-2, etc. The above-mentioned position-building parameters include some as single conditions, some as compound conditions, and some as selection conditions. For example, in the lower limit setting block 302, the lower limit value checkbox 302-1 and the lower limit setting block 302-2 form one combination condition, and the buy / sell price level setting checkbox 302-3 and the buy / sell price level setting block 302-4 form another combination condition. Only one of these combination conditions can be selected (either the lower limit value checkbox 302-1 or the buy / sell price level setting checkbox 302-3), or both can be selected. Selecting only one is preferable. Since double-buy positions involve selling one unit each in Call / Put, the lower limit setting block 302 and the upper limit setting block 303 allow users to determine a price level and range (trading conditions) so that the automatic order placement module 22 can then determine where to buy or sell based on this range. For example, if a user sets the lower limit setting field 302-2 in both the lower limit setting block 302 and the upper limit setting block 303 to 100 points, the automatic order placement module 22 will only buy and sell at exactly 100 points (in this embodiment, it's a call / put strategy of selling 100 points each). However, if there isn't an exact 100-point price at the moment, the automatic order placement module 22 will continuously place orders until the 100-point price is met, at which point the transaction will be completed. If the user sets the lower limit setting field 302-2 in both the lower limit setting block 302 and the upper limit setting block 303 to 100 points and 150 points respectively, the program will automatically search all price ranges between 100 and 150 points and perform a double sell. For example, when a user sets three out-of-price levels in the lower limit setting field 302-4 of the lower limit setting field 302 and the upper limit setting field 303, the automatic order placement module 22 will conduct buy and sell transactions according to the current three out-of-price levels. Similar to the aforementioned point conditions, orders will be placed based on the conditions of the dynamically and automatically adjusted price setting field 301-2, order quantity setting field 305-1, and automatic order placement time interval setting field 305-2.The functions of the dynamically automatically adjusted price setting column 301-2, the number of order slots setting column 305-1, and the automatic order placement time interval setting column 305-2 are the same as those described above, and are special functions of this invention, which will not be elaborated further here.
[0043] The above explanation clearly reveals that the embodiment in Figure 6A adds trading condition settings in the lower limit setting block 302 and the upper limit setting block 303, allowing the automatic order placement module 22 to start automatically placing orders when the scheduled start time in the scheduled start setting column 1 308-1 and scheduled start setting column 2 308-2 arrives. After placing an order, when should the order placement stop? That is, what are the conditions for completing the double sell position building? This is defined by the stop position building condition checkbox 1 306-1, stop position building condition setting column 1 306-2, stop position building condition checkbox 2 307-1, and stop position building condition setting column 2 307-2. Figure 6A illustrates two methods for stopping position building: Stop Position Building Condition Setting 1 (306-2) uses the margin amount as the stop condition, with the example value in Figure 6A being 300,000 yuan; Stop Position Building Condition Setting 2 (307-2) uses the number of selling points as the condition, with the example value in Figure 6A being 5,000 points. These settings are manually set by the user. If an incorrect setting is made, the automatic order placement module 22 will automatically place orders until there is no margin left, or it may be unable to execute a double sell order. For example, if a user's account has only 1 million yuan, and the user has checked Stop Position Building Condition Setting 2 (307-1) and Stop Position Building Condition Setting 2 (307-2), and Stop Position Building Condition Setting 2 (307-2) is set to 0 points, this is a setting error. Because the stop-position-building condition setting column 2 (307-2) is 0 points, the automatic order placement module 22 determines that this condition has been met upon initial execution and therefore will not continue placing orders. In another example, if a user's account has only 1 million yuan, and the user has checked both the stop-position-building condition selection column 2 (307-1) and the stop-position-building condition setting column 2 (307-2), and the stop-position-building condition setting column 2 (307-2) is set to 10,000 points, with an account balance of 1 million yuan, under the current margin calculation method, only about 10 sets of double-sell strategy orders can be executed. It is difficult for 10 sets of double-sell strategy orders to achieve a sell result of 10,000 points. Therefore, the automatic order placement module 22 will automatically place orders until there is no margin remaining.
[0044] As can be seen from the above embodiments, the algorithmic trading of the double-sell position-building strategy of the present invention allows users to set their own position-building parameters (position-building conditions). The double-sell position-building setting module 36-1 and the automatic order placement integration module 22 work together to automatically execute the double-sell position-building strategy until the user-set stop position-building conditions. Furthermore, the present invention also provides a "timed start" function, allowing users to decide when to start position building. In other words, the position-building parameters also include timed start parameters. Thus, after the user sets the position-building parameters, the double-sell position-building setting module 36-1 automatically times the start time. When the time is up, it automatically starts, then transmits the various position-building parameters to the automatic order placement integration module 22 to build the position, and stops building the position when the stop position-building conditions are met. This completes fully automated double-sell position building. After setting all the position-building conditions in the present invention, the user can complete fully automated double-sell position building through this invention.
[0045] Figure 6B illustrates another embodiment of the "dual-sell position building" function of the present invention. It shows that the screen interface generation module 20 generates the user interface 15 of the dual-sell position building setting screen 60-11. Furthermore, the embodiment in Figure 6B differs from the embodiment in Figure 6A by adding functions such as the fully automatic link selection option 309-1, the strategy function option 309-2, and the scroll bar 309-3. When the fully automatic connection option 309-1 is selected, after the double sell position setting module 36-1 completes the position setting parameters (the inventory position can correspond to the content of the position setting parameters), the fully automatic trading control module 39 takes over the fully automatic trading control and begins to read the respective set balance parameters or closing parameters according to the strategy function selected in the strategy function option 309-2 (which can be called function connection parameters) to perform fully automatic dynamic balancing or liquidation. As shown in Figure 6B, it includes functions such as C / P ratio balancing method, total call points control, total put points control, margin recovery, margin recovery 2, steady liquidation, double buy position setting, and specified liquidation. These functions correspond to the first balance monitoring and order setting module 26, the second balance monitoring and order setting module 28, the third balance monitoring and order setting module 30, the fourth balance monitoring and order setting module 32, the first margin recovery function module 34, the second margin recovery function module 35, the double buy position setting module 36-2, the price difference position setting module 36-3, the steady liquidation setting module 37-1, and the designated liquidation setting module 37-2, respectively.
[0046] The scroll bar 309-3 is used to allow the undisplayed policy function options 309-2 to be scrolled up and down for the user to select.
[0047] The fully automated balancing or liquidation link allows this invention to achieve fully automated double-selling position building, balancing, and liquidation. Users can complete the entire options transaction without any supervision after setting all parameters. The actual profit and loss of an options transaction are determined only after "closing the position," as is understood by those skilled in the art and will not be elaborated upon here. In the embodiment shown in Figure 6A, this invention implements the "position building" process of options trading, that is, the initial stage of options trading. The intermediate stage can involve "balancing" or "order adjustment," controlling the profit or loss of options trading through adjustments to the options position. The final stage of options trading is liquidation, that is, closing the position to settle the profit or loss of each position. Of course, this active liquidation action can also be omitted, and the inventory position can be directly placed on the settlement date for settlement by the securities and futures trading company. In other words, users have four options: First, after establishing a double sell position in Figure 6B, all inventory positions are released for settlement on the settlement date; second, after establishing a double sell position in Figure 6B, dynamic order adjustments (various balancing methods) are performed until settlement on the settlement date; third, after establishing a double sell position in Figure 6B, a liquidation strategy is adopted, and positions are actively liquidated at the predetermined time; fourth, after establishing a double sell position in Figure 6B, dynamic order adjustments (various balancing methods) are performed, and positions are actively liquidated at the predetermined time. All four methods can be executed using the position-establishing parameters set in Figure 6B, allowing users to actively manage their desired fully automated options trading strategy. Through the liquidation strategy execution of this invention (described in the embodiments in Figures 13A to 14C), users can actively control profits or losses and achieve fully automated options trading.
[0048] Furthermore, the order adjustment and balancing functions of the first balance monitoring and order setting module 26, the second balance monitoring and order setting module 28, the third balance monitoring and order setting module 30, the fourth balance monitoring and order setting module 32, the first margin recovery function module 34, and the second margin recovery function module 35 have been explained in the corresponding descriptions above, and will not be repeated here.
[0049] Next, please refer to Figure 6C, which is an explanation of the selection fields in the master switch execution status setting column 304-2. This allows the user to choose whether to still execute the fully automated transaction program of this invention after a system restart, and what the target state should be. There are three options: execute, do not execute, and maintain the state before restart.
[0050] Besides the double-sell strategy, many users also choose the double-buy strategy, which can also be implemented through this invention, achieving fully automated double-buy entry. Next, please refer to Figure 7A, which illustrates the "double-buy entry" function of this invention. Figure 7A shows that the screen interface generation module 20 generates the user interface 15 of the double-buy entry setting screen 60-12. The screen is the same as Figure 6A, the only difference being that Figure 6A shows the double-sell strategy, while Figure 7A shows the double-buy strategy; the entry parameter settings are the same for both.
[0051] Next, please refer to Figure 7B, which illustrates the "double buy position building" function of this invention. A difference from the embodiment in Figure 6B is the difference between strategy function options 309-4 and 309-2. Strategy function option 309-4 allows the double buy position building setting module 36-2 to connect to the double sell position building setting module 36-1 in Figure 6B, while strategy function option 309-2, conversely, allows the double sell position building setting module 36-1 to connect to the double buy position building setting module 36-2 in Figure 7B. In other words, the embodiment in Figure 7B allows users to continuously perform active and complete option strategies such as dynamic order adjustment (balancing) and liquidation in the double buy position building chart. Of course, it can also satisfy the aforementioned four complete option strategy settings. After selecting the double buy position building strategy, users can, according to their preferences, set whether to actively complete the complete option transaction or passively leave it until the settlement date.
[0052] Next, please refer to Figure 8, which illustrates a schematic diagram of the betting strategy setting screen 60-15 generated by the betting strategy setting module 37-3 in an embodiment of the present invention. In addition to basic setting functions, the betting strategy setting screen 60-15 includes the following setting blocks: a betting condition setting block and a betting strategy setting block. The betting condition setting block adds the following setting values: betting condition activation checkbox 320-1, automatic sampling checkbox 320-2, manual setting checkbox 320-3, sampling seconds setting box 320-4, and sampling count setting box 320-5. Only one of the two checkboxes, 320-2 for automatic sampling and 320-3 for manual setting, can be selected. When the user selects 320-2 for automatic sampling, the betting strategy setting module 37-3 will sample according to the value of the "preset automatic sampling parameter," as shown in Figure 8: sampling once every 60 seconds and taking the average of 5 samples. The so-called sampling value is the "time value parameter." In this embodiment, the so-called "time value parameter" can be calculated in several different ways: for example, calculating a "total time value" for the time value of each position of all call and put options; for example, calculating a "total time value for a specific range" by summing the time values of a specific range, such as the 10 positions from at-the-money to out-of-the-money; for example, using the at-the-money position as the time value parameter. Therefore, the betting strategy setting module 37-3 will extract the "time value parameter" every 60 seconds according to the "preset automatic sampling parameter". After sampling the "time value parameter" 5 times, it will be averaged to obtain the current "average time value parameter". The betting strategy setting module 37-3 stores the historical value of the "average time value parameter", such as the historical value of today's "average time value parameter", into memory 14 and marks the lowest "average time value parameter" (A); then, it calculates the "current time value amplitude value" C, which is equal to the current "average time value parameter" (B) minus the lowest "average time value parameter" (A), C=BA. The betting strategy setting module 37-3 compares the "time value amplitude threshold setting value" 320-9 with the "current time value amplitude value" C. Once the "current time value amplitude value" C is greater than the "time value amplitude threshold setting value" set in the "time value amplitude threshold setting column" 320-9, the betting parameters set in the subsequently selected betting strategy one checkbox 320-6 or betting strategy two checkbox 320-7 are executed. Furthermore, in another embodiment of the present invention, the "time value amplitude threshold setting value" manually set in the "time value amplitude threshold setting column" 320-9 can also be a preset value stored in memory 14.
[0053] Figure 8 illustrates the setting values for the add-on conditions, revealing the time value method. Time value is a specific concept in options trading, familiar to those with general knowledge in the field, and will not be elaborated upon here. The calculation method for the time value parameter is also as described above. When the time value increases, it indicates a higher option price, representing a better time for option sellers to sell. Therefore, automatically adding to the position based on the increase in time value is the main technical concept of this embodiment. The automatic add-on feature provided in this embodiment is that the add-on strategy setting module 37-3 monitors the "current time value amplitude value" C. When it exceeds the "time value amplitude threshold setting value" 320-9, automatic add-on is performed, requiring no manual calculation by the user, automatically adding to the position by selling call or put options at the set price level.
[0054] In another embodiment of the present invention, the so-called "adding to positions" strategy is not limited to the existing option positions and can also be used as a position-building strategy. That is, when building a position, the time value method can be used to build the position at a relatively high point in time value, thereby collecting more premiums from the seller's option.
[0055] The following explains the parameter settings for the averaging-up strategy. There are many different averaging-up strategies, such as double-sell averaging-up, single-sell averaging-up, single-buy averaging-up, spread averaging-up, etc. Each averaging-up strategy can have its averaging-up parameters set through the averaging-up strategy setting block provided by this invention. The following will use the embodiment in Figure 8 as an example to illustrate the specific implementation of two averaging-up strategies.
[0056] In Figure 8, the betting strategy setting block includes: betting strategy one checkbox 320-6, betting strategy two checkbox 320-7, and fully automatic link checkbox 309-20, etc. After betting strategy one checkbox 320-6, betting strategy two checkbox 320-7, and other function link checkbox after betting 309-20 are checked, there are corresponding setting fields that need to be checked and selected.
[0057] Once the "Add-on Strategy 1" checkbox 320-6 is selected, you can select the various functional modules for the "Add-on" parameters. These are essentially the same as the functional modules for the "Placement" parameters, including the following settings: "Immediate Activation" checkbox 301-1, "Dynamic Automatic Price Adjustment" setting box 301-2, "Buy / Sell Lower Limit Setting" block 302, "Buy / Sell Lower Limit Value" checkbox 302-1, "Buy / Sell Lower Limit Setting" box 302-2, "Buy / Sell Price Level Setting" checkbox 302-3, and "Buy / Sell Price Level Setting" box 302-4. The following are some of the margin trading parameters: Buy / Sell Limit Setting Block 303, Main Switch On / Off Instructions 304-1, Main Switch Execution Status Setting 304-2, Order Quantity Setting 305-1, Automatic Order Placement Time Interval Setting 305-2, Stop Position Building Condition Checklist 1 306-1, Stop Position Building Condition Setting 1 306-2, Stop Position Building Condition Checklist 2 307-1, Stop Position Building Condition Setting 2 307-2, Scheduled Start Setting 1 308-1, Scheduled Start Setting 2 308-2, etc. Some of these parameters are single conditions, some are compound conditions, and some are selection conditions. For example, in the lower limit setting block 302, the lower limit value checkbox 302-1 and the lower limit setting block 302-2 form one combination condition, and the buy / sell price level setting checkbox 302-3 and the buy / sell price level setting block 302-4 form another combination condition. Only one of these two combination conditions can be selected (either the lower limit value checkbox 302-1 or the buy / sell price level setting checkbox 302-3), or both can be selected. Selecting only one is preferable. Since double-selling and adding to a position involves selling one unit each in Call / Put, the lower limit setting block 302 and the upper limit setting block 303 allow users to determine a price level and range (trading conditions) so that the automatic order placement module 22 can then determine where to buy or sell based on this range. For example, if a user sets the lower limit setting (302-2) to 100 points in both the lower limit setting block 302 and the upper limit setting block 303, the automatic order placement module 22 will only buy and sell at exactly 100 points (in this embodiment, this is a call / put strategy of selling 100 points each). However, if there is no price point of exactly 100 points at the moment, the automatic order placement module 22 will continuously place orders until the 100-point price is met, at which point the transaction will be completed. If the user sets the lower limit setting (302-2) to 100 points and the upper limit setting block 303 to 150 points respectively, the leverage strategy setting module 37-3 will automatically search all price levels within the range of 100-150 points and perform a double sell.For example, when a user sets three out-of-price levels in the lower limit setting field 302-4 of the lower limit setting block 302 and the upper limit setting block 303, the automatic order placement module 22 will perform buy and sell transactions according to the current three out-of-price levels. Similar to the aforementioned point conditions, orders will be placed based on the conditions of the dynamically automatically adjusted price setting field 301-2, order quantity setting field 305-1, and automatic order placement time interval setting field 305-2. The functions of the dynamically automatically adjusted price setting field 301-2, order quantity setting field 305-1, and automatic order placement time interval setting field 305-2 are the same as described above and are special functions of this invention, which will not be elaborated further here. Subsequently, the scaling-up strategy setting module 37-3 will enable the automatic order placement module 22 to place orders for scaling-up based on these set scaling-up parameters after the scaling-up conditions are met.
[0058] Once the "Add-on Strategy 2" checkbox 320-7 is selected, the subsequent add-on parameters must also be selected and set. The settings for the add-on parameters are similar to the position-building parameters for the fancy order placement method, and include the following related fields: Add-on point checkbox 69-21, Buy / Sell option parameter setting field 69-1, Strike price / price setting field 69-22, Buy / Sell setting field 69-3, Automatic order placement frequency setting field 69-4, Dynamic automatic price adjustment setting field 64, Order volume setting field 80, Automatic order placement time interval setting field 66, and Margin amount setting field 69-23. The parameters are used by the averaging strategy setting module 37-3 and the automatic order placement integration module 22. Users simply need to set the values for each column, including the order book parameter setting column 69-1, the strike price setting column 69-2, the order setting column 69-3, the automatic order placement frequency setting column 69-4, the dynamic automatic price adjustment setting column 64, and the order volume setting column 80. Finally, pressing the parameter storage key 62 records these parameters in memory 14. Subsequently, the averaging strategy setting module 37-3 will enable the automatic order placement integration module 22 to place orders based on these set averaging parameters after the averaging conditions are met.
[0059] When the fully automatic connection option 309-20 is selected, after the addition strategy setting module 37-3 completes the execution of the addition parameters (the inventory position can correspond to the content of the addition parameters), the fully automatic trading control module 39 takes over the fully automatic trading control and begins to read the respective set balance parameters or closing parameters according to the strategy function selected in the strategy function option 309-2 (which can be called function connection parameters) to perform fully automatic dynamic balancing or liquidation. As shown in Figure 6B, it includes functions such as C / P ratio balancing method, total call points control, total put points control, margin recovery, margin recovery 2, steady liquidation, double buy position building, and specified liquidation.
[0060] As can be seen from the above embodiments, the application scenario is based on the mode where the option program trader executes the program on their own computer. Those skilled in the art will understand that the technical content of this invention can also be directly applied to the servers of securities and futures brokers or software development companies. In other words, the "securities and futures company server" in the above embodiments becomes a securities exchange server (the program is installed on the securities and futures broker's server), and the two are equivalent. In this type of application scenario, if the fully automated artificial intelligence option double-selling balancing trading program of this invention is installed on the servers of securities and futures brokers or software development companies, the option trader can connect to their web server via computer and place orders directly with the relevant entity, such as the Taiwan Stock Exchange, through the securities and futures broker's server or the software development company's server. In this application scenario, there is no need to install an application programming interface (API); by logging in with account passwords, credentials, etc., through the web server, the program can automatically trade using the securities and futures broker's server or the software development company's server. In other words, using the technology of this invention, securities and futures companies or software development companies can provide options program trading services. If it is a software development company's server, it also needs to be connected to the securities and futures company's server; this connection method is part of prior art and will not be elaborated upon here. Therefore, the "device for a fully automated AI trading program with automatic option (option) overlay function" referred to in this invention can be a personal computer, or a securities and futures company's server, or a software development company's server. Here, the "server" in this invention can be a securities and futures company's server, a software development company's server, or a stock exchange's server, depending on where the fully automated AI options double-selling balancing trading program of this invention is installed.
[0061] As can be seen from the above embodiments, the present invention utilizes various technical features to achieve the following different objectives and attain different special technical effects: 1. Interface-based setting of program trading parameters for options: Through the technology of the program trading parameter screen 206, the present invention allows various order placement modes to easily complete the setting of program trading parameters through various trading parameter setting screens by selection and input, achieving the special technical effect of completing program trading design through an interface without writing programs; 2. Automatic adjustment of option order price setting: Designed with a "dynamic automatic adjustment price setting bar" selection method, users can select the automatically generated price based on the concept of successful execution probability, achieving the special technical effect of flexible and automated price generation; 3. Automatic balancing after large-scale option position building, reducing risk: The present invention uses parameter settings from various different balancing monitoring modes... 4. Automatically recovers margin after a large number of sell orders are placed: This invention automatically buys the set call or put options when the margin falls below the set value through the setting of margin recovery parameters, thereby recovering the margin and optimizing investment funds; 5. Achieves fully automated AI-powered double-sell balancing trading of options, which is one of the main objectives of this invention. Through the aforementioned parameter settings, the fully automated AI-powered double-sell balancing trading program of this invention can automatically establish a double-sell multi-position strategy position after the automatic trading parameters are set through various settings screens. Through various balancing parameters, margin recovery and other mechanisms, it achieves the special technical effect of fully automated trading, fully automated risk control, and option program trading without user intervention.
[0062] As can be understood from the various embodiments of the present invention, program instructions executed by a computer can execute the various functional blocks and combinations thereof in the function block diagram, as well as the various steps in each embodiment. By providing the various program instructions to the processor for execution, the effect of hardware and software collaboration can be achieved. Thus, when the program instructions are executed on the processor, the actions or technical effects specified in the flowchart and function blocks will be produced. Furthermore, without departing from the scope or spirit of the present invention, one or more function blocks or different combinations of function blocks in the flowchart can be performed simultaneously with other flowcharts or function blocks, or in a different order than that written in the specification.
[0063] Although the technical content of the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any modifications and refinements made by those skilled in the art without departing from the spirit of the present invention should be included within the scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
[0064] 10: Devices with Automated Trading Programs with Options 11: Screen 12: Communication Module 13: Processor 14: Memory 15: User Interface 16: Applications 18: Program Trading Module 20: Screen Interface Generation Module 22: Automatic order placement integration module 24: Transaction Data Statistics Module 26: First Balance Monitoring and Order Setting Module 28: Second Balance Monitoring and Order Setting Module 30: Third Balance Monitoring and Order Setting Module 32: Fourth Balance Monitoring and Order Setting Module 34: First Margin Recovery Function Module 35: Second Margin Recovery Function Module 36: Option Points 38: put points 42: Option Purchase Ratio 44: Delta (Buy Option) 46: Delta (Put Option) 48: Total Delta 50: Available margin 54:points 56: Total Delta Points 58: Number of mouths 60: Program Trading Parameter Setting Screen 60-1: Option Total Points Control Parameter Setting Screen 60-2: Screen for setting parameters of total put option points control. 60-3: First Balance Monitoring and Order Setting Screen 60-4: Second Balance Monitoring and Order Setting Screen 60-5: Third Balance Monitoring and Order Setting Screen 60-6: Fourth Balance Monitoring and Order Setting Screen 60-7: First Margin Recovery Settings Screen 60-8: Second Margin Recovery Settings Screen 60-9: Fancy Order Placement Method Parameter Setting Screen 60-10: Second margin recovery screen 62: Parameter storage key 64: Dynamic automatic price adjustment setting bar 66: Automatic order placement time interval setting bar 68: Automatic Retrieval Time Interval Setting Panel 68-1: Automatic Time Recovery Startup Settings 69-1: Trading Rights Parameter Setting Section 69-2: Performance Price Setting Section 69-3: Buy / Sell Settings 69-4: Automatic Order Count Setting Section 70: Buy / Sell Price Setting Bar 78: Buy / Sell Instructions Bar 80: Entrance Number Setting Column 80-1: Delegation Quantity Setting Column 80-2: Entrance Number Setting Column 82: Sell Points Condition Setting Section 83: Priority liquidation price selection box 84: Insufficient Margin Trigger Condition Setting Section 85: Insufficient margin - Change order settings 86: Set the difference between the number of buy and sell orders for call and put options 87: Select the next compound order 88: Margin Trigger Condition Activation Options 90: Select function options 98-1: Intelligent Gear Shift Point Setting 1 98-2: Intelligent Gear Shift Point Setting II 98-3: Intelligent shifting maximum number of openings setting bar 112-1: Selection Box 112-2: Total Quantity Limit Column 112-3: Difference in the number of call and put options 112-4: Smart Order Selection Bar 120: Margin Recovery Start-up Amount Setting Section 200: Account Information Screen 202: Transaction Information Statistics Screen 204: Real-time financial product information screen 206: Program Trading Parameter Screen 208: Manual order placement screen 210: Screen showing statistics on the number of buy and sell orders and their differences 210-1: Difference between the number of sell and buy orders for call options 210-2: Difference between the number of sell orders and the number of buy orders for put options 900: Securities and Futures Company Server 902: Communication Module 903: Processor 904: Memory 36-1: Double Sell Position Setting Module 36-2: Double Buy Position Setting Module 36-3: Price Spread Position Setting Module 37-1: Steady Clearance Setting Module 37-2: Specify Clearance Settings Module 37-3: Betting Strategy Setting Module 37-4: Multi-Short Balance Parameter Setting Module 37-5: Intelligent Gear Shifting Function Module 39: Fully Automated Trading Control Module 60-11: Double Sell Position Setting Screen 60-12: Double Buy Position Setting Screen 301-1: Immediately activate the checkbox 301-2: Dynamic Automatic Price Adjustment Setting Section 302: Buy / Sell Lower Limit Setting Block 302-1: Buy / Sell Lower Limit Checkbox 302-2: Buy / Sell Lower Limit Setting Column 302-3: Buy / Sell Price Setting Checkbox 302-4: Buy / Sell Price Setting Bar 303: Block for setting trading limits 304-1: Instructions for turning on the main switch 304-2: Main Switch Execution Status Setting Panel 305-1: Number of Entries Set Column 305-2: Automatic Order Placement Time Interval Setting Section 306-1: Stop Position Building Conditions Checkbox 1 306-2: Setting the conditions for stopping position building (section 1) 307-1: Checkbox 2 for Stopping Position Building 307-2: Setting the conditions for stopping position building (section two) 308-1: Scheduled Startup Settings - Part 1 308-2: Scheduled Startup Settings Section Two 309-1, 309-9: Fully automatic linking option 309-2, 309-4, 309-5, 309-6: Strategy Function Options 309-3: Scroll bar 309-20: Additional Function Links Checkboxes 60-15: Screen for setting up the betting strategy 37-3: Betting Strategy Setting Module 320-1: Additional conditions activation checkbox 320-2: Automatic Sampling Checkbox 320-3: Manually set the checkbox 320-4: Sampling seconds setting column 320-5: Sampling Count Setting Section 320-6: Adding to the betting strategy - checkbox 320-7: Strategy Two Checkbox 320-9: Time Value Amplitude Threshold Setting Value 309-20: Fully automatic link selection option 69-21: Additional Betting Points Selection Bar 69-23: Margin Amount Setting Section
Claims
1. A device for a fully automated AI trading program with automatic option (option) incrementing function, comprising a memory and a screen, and connected to a securities and futures company server, the securities and futures company server including a server communication module, a server processor and a server memory, comprising: a communication module for establishing an Internet connection and connecting to the server communication module; a program trading connection module; a screen interface generation module for generating a user interface on the screen, the user interface including at least an account information screen, a transaction information statistics screen, and a program trading parameter screen, the program trading parameter screen including at least a program trading parameter setting screen, wherein, The account information screen displays an options product, and one of the program trading parameter settings screens includes a scaling parameter setting area, which further includes: a scaling strategy selection bar, at least one scaling parameter selection bar; a transaction data statistics module, which receives multiple sets of transaction reports returned by the securities and futures company's server after multiple orders are placed and executed, and summarizes multiple transaction information from these transaction reports; and a scaling strategy setting module, used to read a scaling parameter defined in the scaling strategy selection bar and the at least one scaling parameter selection bar, and read a current time value amplitude. The system includes: a time value amplitude value (TVA) that, when the current TVA amplitude value exceeds a TVA amplitude threshold setting, executes the scaling-up parameter to scale up or establish a position in a current options position; an automatic order placement module that places these orders on the securities and futures company's server; a memory that stores an application program, including a program trading connection module, a screen interface generation module, a scaling-up strategy setting module, an automatic order placement module, and a transaction data statistics module; and one or more processors connected to the memory and the screen to execute the application program.
2. The device for a fully automated AI trading program with automatic option (option) scaling function as described in claim 1, wherein the scaling strategy selection field is selected from: double sell scaling strategy, double buy scaling strategy, single sell scaling strategy, single buy scaling strategy, and spread scaling strategy.
3. The apparatus for a fully automated AI trading program with automatic option (option) increment function as described in claim 1, wherein the current time value amplitude is calculated based on a time value parameter, further comprising: a manual sampling setting checkbox for calculating the time value parameter using a sampling parameter after selection; a sampling seconds setting box, which is one of the sampling parameters, for setting the sampling interval in seconds; and a sampling number setting box, which is one of the sampling parameters, for setting the sampling number; wherein, The current time value amplitude is obtained by sampling the time value parameter based on the sampling parameter, calculating an average time value parameter, and then subtracting the lowest average time value parameter from the current average time value parameter.
4. An apparatus for a fully automated AI trading program with automatic option (option) increment function as described in claim 1, wherein the current time value amplitude is calculated based on a time value parameter, and the calculation of the time value parameter is sampled based on a preset sampling parameter, wherein... The current time value amplitude is obtained by sampling the time value parameter based on the sampling parameter, calculating an average time value parameter, and then subtracting the lowest average time value parameter from the current average time value parameter.
5. An apparatus for a fully automated AI trading program with automatic option (option) scaling function as described in claim 1, wherein the current time value amplitude is calculated based on a time value parameter, further comprising: an automatic sampling checkbox for calculating the time value parameter based on a preset sampling parameter after selection; a manual sampling checkbox for calculating the time value parameter based on a sampling parameter after selection; a sampling seconds setting box, one of the sampling parameters, for setting the sampling interval in seconds; and a sampling number setting box, one of the sampling parameters, for setting the sampling number; wherein, The current time value amplitude is obtained by sampling the time value parameter based on the sampling parameter, calculating an average time value parameter, and then subtracting the lowest average time value parameter from the current average time value parameter.
6. The apparatus for a fully automated AI trading program with automatic option (option) increment function as described in claim 3, wherein the time value parameter is calculated by a method selected from a total time value, a price level, and a total time value for a specific interval.
7. An apparatus for a fully automated AI trading program with automatic option (option) scaling function as described in claim 1, wherein the time value amplitude threshold setting is set by a time value amplitude threshold setting field.
8. An apparatus for a fully automated AI trading program with automatic option (option) increment function as described in claim 1, wherein the time value amplitude threshold setting is a preset value.
Citation Information
Patent Citations
Order plus size control system
TWI611366B
Index futures graphical assisted decision-making system
TWM634397U
System and method for trading options
US8032444B2
