Function investments::portfolio::buy[][src]

pub fn buy(
    config: &Config,
    portfolio_name: &str,
    shares: Decimal,
    symbol: &str,
    cash_assets: Decimal
) -> GenericResult<TelemetryRecordBuilder>