-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefaults.yaml
More file actions
54 lines (52 loc) · 1.61 KB
/
defaults.yaml
File metadata and controls
54 lines (52 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
offchain:
# NOTES:
# For aliases, we should ensure we use common ones. Currently:
# - funding
# - spot
# - trading (like spot, but potentially unified?)
# - cross-margin
# - isolated-margin
# - derivatives
#
# Account type should be have the funding account first (whatever account type gets funds when you deposit).
# This way, it's easier to transfer to subaccount, as it'll be the default for the emitting account. Example:
# ```
# oc exchange --exchange bybit transfer --to offchain2 --amount .1 --symbol USDC
# ```
#
exchanges:
backpack:
no_account_types: true
binance:
# https://developers.binance.com/docs/sub_account/asset-management/Universal-Transfer
account_types:
- type: "SPOT"
aliases: ["spot"]
- type: "MARGIN"
aliases: ["cross-margin"]
- type: "ISOLATED_MARGIN"
aliases: ["isolated-margin"]
- type: "USDT_FUTURE"
- type: "COIN_FUTURE"
binanceus:
# _shrug_
# https://docs.binance.us/#get-sub-account-status-list
no_account_types: true
bybit:
# https://bybit-exchange.github.io/docs/v5/enum#accounttype
account_types:
- type: "FUND"
aliases: ["funding"]
- type: "UNIFIED"
aliases: ["trading"]
- type: "CONTRACT"
aliases: ["derivatives"]
- type: "SPOT"
aliases: ["spot"]
okx:
# https://www.okx.com/docs-v5/en/#funding-account-rest-api-get-account-asset-valuation
account_types:
- type: "6"
aliases: ["funding"]
- type: "18"
aliases: ["trading"]