Alphafamilia Algo Help

The exchange and your account

Reading time: 5 minutes.

First: What cryptocurrency is.

The strategy trades on an exchange with your money. This lesson is about what an exchange is and why it checks your identity. Also — which accounts there are inside an exchange and which of them the strategy sees.

What an exchange is

An exchange is a marketplace where people buy and sell coins to each other. The exchange matches buyers with sellers and charges a fee for it. The strategy works with the Binance, BingX, Bybit and Coinbase exchanges, and for shares with the broker T-Invest.

While the money is on an exchange, the exchange holds it (lesson 1).

Identity verification (KYC)

KYC (Know Your Customer) is identity verification. The exchange asks for a document: a passport or a driving licence. Sometimes also a selfie and a proof of address. Verification takes from a few minutes to a few days.

Why: the law requires exchanges to prevent money laundering and fraud. Without verification an exchange usually limits the account: deposits, purchases or withdrawals.

The strategies need an account with verification passed (I want to trade crypto with a strategy). Send documents only on the exchange's official site or app.

Two-factor protection (2FA)

2FA is a second lock. Besides the password the exchange asks for a one-time code. The code comes from an authenticator app on your phone or from a hardware key. Whoever stole the password cannot log in or withdraw money without the code.

Turn 2FA on right after signing up. The exchange also confirms creating a key for the strategy with 2FA codes. How to set it up and what to avoid — Security.

Accounts inside an exchange

Inside one exchange account there are several accounts, also called wallets. Money in one account cannot be spent in another until you move it.

  • Spot account — for ordinary buying and selling of coins with your own money.
  • Futures account — for futures: trading contracts against collateral, with leverage (Futures: long and short).
  • Funding account (Fund, Funding) — money arrives here and is withdrawn from here. You usually cannot trade from it.

You move money between accounts yourself, with the “Transfer” button. This is not a withdrawal: the money stays on the exchange.

Exchange Where a deposit arrives Which account the strategy trades from Where the transfer is
Binance The spot account or Funding — you choose when depositing Spot — the spot account. USD-M futures — the USDⓈ-M account. COIN-M — its own separate account Assets → Overview → Transfer
BingX The Fund account Spot — the spot account, futures — the perpetual futures account “Assets” → “Transfer”
Bybit The Funding account (auto-transfer can be turned on) The Unified Trading Account: spot and futures on the same money Funding Account → Transfer

On Bybit the spot and the futures of one account share the same money. Spot coins serve as collateral for futures (Bybit: the shared wallet). Coinbase has portfolios instead of accounts (Coinbase: a portfolio for the strategies).

Example. You topped up BingX with 300 USDT. The money arrived in the Fund account. You create a spot strategy with a budget of 200 USDT. Above the form's buttons a warning appears: “Free on the account 0.00 USDT, the budget 200.00 USDT: even the entry is not placed until the money is there.” Move 200 USDT or more from Fund to the spot account, and the strategy will see it. More — BingX: moving money between accounts.

How the strategy uses this

The strategy connects to the exchange with an API key (The API key). A key is issued for one account or sub-account. A sub-account is a separate account inside yours, with its own money and keys.

The strategy sees only the money and orders of the account its key was issued for. And only the account of its market: a spot strategy the spot account, a futures strategy the futures account. The strategy does not see or touch money in the funding account or on other sub-accounts. The strategy does not move money between accounts — you do.

A separate sub-account for the strategies is handy. Then the strategies see only its money, and your manual trading does not get in their way (BingX: account and sub-account).

Check yourself

1. Why does an exchange verify your identity (KYC)?

  1. a) To insure your money against a fall in price
  2. b) The law against money laundering and fraud requires it; without it the account is usually limited
  3. c) So that the strategy can trade faster
Answer

Right: b) The law against money laundering and fraud requires it; without it the account is usually limited

KYC is a legal requirement. Without verification an exchange usually limits deposits, purchases or withdrawals. It does not protect against a fall in price.

2. You topped up BingX, but the strategy's form shows zero free on the account. Why?

  1. a) A deposit becomes visible to the strategy only after a day
  2. b) The exchange took the whole sum as a fee
  3. c) The deposit arrived in the Fund account, and the strategy sees only the spot and futures accounts
Answer

Right: c) The deposit arrived in the Fund account, and the strategy sees only the spot and futures accounts

On BingX money arrives in the Fund account. Move it to the spot account: “Assets” → “Transfer”.

3. What does two-factor protection (2FA) give?

  1. a) Without the one-time code you cannot log in or do an important action, even knowing the password
  2. b) It lets you skip identity verification
  3. c) It protects the money against a fall in price
Answer

Right: a) Without the one-time code you cannot log in or do an important action, even knowing the password

2FA is a second lock besides the password. A stolen password is not enough without the code from the app or the key.

4. The strategy's key was issued on a sub-account for strategies. Which money does a spot strategy see?

  1. a) All the money on all sub-accounts
  2. b) Only the money in the funding account (Fund, Funding)
  3. c) Only the spot account of this sub-account
Answer

Right: c) Only the spot account of this sub-account

The strategy sees only its key's account and only the account of its market. It does not see or touch the rest of the money.

Sources