sn8 / wexnz-api
dev-master
2018-06-10 08:52 UTC
This package is not auto-updated.
Last update: 2024-09-25 11:38:56 UTC
README
WEX.nz API 类
允许使用WEX.nz的私有和公共API。
内置支持:公共API:货币对费用 货币对指标 货币对交易 货币对深度
Private API:
Trade (Buy/Sell) Orders
Checking on Past Orders
API Query Method
- Auto-recovery from bad noonces
- Allows any method with any parameters to be called on btc-e
Example Usage provided in Example.php
How to integrate:
use sn8\WEXnzAPI;
$api = new WEXnzAPI({APIKEY},{APISECRET}[,Optional:{START_NOONCE}]);
Private API Quick Example:
$api->makeOrder($amount, $pair, $direction, $price);
Public API Quick Example:
$api->getPairDepth('btc_usd');