cryptopia: new default min_btc_trade and withdraw_fee_btc

This commit is contained in:
Tanguy Pruvot 2017-12-05 15:37:36 +01:00
parent 94c8db3664
commit 80c53c8a6e

View file

@ -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))