-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.php.template
More file actions
30 lines (25 loc) · 1.03 KB
/
config.php.template
File metadata and controls
30 lines (25 loc) · 1.03 KB
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
<?php
$config = array(
'public_key' => 'your API public key',
'private_key' => 'your API private_key',
'profit_percent' => 1.02, // sell price
'stop_lost_percent' => 0.98, // buy price
'order_proportion' => 0.7,
'sell_proportion' => 0.7,
'round' => 0, // if the order amount should be rounded
// for doge, should set to 1, otherwise 0
// import previous status, only one of these variable can be set
// We don't need below 2 variables now if there is a log file, bot will read the final variable from log
// But you still can set these 2 variables to overwrite the values read from log file.
//'init_buy_count' => 2,
//'init_sell_count' => 1,
// log file name, set to null string to stop loggin
'log_filename' => 'log/bot.log',
// NOTE. set what coin you want to trade, should not leave them empty.
'base_coin' => '', // ex. BTC
'target_coin' => '', // ex. DRK
// bot will buy back some target coin when the amount of target coin less than min_target_coin
// 0 means don't buy back
.min_target_coin => 0,
);
?>