You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, ProtoOAReconcileRes returns all open orders and open positions for ctidTraderAccountId
implementing i.e. GetOpenOrdersBySymbolIdReq --> GetOpenOrdersBySymbolIdRes could prove very useful for traders sporting many open orders / positions spanning across multiple symbols
potential .proto definitions:
// Request for getting Trader current open positions filtered by SymbolID.messageProtoOAGetOpenPositionsBySymbolIdReq
{
optionalProtoOAPayloadTypepayloadType=1 [default = PROTO_OA_GET_OPEN_POSITIONS_BY_SIMBOLD_ID_REQ];
requiredint64ctidTraderAccountId=2; // Unique identifier of the trading account. Used to match responses to trading accounts.repeatedint64symbolId=3; // Unique identifier of the Symbol in cTrader platform.
}
// Response for ProtoOAGetOpenPositionsBySymbolIdReq request.messageProtoOAGetOpenPositionsBySymbolIdRes
{
optionalProtoOAPayloadTypepayloadType=1 [default = PROTO_OA_GET_OPEN_POSITIONS_BY_SIMBOLD_ID_RES];
requiredint64ctidTraderAccountId=2; // Unique identifier of the trading account. Used to match responses to trading accounts.repeatedProtoOAPositionposition=3; // The list of trading account open positions.
}
// Request for getting Trader current open pending orders filtered by SymbolID.messageProtoOAGetOpenOrdersBySymbolIdReq
{
optionalProtoOAPayloadTypepayloadType=1 [default = PROTO_OA_GET_OPEN_ORDERS_BY_SIMBOLD_ID_REQ];
requiredint64ctidTraderAccountId=2; // Unique identifier of the trading account. Used to match responses to trading accounts.repeatedint64symbolId=3; // Unique identifier of the Symbol in cTrader platform.
}
// Response for ProtoOAGetOpenOrdersBySymbolIdReq request.messageProtoOAGetOpenOrdersBySymbolIdRes
{
optionalProtoOAPayloadTypepayloadType=1 [default = PROTO_OA_GET_OPEN_ORDERS_BY_SIMBOLD_ID_RES];
requiredint64ctidTraderAccountId=2; // Unique identifier of the trading account. Used to match responses to trading accounts.repeatedProtoOAOrderorder=3; // The list of trading account pending orders.
}
The text was updated successfully, but these errors were encountered:
raul-gherman
changed the title
Implement Req & Res & backend methods to return open orders only considering ctidTraderAccountId and SymbolID
Implement Req & Res & backend methods to return open orders or positions only considering ctidTraderAccountId and SymbolID
Jan 1, 2025
raul-gherman
changed the title
Implement Req & Res & backend methods to return open orders or positions only considering ctidTraderAccountId and SymbolID
Implement Req & Res & backend methods to return open orders / positions only considering ctidTraderAccountId and SymbolID
Jan 1, 2025
currently,
ProtoOAReconcileRes
returns all open orders and open positions for ctidTraderAccountIdimplementing i.e.
GetOpenOrdersBySymbolIdReq
-->GetOpenOrdersBySymbolIdRes
could prove very useful for traders sporting many open orders / positions spanning across multiple symbolspotential .proto definitions:
The text was updated successfully, but these errors were encountered: