forked from gazbert/bxbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
markets.xml
60 lines (48 loc) · 3.9 KB
/
markets.xml
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
55
56
57
58
59
60
<?xml version="1.0"?>
<!--
Market config.
All elements are mandatory unless stated otherwise.
Multiple market elements can be listed.
-->
<markets>
<market>
<!--
The <id> value is the market id as defined on the exchange, e.g. 'btcusd'.
-->
<id>btcusd</id>
<!--
A friendly name for the market. The is used in the logs and by BX-bot UI to display the market's name.
Value must be an alphanumeric string. Spaces are allowed. E.g. BTC/USD
-->
<name>BTC/USD</name>
<!--
The <base-currency> value is the currency short code for the base currency in the currency pair. When you buy or sell a
currency pair, you are performing that action on the base currency. The base currency is the commodity you are buying or
selling. E.g. in a BTC/USD market, the first currency (BTC) is the base currency and the second currency (USD) is the
counter currency.
-->
<base-currency>BTC</base-currency>
<!--
The <counter-currency> value is the currency short code for the counter currency in the currency pair. This is also known
as the quote currency.
-->
<counter-currency>USD</counter-currency>
<!--
The <enabled> value allows you toggle trading on the market - config changes are only applied on startup.
-->
<enabled>true</enabled>
<!--
The <trading-strategy-id> value must match a strategy <id> defined in your strategies.xml config. Currently, BX-bot only
supports 1 <strategy> per <market>.
-->
<trading-strategy-id>scalping-strategy</trading-strategy-id>
</market>
<market>
<id>ltcusd</id>
<name>LTC/BTC</name>
<base-currency>LTC</base-currency>
<counter-currency>BTC</counter-currency>
<enabled>false</enabled>
<trading-strategy-id>scalping-strategy</trading-strategy-id>
</market>
</markets>