合约网格交易策略,網格交易最終章,簡單/灵活/量化交易#加密货币 #okx #Grid Trading Strategy

投机实验室
22 Feb 202307:43

Summary

TLDR本视频介绍了合约网格交易策略,这是一种在预设价格区间内捕捉价格波动的交易方法。它通过设置价格范围、网格数量、杠杆和投资仓位等参数,实现在价格波动时自动买卖以获利。视频详细讲解了如何在OKX平台创建长网格和短网格策略,并强调了设置合理的止盈止损点以控制风险的重要性。同时提醒观众,网格交易虽适合编程实现,但需注意手续费和市场异常波动,建议将其作为降低风险的策略而非追求高回报。

Takeaways

  • ⚖️ 合约网格交易是现货网格交易的补充,解决了现货网格只能做多不能做空、灵活性差、资金利用率低的问题。
  • 🔄 网格交易策略通过在预设的价格区间内捕捉价格波动来实现盈利,适用于震荡市场。
  • 📈 合约网格交易通过调整多空倾向,选择价格区间、网格数量、杠杆和投资仓位等参数来实现盈利。
  • 🐟 网格交易的逻辑类似于渔民撒网捕鱼,只要价格还在网格内,就能获利,需要提前设置好止盈止损。
  • 📊 在震荡市场中,可以选择做多网格策略,通过在价格区间内低买高卖来套利。
  • 📉 在下跌市场中,可以选择做空网格策略,通过高卖低买来获利。
  • 🛠️ 合约网格策略设置步骤明确,简单易操作,适合编程实现,能够自动根据市场波动执行策略。
  • 🎯 OKX平台提供了智能策略功能,包括推荐策略和自定义参数设置,方便用户根据市场理解调整策略。
  • 💡 在设置网格策略时,需要注意手续费问题,确保单网格收入大于两倍手续费。
  • ⚠️ 设置震荡范围时,应选择大级别的支撑和阻力位置,并为异常价格波动设置合理的止损,以控制风险。
  • 💼 网格交易应作为仓位策略的一部分,目的在于降低风险而非追求高收益,通过小部分资金进行网格交易,大部分资产进行现货交易。

Q & A

  • 什么是合约网格交易策略?

    -合约网格交易策略是一种将网格交易概念应用于合约交易的方法,通过根据市场调整多空倾向,设置价格范围、网格数量、杠杆和投资仓位等参数,利用价格在预设范围内的波动来实现盈利。

  • 合约网格交易策略与传统的现货网格交易策略有何不同?

    -合约网格交易策略解决了现货网格交易策略只满不满、灵活性差、资本利用率低的问题,它通过使用杠杆和合约的特性,提供了更高的灵活性和资本效率。

  • 如何设置一个合约网格交易策略?

    -设置合约网格交易策略需要选择多空方向,设定价格范围,选择网格模式和数量,确定杠杆倍数和投资金额,最后设置止盈止损,并让策略随市场波动自动执行。

  • 在合约网格交易中,为何要设置止盈和止损?

    -设置止盈和止损是为了控制风险和锁定利润。止盈可以在价格达到预期时自动获利退出,而止损则在价格跌破网格范围时停止策略执行,避免进一步损失。

  • 什么是OKX的Square Find网格策略页面?

    -OKX的Square Find网格策略页面是用户可以创建和管理合约网格策略的平台,提供推荐的策略参数和自定义参数设置,用户可以根据市场理解和风险偏好进行策略配置。

  • 在设置合约网格策略时,为什么选择大级别的支撑和阻力位置很重要?

    -选择大级别的支撑和阻力位置可以确保价格在未来一段时间内在该范围内波动,从而提高策略的成功率和盈利概率。

  • 为什么在合约网格交易中,单网格的收益必须大于交易费用的两倍?

    -因为交易费用会减少每次交易的净收益,如果单网格的收益小于交易费用的两倍,那么在扣除费用后可能会亏损,因此需要确保每次交易的收益能够覆盖费用并留有利润空间。

  • 如何选择合适的杠杆倍数进行合约网格交易?

    -选择合适的杠杆倍数需要考虑市场波动性、个人风险承受能力和预期收益。过高的杠杆会增加风险,而过低的杠杆则可能降低收益潜力。

  • 为什么在合约网格交易中,大部分资产应该用于现货交易,而只有小部分用于网格交易?

    -这是因为网格交易虽然可以降低风险,但其单次收益有限,而现货交易通常有更高的收益潜力。因此,为了平衡风险和收益,建议大部分资产用于现货交易,小部分用于网格交易。

  • 在合约网格交易中,如何处理异常价格波动?

    -在合约网格交易中,应设置合理的止损位或市场预警,并准备好应对异常价格波动的计划,以保护投资免受重大损失。

Outlines

00:00

📈 合约网格交易策略介绍

本段介绍了合约网格交易策略,它是现货网格交易策略的补充,解决了现货网格只能做多不能做空、灵活性差和资金利用率低的问题。通过在预设的价格区间内设置多个买卖点,利用价格波动进行盈利。策略的核心在于设置好止盈止损点,让策略自动执行,适合震荡市场。举例说明了在比特币牛市预期下,如何通过建立做多网格策略来捕捉价格波动,以及在下跌趋势中如何通过做空网格策略进行交易。

05:01

🔍 合约网格策略的详细设置及注意事项

详细说明了如何设置合约网格策略,包括选择网格属性(做多或做空)、确定价格区间、选择网格模式和数量、设置杠杆倍数和投入金额。强调了在设置网格时需要注意的几个要点:网格数量并非越多越好,要考虑手续费;设置震荡范围时选择大级别的支撑和阻力位;对于任何方向都要准备异常价格波动,合理设置止损或市场提醒。最后提醒,网格交易应作为降低风险的策略,而不是追求高回报,大部分资产应投入现货交易,小部分资金用于网格交易。

Mindmap

Keywords

💡合约网格

合约网格是一种交易策略,它将网格交易的概念应用于合约交易中。在视频中,它被描述为现货网格的“好兄弟”,解决了现货网格只有满仓而没有空仓、灵活性差、资金利用率低的问题。合约网格允许交易者根据市场情况调整多空倾向,设置价格范围、网格数量、杠杆和投资仓位等参数,以在预定的价格范围内捕获价格波动的利润。

💡网格交易

网格交易是一种量化交易策略,它通过在预设的价格区间内设置多个买卖点来捕捉价格波动。在视频中,网格交易被用来在价格波动的市场中进行交易,通过设置多个买卖订单来实现自动化的高卖低买,从而在价格波动中获利。

💡杠杆

杠杆是金融交易中使用的一种工具,允许交易者以较小的本金进行较大规模的交易。在视频中,杠杆被用于合约网格策略中,通过设置杠杆倍数和投资金额,交易者可以在价格波动中放大潜在的盈利或亏损。

💡止盈止损

止盈止损是交易中常用的风险管理工具,用于在达到预定的价格水平时自动平仓,以锁定利润或限制损失。在视频中,止盈止损被用来设置在价格突破网格后的操作,确保在市场波动中能够及时退出,保护账户安全。

💡震荡市场

震荡市场是指价格在一定范围内上下波动,没有明显趋势的市场状态。在视频中,震荡市场被用来描述适合使用合约网格策略的市场环境,因为这种策略能够在价格波动中通过设置多个买卖点来捕获利润。

💡长网格

长网格是一种网格交易策略,适用于预期市场将上涨的情况。在视频中,长网格策略被用来在预期比特币将上涨的市场中进行交易,通过在一定的价格区间内设置多个买入点,以实现在价格上涨时获利。

💡空网格

空网格是长网格的相反策略,适用于预期市场将下跌的情况。在视频中,空网格策略被用来在预期比特币将继续下跌的市场中进行交易,通过在一定的价格区间内设置多个卖出点,以实现在价格下跌时获利。

💡等差网格

等差网格是一种网格交易模式,其中每个网格的价格间隔是相同的。在视频中,等差网格被用来说明如何在合约网格策略中设置价格间隔,使得每个网格的盈利或亏损金额相等。

💡比例网格

比例网格是另一种网格交易模式,其中每个网格的仓位按照固定比例增加。在视频中,比例网格被用来说明如何在合约网格策略中根据价格变动调整仓位,以保持相同的盈亏比率。

