PositionReport

class roq.fix.codec.PositionReport

This message is used to report position updates.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: roq.fix.codec.PositionReport, arg0: roq::fix::codec::PositionReport) -> None

  2. __init__(self: roq.fix.codec.PositionReport, pos_maint_rpt_id: str, pos_req_id: str = ‘’, pos_req_type: roq.fix.PosReqType = <PosReqType.UNDEFINED: 0>, subscription_request_type: roq.fix.SubscriptionRequestType = <SubscriptionRequestType.UNDEFINED: 0>, total_num_pos_reports: int = 0, unsolicited_indicator: bool = False, pos_req_result: roq.fix.PosReqResult, clearing_business_date: roq.YMD, no_party_ids: list[roq.fix.codec.Party] = [], account: str, account_type: roq.fix.AccountType, symbol: str, security_exchange: str = ‘’, currency: str = ‘’, settl_price: roq.Decimal, settl_price_type: roq.fix.SettlPriceType, prior_settl_price: roq.Decimal, no_positions: list[roq.fix.codec.PositionQty] = [], no_pos_amt: list[roq.fix.codec.PositionAmountData] = [], text: str = ‘’) -> None

property account

Account <1> (required)

property account_type

AccountType <581> (required)

property clearing_business_date

ClearingBusinessDate <715> (required)

property currency

Currency <15>

property no_party_ids

NoPartyIDS <453>

property no_pos_amt

NoPosAmt <753> required for fix 4.4 but optional for fix 5…

property no_positions

NoPositions <702> required for fix 4.4 but optional for fix 5…

property pos_maint_rpt_id

PosMaintRptID <721> (required)

property pos_req_id

PosReqID <710>

property pos_req_result

PosReqResult <728> (required)

property pos_req_type

PosReqType <724>

property prior_settl_price

PriorSettlPrice <734> (required)

property security_exchange

SecurityExchange <207>

property settl_price

SettlPrice <730> (required)

property settl_price_type

SettlPriceType <731> (required)

property subscription_request_type

SubscriptionRequestType <263>

property symbol

Symbol <55> (required)

property text

Text <58>

property total_num_pos_reports

TotalNumPosReports <727>

property unsolicited_indicator

UnsolicitedIndicator <325>