[go: up one dir, main page]

CN115409621A - Marking method and system for financial futures - Google Patents

Marking method and system for financial futures Download PDF

Info

Publication number
CN115409621A
CN115409621A CN202210525521.3A CN202210525521A CN115409621A CN 115409621 A CN115409621 A CN 115409621A CN 202210525521 A CN202210525521 A CN 202210525521A CN 115409621 A CN115409621 A CN 115409621A
Authority
CN
China
Prior art keywords
vector
line
highest
line data
price vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210525521.3A
Other languages
Chinese (zh)
Inventor
陈守红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gelonghui Information Technology Co ltd
Original Assignee
Shenzhen Gelonghui Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gelonghui Information Technology Co ltd filed Critical Shenzhen Gelonghui Information Technology Co ltd
Priority to CN202210525521.3A priority Critical patent/CN115409621A/en
Publication of CN115409621A publication Critical patent/CN115409621A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • G06T11/23

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a marking-out method system of financial futures, which comprises the following steps: the terminal determines a financial futures type A selected by a user, requests K line data of the type A from the network equipment, and displays the K line data on a display screen of the terminal; the terminal detects the number x of K lines of a display screen page, if the number x is larger than or equal to 5, the K line data is subjected to scribing operation to obtain scribed K line data; and the terminal displays the scribed K-line data on a display screen. The technical scheme provided by the application has the advantage of high user experience.

Description

金融期货的划线方法及系统Method and system for marking financial futures

技术领域technical field

本发明涉及金融以及互联网领域,具体涉及一种金融期货的划线方法及系统。The invention relates to the fields of finance and the Internet, in particular to a method and system for marking financial futures.

背景技术Background technique

金融期货通常用K线表示一段时间的价格的变化,例如日K线图、5分钟 K线图等等,此种已经成为金融产品的主要的价格表示方式。在金融分析中,通过一段段的线段来实现金融期货的技术分析属于这个领域常用的辅助手段,但是该辅助手段需要借助用户自身来实现,无法自动来实现,因此对于现有的K 线图无法实现对划线的自动实现,降低了用户体验度。Financial futures usually use K-lines to represent price changes over a period of time, such as daily K-line charts, 5-minute K-line charts, etc., which have become the main price expression method of financial products. In financial analysis, the technical analysis of financial futures through a segment of line segments is a commonly used auxiliary means in this field, but this auxiliary means needs to be realized by the user itself, and cannot be realized automatically. Therefore, the existing K-line chart cannot Realize the automatic implementation of the line, which reduces the user experience.

发明内容Contents of the invention

本发明实施例提供了一种金融期货的划线方法及系统,可以实现K线图的自动划线,进而辅助用户对金融进行分析,提高用户体验度的优点。The embodiment of the present invention provides a method and system for marking financial futures, which can realize the automatic marking of candlestick charts, thereby assisting users in financial analysis and improving user experience.

第一方面,本发明实施例提供一种金融期货的划线方法,所述方法包括如下步骤:In the first aspect, an embodiment of the present invention provides a method for marking financial futures, the method comprising the following steps:

终端确定用户选择的金融期货种类A,向网络设备请求种类A的K线数据,将该K线数据显示在终端的显示屏幕上;The terminal determines the type A of financial futures selected by the user, requests the K-line data of type A from the network device, and displays the K-line data on the display screen of the terminal;

终端检测显示屏幕页面的K线的数量x,若数量x大于等于5,对该K线数据执行划线操作得到划线后的K线数据;The terminal detects the number x of the K-lines on the display screen page. If the number x is greater than or equal to 5, perform a scribing operation on the K-line data to obtain the K-line data after the scribing;

终端将划线后的K线数据显示在显示屏屏幕上。The terminal displays the crossed K-line data on the display screen.

第二方面,提供一种金融期货的划线系统,所述系统包括:In the second aspect, a financial futures marking system is provided, and the system includes:

获取单元,用于确定用户选择的金融期货种类A,向网络设备请求种类A 的K线数据,将该K线数据显示在终端的显示屏幕上;The acquisition unit is used to determine the financial futures type A selected by the user, request the K-line data of the type A from the network device, and display the K-line data on the display screen of the terminal;