💡策略参数

策略参数是指在设置交易策略时需要确定的各种参数,如价格范围、网格数量、杠杆倍数等。在视频中,策略参数被用来指导交易者如何根据自己的市场理解和风险偏好来定制合约网格策略。

💡风险管理

风险管理是交易中用来识别、评估和控制潜在损失的过程。在视频中,风险管理被强调为使用合约网格策略时必须考虑的重要因素,包括合理设置止损点和使用市场警报来应对异常价格波动。

Highlights

合约网格交易是现货网格交易的补充,解决了现货网格只能做多不能做空的问题。

合约网格交易提高了资金的灵活性和利用率。

通过设置价格范围、网格数量、杠杆和投资仓位等参数,合约网格交易可以捕捉价格在预设范围内的波动。

合约网格交易的盈利逻辑简单,类似于渔民撒网捕鱼,只要价格还在网内,网内的鱼就能获利。

如果价格突破网格后不再回到网格,策略将不会继续执行操作。

合约网格交易适合震荡市场,可以选择在波动的上升市场中做多,通过在一定范围内的价差进行套利。

如果交易者认为比特币进入牛市,可以在遇到阻力后的价格区间内建立长期网格策略。

在波动的下降市场中,可以选择做空网格,通过高卖低买进行交易。

合约网格交易步骤清晰,简单易设,适合编程实现。

OKX的UI界面美观,智能策略功能相对完善,提供了两种内置的创建模式。

OKX平台结合智能算法,计算出过去7天内表现较好的策略参数。

可以根据市场理解自定义参数,设置网格的属性、价格范围、模式和数量。

确定杠杆倍数和网格策略的投资金额是策略设置的重要步骤。

高级设置选项允许自定义启动条件和停止条件。

设置止损和止盈按钮是必须的,以确保在价格突破范围时能够获利退出。

合约网格交易需要注意手续费问题,单个网格的收入必须大于两倍手续费。

设置震荡范围时,应选择大级别的支撑和阻力位置,确保价格在下一段时间内在此范围内波动。

合约网格交易应以大盈小亏为原则,大部分资产用于现货交易,小部分资金用于网格交易。

网格交易可以作为位置策略,目的不是高回报,而是降低风险。

Transcripts

play00:00

Yo, here I come

play00:01

. Welcome to the Speculation Lab

play00:03

. The contract grid can be said to be a good brother of the spot grid

play00:06

. It solves the problems of the spot grid, which is only full but not empty,

play00:09

poor flexibility, and low

play00:10

capital

play00:12

utilization

play00:15

. The previous video has already mentioned spot Grid

play00:16

This time

play00:18

we will talk about grid trading

play00:20

and continue to talk about this trading strategy that captures price fluctuations in

play00:22

a predetermined range . Remember to click the subscribe button and stick to it to the end

play00:25

. Maybe

play00:27

it can save your wallet in the volatile market.

play00:28

Contract

play00:30

grid is very good

play00:31

Understanding is to apply the concept of grid trading to contract trading,

play00:34

and adjust the long-short tendency according to the market

play00:36

. After choosing a long or short direction

play00:38

, you can set the price range

play00:39

, the number of grids, the leverage and positions

play00:42

invested , etc. Parameters

play00:44

The logic of profiting from price changes within this range is very simple

play00:46

, just like a fisherman casts

play00:47

a net after fishing,

play00:48

as long as the price is still in the net

play00:50

, the fish in the net will be profitable , and

play00:53

there is no need to worry that the price will break the net

play00:55

, just need to advance Set up stop profit and stop loss, and leave

play00:57

the rest to time to execute

play00:59

. If the price after breaking the

play01:01

grid has never returned to the grid

play01:03

, or even never returns,

play01:04

the strategy will not continue to execute operations

play01:06

. This is tailor-made for shocking market Trading strategy

play01:09

We can choose to go long in a volatile upward market

play01:11

and buy low and sell high

play01:13

to arbitrage from price changes within a range.

play01:14

Suppose a trader believes that

play01:17

Bitcoin has started a bull market. The

play01:19

current price is only in an

play01:20

upward trend. Intermediary position

play01:22

After Bitcoin encounters resistance at $25,000

play01:24

, it will fluctuate in the range of 25,000-22,500 for a period of time

play01:27

, and then it will continue to rise . Then he can establish a long-term grid strategy,

play01:31

set a stop-profit and stop-loss

play01:32

position, and then place it in a suitable position The first order is enough to open a position.

play01:35

We can also choose to short the

play01:36

grid in a fluctuating downward market and trade by selling high and buying low

play01:40

. Assuming another trader judges

play01:42

that Bitcoin is still in a downward trend

play01:43

. It rebounded around $25,000

play01:46

and encountered resistance

play01:48

. Afterwards , it will fluctuate in the range of 25,000-22,500 for a period of time

play01:51

, and then it will go down

play01:53

. Then

play01:54

it can establish a short-selling grid strategy

play01:58

, set a stop-profit and stop-loss position

play01:59

, and then open a position at an appropriate position

play02:02

. The contract grid has clear steps and is simple to set

play02:03

. It is a method suitable for programming The strategy method

play02:05

The strategy

play02:07

will calculate

play02:08

the price of each small grid, sell high and buy low,

play02:11

automatically place the order

play02:13

, follow the market fluctuations,

play02:14

follow the strategy logic

play02:15

, and continue to open

play02:17

positions and take

play02:18

profits in a range of fluctuations

play02:21

until the price goes out of this range

play02:22

We open the strategy of OKX

play02:25

Square Find

play02:27

the grid strategy page

play02:28

and select the contract grid creation strategy.

play02:30

The UI interface of OKX has always been aesthetically pleasing, and the functions of

play02:33

smart strategies are relatively complete

play02:36

. There are two built-in creation modes here.

play02:37

One is the recommended strategy with set parameters

play02:40

. This is the platform combined with intelligent algorithms

play02:42

. Back After measuring the market in the past 7 days

play02:44

, some

play02:45

parameters with relatively good returns in the recent backtest are calculated

play02:47

, covering

play02:49

the settings of the three attributes of long grid, short grid and neutral grid.

play02:52

These data reflect the recent performance of strategy parameters

play02:55

and account performance.

play02:57

Profit and loss situation, if you feel The parameters are worthy of reference .

play03:00

You can use them with some fine-tuning

play03:02

. You can click Customize Parameters

play03:04

, and the parameters

play03:05

will be copied to the manual creation strategy page. We can

play03:07

customize parameters according to our own understanding of the market.

play03:09

Take

play03:10

the BTC/USDT trading pair as an example

play03:13

. Our first The first step is to clarify the properties of the grid

play03:15

, that is, follow the general trend

play03:17

, go long or short.

play03:18

Let’s talk about the steps of long grid

play03:21

first. The second step is to determine the price range.

play03:23

Let’s take the previous parameters as an example.

play03:24

The lowest price is 22,500

play03:27

and the highest price is 25,000

play03:29

. The third step is the choice of mode and quantity. The

play03:32

arithmetic grid

play03:33

means that the price difference of each grid is the same

play03:35

, so the profit of the grid is the same amount

play03:38

. The proportional grid

play03:39

is to

play03:41

increase the position according to a fixed ratio. That is to say, the income with the same rise and fall.

play03:44

For our grid mode selection here , enter 10 equal difference quantities. After

play03:46

the quantity

play03:48

is determined

play03:49

, the system will automatically calculate the profit range of

play03:51

each

play03:52

grid , which is 4.33% to 4.83%.

play03:56

OKX The single grid shown here Profit rate

play03:58

is calculated after deduction of handling fees

play04:00

. The fourth step is to determine the

play04:03

leverage,

play04:04

multiple and amount invested in the grid strategy.

play04:06

For example, if we choose 5 times leverage, the margin

play04:08

invested is 1,000 USDT , which means that the total value of the entire grid is 5,000.

play04:12

After the parameter setting is completed

play04:13

There is also an advanced setting option.

play04:15

The start condition and stop condition

play04:17

are generally the default options. You can

play04:19

also start according to the price

play04:20

. That is, you mark a price yourself and wait for the transaction. The stop

play04:24

profit and stop loss button must be turned on

play04:25

