use chrono::NaiveDate;
use crate::fixed_income::CashFlowType;
pub fn generate_schedule(
maturity: NaiveDate,
settlement: NaiveDate,
period_months: i32,
) -> Vec<NaiveDate> {
vec![maturity] }
#[derive(Debug, Clone)]
pub struct CashFlow {
pub date: NaiveDate,
pub amount: f64,
pub currency: Option<String>, pub flow_type: CashFlowType, }