Skip to content

Commit

Permalink
cryptopia: new default min_btc_trade and withdraw_fee_btc
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Dec 5, 2017
1 parent 94c8db3 commit 80c53c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/yaamp/core/trading/cryptopia_trading.php
Original file line number Diff line number Diff line change
Expand Up @@ -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%

Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit 80c53c8

Please sign in to comment.