Device with a fully automatic ai trading program having function of smart option strike price shifting

TWI935733BActive Publication Date: 2026-08-11薛常浩
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
TW114111467
Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
Priority Date
2024-03-28
Filing Date
2025-03-26
Publication Date
2026-08-11
Estimated Expiration
2045-03-25

AI Technical Summary

Technical Problem

Designing automated options trading programs is challenging due to the complexity of options trading strategies, the need for dynamic price selection, and the difficulty in executing combined strategy orders, along with insufficient risk management and margin monitoring for large-scale trading.

Method used

An automated options trading program with an intelligent option shifting function that utilizes the options application program interface (API) to redefine parameter inputs, allowing traders to easily select strategies through a user interface, manage risk, and execute orders dynamically, using a smart shift parameter to distribute orders evenly across price levels.

Benefits of technology

Enables options traders to balance strategic trading with risk management, reducing large-scale trading risks and improving the win rate by allowing easy strategy input and dynamic order execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure TWG2TB001905672_001
    Figure TWG2TB001905672_001
  • Figure TWG2TB001905672_002
    Figure TWG2TB001905672_002
  • Figure TWG2TB001905672_003
    Figure TWG2TB001905672_003
Patent Text Reader

Abstract

A device for a fully automated AI trading program with intelligent option shifting functionality includes a memory and a screen, and is connected to a communication module of a securities or futures company server. It comprises: a communication module, a program trading connection module, a screen interface generation module, a transaction data statistics module, an intelligent shifting function module, an automatic order placement integration module, and one or more processors. The screen interface generation module generates a user interface on the screen, which includes at least an account information screen, a transaction data statistics screen, and a program trading parameter screen. The system includes at least one program trading parameter setting screen, where the account information screen displays an option product; and an intelligent shift function module, which receives a position opening parameter, a scaling-up parameter, or a balance level parameter, and calculates based on a range of levels among the position opening parameter, scaling-up parameter, or balance level parameter and existing position data, and generates an intelligent shift parameter including an order order and an order direction. The order order is to place orders in sequence according to the range of levels, so that the number of units in each level of the range in the order direction of the automatic order placement integration module is evenly distributed.
Need to check novelty before this filing date? Find Prior Art

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 intelligent option (option) shifting 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 intelligent option shifting 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; 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 one program trading parameter setting screen, wherein the account information screen displays an option product; and an intelligent shifting function module for receiving a position opening parameter, a add-on parameter, or a balance level parameter, and adjusting the position based on the position opening parameter, the add-on parameter, or the balance level parameter. The system calculates a range of price levels from the balance price level parameters and existing position data, generating a smart shift parameter that includes an order order and an order direction. The order order is to place orders for each price level within the range in sequence, so that the number of units in each price level within the range is evenly distributed in the order direction. An automatic order placement module receives the smart shift parameter, generates an order, places the order with the securities and futures company's server, and after receiving a transaction report from the securities and futures company's server, generates the next order in the order direction and next price level according to the order order in the smart shift parameter. The memory stores an application program, which includes a program trading connection module, a screen interface generation module, a smart shift function module, and an automatic order placement module. One or more processors are connected to the memory and the screen and execute the application program.

[0012] Furthermore, in some embodiments of the present invention, the order order and the order direction are from in-the-money to out-of-the-money, starting with call options.

[0013] Furthermore, in some embodiments of the present invention, the order order and the order direction are from in-the-money to out-of-the-money, starting with put options.

[0014] Furthermore, in some embodiments of the present invention, the order order and the order direction are from out-of-the-money to in-the-money, starting with call options.

[0015] Furthermore, in some embodiments of the present invention, the order order and the order direction are from out-of-the-money to in-the-money, starting with put options.

[0016] Furthermore, in some embodiments of the present invention, the intelligent shifting function module further includes: calculating and adjusting the ordering sequence and the ordering direction based on a balance parameter.

[0017] Furthermore, in some embodiments of the present invention, the balance parameter is selected from: a C / P ratio balance parameter, a total number of points balance parameter, a Call Delta balance parameter, a Put Delta balance parameter, and a total Delta balance parameter.

[0018] 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

[0019] 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. Figures 8A to 8I are flowcharts and schematic diagrams of the intelligent shifting function in an embodiment of the present invention. Implementation

[0020] 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.

[0021] 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.

[0022] 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.

[0023] 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.

[0024] 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.

[0025] 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.

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] 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.

[0041] 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.

[0042] 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.

[0043] 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 a fully automated double-sell position-building process. After setting all the position-building conditions in the present invention, the user can complete a fully automated double-sell position-building process through the present invention.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] 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.

[0050] 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.

[0051] As can be seen from the functional descriptions of the double-sell and double-buy position building strategies in Figures 6A to 7B, this invention allows users to implement various option strategies, including fully automated position building, active order adjustments, and active position liquidation, through the selection of position building parameters. After setting the parameters, the fully automated trading control module 39 of this invention can perform fully automated trading control without any user intervention. In position building strategies, many users are accustomed to directly using spread orders to build option positions. This invention can also provide a corresponding position building function module, namely, executed through the spread position building setting module 36-3 in Figure 2. The following describes the following features in the embodiments shown in Figures 6A to 7B: Immediate Start 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, Buy / Sell Price Level Setting Box 302-4, Buy / Sell Upper Limit Setting Block 303, Master Switch On Instruction Box 304-1, Master Switch Execution Status Setting Box 304-2, Order Quantity Setting Box 305-1, and Automatic Order Placement Time Interval Setting. The system includes columns 305-2, 306-1 (stop order building condition checkbox), 306-2 (stop order building condition setting), 307-1 (stop order building condition checkbox), 307-2 (stop order building condition setting), 308-1 (schedule start setting), 308-2 (schedule start setting), etc. Additionally, it adds a price spread setting field to the lower limit setting block 302 and the upper limit setting block 303, for example, a price spread of 200 points, 150 points, 100 points, 50 points, etc., thus enabling the setting of price spread orders. The remaining descriptions are largely the same as those in Figures 6A to 7B. Those skilled in the art can understand the method of setting price spread orders from this description.

[0052] As explained above, it is clear that through the various embodiments shown in Figures 4, 6A to 7B, this invention can automatically set the "position building parameters" for options and complete the fully automatic option position building process by setting timed start and stop conditions. Furthermore, through the strategy functions (which can be referred to as function connection parameters) selected in strategy function option 309-2 or strategy function option 309-4, it can automatically connect to various order adjustment function modules and further execute automated active order adjustments. Finally, through connection with the steady liquidation setting module 37-1 and the designated liquidation setting module 37-2, automatic liquidation can be performed, thereby realizing complete option trading. In other words, regardless of whether it is a buy order, sell order, double sell order, double buy order, or spread order, the position building parameters can be set by this invention to meet the needs of users with various strategy orientations.

[0053] Furthermore, this invention has another unique feature: it can achieve the effect of a compound strategy order through single buy and sell positions. For example, during the double sell and double buy position building process in Figures 6A to 7B, the automatic order placement module 22 can implement double sell or double buy in two ways: 1. The traditional double sell strategy order, that is, using the simultaneous order placement of buy and sell options provided by various securities and futures brokers; 2. The unique feature of this invention, which involves placing a sell order for both buy and sell options simultaneously. "Simultaneous" means placing two sell or buy orders for buy and sell options within a very short period of time. Traditional double sell or double buy strategies provided by securities and futures brokers usually suffer from significant slippage issues, which is difficult to avoid with the automatic order placement module 22 of this invention. Furthermore, the unique dynamic automatic adjustment price setting bar 301-2 of this invention allows users to establish positions when prices are favorable to their account. Similarly, by using single buy and sell options, combined with the application of the dynamically adjusted price setting column 301-2, the impact of slippage can be minimized. Likewise, this invention can also establish spread strategy orders through single buy / sell methods, as described above, and will not be repeated here.

