-
Notifications
You must be signed in to change notification settings - Fork 0
/
cryptobob.yml
86 lines (72 loc) · 2.13 KB
/
cryptobob.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
#
# SECURITY
#
# The API key & private key are required for trading and can be retrieved from
# the Kraken account settings (see «Settings», «API», «Create API Key»).
#
# In case OTP / 2FA is activated for the API key (not the same as the account,
# resp. login OTP / 2FA method), the OTP URI must be defined as well. To get
# a current one-time code, configure the URI, then run `cryptobob otp`.
#
api_key: «your API key»
private_key: «your private key»
# otp_uri: «your OTP URI (optional)»
#
# TRADE PLANS
#
# Trade plans are the scheduled trading orders CryptoBob should execute on
# your behalf.
#
# To find the right trading pair, login to the Kraken dashboard and find the
# desired market. If you found it, run `cryptobob assets` to find the matching
# asset ID's.
#
# For the interval, you can use minutes, hours, days or weeks. Please note,
# that if the global runner interval is higher than the trade plan interval,
# the trade plans will not be executed timely.
#
trade_plans:
- pair: XBTCHF
amount: 10
interval:
days: 1
#
# WITHDRAWALS
#
# Automated withdrawals of certain assets which CryptoBob should execute on
# your behalf.
#
# To withdraw assets via API, the address and key (aka description) must be
# configured via in the Kraken dashboard first (via «Withdraw» modal).
#
# By default, CryptoBob always withdraws the full asset balance. However, if an
# `amount` is defined, CryptoBob will not exceed that amount during the
# withdrawal.
#
# To find the right asset ID's, run `cryptobob assets`.
#
withdrawals:
- asset: XXBT
key: «your address key»
address: «your address»
threshold: 0.1
# amount: 0.075
#
# TIMING
#
# The interval (in minutes) at which the runner talks with Kraken.
interval: 5
# The interval (in minutes) at which the runner retries a failed order.
retry_interval: 60
# The timeout (in minutes) for which the runner retries a failed order at max.
retry_timeout: 720
#
# TEST MODE
#
# If the test mode is enabled, market orders will not actually be submitted,
# but only validated. Withdrawals are also not executed.
#
# This is good for testing / debugging.
#
test: False