developers:apiv2:orders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developers:apiv2:orders [2026/09/08 00:06] – chaddevelopers:apiv2:orders [2026/11/13 15:24] (current) – Remove tag from order revise. miguel
Line 11: Line 11:
 ^ Message ^ Purpose ^ ^ Message ^ Purpose ^
 | [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L30|OrderSubmit]] | Place one or more orders into a single account+market. | | [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L30|OrderSubmit]] | Place one or more orders into a single account+market. |
-| [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L74|OrderRevise]] | Change working orders: price, volume, max show, stop price, trail price, tag or activation data. |+| [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L74|OrderRevise]] | Change working orders: price, volume, max show, stop price, trail price, or activation data. |
 | [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L100|OrderPull]] | Cancel working orders. | | [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L100|OrderPull]] | Cancel working orders. |
 | [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L66|OrderBatch]] | Submit several orders as an all-or-nothing batch. | | [[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L66|OrderBatch]] | Submit several orders as an all-or-nothing batch. |
Line 75: Line 75:
 ===== Routing Orders on Behalf of Another User ===== ===== Routing Orders on Behalf of Another User =====
  
-Set ''user_id'' to route for another user. Omit it, or leave it empty, to trade as the authenticated user.+Set ''on_behalf_of_user_name'' and/or ''on_behalf_of_user_id'' to route for another user. If setting both user and userid, and you will receive a reject if the userid is not associated with the username. Omit it, or leave it empty, to trade as the authenticated user.
  
 Requirements: Requirements:
Line 92: Line 92:
   market_id:  "XCME_C ZC (H25)"   market_id:  "XCME_C ZC (H25)"
   manual_order_indicator: true   manual_order_indicator: true
 +  on_behalf_of_user_name: "testuser1"
 +  on_behalf_of_user_id: "7f3a9c21-6d84-4e57-b2f1-9a0c5e8d43b6"
  
 orders { orders {
Line 111: Line 113:
   market_id:  "XCME_C ZC (H25)"   market_id:  "XCME_C ZC (H25)"
   manual_order_indicator: true   manual_order_indicator: true
 +  on_behalf_of_user_name: "testuser1" 
 +  on_behalf_of_user_id: "7f3a9c21-6d84-4e57-b2f1-9a0c5e8d43b6" 
 +  
 pulls { pulls {
 unique_id: "a3b1c5f2-7d43-4f9b-88e2-1e2f75c6d9a1" unique_id: "a3b1c5f2-7d43-4f9b-88e2-1e2f75c6d9a1"
  • developers/apiv2/orders.1788825997.txt.gz
  • Last modified: 2026/09/08 00:06
  • by chad