[0054] As explained above, this invention discloses various methods for establishing positions in options, including single buy, single sell, double sell (bilateral single sell or strategic single double sell), double buy (bilateral single buy or strategic single double sell), and spread strategy orders (one-sided buy and one sell or strategic spread order). Regardless of the method, all can be implemented using the embodiments shown in Figures 6A to 7B. In other words, the double sell strategy parameters, double buy strategy parameters, or spread strategy parameters mentioned in this invention can be implemented through single buy / sell order placement or through the strategic order placement methods of securities and futures companies.

[0055] Next, please refer to Figures 8A to 8I, which illustrate the schematic diagram and flowchart of the intelligent shifting function in an embodiment of the present invention. The intelligent shifting function, executed by the intelligent shifting function module 37-5, automatically and evenly distributes the various positions within the "position range" of parameters such as entry parameters, addition parameters, and balancing position parameters through adding or reducing positions, thereby reducing the risk that may arise from uneven position allocation. In other words, the intelligent shifting function module 37-5 can be used not only during the entry phase but also in various dynamic balancing execution phases after entry (including dynamic balancing of long / short parameters).

[0056] The intelligent position shifting process works as follows: 1. Based on the OBPS (On-Balance Power) setting, within the set position range, the various positions of call and put options are evenly shifted sequentially; 2. Positions can be shifted evenly across all positions, either by buying options first and then selling them, or selling options first and then buying them; 3. Positions can be shifted evenly across all positions, either from high to low points, or from low to high points. For example, the OBPS setting is a C / P ratio of 0.4 to 0.6. The intelligent position shifting module 37-5 uses the midpoint between 0.4 and 0.6, i.e., 0.5, as a reference point to evenly shift positions across all positions of call and put options, ensuring that the total points of call options / total points of put options (C / P ratio) is between 0.4 and 0.6. However, in practice, the point values ​​of call and put options at the same symmetrical price level are usually not the same, and typically the put option's point value is greater than the call option's. Therefore, when establishing positions in call and put options at the same symmetrical price level, and the number of buy contracts equals the number of put contracts, a C / P ratio imbalance occurs. In this case, the intelligent price shifting module 37-5 dynamically adjusts the position based on this imbalance. For example, the total number of sell contracts for call options is greater than the total number of sell contracts for put options, so that the C / P ratio is between 0.4 and 0.6. Similarly, when using balancing methods such as total point control, Call Delta balancing, and Put Delta balancing, the intelligent price shifting module 37-5 also incorporates the balancing parameters introduced by the currently used balancing method as the basis for evenly establishing positions at each price level.

[0057] When using intelligent position shifting for adding to or balancing positions, the specific steps are as follows: 1. Based on the balancing parameter setting (OBPS), within the set "position range," the call and put options are evenly added to each position at each level in sequence; 2. Positions can be added to or balanced evenly at each level by buying options first and then selling options, or selling options first and then buying options; 3. Positions can be added to or balanced evenly at each level in sequence from high to low points, or from low to high points. Similarly, the balancing parameter plays the same role as in the position building process: based on the balancing parameter setting, positions are then evenly built.

[0058] In the process of establishing a position, adding to a position, or balancing a position, if it is only necessary to establish, add to, or balance a position on a one-sided basis for call or put options, the above three methods are also used.

[0059] The position-building process can include double-sell position building, double-buy position building, unilateral position building, price difference position building, manual position building, or position building using long / short parameters.

[0060] The process of adding to positions can include adding to positions through both selling, buying, one-sided, spread, manual, or by using long / short parameters.

[0061] The balancing process can be C / P ratio balancing, C / P Delta balancing, Call Delta balancing, Put Delta balancing, etc.

[0062] Please refer to Figure 8A, which is a flowchart of the intelligent file transfer process of this invention, including:

