首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

量化合约系统开发(详细流程)丨合约量化系统开发(详情分析)

Quantitative system refers to the decision-making made by computer through data analysis to replace people's subjective decision-making.Human is an animal with emotion.When we see an object or scene,we will always associate it with our actual situation,but this analysis will fluctuate due to the emotion at that time.As we all know,the digital goods coin market is a highly volatile market.Once the market changes,people often make irrational moves to control and adjust their digital goods coin.Quantitative trading is a good solution to this problem,reducing the impact of emotional fluctuations when users invest and consult,and reducing the mistakes made by users because of impulse.This is the benefit of a quantitative system.

02

0基础学习PyFlink——事件时间和运行时间的窗口

这是因为每次运行时,CPU等系统资源的繁忙程度是不一样的,这就影响了最后的运行结果。 为了让结果稳定,我们可以不依赖运行时间(ProcessingTime),而使用不依赖于运行环境,只依赖于数据的事件时间(EventTime)。 一般,我们需要大数据处理的数据,往往存在一个字段用于标志该条数据的“顺序”。这个信息可以是单调递增的ID,也可以是不唯一的时间戳。我们可以将这类信息看做事件发生的时间。 那如何让输入的数据中的“事件时间”参与到窗口时长的计算中呢?这儿就要引入Watermark(水印)的概念。 假如我们把数据看成一张纸上的内容,水印则是这张纸的背景。它并不影响纸上内容的表达,只是系统要用它来做更多的事情。 将数据中表达“顺序”的数据转换成“时间”,我们可以使用水印单调递增时间戳分配器

03

在线收缩和扩展LVM

在安装系统时LVM的大小没有设定好,还好可以在线收缩和扩展。 1,看下各逻辑卷大小 [root@bogon ~]# df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00                        39G  461M   37G   2% / /dev/mapper/VolGroup00-LogVol03                        64G  222M   61G   1% /var /dev/mapper/VolGroup00-LogVol02                        49G  2.0G   45G   5% /usr /dev/mapper/VolGroup00-LogVol01                        39G  177M   37G   1% /home /dev/sda1              99M   13M   82M  14% /boot tmpfs                1005M     0 1005M   0% /dev/shm /dev/hdc              3.5G  3.5G     0 100% /media 2,看到home下有lost+found可见home分区单独挂载在一个分区下 [root@bogon ~]# ls /home/ innofidei  lost+found 3,卸载并验证 [root@bogon ~]# umount /dev/mapper/VolGroup00-LogVol01 [root@bogon ~]# ls /home/ 4,resize2fs  卷组先 [root@bogon ~]# resize2fs /dev/mapper/VolGroup00-LogVol01 20G resize2fs 1.39 (29-May-2006) Resizing the filesystem on /dev/mapper/VolGroup00-LogVol01 to 5242880 (4k) blocks. The filesystem on /dev/mapper/VolGroup00-LogVol01 is now 5242880 blocks long.

02
领券