什么是量化策略?
量化策略是指使用计算机作为工具,通过一套固定的逻辑来分析、判断和决策。
量化策略既可以自动执行,也可以人工执行。在这里有一点需要注意的,BSC 上有两条链可以进行合约的部署,一条是测试网,一条是主网。
1.指标用于产生交易信号。指标的计算方法有很多,It can be economic data or valuation indicators(such as PE and EBITDA),technical indicators(such as MACD,RSI,MA)to develop or time series models(ARIMA,GARCH).Technical indicators are widely used in foreign exchange transactions.They are functions of price or trading volume,which are mainly used to detect the direction of the trend,measure the overbought and oversold state,and judge the reversal of the trend.
2.价格和指数之间的相互作用形成了一个信号。Take the moving average crossing as an example.Buy when the 5-day moving average crosses the 10-day moving average,and sell when the 5-day moving average crosses the 10-day moving average.Signals are not limited to trading,but also include sieves,whose main function is to eliminate noise.In the moving average crossing,traders can add a trend screen:only when the price is higher than the 200 day moving average(upward trend)and the 5-day moving average crosses the 10 day moving average,if the price is lower than the 200 day moving average,the gold crossing is regarded as a false signal.Famous sieves include trend sieves,time sieves,turnover sieves and fluctuation sieves,which are important components of signals.
3.规则是如何回应信号。它们是交易策略的核心。例如,When a buy signal is generated,traders need to decide when to go long,what orders to use,and how large positions to use.Novices tend to focus on market timing,while experienced experts will focus on risk control and fund management.The secret of long-term stable profits lies in the use of simple models and excellent fund management and risk control systems.
量化交易的主要特点:
买卖双方不再是由人们的主观判断决定的,改为由定量模型决定的。定量交易是一套科学的方法,它有严格的分析和计算,是由数据和模型决定的。即使是一种简单的低市盈率投资方法,只要能严格执行,也能获得巨额利润。
using UnityEngine;
public class GameObjectBrush:MonoBehaviou
{
[SerializeField]private float width=0.1f;
[SerializeField]private Color color=Color.grey;
private LineRenderer currentLR;
private Vector2 previousPoint;
private void Update()