[0063] Step S211: The application connects to a securities company server and, after logging in, generates a user interface to be displayed on a screen.

[0064] Step S212: Receive a product selection instruction from the user interface operation.

[0065] Step S213: Receive multiple options position building strategy instructions transmitted by the user interface operation, including multiple buy or sell orders placed automatically, all of which include buy or sell options, adjustable strike price, adjustable price level, number of orders, automatic order placement time interval, number of orders, and position building strategy parameters.

[0066] Step S214: Execute the option position building strategy instruction, place an order with the securities company server according to the automatic order placement time interval, calculate the order price corresponding to the adjustable price level according to the adjustable price level in each buy or sell order, generate an automatic order, and then submit the automatic order to the securities company server.

[0067] Step S215: Receive a smart shift instruction, and according to the position range of one position-building parameter, one position-adding parameter, or one balance parameter in the position-building strategy instruction, sequentially and evenly build positions in each position of the call and put options, and gradually complete the position building, adding or balancing of options.

[0068] Step S216: Receive a smart shift instruction and, during the process of establishing, adding to, or balancing options positions, execute the order of buying options first and then selling options, or selling options first and then buying options, to evenly establish, add to, or balance positions at each level.

[0069] Step S217: Receive a smart shift instruction and, during the process of choosing to establish a position, add to the position, or balance the position, sequentially execute from the high point level to the low point level, or from the low point level to the high point level, and evenly establish, add to, or balance the position at each level.

[0070] Please refer to Figures 8B to 8E, which illustrate the intelligent shifting order placement procedure in the order placement process. In the user interface 15 generated by this invention, an options quote view is generated, which displays each strike price field 59 and its corresponding lot number 58. The execution process of the intelligent shifting order placement of this invention can be clearly observed from Figures 8B to 8E. Assume the order placement strategy parameters are: double sell, order placement level, 3 to 10 out-of-the-money levels, 1 lot established at a time. As can be seen from Figures 8B to 8E, the intelligent position-building process involves the program determining when to start building a position: selling one call option at level 3 out-of-the-money (Figure 8B). After the transaction is completed, the program moves to selling one put option at level 3 out-of-the-money (Figure 8C). After that, it moves to selling one call option at level 4 out-of-the-money (Figure 8D). After that, it moves to selling one put option at level 4 out-of-the-money, and so on, until one put option is built at each of levels 3 to 10 out-of-the-money, at which point the program returns to starting from level 3 out-of-the-money.

[0071] The illustrations in Figures 8B to 8E illustrate the position-building process shown in Figure 8A. This intelligent shift order method allows for the even distribution of sell orders across multiple price levels set by the user, significantly reducing the risk of slippage that might occur when all funds are invested in the same price level, as well as the risks associated with large price increases or decreases.

[0072] Please refer to Figures 8F to 8G, which provide examples of the balancing process workflow. Assume the balancing parameter setting (OBPS) is a C / P ratio balancing of 0.4 to 0.6, and the "bargain range" is also 3 to 5 out-of-the-money positions. When a user initially establishes a position of 20 contracts at 4 out-of-the-money for call options and then executes the C / P ratio balancing strategy, the program, upon receiving the intelligent shift instruction, will execute the process shown in Figures 8F to 8I, gradually building positions at 3 to 5 out-of-the-money for put options until the C / P ratio is balanced to between 0.4 and 0.6.

[0073] In summary, the intelligent shifting function module 37-5 and the automatic order placement integration module 22 work together to complete the intelligent shifting function. Specifically, the intelligent shifting function module 37-5 receives position-building parameters, add-on parameters, or balance-level parameters, and calculates based on the "level range" within these parameters and existing position data (which may start at 0 lots). It then generates intelligent shifting parameters specifying the order sequence and direction. The order sequence follows the "level range," placing orders sequentially at each level within that range to evenly distribute the number of lots at each level in the order direction. Examples from Figures 8B to 8E illustrate this position-building process, where the level range is from 3 to 10 out-of-the-money levels, and the order direction is sequentially: call option, put option, call option, put option...

