developers:apiv2:reference

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:reference [2026/09/07 17:34] – [ServerMessage (server → you)] chaddevelopers:apiv2:reference [2026/09/07 17:48] (current) – [ServerMessage (server → you)] chad
Line 66: Line 66:
 | ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L118|CreateUDS]]'' | Define a strategy. | | ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L118|CreateUDS]]'' | Define a strategy. |
 </WRAP> </WRAP>
-===== ServerMessage (server → you) =====+ 
 + 
 + 
 +===== ServerMessage (server → client) =====
  
 <WRAP 75%> <WRAP 75%>
 ^ Payload ^ Purpose ^ ^ Payload ^ Purpose ^
-| ''Heartbeat'' | Keepalive. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/service.proto#L83|Heartbeat]]'' | Keepalive. | 
-| ''LoginResponse'' | Login result, identity, entitlements. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/auth/auth.proto#L25|LoginResponse]]'' | Login result, identity, entitlements. | 
-| ''AuthenticationToken'' | Token + expiry. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/auth/auth.proto#L75|AuthenticationToken]]'' | Token + expiry. | 
-| ''MarketSubscribeReject'' | Subscribe refused (check ''mode''). | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L21|MarketSubscribeReject]]'' | Subscribe refused (check ''mode''). | 
-| ''MarketDetails'' | Instrument definition. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L29|MarketDetails]]'' | Instrument definition. | 
-| ''MarketDepth'' | Depth update (top-of-book / full book). | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L79|MarketDepth]]'' | Depth update (top-of-book / full book). | 
-| ''MarketTrade'' | Trade print (''ticker''). | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L119|MarketTrade]]'' | Trade print (''ticker''). | 
-| ''MarketHighLow'' | Session high/low/open. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L144|MarketHighLow]]'' | Session high/low/open. | 
-| ''MarketPriceLimits'' | Price limits. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L155|MarketPriceLimits]]'' | Price limits. | 
-| ''MarketSettlement'' | Settlement, OI, VWAP. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L165|MarketSettlement]]'' | Settlement, OI, VWAP. | 
-| ''MarketSnapshot'' | Full state on subscribe (price feed). | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L190|MarketSnapshot]]'' | Full state on subscribe (price feed). | 
-| ''MarketByOrderSnapshot'' | Full book on subscribe (MBO). | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L213|MarketByOrderSnapshot]]'' | Full book on subscribe (MBO). | 
-| ''MarketByOrderUpdate'' | Per-order changes (MBO). | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/market/market.proto#L231|MarketByOrderUpdate]]'' | Per-order changes (MBO). | 
-| ''AccountSubscribeResponse'' | Subscribe result. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L18|AccountSubscribeResponse]]'' | Subscribe result. | 
-| ''AccountCurrency'' | Currency rates. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L26|AccountCurrency]]'' | Currency rates. | 
-| ''AccountPosition'' | Position. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L34|AccountPosition]]'' | Position. | 
-| ''AccountUpdate'' | Balances / margin. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L78|AccountUpdate]]'' | Balances / margin. | 
-| ''AccountDetails'' | Account configuration. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L107|AccountDetails]]'' | Account configuration. | 
-| ''AccountSnapshot'' | Full state on subscribe. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L161|AccountSnapshot]]'' | Full state on subscribe. | 
-| ''AccountProfit'' | Account UPL / RPL. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L171|AccountProfit]]'' | Account UPL / RPL. | 
-| ''AccountPositionProfit'' | Per-position UPL / RPL. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/account/account.proto#L191|AccountPositionProfit]]'' | Per-position UPL / RPL. | 
-| ''OrderUpdate'' | Unified order lifecycle event. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L155|OrderUpdate]]'' | Unified order lifecycle event. | 
-| ''OrderTrade'' | Fill. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L258|OrderTrade]]'' | Fill. | 
-| ''MarginInquiryResponse'' | Margin preview. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L326|MarginInquiryResponse]]'' | Margin preview. | 
-| ''OrderBatchAcknowledge'' | Batch accepted. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L288|OrderBatchAcknowledge]]'' | Batch accepted. | 
-| ''OrderBatchReject'' | Batch rejected. | +| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L305|OrderBatchReject]]'' | Batch rejected. | 
-| ''CreateUDSResponse'' | Strategy created. |+| ''[[https://github.com/CTS-Futures/t4-api-tools/blob/main/proto/t4/v2/orderrouting/orderrouting.proto#L279|CreateUDSResponse]]'' | Strategy created. |
 </WRAP> </WRAP>
 +
  • developers/apiv2/reference.1788802493.txt.gz
  • Last modified: 2026/09/07 17:34
  • by chad