Skip to content

Commit

Permalink
add c2c
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jun 29, 2020
1 parent 7d9bfda commit 1279e06
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions tests/spot/transfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


try {
$result=$huobi->futures()->postTransfer([
$result=$huobi->account()->postFuturesTransfer([
//currency string true NA 币种, e.g. btc
//amount decimal true NA 划转数量
//type string true NA 划转类型 从合约账户到现货账户:“futures-to-pro”,从现货账户到合约账户: “pro-to-futures”
Expand All @@ -50,16 +50,5 @@
}


try {
$result=$huobi->fee()->getFeeRate([
//symbols string true NA 交易对,可多填,逗号分隔 如"btcusdt,ethusdt"
'symbols'=>'btcusdt,ethusdt'
]);
print_r($result);
}catch (\Exception $e){
print_r(json_decode($e->getMessage(),true));
}




0 comments on commit 1279e06

Please sign in to comment.