Module portfolio
Expand description
Account / portfolio mapping.
Functions§
- map_
account GetAccountanswer -> portfolio: one balance per currency ofcashand one position per holding. Quantity is signed: a short position is negative.average_priceisNonewhen Finam does not send it (futures positions).- map_
trade AccountTrade-> execution.cidis resolved by the caller (comment / order index).