. Take profit means that when the price breaks through the range,

play04:28

it reaches

play04:30

what you think

play04:32

The right position

play04:34

is the price

play04:36

at which you can make a profit and exit the market. When the currency price falls below the shock range,

play04:39

the strategy will not continue to run

play04:41

. If the price continues to fall and does not return to the grid range, the

play04:44

held orders will suffer losses

play04:46

. The contract is different from the spot and there will be an explosion. Position risk

play04:48

and because leverage is added

play04:50

, the risk loss will also increase

play04:52

, so the stop loss must be set at a reasonable position below the lowest price of the grid.

play04:55

We can choose to set the stop loss at 22,000 and only

play04:57

click Create Strategy at 25,300.

play04:59

The strategy will start to

play05:00

run. As the market fluctuates

play05:01

, it will cycle pending orders and transactions in the price range

play05:05

. The steps to shorting the grid are

play05:06

the same as four steps

play05:08

, but the direction of the transaction is opposite.

play05:10

Our first step is to clarify the attributes of the grid

play05:12

, that is, choose to short the grid.

play05:14

The second step is Determine the price range and keep the parameters unchanged.

play05:17

The lowest price is 22500

play05:19

and the highest price is 25000.

play05:22

The third step is the choice of mode and quantity. In

play05:25

the grid mode, we choose the arithmetic difference quantity and input 10.

play05:28

After the quantity is determined,

play05:29

the system will automatically calculate

play05:31

the profit range of each grid

play05:33

It is 4.33% to 4.83%.

play05:36

The fourth step is to determine

play05:38

the leverage

play05:40

and amount invested in the grid strategy.

play05:42

We also choose 5 times leverage. The margin

play05:45

invested is

play05:47

the trigger condition in the advanced setting option of 1000USDT.

play05:49

We can set the entry stop condition at 24,800 and choose manual stop

play05:52

The Take Profit and Stop Loss buttons need to be turned on.

play05:54

Take Profit is set at 22,000

play05:56

and Stop Loss is set at 25,300.

play05:58

Finally, click Create Strategy.

play06:00

The short

play06:03

grid strategy is created

play06:06

. We can click the Details button to check Look

play06:08

at

play06:09

this order, there is a detailed operation of the order

play06:12

, and the neutral grid is

play06:13

the market price when the strategy is started

play06:15

play06:16

. Open short and close short at the top, open long and close long

play06:18

at the bottom. I won’t go into details here

play06:20

. Make a judgment and choose a grid with appropriate attributes

play06:23

. There are three things that must be paid attention to when making a contract grid.

play06:26

First , the more grids, the better

play06:28

, because this involves the issue of handling fees

play06:30

. Generally

play06:31

speaking,

play06:32

the income of a single grid

play06:35

must be greater than 2 times.

play06:39

play06:40

For example , the transaction fee of some trading platforms is 0.05%

play06:44

If the profit is less than 0.1%, you will lose money if

play06:46

the profit is less than 0.1%. Second, when setting the shock range,

play06:49

try to choose a large-level support and resistance position

play06:51

to ensure that the price can fluctuate

play06:52

in this range in the next period of time.

play06:54

Also for any In terms of direction, be prepared for abnormal

play06:56

price fluctuations , ensure that the stop loss is set properly or set market alerts, and

play07:00

have

play07:01

play07:04

a

play07:06

play07:08

plan to deal with risks That small part of the trending market

play07:11

, so according to the trading principle of big profits and small losses

play07:13

, we must allocate

play07:15

most of the assets in spot transactions

play07:16

, and only use a small part of funds to do grid trading.

play07:19

We can use grid trading as a

play07:20

position strategy.

play07:22

The purpose is not high returns

play07:24

, but to reduce risks

play07:26

. The single return is limited,

play07:27

but in general

play07:28

, higher total account returns can be achieved. Well

play07:31

, check if you click the subscription button

play07:34

so as not to miss a more profitable trading system

play07:37

. Good morning afternoon

play07:38

Good night, bye. Note that the above content does not constitute investment advice

Rate This

5.0 / 5 (0 votes)

相关标签
合约交易网格策略市场波动资本利用风险管理交易策略投资技巧加密货币算法交易市场分析