Struct binance::market::Market
[−]
[src]
pub struct Market { pub client: Client, pub recv_window: u64, }
Fields
client: Client
recv_window: u64
Methods
impl Market
[src]
pub fn get_depth<S>(&self, symbol: S) -> Result<OrderBook> where
S: Into<String>,
[src]
S: Into<String>,
pub fn get_all_prices(&self) -> Result<Prices>
[src]
pub fn get_price<S>(&self, symbol: S) -> Result<f64> where
S: Into<String>,
[src]
S: Into<String>,
pub fn get_all_book_tickers(&self) -> Result<BookTickers>
[src]
pub fn get_book_ticker<S>(&self, symbol: S) -> Result<Tickers> where
S: Into<String>,
[src]
S: Into<String>,
pub fn get_24h_price_stats<S>(&self, symbol: S) -> Result<PriceStats> where
S: Into<String>,
[src]
S: Into<String>,
pub fn get_klines<S1, S2>(
&self,
symbol: S1,
interval: S2,
limit: i32
) -> Result<KlineSummaries> where
S1: Into<String>,
S2: Into<String>,
[src]
&self,
symbol: S1,
interval: S2,
limit: i32
) -> Result<KlineSummaries> where
S1: Into<String>,
S2: Into<String>,