forked from gazbert/bxbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathengine.xml
47 lines (39 loc) · 4.28 KB
/
engine.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
<?xml version="1.0"?>
<!--
Trading Engine config.
All elements are mandatory unless stated otherwise.
Only 1 engine element can be specified.
-->
<engine>
<!--
A unique identifier for the bot. The is used by BX-bot UI Server to identify the bot. Value must be an alphanumeric
string. Underscores and dashes are also permitted. E.g. my-bot_1
-->
<bot-id>my-bitstamp-bot_1</bot-id>
<!--
A friendly name for the bot. The is used by BX-bot UI to display the bot's name. Value must be an alphanumeric
string. Spaces are allowed. E.g. My Super Bot
-->
<bot-name>Bitstamp Bot</bot-name>
<!--
The <emergency-stop-currency> value must be set to prevent catastrophic loss on the exchange.
This is normally the currency you intend to hold a long position in. It should be set to the currency short code for the
wallet, e.g. BTC, LTC, USD. This value can be case sensitive for some exchanges - check the Exchange Adapter documentation.
-->
<emergency-stop-currency>BTC</emergency-stop-currency>
<!--
The <emergency-stop-balance> value must be set to prevent a catastrophic loss on the trading.
The Trading Engine checks this value at the start of every trade cycle: if your <emergency-stop-currency> balance on
the trading drops below this value, the Trading Engine will stop trading on all markets and shutdown.
Manual intervention is then required to restart the bot. You can set this value to 0 to override this check.
-->
<emergency-stop-balance>1.0</emergency-stop-balance>
<!--
The <trade-cycle-interval> value is the interval in seconds that the Trading Engine will wait/sleep before executing
the next trade cycle. The minimum value is 1 second. Some exchanges allow you to hit them harder than others. However,
while their API documentation might say one thing, the reality is you might get socket timeouts and 5XX responses if you
hit it too hard - you cannot perform low latency trading over the public internet ;-)
You'll need to experiment with the trade cycle interval for different exchanges.
-->
<trade-cycle-interval>20</trade-cycle-interval>
</engine>