Alphafamilia Algo Help

Futures: long and short

Reading time: 5 minutes.

First: The spot market.

What a future is

A future is an agreement (a contract) on a coin's price. You buy or sell not the coin itself but a promise to settle by its price. The profit and the loss are the price difference, in USDT.

The strategy works with perpetual futures. Such a contract has no end date. A position can be held as long as you like, until you, the strategy or the exchange closes it. The contract's price is kept close to the coin's price by funding — regular payments between position holders. See lesson 15.

A position is what is open now: how many contracts and at what average price.

How futures differ from spot

  • On spot you own the coin. On futures you do not: you trade its price.
  • On futures you can earn not only on a rise but also on a fall.
  • A position is opened against a pledge — the margin. You can use leverage. That is lesson 14, and the main risk of futures is there.

A long earns on a rise

A long (a “long position”) — you buy a contract and wait for the price to rise. As on spot: buy lower, sell higher.

Example. BTC costs 50,000 USDT. You open a long of 1000 USDT — that is 0.02 BTC. No fees:

  • the price rose to 51,000 (+2 %) — you close the long, profit 0.02 × 1000 = +20 USDT;
  • the price fell to 49,000 (−2 %) — you close it, loss −20 USDT.

A short earns on a fall

A short (a “short position”) — you sell a contract first and buy it back later. If you buy back lower, the difference is your profit. You need no coins for this.

Example. BTC costs 50,000 USDT. You open a short of 1000 USDT — you sell 0.02 BTC. No fees:

  • the price fell to 49,000 — you buy back lower, profit +20 USDT;
  • the price rose to 51,000 — you buy back higher, loss −20 USDT.

A short's loss grows while the price grows. And the price can grow without limit.

How the strategy uses it

On futures the strategy works by the same grid as on spot: the entry, the averagings, one TP for the whole volume. You choose the side in the strategy form, the “Mode” field under “More settings”:

  • long — the strategy buys, averages lower, the TP sells above the average;
  • short — the strategy sells, averages higher, the TP buys back below the average.

A short strategy example. No fees, TP 1 %. Entry: sold for 200 USDT at 100. The price rose to 103 — the strategy sold for another 200 USDT. The average sale price is ≈101.5. The TP is ≈100.5 — 1 % below the average. The price came down to 100.5 — the strategy bought everything back, profit ≈4 USDT.

The strategy needs the Hedge Mode account setting. In it the long and the short of one pair are two separate positions, they do not cancel each other. So a long strategy and a short strategy of one pair can work at the same time. Without Hedge Mode the strategy does not trade: it waits and says what to switch on. On Bybit it switches the mode on itself if nothing is open on the account.

On futures the budget is called “Position size” — the size of the position in USDT. The profit is in USDT only. On Binance COIN-M (counted in BTC) there is only the long for now.

In detail — I want to trade futures and USD-M futures.

Before you start

Futures are more dangerous than spot. A futures connection can be added only after the quiz of lesson 14 “Leverage, margin and liquidation”. Start in a test environment: I want to try without money.

Check yourself

1. How does a perpetual future differ from buying a coin on spot?

  1. a) A future must be closed before the end of the month
  2. b) You trade the coin's price and do not get the coin itself
  3. c) On futures you can earn only on a rising price
  4. d) It is the same thing, only the name differs
Answer

Right: b) You trade the coin's price and do not get the coin itself

A future is a contract on the price. The coin is not yours, and a perpetual contract has no end date.

2. You opened a short of 0.02 BTC at 50,000. The price rose to 51,000. What is the result without fees?

  1. a) +20 USDT
  2. b) −20 USDT
  3. c) 0: a short does not depend on a rise
  4. d) +1000 USDT
Answer

Right: b) −20 USDT

A short earns on a fall. Buying back at 51,000 costs more than you sold for: 0.02 × 1000 = −20 USDT.

3. Where does a short strategy place the averagings and the TP?

  1. a) Averagings below the entry, the TP above the average
  2. b) Averagings above the entry, the TP below the average
  3. c) Both the averagings and the TP above the entry
Answer

Right: b) Averagings above the entry, the TP below the average

A short strategy sells. If the price rises, it sells more — higher. The TP buys everything back below the average sale price.

4. Why does the strategy need Hedge Mode on futures?

  1. a) It protects the position from liquidation
  2. b) It allows leverage above 10
  3. c) In it the long and the short of one pair are separate positions, and the strategies do not get in each other's way
  4. d) Without it the exchange pays no funding
Answer

Right: c) In it the long and the short of one pair are separate positions, and the strategies do not get in each other's way

In Hedge Mode a long strategy and a short strategy of one pair each keep their own position. The mode does not protect from liquidation.

Sources