# OrderId field lack in response

**URL:** <https://forums.collective2.com/t/orderid-field-lack-in-response/16444>\
**Category:** C2 Software Development\
**Created:** [April 6, 2024, 5:18pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444 "2024-04-06T17:18:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexBesp](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/alexbesp/32/19375_2.png) [@AlexBesp](https://forums.collective2.com/u/AlexBesp)\
**Post date:** [April 6, 2024, 5:18pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/1 "2024-04-06T17:18:34Z")

</div>

Hello:  
When I am sending in ‘Order’ I do not know ‘SignalId’ as it will be coming with the response.  
I can only use ‘OrderId’ to cross-reference my orders and SignalIds. But the response does not come with ‘OrderId’, only ‘SignalId’. So how am I supposed to know which ‘SignalId’ is which ‘OrderId’?  
I suggest that the response should return ‘OrderId’ along with ‘SignalId’ if it wasn’t empty in the original request. Otherwise with a fast coming signals it will be a hot mess in a second.  
Maybe I am missing something, so I’d appreciate your feedback.

---

<div class="post-metadata">

**Author:** ![MatthewKlein](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/matthewklein/32/25317_2.png) [@MatthewKlein](https://forums.collective2.com/u/MatthewKlein)\
**Post date:** [April 6, 2024, 6:36pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/2 "2024-04-06T18:36:08Z")

</div>

Alex - can you please confirm which endpoint you are using. (Don’t include you apikey)

---

<div class="post-metadata">

**Author:** ![AlexBesp](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/alexbesp/32/19375_2.png) [@AlexBesp](https://forums.collective2.com/u/AlexBesp)\
**Post date:** [April 6, 2024, 7:07pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/3 "2024-04-06T19:07:39Z")

</div>

Hi thanks for getting back:  
api4-general  
.collective2.  
com/Strategies/NewStrategyOrder?Order=

---

<div class="post-metadata">

**Author:** ![AlexBesp](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/alexbesp/32/19375_2.png) [@AlexBesp](https://forums.collective2.com/u/AlexBesp)\
**Post date:** [April 6, 2024, 7:14pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/4 "2024-04-06T19:14:08Z")

</div>

I can see this was discussed before:  
forums.  
collective2.  
com/t/signalid-not-being-used/7040?u=alexbesp  
but still not sure of the functionality.  
Can I use my own SignalIds sequence?

---

<div class="post-metadata">

**Author:** ![FrancisGingras](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/francisgingras/32/23692_2.png) [@FrancisGingras](https://forums.collective2.com/u/FrancisGingras)\
**Post date:** [April 7, 2024, 8:03pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/5 "2024-04-07T20:03:41Z")

</div>

Hi Alex,

On C2, there are no orderids, only SignalIds. You can use the SignalId as a proxy for your orderid. You send an order, and you get back a SignalId which you can use to track your orders (signals).

Please see examples at [How to submit signals to C2 - Collective2](https://trade.collective2.com/how-to-submit-signals-to-c2.html)

---

<div class="post-metadata">

**Author:** ![AlexBesp](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/alexbesp/32/19375_2.png) [@AlexBesp](https://forums.collective2.com/u/AlexBesp)\
**Post date:** [April 7, 2024, 9:23pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/6 "2024-04-07T21:23:32Z")

</div>

Well, evidently there’s ‘OrderId’ in the API, how is it to be used then?

---

<div class="post-metadata">

**Author:** ![FrancisGingras](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/francisgingras/32/23692_2.png) [@FrancisGingras](https://forums.collective2.com/u/FrancisGingras)\
**Post date:** [April 7, 2024, 10:48pm UTC](https://forums.collective2.com/t/orderid-field-lack-in-response/16444/7 "2024-04-07T22:48:39Z")

</div>

It depends on what you you want to do: if you want to send orders to your brokerage account, then the counterparty–your broker–will respond with a orderid.

If you want to publish signals to a C2 strategy, the the counterparty–C2–will respond with a signalid.

From your initial post above, you seem to want to replicate your brokerage account positions in a C2 strategy. If that’s the case, you should consider our no-coding-required features [BrokerTransmit](https://support.collective2.com/hc/en-us/articles/205311810-BrokerTransmit-Program-Explained) and [PlatformTransmit](https://support.collective2.com/hc/en-us/articles/115005017968-PlatformTransmit-Program-Explained).
