mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-27 05:40:32 +00:00
cryptopia: new default min_btc_trade and withdraw_fee_btc
This commit is contained in:
parent
94c8db3664
commit
80c53c8a6e
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ function doCryptopiaTrading($quick=false)
|
|||
$flushall = rand(0, 8) == 0;
|
||||
if($quick) $flushall = false;
|
||||
|
||||
$min_btc_trade = 0.00001000; // minimum allowed by the exchange
|
||||
$min_btc_trade = exchange_get($exchange, 'min_btc_trade', 0.00050000); // minimum allowed by the exchange
|
||||
$sell_ask_pct = 1.05; // sell on ask price + 5%
|
||||
$cancel_ask_pct = 1.20; // cancel order if our price is more than ask price + 20%
|
||||
|
||||
|
@ -245,7 +245,7 @@ function doCryptopiaTrading($quick=false)
|
|||
}
|
||||
|
||||
$withdraw_min = exchange_get($exchange, 'withdraw_min_btc', EXCH_AUTO_WITHDRAW);
|
||||
$withdraw_fee = exchange_get($exchange, 'withdraw_fee_btc', 0.0008);
|
||||
$withdraw_fee = exchange_get($exchange, 'withdraw_fee_btc', 0.002);
|
||||
|
||||
// auto withdraw
|
||||
if(is_object($savebalance))
|
||||
|
|
Loading…
Add table
Reference in a new issue