use crate::client::AkShareClient;
use crate::error::Result;
use crate::types::MacroDataPoint;
use super::shared::fetch_em_industry_index;
impl AkShareClient {
pub async fn macro_global_sox_index(&self) -> Result<Vec<MacroDataPoint>> {
fetch_em_industry_index(self, "EMI00055562", "Global SOX Index").await
}
pub async fn macro_shipping_bci(&self) -> Result<Vec<MacroDataPoint>> {
fetch_em_industry_index(self, "EMI00107666", "Shipping BCI").await
}
pub async fn macro_shipping_bdi(&self) -> Result<Vec<MacroDataPoint>> {
fetch_em_industry_index(self, "EMI00107664", "Shipping BDI").await
}
pub async fn macro_shipping_bpi(&self) -> Result<Vec<MacroDataPoint>> {
fetch_em_industry_index(self, "EMI00107665", "Shipping BPI").await
}
pub async fn macro_shipping_bcti(&self) -> Result<Vec<MacroDataPoint>> {
fetch_em_industry_index(self, "EMI00107669", "Shipping BCTI").await
}
}