当前位置:网站首页>Contract quantification system development (construction explanation) - contract quantification system development (source code analysis and ready-made cases)
Contract quantification system development (construction explanation) - contract quantification system development (source code analysis and ready-made cases)
2022-06-28 11:40:00 【vx-ccy981112】
Quantifying what benefits Trading robots can bring ?
1、 Compared with traditional manual methods , Quantitative trading can be measured back in a few minutes , Its efficiency is hundreds of times higher than that of traditional manual labor .
2、 For manual trading , Such a large amount of verification is obviously difficult to complete , But quantitative trading can be judged quickly and accurately . And quantitative trading can also use the principles of statistics and mathematics to give the results objectively , Such as the withdrawal rate 、 Annualized rate of return and sharp ratio and so on .
3、 For quantitative transactions , It can be used for real-time tracking of the whole market , Can not miss any trading opportunities , Greatly improve profitability .
The types of quantitative transaction robots mainly include :
1、 Trading robots are software , It interacts directly with the exchange ( Usually use API Get and interpret relevant information ), And according to the interpretation of the market data, trading on behalf of users . Robots make these decisions , Tracking market price changes , And react according to predefined and pre programmed rules .
Generally speaking , Although it is usually possible to program the robot according to the user's taste and preference , Trading robots still analyze market behavior , Such as trading volume 、 Order 、 Price and time .
2、 Trading robots trade on a cryptocurrency exchange , Buy money at a lower price , And sell it at a higher price , In order to get income .
3、 Arbitrage robots are the same trading robots , They only trade on a few exchanges , By buying money at a lower exchange rate , Sell on another exchange with a higher exchange rate , Make a profit . Although exchange rate differences between exchanges are now much smaller , But arbitrage robots still appear from time to time , These trading robots can help users make the most of these exchange rate differences .
Characteristics of quantitative trading smart contracts :
1、 Disclosure of contract content : Because smart contracts operate on the blockchain , The content of the contract is open .
2、 The contents of the contract cannot be tampered with : It is also because it operates on the blockchain , The content of a smart contract cannot be modified .
3、 Permanent operation : As long as the smart contract works , When connected to the network nodes, they will maintain each other , As long as the chain is still , Can work forever .
4、 More secure : Because the code is issued immediately , Traders are based on trust in the code , Can be reassured in an environment of mistrust 、 Trading safely .
5、 More economical and efficient : Compared with traditional contracts, we often encounter contradictions in the understanding of contract terms , Cause a dispute ; Smart contracts prevent conflicts through computing languages , There is little dispute , The cost of reaching an agreement is very low . On smart contracts , It turns out that , Take effect immediately . So compared to traditional contracts , Smart contracts are economical 、 The advantage of high efficiency
Opening conditions :
① PDI Cross up MDI when , Do buy .
② PDI Cross down MDI when , Sell .
③ When ADX On 50 When the above turns down , Represents the end of the market trend , close a position .
④ When ADX Slide to PDI Inferior tense , No entry transaction .
⑤ ⑤ When ADXR lower than 20 Following time , No participation
█ Indicator formula source code :
N:=14;
M:=6;
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);// The difference between the highest price and the lowest price , The difference between the highest price and the closing price of the previous cycle , The difference between the lowest price and the closing price of the previous period , The absolute value of the above three data is the largest , Do... For this maximum N Periodic summation ..
HD := HIGH-REF(HIGH,1);// The difference between the highest price and the highest price of the previous cycle
LD := REF(LOW,1)-LOW;// The difference between the lowest price and the lowest price in the previous cycle
DMP:= SUM(IFELSE(HD>0 && HD>LD,HD,0),N);// If HD>0 also HD>LD, take HD Otherwise take 0, Do... For the value N Periodic summation .
DMM:= SUM(IFELSE(LD>0 && LD>HD,LD,0),N);// If LD>0 also LD>HD, take LD Otherwise take 0, Do... For the value N Periodic summation .
PDI: DMP*100/TR;
MDI: DMM*100/TR;
ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);//MDI And PDI The absolute value of the difference is equal to (MDI+PDI)*100 Make a ratio , Take the ratio of M Mean value of cycles .
ADXR:(ADX+REF(ADX,M))/2;
CROSS(PDI,MDI) && ADX>PDI && ADXR>0,BPK;
CROSSDOWN(PDI,MDI) && ADX>PDI && ADXR>0,SPK;
REF(ADX,1)>50 && ADX<50,SP;
AUTOFILTER;
边栏推荐
- Makefile简介
- Simulation of the Saier lottery to seek expectation
- Unity屏幕截图功能
- When an entity is converted to JSON, the field with null value is lost
- 太阳能无线LED显示屏的特点
- 关于Pytorch中双向LSTM的输出表示问题
- 董宇辉,新东方以及凤凰卫视
- Setinterval, setTimeout and requestanimationframe
- Graduation season, some suggestions for you who are new to the society
- Redis6 1: what problems can be solved by the introduction of NoSQL and redis?
猜你喜欢

Everyone can participate in open source! Here comes the most important developer activity in dragon lizard community

Fruit FL studio/cubase/studio one music host software comparison

js中的class类模式及语法 2021.11.10

Making and using of dynamic library (shared library)

科研丨Web of Science检索技巧

Array method in JS 2021.09.18

Characteristics of solar wireless LED display

day32 js笔记 事件(上)2021.09.27

赛尔号抽奖模拟求期望

人人都可以参与开源!龙蜥社区最不容错过的开发者活动来了
随机推荐
Join hands with cigent: group alliance introduces advanced network security protection features for SSD master firmware
SQL中的DQL、DML、DDL和DCL是怎么区分和定义的
Day39 prototype chain and page Fireworks Effect 2021.10.13
【无标题】虚拟机vmnet0找不到且报错:没有未桥接的主机网络适配器
工作组环境下的内网渗透:一些基础打法
一套十万级TPS的IM综合消息系统的架构实践与思考
JS foundation 4
功能真花哨,价格真便宜!长安全新SUV真实力到底怎样?
Solve the problem of reading package listsdonebuilding dependency treereading state informationdone
毕业季,给初入社会的你一些建议
毕业了
[sword finger offer] 49 Ugly number
GCC introduction
Word、PDF、TXT文件实现全文内容检索需要用什么方法?
Industry analysis - quick intercom, building intercom
day32 js笔记 事件(上)2021.09.27
买股票在中金证券经理的开户二维码上开户安全吗?求大神赐教
Gee: mcd64a1 based globfire daily fire data set
培训通知|2022年境外中资企业机构及人员疫情防控和安全防范专题培训通知
New listing of operation light 3.0 - a sincere work of self subversion across the times!