Security transaction data compression method and device
A technology of transaction data and compression method, which is applied in the computer field, and can solve the problems of divided loading, slow loading, poor user experience, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0192] When the original securities transaction data is stock daily K-line data, and the first type of data item is a date, in the above steps S103 and S104:
[0193] The previous time point is a preset reference date; correspondingly, the first relative change value is the actual number of days or non-weekend days between the date corresponding to the time point and the preset reference date.
[0194] For the Shanghai Stock Exchange, the above-mentioned base date can be 1990-12-19. 1990-12-19 is the date when the Shanghai Stock Exchange officially opened for business. In the field, this date is also called "DAY0". Of course, the above-mentioned base date can also be other dates, and the setting of the base date may be different for different exchanges.
specific Embodiment approach 2
[0195] When the original securities transaction data is stock daily K-line data, and the first type of data item is a date, in the above steps S103 and S104:
[0196] The previous time point is the previous time point of the time point; correspondingly, the first relative change value is the actual number of days or the difference between the date corresponding to this time point and the date corresponding to the previous time point Weekend days.
[0197] In the above method 1 and the above method 2, due to the original representation of the date, the date in the original securities transaction data is replaced with the actual number of days or the difference between the date and the preset base date or the date of the previous trading day After the difference of the number of non-weekend days, the data volume of this data item representing "date" can be reduced. For example, assuming that the base date is 1990-12-19, the date in the daily K-line data generated on 1990-12-20 is ex...
specific Embodiment approach 3
[0198] On the basis of the second embodiment above, when the first relative change value is the number of non-weekend days between the date corresponding to the time point and the date corresponding to the previous time point, the preset data processing Methods, including:
[0199] When the first relative change value is equal to 1, the date corresponding to the time point is cleared; otherwise, the date corresponding to the time point is replaced with the first relative change value corresponding to the time point.
[0200] In general, the Shanghai Stock Exchange and Shenzhen Stock Exchange are only open from Monday to Friday every week. Therefore, when the date in the K-line data of the stock day is compressed, when a certain trading day differs from the previous trading day When the number of non-weekend days is 1, it means that the trading day is continuous with the previous trading day, and the data item indicating the date corresponding to the trading day can be cleared to fu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com