Releases: tigerfintech/openapi-rust-sdk
Releases · tigerfintech/openapi-rust-sdk
Release list
v0.5.0
Breaking Changes
QuoteClient/TradeClient构造方式变更:新增from_config(config)构造器,不再需要手动创建HttpClient;lifetime<'a>已移除,HttpClient改为 owned 所有权。call_*系列方法改为pub:call_into、call_into_versioned、call_into_items、call_into_list_or_object、call_optional、call_optional_versioned现在均为公开方法。- 行情接口多 symbol 支持:
get_kline(symbol: &str, ...)→get_kline(symbols: &[&str], ...)get_option_expiration(symbol: &str)→get_option_expiration(symbols: &[&str])get_option_chain(symbol: &str, expiry: &str)→get_option_chain(items: &[(&str, &str)])get_option_kline(identifier: &str, period: &str)→get_option_kline(identifiers: &[&str], period: &str)BarsByPageRequest.symbol: Option<String>→symbols: Option<Vec<String>>