Click or drag to resize

CWormsCrossingTradeReportPlacer Class

Responsible for placing new WORMS crossing trade reports. New instances of CWormsCrossingTradeReportPlacer are retrieved via the IWormsSession.GetCrossingTradeReportPlacer() function. The CWormsCrossingTradeReportPlacer automatically populates parameters that are marked in the documentation as "Not Required" with default values that are legitimate for most orders. Parameters marked as "Required" must be filled in by the user.
Inheritance Hierarchy
SystemObject
  Woti.OrdersCWormsCrossingTradeReportPlacer

Namespace: Woti.Orders
Assembly: Woti (in Woti.dll) Version: 13.4.259.0
Syntax
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("616A4AC5-70EE-486B-A0F6-8A3A355EB81D")]
public class CWormsCrossingTradeReportPlacer : IWormsCrossingTradeReportPlacer, 
	IDisposable

The CWormsCrossingTradeReportPlacer type exposes the following members.

Properties
 NameDescription
Public propertyAccountTypeNot required. Default ACT_Invalid gets translated to the account product's account type.
Public propertyAskNot required. Internal field. Default 0.
Public propertyAskSizeNot required. Internal field. Default 0.
Public propertyBidNot required. Internal field. Default 0.
Public propertyBidSizeNot required. Internal field. Default 0.
Public propertyCapacityTypeNot required. Default CP_A.
Public propertyCheckCurrentMarketIf true, Place will fail if there is no market data for the symbol. Default false.
Public propertyCmtaNot required. Default "" gets translated to the account product's CMTA.
Public propertyCommissionModeNot required. Specifies the type of commission that the CommissionPrice field will be applied as.
Public propertyCommissionPerShareOrFlatFeeObsolete.
Not required. If true, the supplied commission price will be multiplied by the order's quantity to determine the total commission. Default true.
Public propertyCommissionPriceNot required. If this order is billed, the billing system will override its commission settings and use this commission price instead. Default 0.
Public propertyContraAccountTypeNot required. Account type for the contra order. Default ACT_Invalid gets translated to the contra account product's account type.
Public propertyContraCapacityTypeNot required. Capacity type for the contra order. Will be copied from opposing side CapacityType if left as CP_Invalid
Public propertyContraCmtaNot required. CMTA for the contra order. Default "" gets translated to the contra account product's CMTA.
Public propertyContraFdidNot required. FDID for the contra order. Default "" gets translated to the contra account product's FDID.
Public propertyContraGiveUpNot required. GiveUp for the contra order. Default "" gets translated to the contra account product's give-up.
Public propertyContraMpidOptional Mpid value used for TRF reporting the Contra order.
Public propertyContraOccCustomerIdNot required. Default "".
Public propertyContraPortfolioRequired. WORMS Portfolio for the contra order.
Public propertyContraQuantityNot required. Quantity of the contra order. If ContraQuantity is left as the default (-1), then the quantity of the Must Get Done order will also apply to the contra order.
Public propertyContraSideTypeRequired. Side type for the contra order, should be opposite of the specified SideType value.
Public propertyContraTradingAccountNot required. Trading account for the contra order. Default "" gets translated to the contra account product's trading account.
Public propertyCoveredOptionNot required. Default false.
Public propertyCrossingOrderType[Deprecated] See CrossingType
Public propertyCrossingTypeRequired. Specifies the type of crossing order: Customer Match, Facilitation, or Solicitation. When placing a facilitation order, the customer's order is the main order while the broker's order is the contra order. For equity crosses, CrossingType is ignored and forced to Solicitation by the WORMS system.
Public propertyExternalSymbolIdCustomer-specific symbol identifier
Public propertyFdidNot required. Default "" gets translated to the account product's FDID.
Public propertyGiveUpNot required. Default "" gets translated to the account product's give-up.
Public propertyLastPriceNot required. Internal field. Default 0.
Public propertyLiquidityTypeNot required. Helps to define the fee that the exchange charges for putting this order on its books. Each exchange provides its own specifications for what valid values exist for this field. This value is used only by the WORMS billing system to calculate these exchange fees. Default "".
Public propertyMpidOptional Mpid value used for TRF reporting.
Public propertyNoteNot required. Internal field. Populates the Note (Extra info) field. Default "".
Public propertyOccCustomerIdNot required. Default "".
Public propertyOptionalFieldsNot required. Struct that holds optional fields for the order
Public propertyOriginatingOrderIdNot required. Default "".
Public propertyParentStagedContraOrderIdNot required. Default "". Parent staged Order for Order Side.
Public propertyParentStagedOrderIdNot required. Default "". Parent staged Order for Order Side.
Public propertyPortfolioRequired. Specifies a WORMS portfolio name.
Public propertyPriceRequired. Price of both orders. Override contra price using SetPrices.
Public propertyQuantityRequired. Quantity of the Must Get Done order. If ContraQuantity is left as the default (-1), then this is also the quantity of the contra order.
Public propertyRemoteIdNot required. Optional field for pass through Ids. Max Length = 64 characters
Public propertyRouteRequired. Specifies a WORMS route name.
Public propertySideTypeRequired. Side type for the main order, should be opposite of the contra side type.
Public propertySolicitedNot required. Default false.
Public propertySymbolRequired. Symbol representing the security attempting to be traded.
Public propertyTradingAccountNot required. Default "" gets translated to the account product's trading account.
Public propertyTransactionTimeNot required. Default 0.
Public propertyUncoveredOptionNot required. Default false.
Public propertyUnsolicitedNot required. Default false.
Public propertyWaveIdNot required. Specify a wave ID to associate a group of orders with each other. Default "".
Top
Methods
 NameDescription
Public methodAddValueToStringFieldMap3Add a key-value pair to StringFieldMap3, which is used for Nasdaq ACT parameters
Public methodBuildOptionSymbol(String, String, Double, Boolean, Double)Populates the order placer with a standardized option symbol based on the supplied characteristics.
Public methodBuildOptionSymbol(String, String, String, Boolean, Double)Populates the order placer with a standardized option symbol based on the supplied characteristics.
Public methodBuildOptionSymbol(String, String, ValueType, Boolean, Double)Populates the order placer with a standardized option symbol based on the supplied characteristics.
Public methodDispose 
Public methodPlacePlaces a crossing trade report in the WORMS system. OrderLegSet and all other required fields must be populated before this is called.
Public methodRetrieveDefaultPortfolioPopulates Portfolio with the default portfolio for the supplied Symbol and the Placer's Route.
Public methodRetrieveDefaultRoutePopulates Route with the default route for the supplied Symbol.
Public methodSetContraParentOrderProvide the contra parent order (only for WotiGw)
Public methodSetContraTRFFlagsSet TRF Flags (only IsFinraMember and ClearOrNoClear) for the contra side.
Public methodSetMarketDataFills the market data properties from the given arguments.
Public methodSetParentOrderProvide the parent order (only for WotiGw)
Public methodSetPricesSet prices for both the order side and the contra side.
Public methodSetStringFieldMaps(IWormsEvent)Copy the StringFieldMaps from the given event
Public methodSetStringFieldMaps(IWormsOrder)Copy the StringFieldMaps from the given order
Public methodSetTRFFlagsSet TRF Flags for both the order side and the contra side.
Top
Remarks
Crossing trade reports are two trade reports bundled together, representing a cross done externally.
See Also