NewOrderSingle

class roq.fix.codec.NewOrderSingle

This message is used to send an order request.

__init__(*args, **kwargs)

Overloaded function.

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

  2. __init__(self: roq.fix.codec.NewOrderSingle, cl_ord_id: str, secondary_cl_ord_id: str = ‘’, no_party_ids: list[roq.fix.codec.Party] = [], account: str = ‘’, handl_inst: roq.fix.HandlInst = <HandlInst.UNDEFINED: 0>, exec_inst: str = ‘’, no_trading_sessions: list[roq::fix::codec::TradingSession] = [], symbol: str, security_exchange: str, side: roq.fix.Side, transact_time: datetime.timedelta, qty_type: roq.fix.QtyType = <QtyType.UNDEFINED: 0>, order_qty: roq.Decimal, ord_type: roq.fix.OrdType, price: roq.Decimal = nan, stop_px: roq.Decimal = nan, time_in_force: roq.fix.TimeInForce = <TimeInForce.UNDEFINED: 0>, text: str = ‘’, position_effect: roq.fix.PositionEffect = <PositionEffect.UNDEFINED: 0>, max_show: roq.Decimal = nan) -> None

property account

Account <1>

property cl_ord_id

ClOrdID <11> (required)

property exec_inst

ExecInst <18>

property handl_inst

HandlInst <21>

property max_show

MaxShow <210>

property no_party_ids

NoPartyIDS <453>

property no_trading_sessions

NoTradingSessions <386>

property ord_type

OrdType <40> (required)

property order_qty

OrderQty <38> (required)

property position_effect

PositionEffect <77>

property price

Price <44>

property qty_type

QtyType <854>

property secondary_cl_ord_id

SecondaryClOrdID <526>

property security_exchange

SecurityExchange <207> (required)

property side

Side <54> (required)

property stop_px

StopPx <99>

property symbol

Symbol <55> (required)

property text

Text <58>

property time_in_force

TimeInForce <59>

property transact_time

TransactTime <60> (required)