use crate::client::AkShareClient;
use crate::error::{Error, Result};
impl AkShareClient {
pub async fn fund_report_cninfo(&self, symbol: &str) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(format!(
"fund report for {symbol} from CNINFO requires HTML/JS parsing"
)))
}
pub async fn fund_report_half_year_cninfo(
&self,
symbol: &str,
) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(format!(
"fund semi-annual report for {symbol} from CNINFO requires HTML/JS parsing"
)))
}
pub async fn fund_report_quarter_cninfo(&self, symbol: &str) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(format!(
"fund quarterly report for {symbol} from CNINFO requires HTML/JS parsing"
)))
}
pub async fn fund_report_stock_cninfo(&self, _date: &str) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(
"fund_report_stock_cninfo requires JS authentication (CNINFO mcode)",
))
}
pub async fn fund_report_industry_allocation_cninfo(
&self,
_date: &str,
) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(
"fund_report_industry_allocation_cninfo requires JS authentication",
))
}
pub async fn fund_report_asset_allocation_cninfo(&self) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(
"fund_report_asset_allocation_cninfo requires JS authentication",
))
}
}