Overview

Namespaces

  • Sotr
    • Crypto
      • Bitstamp
      • Btce

Classes

  • BtceApi
  • BtceCurrencyPairResolver
  • BtceRequestSigner
  • Overview
  • Namespace
  • Class

Class BtceApi

Sotr\Crypto\AbstractApi implements Sotr\Crypto\ExchangeApiInterface
Extended by Sotr\Crypto\Btce\BtceApi
Namespace: Sotr\Crypto\Btce
Located at Btce/BtceApi.php
Methods summary
public
# __construct( $key = null, $secret = null )

Overrides

Sotr\Crypto\AbstractApi::__construct()
public string
# getPublicBaseUri( )

Returns the base URI of this exchange's public API.

Returns the base URI of this exchange's public API.

Returns

string
public string
# getTradingBaseUri( )

Returns the base URI of this exchange's private and/or trading API.

Returns the base URI of this exchange's private and/or trading API.

Returns

string
public Sotr\Crypto\Ticker
# getTicker( Sotr\Crypto\CurrencyPair $pair = null )

Gets the latest ticker for the given currency pair.

Gets the latest ticker for the given currency pair.

Parameters

$pair

Returns

Sotr\Crypto\Ticker
public Sotr\Crypto\AccountBalance
# getBalance( )

Gets the user account's balance.

Gets the user account's balance.

Returns

Sotr\Crypto\AccountBalance
Methods inherited from Sotr\Crypto\AbstractApi
setClient(), setCurrencyPairResolver()
Properties inherited from Sotr\Crypto\AbstractApi
$client, $key, $resolver, $secret
API documentation generated by ApiGen