-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yaml
68 lines (61 loc) · 1.71 KB
/
application.yaml
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
spring:
datasource:
url: jdbc:h2:file:./db/yobit-trading-bot;DB_CLOSE_ON_EXIT=FALSE;AUTO_SERVER=TRUE
driverClassName: org.h2.Driver
jpa:
hibernate:
ddl-auto: validate
properties:
hibernate:
current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
liquibase:
change-log: classpath:/liquibase/db.changelog-master.xml
url: ${spring.datasource.url}
user: sa
password:
drop-first: false
yobit:
publicApiUrl: https://yobit.io/api/3
tradingApiUrl: https://yobit.io/tapi
key: <YOUR_KEY>
secretKey: <YOUR_SECRET_KEY>
fee: 0.002
client:
tradesHistoryLimit: 7
depthLimit: 10
http-client:
readTimeout: 10000
bot:
currencies: #Permanent currencies, another will formed automatically
# - LIZA
# - DOGE
bannedCurrencies:
# - TGS
baseCurrency: RUR
baseCurrencyBalanceRateCanUse: 0.2
maxBaseCurrencyBalanceCanUse: 999.9
frozenBaseCurrencyBalance: 0.0
tickInterval: 2000
refreshCurrenciesListInterval: 1800000
profitRate: 0.0
stopLossRate: 0.0001
diffRate2CancelOrder: 0.0000000001
minBuySum: 100
parallelTradesCount: 3
maxDayCount2Sell: 7
lowestPriceMaxExceedTimes: 1.5
priceAppendix: 0.00000001
diffToCancel: 0.00000250
currencyVolumeThreshold: 500000.0
currencyFilterThreshold: 400.0
messages:
action:
buy: buy
sell: sell
wait: wait
wait_4_buy: waiting for purchase
wait_4_sell: waiting for sale
logging:
level:
ru._x100.yobitbot: DEBUG
pattern.console: '%clr( %d{HH:mm:ss}){cyan} %clr(%m){faint}%n'