处理单元,用于检测显示屏幕页面的K线的数量x,若数量x大于等于5,对该K线数据执行划线操作得到划线后的K线数据;将划线后的K线数据显示在显示屏屏幕上The processing unit is used to detect the number x of the K-lines on the display screen page, if the number x is greater than or equal to 5, perform a scribing operation on the K-line data to obtain the K-line data after the scribing; display the K-line data after the scribing on the display screen

第三方面,提供一种计算机可读存储介质,其存储用于电子数据交换的程序,其中,所述程序使得终端执行第一方面提供的方法。In a third aspect, a computer-readable storage medium is provided, which stores a program for electronic data exchange, wherein the program causes a terminal to execute the method provided in the first aspect.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

可以看出,本申请提供的技术方案终端确定用户选择的金融期货种类A,向网络设备请求种类A的K线数据,将该K线数据显示在终端的显示屏幕上,终端检测显示屏幕页面的K线的数量x,若数量x大于等于5,则执行划线操作得到划线后的K线数据,终端将划线后的K线数据显示在显示屏屏幕上。这样用户就可以通过自动划线工具实现对K线的划线操作,进而对用户的金融操作进行决策,提高用户的体验度。It can be seen that in the technical solution provided by this application, the terminal determines the type A of financial futures selected by the user, requests the K-line data of type A from the network device, displays the K-line data on the display screen of the terminal, and the terminal detects the type A of the display screen page. The number x of the K line, if the number x is greater than or equal to 5, execute the line operation to obtain the K line data after the line, and the terminal displays the K line data after the line on the display screen. In this way, the user can use the automatic scribing tool to realize the scribing operation of the K line, and then make decisions on the user's financial operations to improve the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1是一种终端的结构示意图;FIG. 1 is a schematic structural diagram of a terminal;

图2是一种金融期货的划线方法的流程示意图;Fig. 2 is a schematic flow chart of a method for marking financial futures;

图3是一种金融期货的划线系统的结构示意图;Fig. 3 is a structural schematic diagram of a marking system for financial futures;

图4为本申请提供的一种K线线段示意图;Fig. 4 is a schematic diagram of a K-line segment provided by the present application;

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结果或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

参阅图1,图1提供了一种终端,该终端可以为IOS、安卓等系统的终端,当然也可以为其他系统的终端,例如鸿蒙等等,本申请并不限制上述具体的系统,如图1所示,上述终端设备具体可以包括:处理器、存储器、显示屏、通信电路和音频组件(可选的),上述部件可以通过总线连接,也可以通过其他方式连接,本申请并不限制上述连接的具体方式。Referring to Figure 1, Figure 1 provides a terminal, the terminal can be a terminal of IOS, Android and other systems, of course, it can also be a terminal of other systems, such as Hongmeng, etc. This application does not limit the above specific systems, as shown in the figure As shown in 1, the above-mentioned terminal equipment may specifically include: a processor, a memory, a display screen, a communication circuit and an audio component (optional), and the above-mentioned components may be connected through a bus or in other ways, and this application does not limit the above-mentioned The specific method of connection.

