Struct bitbank::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
Methods
impl Client
[src]
fn new(key: &'static str, secret: &'static str) -> Client
fn get_ticker(&self, pair: &str) -> Result<HashMap<String, Value>, Error>
fn get_depth(&self, pair: &str) -> Result<HashMap<String, Value>, Error>
fn get_transactions(&self, pair: &str) -> Result<HashMap<String, Value>, Error>
fn get_transactions_by_date(
&self,
pair: &str,
date: &str
) -> Result<HashMap<String, Value>, Error>
&self,
pair: &str,
date: &str
) -> Result<HashMap<String, Value>, Error>
fn get_candlestick(
&self,
pair: &str,
candle_type: &str,
date: &str
) -> Result<HashMap<String, Value>, Error>
&self,
pair: &str,
candle_type: &str,
date: &str
) -> Result<HashMap<String, Value>, Error>
fn get_assets(&self) -> Result<HashMap<String, Value>, Error>
fn get_order(
&self,
pair: &str,
order_id: &str
) -> Result<HashMap<String, Value>, Error>
&self,
pair: &str,
order_id: &str
) -> Result<HashMap<String, Value>, Error>
fn order(
&self,
pair: &str,
amount: &str,
price: &str,
order_side: &str,
order_type: &str
) -> Result<HashMap<String, Value>, Error>
&self,
pair: &str,
amount: &str,
price: &str,
order_side: &str,
order_type: &str
) -> Result<HashMap<String, Value>, Error>
fn cancel_order(
&self,
pair: &str,
order_id: &str
) -> Result<HashMap<String, Value>, Error>
&self,
pair: &str,
order_id: &str
) -> Result<HashMap<String, Value>, Error>
fn get_active_orders(
&self,
pair: &str,
count: &str,
from_id: &str,
end_id: &str,
since: &str,
end: &str
) -> Result<HashMap<String, Value>, Error>
&self,
pair: &str,
count: &str,
from_id: &str,
end_id: &str,
since: &str,
end: &str
) -> Result<HashMap<String, Value>, Error>
fn get_withdrawal_account(
&self,
asset: &str
) -> Result<HashMap<String, Value>, Error>
&self,
asset: &str
) -> Result<HashMap<String, Value>, Error>
fn request_withdrawal(
&self,
asset: &str
) -> Result<HashMap<String, Value>, Error>
&self,
asset: &str
) -> Result<HashMap<String, Value>, Error>