C# Class MtGoxTrader.MtGoxAPIClient.MtGoxAPIV0

This class implements MtGoxAPIV0 of the MtGox API as specified at https://en.bitcoin.it/wiki/MtGox/API#Methods_API_version_0
ファイルを表示 Open project: iamapi/MtgoxTrader Class Usage Examples

Public Properties

Property Type Description
apiKey string
apiSecret string

Public Methods

Method Description
MtGoxAPIV0 ( ) : System
buyBTC ( double amount, MtGoxCurrencySymbol currency, double price = 0.0 ) : List

0/buyBTC.php

cancelOrder ( string oid, MtGoxOrderType type ) : List

0/cancelOrder.php

getDepth ( MtGoxCurrencySymbol currency ) : MtGoxDepthInfo

0/data/getDepth.php

getFunds ( ) : double

0/getFunds.php

getOrders ( MtGoxOrderType type, MtGoxOrderStatus status, int oid ) : List

0/getOrders.php

getTrades ( string sinceTradeID ) : List

0/data/getTrades.php

history_CUR ( MtGoxCurrencySymbol currency ) : string

0/history_[CUR].csv

info ( ) : MtGoxHistoryItem

0/info.php

sellBTC ( double amount, MtGoxCurrencySymbol currency, double price = 0.0 ) : List

0/sellBTC.php

ticker ( ) : MtGoxTickerItem

0/ticker

Method Details

MtGoxAPIV0() public method

public MtGoxAPIV0 ( ) : System
return System

buyBTC() public method

0/buyBTC.php
public buyBTC ( double amount, MtGoxCurrencySymbol currency, double price = 0.0 ) : List
amount double
currency MtGoxCurrencySymbol
price double
return List

cancelOrder() public method

0/cancelOrder.php
public cancelOrder ( string oid, MtGoxOrderType type ) : List
oid string
type MtGoxOrderType
return List

getDepth() public method

0/data/getDepth.php
public getDepth ( MtGoxCurrencySymbol currency ) : MtGoxDepthInfo
currency MtGoxCurrencySymbol
return MtGoxTrader.Model.MtGoxDepthInfo

getFunds() public method

0/getFunds.php
public getFunds ( ) : double
return double

getOrders() public method

0/getOrders.php
public getOrders ( MtGoxOrderType type, MtGoxOrderStatus status, int oid ) : List
type MtGoxOrderType
status MtGoxOrderStatus
oid int
return List

getTrades() public method

0/data/getTrades.php
public getTrades ( string sinceTradeID ) : List
sinceTradeID string
return List

history_CUR() public method

0/history_[CUR].csv
public history_CUR ( MtGoxCurrencySymbol currency ) : string
currency MtGoxCurrencySymbol
return string

info() public method

0/info.php
public info ( ) : MtGoxHistoryItem
return MtGoxTrader.Model.MtGoxHistoryItem

sellBTC() public method

0/sellBTC.php
public sellBTC ( double amount, MtGoxCurrencySymbol currency, double price = 0.0 ) : List
amount double
currency MtGoxCurrencySymbol
price double
return List

ticker() public method

0/ticker
public ticker ( ) : MtGoxTickerItem
return MtGoxTrader.Model.MtGoxTickerItem

Property Details

apiKey public_oe property

public string apiKey
return string

apiSecret public_oe property

public string apiSecret
return string