derivitec.core.client.DerivitecClient.get_transaction_table

DerivitecClient.get_transaction_table(portfolio_name, start_date, end_date, include_zero_quantities, counterparties=None, portfolio_type=None)[source]

Get portfolio table for the specified portfolio.

Parameters:
  • portfolio_name (str) – The portfolio name

  • portfolio_type (str) – The portfolio type i.e Derivitec or other external portfolio management system name - required if you have a matching portfolio name in more than one provider.

  • start_date (datetime) – Include all transactions from this date

  • end_date (datetime) – Include all transactions up to this date

  • include_zero_quantities (bool) – If false all transactions that sum to zero quantity are excluded

  • counterparties (list of strs) – If set only transactions for these counterparties are included

Code