[0074] The automatic order placement module 22 receives the intelligent shift parameters and generates an order, and places the order with the securities and futures company server. After receiving a transaction report from the securities and futures company server, it generates the next order according to the order order in the intelligent shift parameters, with the order direction and the next gear.

[0075] In another embodiment of the present invention, the aforementioned ordering sequence and direction can be implemented in various ways, and are not limited to the aforementioned "sequential" embodiment. For example, the embodiments in Figures 8B to 8E adopt a pattern of price tier 3 → price 4 → price 5, proceeding step by step from in-price to out-of-price. Alternatively, it can adopt a pattern of price tier 3 → price 5 → price 7 → price 9 → price 4 → price 6 → price 8 → price 10... which can also achieve the goal of evenly distributing the number of orders at each price tier. In other words, the so-called sequential order does not refer to a continuous sequential order; a skipping sequential order can also be adopted.

[0076] 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 technical content 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 the prior art and will not be elaborated upon here. Therefore, the "device for a fully automated artificial intelligence trading program with intelligent option (option) shifting 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 artificial intelligence options double-selling balancing trading program of this invention is installed.

[0077] 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.

[0078] 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.

[0079] 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.

[0080] 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 59: Performance Price Field 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 Option 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 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: Module for Setting Up Betting Strategy 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 60-13: Steady Clearance Setup Screen 60-14: Designated clearance settings 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: Entrance Number Setting Field 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

Claims

1. A device for a fully automated AI trading program with intelligent option shifting functionality, 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; and 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 one program trading parameter setting screen, wherein... The account information screen displays an option product; a smart shifting function module, used to receive a position opening parameter, a add-on parameter, or a balance tier parameter, and calculate based on a tier range of the position opening parameter, the add-on parameter, or the balance tier parameter and existing position data, and generate a smart shifting parameter including an order order and an order direction. The order order is to place orders for each tier in the tier range sequentially according to the tier range, so that the number of units in each tier in the tier range is evenly distributed in the order direction; an automatic order placement integration module receives the smart shifting parameter. The system can shift parameters and generate an order, and place an order with the securities and futures company's server using the order. After receiving a transaction report from the securities and futures company's server, it generates the next order according to the order sequence in the smart shift parameters, with the order direction and the next price level. The memory is used to store an application program, which includes the program trading connection module, the screen interface generation module, the smart shift function module, and the automatic order placement integration module. The system also includes one or more processors connected to the memory and the screen and executing the application program.

2. An apparatus for a fully automated AI trading program with intelligent option shifting functionality as described in claim 1, wherein the order sequence and the order direction are from in-the-money to out-of-the-money and begin with call options.

3. An apparatus for a fully automated AI trading program with intelligent option shifting functionality as described in claim 1, wherein the order sequence and the order direction are from in-the-money to out-of-the-money and begin with put options.

4. An apparatus for a fully automated AI trading program with smart option shifting functionality as described in claim 1, wherein the order order and the order direction are from out-of-the-money to in-the-money and begin with call options.

5. An apparatus for a fully automated AI trading program with smart option shifting functionality as described in claim 1, wherein the order sequence and the order direction are from out-of-the-money to in-the-money and begin with put options.

6. An apparatus for a fully automated AI trading program with an option smart shift function as described in claim 1, wherein the smart shift function module further includes: calculating and adjusting the order order and the order direction based on a balance parameter.

7. The apparatus for a fully automated AI trading program with option (option) smart shifting function as described in claim 1, wherein the balancing parameter is selected from: a C / P ratio balancing parameter, a total points balancing parameter, a Call Delta balancing parameter, a Put Delta balancing parameter, and a total Delta balancing parameter.

Citation Information

Patent Citations

  • Strategic investment system of option products and method thereof

    TWI233561B

  • Order plus size control system

    TWI611366B

  • System and method for trading options

    US8032444B2