use std::collections::HashMap;
pub mod endpoints {
pub const PUBLIC: &str = "https://api.binance.com/api/v3";
pub const SAPI: &str = "https://api.binance.com/sapi/v1";
pub const FAPI: &str = "https://fapi.binance.com/fapi/v1";
pub const DAPI: &str = "https://dapi.binance.com/dapi/v1";
pub const EXCHANGE_INFO: &str = "/exchangeInfo";
pub const TICKER_24HR: &str = "/ticker/24hr";
pub const TICKER_PRICE: &str = "/ticker/price";
pub const DEPTH: &str = "/depth";
pub const TRADES: &str = "/trades";
pub const AGG_TRADES: &str = "/aggTrades";
pub const KLINES: &str = "/klines";
pub const TICKER_ROLLING: &str = "/ticker";
pub const HISTORICAL_TRADES: &str = "/historicalTrades";
pub const SYSTEM_STATUS: &str = "/system/status";
pub const TIME: &str = "/time";
pub const ORDER: &str = "/order";
pub const OPEN_ORDERS: &str = "/openOrders";
pub const ALL_ORDERS: &str = "/allOrders";
}
pub mod status {
pub const NEW: &str = "NEW";
pub const PARTIALLY_FILLED: &str = "PARTIALLY_FILLED";
pub const FILLED: &str = "FILLED";
pub const CANCELED: &str = "CANCELED";
pub const PENDING_CANCEL: &str = "PENDING_CANCEL";
pub const REJECTED: &str = "REJECTED";
pub const EXPIRED: &str = "EXPIRED";
}
pub fn timeframes() -> HashMap<String, String> {
let mut timeframes = HashMap::new();
timeframes.insert("1s".to_string(), "1s".to_string());
timeframes.insert("1m".to_string(), "1m".to_string());
timeframes.insert("3m".to_string(), "3m".to_string());
timeframes.insert("5m".to_string(), "5m".to_string());
timeframes.insert("15m".to_string(), "15m".to_string());
timeframes.insert("30m".to_string(), "30m".to_string());
timeframes.insert("1h".to_string(), "1h".to_string());
timeframes.insert("2h".to_string(), "2h".to_string());
timeframes.insert("4h".to_string(), "4h".to_string());
timeframes.insert("6h".to_string(), "6h".to_string());
timeframes.insert("8h".to_string(), "8h".to_string());
timeframes.insert("12h".to_string(), "12h".to_string());
timeframes.insert("1d".to_string(), "1d".to_string());
timeframes.insert("3d".to_string(), "3d".to_string());
timeframes.insert("1w".to_string(), "1w".to_string());
timeframes.insert("1M".to_string(), "1M".to_string());
timeframes
}