[Stable] The method trading_lookup is used to check the status of an order.

trading_lookup(connection, lookup_type, id, proprietary)

Arguments

connection

S4. Mandatory Formal rRofexConnection class object

lookup_type

String. Mandatory. Look-up by:

  • COID - Client Order ID.

  • OID - Order ID.

id

String. Mandatory. ID given by the trading_orders method. Depends on `lookup_type`.

proprietary

String. ID given by the trading_orders method. Only for 'lookup_type=COID' In most cases:

  • PBCP

Value

If correct, it will load a tibble.

See also

Other order management functions: trading_orders()