use crate::error::Result;
domain_handle! {
pub struct Index { symbol, symbol }
}
impl Index {
pub async fn quote(&self) -> Result<crate::models::indices::IndexQuote> {
fetch_via!(
self,
symbol,
INDICES,
fetch_indices_quote,
crate::models::indices::IndexQuote
)
}
}