pub fn buy( config: &Config, portfolio_name: &str, positions: &[(String, Decimal)], cash_assets: Decimal) -> GenericResult<TelemetryRecordBuilder>