use crate::client::AkShareClient;
use crate::error::{Error, Result};
use crate::types::FundPositionPoint;
impl AkShareClient {
pub async fn fund_position_lg(&self, symbol: &str) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(format!(
"Legu fund position data for {symbol} requires API authentication"
)))
}
pub async fn fund_position_hist_lg(&self, symbol: &str) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(format!(
"Legu fund position history for {symbol} requires API authentication"
)))
}
pub async fn fund_position_est_lg(&self) -> Result<Vec<serde_json::Value>> {
Err(Error::decode(
"Legu fund position estimate requires API authentication",
))
}
pub async fn fund_stock_position_lg(&self) -> Result<Vec<FundPositionPoint>> {
Err(Error::decode(
"Legu fund stock position requires API authentication and cookie",
))
}
pub async fn fund_balance_position_lg(&self) -> Result<Vec<FundPositionPoint>> {
Err(Error::decode(
"Legu fund balance position requires API authentication and cookie",
))
}
pub async fn fund_linghuo_position_lg(&self) -> Result<Vec<FundPositionPoint>> {
Err(Error::decode(
"Legu fund linghuo position requires API authentication and cookie",
))
}
}