1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use super::super::utils::http_get; use std::collections::HashMap; const BASE_URL: &'static str = "https://api.hbdm.com"; /// Huobi Future market. /// /// * REST API doc: <https://huobiapi.github.io/docs/dm/v1/en/> /// * Trading at: <https://futures.huobi.com/en-us/contract/exchange/> pub struct HuobiFutureRestClient { _api_key: Option<String>, _api_secret: Option<String>, } impl_contract!(HuobiFutureRestClient);