Skip to content

Commit 565193e

Browse files
committed
config: add multi-session example
1 parent f38a89c commit 565193e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

config/multi-session.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
sessions:
3+
binance_margin_linkusdt:
4+
exchange: binance
5+
margin: true
6+
isolatedMargin: true
7+
isolatedMarginSymbol: LINKUSDT
8+
9+
binance_cross_margin:
10+
exchange: binance
11+
margin: true
12+
#
13+
# The following API key/secret will be used:
14+
# BINANCE2_API_KEY=
15+
# BINANCE2_API_SECRET=
16+
envVarPrefix: binance2
17+
18+
exchangeStrategies:
19+
20+
- on: binance_margin_linkusdt
21+
support:
22+
symbol: LINKUSDT
23+
interval: 1m
24+
minVolume: 2_000
25+
marginOrderSideEffect: borrow
26+
27+
scaleQuantity:
28+
byVolume:
29+
exp:
30+
domain: [ 1_000, 200_000 ]
31+
range: [ 3.0, 5.0 ]
32+
33+
maxBaseAssetBalance: 1000.0
34+
minQuoteAssetBalance: 2000.0
35+
36+
targets:
37+
- profitPercentage: 0.02
38+
quantityPercentage: 0.5
39+
marginOrderSideEffect: repay
40+

0 commit comments

Comments
 (0)