# Can I use "parkuntil" with a STC to close my BTO trade?

**URL:** <https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722>\
**Category:** C2\
**Created:** [December 9, 2014, 2:41am UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722 "2014-12-09T02:41:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![terrys999](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/terrys999/32/608_2.png) [@terrys999](https://forums.collective2.com/u/terrys999)\
**Post date:** [December 9, 2014, 2:41am UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722/1 "2014-12-09T02:41:59Z")

</div>

Hi, can I use the param “&parkuntil=” to close an order if the stop or profit wasn’t hit in 30 minutes?

So, if I opened @NQZ4 at 10:00 AM, and neither the _STOP_ nor _PROFIT_ was hit before 10:30 AM, just close the trade at _market_?

Thanks for your help.

Terry

---

<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:** [December 9, 2014, 1:25pm UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722/2 "2014-12-09T13:25:15Z")

</div>

That ought to work, yes.

---

<div class="post-metadata">

**Author:** ![terrys999](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/terrys999/32/608_2.png) [@terrys999](https://forums.collective2.com/u/terrys999)\
**Post date:** [December 9, 2014, 1:51pm UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722/3 "2014-12-09T13:51:49Z")

</div>

…on the same topic. Is it possible to close a trade by “signalid”? The reason is, my system could open 1 trade on @NQ then 20 min later, open another. I would specifically want the 1st @NQ closed 1st.

---

<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:** [December 9, 2014, 5:02pm UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722/4 "2014-12-09T17:02:37Z")

</div>

There is no point in specifying which unit to close because, mathematically speaking - when you look at marked-to-market results including **both** open and closed positions - the results are exactly identical, regardless of whether you close the “first” unit or the “last.” There is only a difference when you don’t include open trades in your PL calculations, which is not allowed under generally accepted accounting principles. You must mark-to-market your entire position (both open and closed).

---

<div class="post-metadata">

**Author:** ![terrys999](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/terrys999/32/608_2.png) [@terrys999](https://forums.collective2.com/u/terrys999)\
**Post date:** [January 10, 2015, 7:32pm UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722/5 "2015-01-10T19:32:47Z")

</div>

Is it possible to combine the “parkuntil” and the “xreplace” to move the stop after a certain period of time?

---

<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:** [January 12, 2015, 1:15am UTC](https://forums.collective2.com/t/can-i-use-parkuntil-with-a-stc-to-close-my-bto-trade/7722/6 "2015-01-12T01:15:57Z")

</div>

That is not currently possible, but it’s a good suggestion and I’ll see about adding it in the future.