上述连接也可以通过通信系统连接。通信系统可以是:全球移动通讯(GlobalSystem of Mobile communication,GSM)系统、码分多址(Code Division MultipleAccess,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long TermEvolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、新空口(New Radio,NR) 系统、NR系统的演进系统、免授权频谱上的LTE系统(LTE-basedaccess to unlicensed spectrum,LTE-U)、免授权频谱上的NR系统(NR-based accesstounlicensed spectrum,NR-U)、通用移动通信系统(Universal MobileTelecommunication System,UMTS)、下一代通信系统或其他通信系统等。The above connection may also be connected via a communication system. The communication system may be: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, general packet radio Business (General Packet Radio Service, GPRS), Long Term Evolution (Long Term Evolution, LTE) system, Advanced long term evolution (Advanced long term evolution, LTE-A) system, New Radio (New Radio, NR) system, evolution of NR system system, LTE system on unlicensed spectrum (LTE-based access to unlicensed spectrum, LTE-U), NR system on unlicensed spectrum (NR-based access to unlicensed spectrum, NR-U), universal mobile communication system (Universal MobileTelecommunication System, UMTS), next generation communication system or other communication systems, etc.

参阅图4,图4为一种金融K线示意图,如图4所示,其表示一组K先,一般将一组K线的最低价格和最高价格连接起来得到一个线段,该线段俗称划线,这在金融领域是属于非常常见的技术分析手段,但是对于金融数据来说,其变化是无常的,例如图4所示,其就属于一个实际的K线图,此种无常的K 线图的自动划线直接影响了用户的金融决策(是否买入或卖出)。Refer to Figure 4. Figure 4 is a schematic diagram of a financial K line. As shown in Figure 4, it represents a group of K lines. Generally, the lowest price and the highest price of a group of K lines are connected to obtain a line segment, which is commonly known as a line , which is a very common technical analysis method in the financial field, but for financial data, its changes are impermanent. For example, as shown in Figure 4, it belongs to an actual K-line diagram. This impermanent K-line diagram ’s automatic scribing directly affects the user’s financial decision-making (whether to buy or sell).

参阅图2,图2提供了一种金融期货的划线方法,该方法如图2所示,该方法可以在终端中完成,该终端与网络设备通过无线方式连接,该无线方式具体可以为无线通信系统。Referring to Figure 2, Figure 2 provides a method for marking financial futures, as shown in Figure 2, this method can be completed in a terminal, and the terminal is connected to the network device in a wireless manner, and the wireless manner can specifically be a wireless Communication Systems.

上述方法如图2所示,具体可以包括:The above method is shown in Figure 2, and may specifically include:

步骤S201、终端确定用户选择的金融期货种类A,向网络设备请求种类A 的K线数据,将该K线数据显示在终端的显示屏幕上。Step S201, the terminal determines the financial futures type A selected by the user, requests the K-line data of the type A from the network device, and displays the K-line data on the display screen of the terminal.

示意的,上述期货种类A可以为国内或国外的期货品种,例如原油、大豆、猪肉等等,本申请对期货种类并不限定。To illustrate, the above-mentioned futures type A may be a domestic or foreign futures type, such as crude oil, soybean, pork, etc., and this application does not limit the type of futures.

步骤S202、终端检测显示屏幕页面的K线的数量x,若数量x大于等于5,对该K线数据执行划线操作得到划线后的K线数据。Step S202 , the terminal detects the number x of K-lines on the display screen page, and if the number x is greater than or equal to 5, executes a scribing operation on the K-line data to obtain the K-line data after scribing.

步骤S203、终端将划线后的K线数据显示在显示屏屏幕上。Step S203, the terminal displays the crossed K-line data on the display screen.

本申请提供的技术方案终端确定用户选择的金融期货种类A,向网络设备请求种类A的K线数据,将该K线数据显示在终端的显示屏幕上,终端检测显示屏幕页面的K线的数量x,若数量x大于等于5,则执行划线操作得到划线后的K线数据,终端将划线后的K线数据显示在显示屏屏幕上。这样用户就可以通过自动划线工具实现对K线的划线操作,进而对用户的金融操作进行决策,提高用户的体验度。The technical solution provided by this application terminal determines the type A of financial futures selected by the user, requests the K-line data of type A from the network device, displays the K-line data on the display screen of the terminal, and the terminal detects the number of K-lines on the display screen page x, if the quantity x is greater than or equal to 5, perform the line-scribing operation to obtain the K-line data after the line-scribing, and the terminal displays the K-line data after the line-scribing on the display screen. In this way, the user can use the automatic scribing tool to realize the scribing operation of the K line, and then make decisions on the user's financial operations to improve the user experience.

示意的,上述对该K线数据执行划线操作得到划线后的K线数据具体可以包括:Schematically, the above K-line data obtained by performing the scribing operation on the K-line data may specifically include:

终端提取该K线数据中的每根K线的最高价格以及最低价格,将K线的最高价格按K线的先后顺序填入到最高价格向量内,将最低价格按K线的先后顺序填入到最低价格向量内,遍历最高价格向量内每个元素值得到最高价格向量内的顶点标识位,遍历最低价格向量内的每个元素值得到最低价格向量内的底点标识位,获取第一顶点标识位与第一底点标识位之间的K线数量x1,若x1 ≥5,则将第一顶点标识位对应的第一低价与第一地点标识位对应的第一低价连接起来为一个线段,获取第二顶点标识位与第一底点标识位之间的K线数量x2,若x2≥5,则将第一低价与第二顶点标识位的第二高价连接起来得到另一线段,遍历最高价格向量和最低价格向量内所有的标识位得到该K线的所有的线段得到划线后的K线数据。The terminal extracts the highest price and the lowest price of each K-line in the K-line data, fills the highest price of the K-line into the highest price vector in the order of the K-lines, and fills in the lowest price in the order of the K-lines Go to the lowest price vector, traverse each element value in the highest price vector to get the vertex identifier in the highest price vector, traverse each element value in the lowest price vector to get the bottom point identifier in the lowest price vector, and get the first vertex The K-line quantity x1 between the identification bit and the first bottom point identification bit, if x1 ≥ 5, then connect the first low price corresponding to the first apex identification bit and the first low price corresponding to the first location identification bit as A line segment, obtain the K-line quantity x2 between the second vertex marker and the first bottom marker, if x2≥5, connect the first low price with the second highest price of the second vertex marker to get another line Segment, traverse all the identification bits in the highest price vector and the lowest price vector to get all the line segments of the K line to get the K line data after the line.

示意的,上述遍历最高价格向量内每个元素值得到最高价格向量内的顶点标识位具体可以包括:Schematically, the above-mentioned traversal of each element value in the highest price vector to obtain the vertex identification bit in the highest price vector may specifically include:

若元素i为最高价格向量的中间元素(即非前2个或后2个元素),将最高价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最大,则确定该元素i为顶点标识位,若元素i为最高价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最高,确定该元素i 为顶点标识位,遍历最高元素向量的所有元素确定所有的顶点标识位。If element i is the middle element of the highest price vector (that is, not the first 2 or last 2 elements), the first 2 elements and the last 2 elements of element i will be extracted from the highest price vector, if the value of element i is within 5 If the element value is the largest, determine that the element i is the vertex identification bit. If the element i is the edge element of the highest price vector, then extract the 4 element values adjacent to the element i. If the element i has the highest value among the 5 elements, determine The element i is the vertex identification bit, and all the elements of the highest element vector are traversed to determine all the vertex identification bits.

示意的,上述遍历最低价格向量内的每个元素值得到最低价格向量内的底点标识位具体可以包括:Schematically, the above-mentioned traversal of each element value in the lowest price vector to obtain the bottom point identification bit in the lowest price vector may specifically include:

若元素i为最高价格向量的中间元素(即非前2个或后2个元素),将最低价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最小,则确定该元素i为低点标识位,若元素i为最低价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最低,确定该元素i 为低点标识位,遍历最低元素向量的所有元素确定所有的低点标识位。If element i is the middle element of the highest price vector (that is, not the first 2 or last 2 elements), the first 2 elements and the last 2 elements of element i will be extracted from the lowest price vector, if the value of element i is within 5 If the element value is the smallest, determine that element i is the low point identification bit. If element i is the edge element of the lowest price vector, then extract the 4 element values adjacent to element i. If element i is the lowest among the 5 element values, Determine that the element i is a low point identification bit, and traverse all elements of the lowest element vector to determine all low point identification bits.

示例的,上述方法还可以包括:As an example, the above method may also include:

在每个线段下标K线的数量,这样方便用户观看是否属于同一个调整级别。The number of K lines is subscripted in each line segment, which is convenient for users to see whether they belong to the same adjustment level.

参阅图3,图3提供了一种金融期货的划线系统的结构示意图,所述系统包括:Referring to Fig. 3, Fig. 3 provides a schematic structural diagram of a marking system for financial futures, the system comprising:

获取单元,用于确定用户选择的金融期货种类A,向网络设备请求种类A 的K线数据,将该K线数据显示在终端的显示屏幕上;The acquisition unit is used to determine the financial futures type A selected by the user, request the K-line data of the type A from the network device, and display the K-line data on the display screen of the terminal;

处理单元,用于检测显示屏幕页面的K线的数量x,若数量x大于等于5,对该K线数据执行划线操作得到划线后的K线数据;将划线后的K线数据显示在显示屏屏幕上。The processing unit is used to detect the number x of the K-lines on the display screen page, if the number x is greater than or equal to 5, perform a scribing operation on the K-line data to obtain the K-line data after the scribing; display the K-line data after the scribing on the display screen.

示例的,example,

所述处理单元,具体用于提取该K线数据中的每根K线的最高价格以及最低价格,将K线的最高价格按K线的先后顺序填入到最高价格向量内,将最低价格按K线的先后顺序填入到最低价格向量内,遍历最高价格向量内每个元素值得到最高价格向量内的顶点标识位,遍历最低价格向量内的每个元素值得到最低价格向量内的底点标识位,获取第一顶点标识位与第一底点标识位之间的K 线数量x1,若x1≥5,则将第一顶点标识位对应的第一低价与第一地点标识位对应的第一低价连接起来为一个线段,获取第二顶点标识位与第一底点标识位之间的K线数量x2,若x2≥5,则将第一低价与第二顶点标识位的第二高价连接起来得到另一线段,遍历最高价格向量和最低价格向量内所有的标识位得到该K线的所有的线段得到划线后的K线数据。The processing unit is specifically used to extract the highest price and the lowest price of each K-line in the K-line data, fill the highest price of the K-lines into the highest price vector in the order of the K-lines, and fill the lowest price by The order of the K lines is filled in the lowest price vector, traverse each element value in the highest price vector to get the vertex identification bit in the highest price vector, traverse each element value in the lowest price vector to get the bottom point in the lowest price vector Identification bit, obtain the K-line quantity x1 between the first vertex identification bit and the first bottom point identification bit, if x1≥5, then the first low price corresponding to the first vertex identification bit and the first location identification bit The first low price is connected into a line segment, and the K-line quantity x2 between the second vertex marker and the first bottom marker is obtained. If x2≥5, the first low price and the second vertex marker are combined. Connect the two high prices to get another line segment, traverse all the identification bits in the highest price vector and the lowest price vector to get all the line segments of the K line to get the K line data after the line.

示例的,example,

所述处理单元,具体用于若元素i为最高价格向量的中间元素,将最高价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最大,则确定该元素i为顶点标识位,若元素i为最高价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最高,确定该元素i为顶点标识位,遍历最高元素向量的所有元素确定所有的顶点标识位。The processing unit is specifically used to extract the first 2 elements and the last 2 elements of element i from the highest price vector if element i is the middle element of the highest price vector, and if the value of element i is the largest among the 5 element values , then determine that the element i is the vertex identification bit, if the element i is the edge element of the highest price vector, then extract the 4 element values adjacent to the element i, if the element i is the 5 highest element values, determine the element i as Vertex identification bit, traverse all elements of the highest element vector to determine all vertex identification bits.

示例的,example,

所述处理单元,具体用于若元素i为最高价格向量的中间元素,将最低价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最小,则确定该元素i为低点标识位,若元素i为最低价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最低,确定该元素i为低点标识位,遍历最低元素向量的所有元素确定所有的低点标识位。The processing unit is specifically used to extract the first 2 elements and the last 2 elements of element i from the lowest price vector if element i is the middle element of the highest price vector, and if the value of element i is the smallest among the 5 element values , then determine that the element i is the low point identification bit, if the element i is the edge element of the lowest price vector, then extract the 4 element values adjacent to the element i, if the element i is the lowest among the 5 element values, determine the element i For the low point flag, traverse all the elements of the lowest element vector to determine all the low point flags.

示例的,本申请实施例中的处理单元还可以用于执行如图2所示实施例的细化方案、可选方案等,这里不再赘述。As an example, the processing unit in the embodiment of the present application may also be used to execute the refinement solution, optional solution, etc. of the embodiment shown in FIG. 2 , which will not be repeated here.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种金融期货的划线方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to perform the marking of any financial futures as described in the above method embodiments Some or all steps of the method.

本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种金融期货的划线方法的部分或全部步骤。An embodiment of the present invention also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the method described in the above method embodiments. Part or all of the steps of any method of marking financial futures.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以接收其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because according to the present invention, certain steps may be carried out in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (9)

1.一种金融期货的划线方法,其特征在于,所述方法包括如下步骤:1. A method for marking financial futures, characterized in that said method comprises the steps of: 终端确定用户选择的金融期货种类A,向网络设备请求种类A的K线数据,将该K线数据显示在终端的显示屏幕上;The terminal determines the type A of financial futures selected by the user, requests the K-line data of type A from the network device, and displays the K-line data on the display screen of the terminal; 终端检测显示屏幕页面的K线的数量x,若数量x大于等于5,对该K线数据执行划线操作得到划线后的K线数据;The terminal detects the number x of the K-lines on the display screen page. If the number x is greater than or equal to 5, perform a scribing operation on the K-line data to obtain the K-line data after the scribing; 终端将划线后的K线数据显示在显示屏屏幕上。The terminal displays the crossed K-line data on the display screen. 2.根据权利要求1所述的方法,其特征在于,所述对该K线数据执行划线操作得到划线后的K线数据具体包括:2. The method according to claim 1, characterized in that, the K-line data after the K-line data obtained by performing the scribing operation on the K-line data specifically includes: 终端提取该K线数据中的每根K线的最高价格以及最低价格,将K线的最高价格按K线的先后顺序填入到最高价格向量内,将最低价格按K线的先后顺序填入到最低价格向量内,遍历最高价格向量内每个元素值得到最高价格向量内的顶点标识位,遍历最低价格向量内的每个元素值得到最低价格向量内的底点标识位,获取第一顶点标识位与第一底点标识位之间的K线数量x1,若x1≥5,则将第一顶点标识位对应的第一低价与第一地点标识位对应的第一低价连接起来为一个线段,获取第二顶点标识位与第一底点标识位之间的K线数量x2,若x2≥5,则将第一低价与第二顶点标识位的第二高价连接起来得到另一线段,遍历最高价格向量和最低价格向量内所有的标识位得到该K线的所有的线段得到划线后的K线数据。The terminal extracts the highest price and the lowest price of each K-line in the K-line data, fills the highest price of the K-line into the highest price vector in the order of the K-lines, and fills in the lowest price in the order of the K-lines Go to the lowest price vector, traverse each element value in the highest price vector to get the vertex identifier in the highest price vector, traverse each element value in the lowest price vector to get the bottom point identifier in the lowest price vector, and get the first vertex The K-line quantity x1 between the identification bit and the first bottom point identification bit, if x1≥5, then connect the first low price corresponding to the first apex identification bit and the first low price corresponding to the first location identification bit as A line segment, obtain the K-line quantity x2 between the second vertex marker and the first bottom marker, if x2≥5, connect the first low price with the second highest price of the second vertex marker to get another line Segment, traverse all the identification bits in the highest price vector and the lowest price vector to get all the line segments of the K line to get the K line data after the line. 3.根据权利要求2所述的方法,其特征在于,遍历最高价格向量内每个元素值得到最高价格向量内的顶点标识位具体包括:3. The method according to claim 2, wherein traversing each element value in the highest price vector to obtain the vertex identification bit in the highest price vector specifically includes: 若元素i为最高价格向量的中间元素,将最高价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最大,则确定该元素i为顶点标识位,若元素i为最高价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最高,确定该元素i为顶点标识位,遍历最高元素向量的所有元素确定所有的顶点标识位。If element i is the middle element of the highest price vector, the first 2 elements and the last 2 elements of element i will be extracted from the highest price vector, and if the value of element i is the largest among the 5 element values, then this element i will be determined as the vertex Identification bit, if element i is the edge element of the highest price vector, extract the 4 element values adjacent to element i, if element i has the highest value among the 5 elements, determine that element i is the vertex identification bit, and traverse the highest element vector All elements of determine all vertex identification bits. 4.根据权利要求2所述的方法,其特征在于,所述遍历最低价格向量内的每个元素值得到最低价格向量内的底点标识位具体包括:4. The method according to claim 2, wherein said traversing each element value in the lowest price vector to obtain the bottom point identification bit in the lowest price vector specifically comprises: 若元素i为最高价格向量的中间元素,将最低价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最小,则确定该元素i为低点标识位,若元素i为最低价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最低,确定该元素i为低点标识位,遍历最低元素向量的所有元素确定所有的低点标识位。If element i is the middle element of the highest price vector, extract the first 2 elements and the last 2 elements of element i from the lowest price vector, and if the value of element i is the smallest among the 5 element values, determine that element i is low Point identification bit, if element i is the edge element of the lowest price vector, extract the 4 element values adjacent to element i, if element i is the lowest among the 5 element values, determine that element i is the low point identification bit, traverse the lowest All elements of the element vector determine all low point flags. 5.一种金融期货的划线系统,其特征在于,所述系统包括:5. A marking system for financial futures, characterized in that the system comprises: 获取单元,用于确定用户选择的金融期货种类A,向网络设备请求种类A的K线数据,将该K线数据显示在终端的显示屏幕上;The acquisition unit is used to determine the financial futures type A selected by the user, request the K-line data of the type A from the network device, and display the K-line data on the display screen of the terminal; 处理单元,用于检测显示屏幕页面的K线的数量x,若数量x大于等于5,对该K线数据执行划线操作得到划线后的K线数据;将划线后的K线数据显示在显示屏屏幕上。The processing unit is used to detect the number x of the K-lines on the display screen page, if the number x is greater than or equal to 5, perform a scribing operation on the K-line data to obtain the K-line data after the scribing; display the K-line data after the scribing on the display screen. 6.根据权利要求5所述的系统,其特征在于,6. The system of claim 5, wherein: 所述处理单元,具体用于提取该K线数据中的每根K线的最高价格以及最低价格,将K线的最高价格按K线的先后顺序填入到最高价格向量内,将最低价格按K线的先后顺序填入到最低价格向量内,遍历最高价格向量内每个元素值得到最高价格向量内的顶点标识位,遍历最低价格向量内的每个元素值得到最低价格向量内的底点标识位,获取第一顶点标识位与第一底点标识位之间的K线数量x1,若x1≥5,则将第一顶点标识位对应的第一低价与第一地点标识位对应的第一低价连接起来为一个线段,获取第二顶点标识位与第一底点标识位之间的K线数量x2,若x2≥5,则将第一低价与第二顶点标识位的第二高价连接起来得到另一线段,遍历最高价格向量和最低价格向量内所有的标识位得到该K线的所有的线段得到划线后的K线数据。The processing unit is specifically used to extract the highest price and the lowest price of each K-line in the K-line data, fill the highest price of the K-lines into the highest price vector in the order of the K-lines, and fill the lowest price by The order of the K lines is filled in the lowest price vector, traverse each element value in the highest price vector to get the vertex identification bit in the highest price vector, traverse each element value in the lowest price vector to get the bottom point in the lowest price vector Identification bit, obtain the K-line quantity x1 between the first vertex identification bit and the first bottom point identification bit, if x1≥5, then the first low price corresponding to the first vertex identification bit and the first location identification bit The first low price is connected into a line segment, and the K-line quantity x2 between the second vertex marker and the first bottom marker is obtained. If x2≥5, the first low price and the second vertex marker are combined. Connect the two high prices to get another line segment, traverse all the identification bits in the highest price vector and the lowest price vector to get all the line segments of the K line to get the K line data after the line. 7.根据权利要求6所述的系统,其特征在于,7. The system of claim 6, wherein: 所述处理单元,具体用于若元素i为最高价格向量的中间元素,将最高价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最大,则确定该元素i为顶点标识位,若元素i为最高价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最高,确定该元素i为顶点标识位,遍历最高元素向量的所有元素确定所有的顶点标识位。The processing unit is specifically used to extract the first 2 elements and the last 2 elements of element i from the highest price vector if element i is the middle element of the highest price vector, and if the value of element i is the largest among the 5 element values , then determine that the element i is the vertex identification bit, if the element i is the edge element of the highest price vector, then extract the 4 element values adjacent to the element i, if the element i is the 5 highest element values, determine the element i as Vertex identification bit, traverse all elements of the highest element vector to determine all vertex identification bits. 8.根据权利要求6所述的系统,其特征在于,8. The system of claim 6, wherein: 所述处理单元,具体用于若元素i为最高价格向量的中间元素,将最低价格向量内提取元素i的前2个元素以及后2个元素,若元素i的值在5个元素值中最小,则确定该元素i为低点标识位,若元素i为最低价格向量的边缘元素,则提取与元素i相邻的4个元素值,若元素i为5个元素值最低,确定该元素i为低点标识位,遍历最低元素向量的所有元素确定所有的低点标识位。The processing unit is specifically used to extract the first 2 elements and the last 2 elements of element i from the lowest price vector if element i is the middle element of the highest price vector, and if the value of element i is the smallest among the 5 element values , then determine that the element i is the low point identification bit, if the element i is the edge element of the lowest price vector, then extract the 4 element values adjacent to the element i, if the element i is the lowest among the 5 element values, determine the element i For the low point flag, traverse all the elements of the lowest element vector to determine all the low point flags. 9.一种计算机可读存储介质,其存储用于电子数据交换的程序,其中,所述程序使得终端执行如权利要求1-4任意一项提供的方法。9. A computer-readable storage medium storing a program for electronic data exchange, wherein the program causes a terminal to execute the method as provided in any one of claims 1-4.
CN202210525521.3A 2022-05-16 2022-05-16 Marking method and system for financial futures Pending CN115409621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210525521.3A CN115409621A (en) 2022-05-16 2022-05-16 Marking method and system for financial futures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210525521.3A CN115409621A (en) 2022-05-16 2022-05-16 Marking method and system for financial futures

Publications (1)

Publication Number Publication Date
CN115409621A true CN115409621A (en) 2022-11-29

Family

ID=84157808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210525521.3A Pending CN115409621A (en) 2022-05-16 2022-05-16 Marking method and system for financial futures

Country Status (1)

Country Link
CN (1) CN115409621A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737344A (en) * 2012-06-29 2012-10-17 裘海雯 Method and system for recording security price operation trend according to security trading data
US20150066725A1 (en) * 2013-08-28 2015-03-05 Huiqing Cai Trend trading method
CN106779167A (en) * 2016-11-23 2017-05-31 上海银天下科技有限公司 The method and device of forecast price tendency flex point
CN111199482A (en) * 2019-12-24 2020-05-26 上海小杰教育科技有限公司 Data analysis method and system based on financial transaction
US20200273104A1 (en) * 2019-02-21 2020-08-27 TrendSpider LLC Advanced financial alerts generation based on automatic analysis of price charts
CN112232952A (en) * 2020-09-11 2021-01-15 苏宁金融科技(南京)有限公司 Data acquisition method and device for transaction dense area
CN113706307A (en) * 2021-08-26 2021-11-26 杭州高能投资咨询有限公司 Stock medium and long term trend prediction method, equipment, system and medium
CN114008658A (en) * 2021-09-30 2022-02-01 富途网络科技(深圳)有限公司 K-line form recognition method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102737344A (en) * 2012-06-29 2012-10-17 裘海雯 Method and system for recording security price operation trend according to security trading data
US20150066725A1 (en) * 2013-08-28 2015-03-05 Huiqing Cai Trend trading method
CN106779167A (en) * 2016-11-23 2017-05-31 上海银天下科技有限公司 The method and device of forecast price tendency flex point
US20200273104A1 (en) * 2019-02-21 2020-08-27 TrendSpider LLC Advanced financial alerts generation based on automatic analysis of price charts
CN111199482A (en) * 2019-12-24 2020-05-26 上海小杰教育科技有限公司 Data analysis method and system based on financial transaction
CN112232952A (en) * 2020-09-11 2021-01-15 苏宁金融科技(南京)有限公司 Data acquisition method and device for transaction dense area
CN113706307A (en) * 2021-08-26 2021-11-26 杭州高能投资咨询有限公司 Stock medium and long term trend prediction method, equipment, system and medium
CN114008658A (en) * 2021-09-30 2022-02-01 富途网络科技(深圳)有限公司 K-line form recognition method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张华: "涨停板战法系列 借刀斩牛股之酒田战法解析 第3版", 四川人民出版 *

Similar Documents

Publication Publication Date Title
CN110245069B (en) Page version testing method and device and page display method and device
CN106201890B (en) The performance optimization method and server of a kind of application
CN105338537B (en) A kind of method and terminal of the shared analysis of newly-increased base station site
WO2020253506A1 (en) Contract content extraction method and apparatus, and computer device and storage medium
CN110515951A (en) A BOM standardization method, system, electronic equipment and storage medium
CN115902643A (en) A Step-by-Step Identification Method for Parameters of Fractional-order Equivalent Circuit Model of Battery Impedance Spectrum
CN108875035A (en) The date storage method and relevant device of distributed file system
CN105550179A (en) Webpage collection method and browser plug-in
CN110290024A (en) Method, device and equipment for testing before strategy launch
CN107798239B (en) Operational risk processing method, apparatus, computer equipment and storage medium
CN107908676A (en) A kind of data display update method, terminal and computer-readable medium
CN109102303A (en) Risk checking method and relevant apparatus
CN106257449A (en) A kind of information determines method and apparatus
CN104486448A (en) Data processing method and device
CN115409621A (en) Marking method and system for financial futures
CN107609041A (en) List page generation method and device
CN108021464B (en) Bottom-pocketing processing method and device for application response data
CN113360821A (en) Method, device, equipment and storage medium for updating website quality characteristics
CN112905569A (en) Data caching method and device, electronic equipment and storage medium
CN107943912A (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN116467235B (en) DMA-based data processing method and device, electronic equipment and medium
CN106651408A (en) Data analysis method and apparatus
CN108287697B (en) Html escape character replacing method, device and terminal
CN110728138A (en) Method, device and storage medium for news text recognition
CN117173287A (en) Advertisement recommendation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221129