<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Форум QUIK [тема: Как снять все активные тейк-профит]</title>
		<link>http://forum.quik.ru</link>
		<description>Новое в теме Как снять все активные тейк-профит форума  на сайте Форум QUIK [forum.quik.ru]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sat, 25 Apr 2026 16:15:09 +0300</pubDate>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29535/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_V57jJfn0" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /><br />====quote====<br /> Александр &nbsp; написал:<br />TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ORDER_KEY&quot;, GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;NUMBER&quot;)&amp;&quot;&quot;)<br /><br />=============<br />кажется причина понятна, вместо ORDER_KEY нужно указывать STOP_ORDER_KEY<br />=============<br />Отлично работает! Спасибо! <br />
			<i>28.02.2018 18:15:14, Александр.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29535/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29535/topic3440/</guid>
			<pubDate>Wed, 28 Feb 2018 18:15:14 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29533/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_YgcE1OxW" href="/user/11237/" bx-tooltip-user-id="11237">Александр</a> написал:<br />TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, "ORDER_KEY", GET_VALUE (GET_ITEM ("STOP_ORDERS", I), "NUMBER")&"")<br /><br />=============<br /><br />кажется причина понятна, вместо ORDER_KEY нужно указывать STOP_ORDER_KEY <br />
			<i>28.02.2018 17:45:05, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29533/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29533/topic3440/</guid>
			<pubDate>Wed, 28 Feb 2018 17:45:05 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29532/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_dJ7eEsIA" href="/user/11237/" bx-tooltip-user-id="11237">Александр</a> написал:<br />ошибку не показывает.<br />=============<br />Добавьте вывод сообщения <br />MESSAGE (TRANS_RESULT,1) <br />
			<i>28.02.2018 17:43:14, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29532/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29532/topic3440/</guid>
			<pubDate>Wed, 28 Feb 2018 17:43:14 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29531/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_VRHV2SUg" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /><br />====quote====<br /> Александр &nbsp; написал:<br />но почему-то не работает<br />=============<br />Что именно не работает?<br />Если возникает ошибка, то какая?<br />=============<br />Не снимаются тейк-профит заявки, поэтому и не работает. Ошибки нет, quick ошибку не показывает. <br />
			<i>28.02.2018 17:29:41, Александр.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29531/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29531/topic3440/</guid>
			<pubDate>Wed, 28 Feb 2018 17:29:41 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29523/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_lo8yASaF" href="/user/11237/" bx-tooltip-user-id="11237">Александр</a> написал:<br />но почему-то не работает<br />=============<br /><br />Что именно не работает?<br />Если возникает ошибка, то какая? <br />
			<i>28.02.2018 16:02:52, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29523/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29523/topic3440/</guid>
			<pubDate>Wed, 28 Feb 2018 16:02:52 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29518/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_5SPFyd4B" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /> Александр &nbsp;, <br /><br />Для снятия стоп заявок в параметре ACTION надо использовать KILL_STOP_ORDER<br />=============<br /><br /> Спасибо большое, но почему-то не работает. Что не так?<br /><br /> &nbsp;' =========== УДАЛЯЕМ СТОП-ЗАЯВКИ<br /> &nbsp;FUNC KILLALLSTOPORDERS(KEY)<br /> &nbsp; &nbsp;MESSAGE (&quot;СНИМАЕМ &quot;&amp;KEY,1)<br /> &nbsp; &nbsp;N=GET_NUMBER_OF(&quot;STOP_ORDERS&quot;)<br /> &nbsp; &nbsp;IF N&gt;0<br /> &nbsp; &nbsp;	FOR I FROM 0 TO N<br /> &nbsp; &nbsp;		IF (GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;STATUS&quot;)=&quot;ACTIVE&quot;) AND (GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;SECCODE&quot;)=INSTRUMENT)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_PARAMS&quot;, &quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_RESULT&quot;, &quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = &quot;&quot;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;TRANS_ID&quot;, &quot;7&quot;&amp;TIME)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;CLASSCODE&quot;, &quot;SPBFUT&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;SECCODE&quot;, KEY)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ORDER_KEY&quot;, GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;NUMBER&quot;)&amp;&quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACTION&quot;, &quot;KILL_STOP_ORDER&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_RESULT = SEND_TRANSACTION (30, TRANS_PARAMS)<br /> &nbsp; &nbsp;		END IF<br /> &nbsp; &nbsp;	END FOR<br /> &nbsp; &nbsp; END IF<br /> &nbsp;END FUNC <br />
			<i>28.02.2018 10:07:53, Александр.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29518/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29518/topic3440/</guid>
			<pubDate>Wed, 28 Feb 2018 10:07:53 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29489/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<a class="blog-p-user-name" id="bp_7HSUuC6v" href="/user/11237/" bx-tooltip-user-id="11237">Александр</a>, <br /><br />Для снятия стоп заявок в параметре ACTION надо использовать KILL_STOP_ORDER <br />
			<i>27.02.2018 17:54:03, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29489/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29489/topic3440/</guid>
			<pubDate>Tue, 27 Feb 2018 17:54:03 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29486/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			Неужели у QUIK clients support ответ &quot;Такое невозможно&quot;? Разве нет кода? <br />
			<i>27.02.2018 15:51:09, Александр.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29486/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29486/topic3440/</guid>
			<pubDate>Tue, 27 Feb 2018 15:51:09 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29481/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			Я вам открою секрет: приведенный код снимает все стоп заявки. Просто речь идет о тейк профит заявках. Если вам лень подсказать или вы просто не знаете не нужно писать что итак есть в руководстве. Кстати, данный код удаляет все активные заявки на покупку и продажу, разве он не противоречит &quot;«Транзакции, выполняющие групповое снятие заявок, не поддерживаются: KILL_ALL_STOP_ORDERS» – снять все стоп-заявки, &quot;?<br /><br />--------------------------------------------------------------------------------<br /><br />' =========== УДАЛЯЕМ ЗАЯВКИ<br /> &nbsp;FUNC KILLALLORDERS(KEY)<br /> &nbsp; &nbsp;MESSAGE (&quot;СНИМАЕМ &quot;&amp;KEY,1)<br /> &nbsp; &nbsp;N=GET_NUMBER_OF(&quot;ORDERS&quot;)<br /> &nbsp; &nbsp;IF N&gt;0<br /> &nbsp; &nbsp;	FOR I FROM 0 TO N<br /> &nbsp; &nbsp;		IF (GET_VALUE (GET_ITEM (&quot;ORDERS&quot;, I), &quot;STATUS&quot;)=&quot;ACTIVE&quot;) AND (GET_VALUE (GET_ITEM (&quot;ORDERS&quot;, I), &quot;SECCODE&quot;)=INSTRUMENT)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_PARAMS&quot;, &quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_RESULT&quot;, &quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = &quot;&quot;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;TRANS_ID&quot;, &quot;7&quot;&amp;TIME)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;CLASSCODE&quot;, &quot;SPBFUT&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;SECCODE&quot;, KEY)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ORDER_KEY&quot;, GET_VALUE (GET_ITEM (&quot;ORDERS&quot;, I), &quot;NUMBER&quot;)&amp;&quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACTION&quot;, &quot;KILL_ORDER&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_RESULT = SEND_TRANSACTION (30, TRANS_PARAMS)<br /> &nbsp; &nbsp;		END IF<br /> &nbsp; &nbsp;	END FOR<br /> &nbsp; &nbsp; END IF<br /> &nbsp;END FUNC <br />
			<i>27.02.2018 14:14:02, Александр.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29481/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29481/topic3440/</guid>
			<pubDate>Tue, 27 Feb 2018 14:14:02 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29476/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			Добрый день.<br /><br />Транзакции, выполняющие групповое снятие заявок, не поддерживаются: <ul><li>«KILL_ALL_ORDERS» – снять все заявки из торговой системы,<br /><li>«<span class="bx-font" style="color:#2f3031">KILL_ALL_STOP_ORDERS</span>» – снять все стоп-заявки,<br /><li>«KILL_ALL_NEG_DEALS» – снять все заявки на внебиржевые сделки и заявки на &nbsp;сделки РЕПО.<br /></ul> <br />
			<i>27.02.2018 12:11:03, Egor Zaytsev.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29476/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29476/topic3440/</guid>
			<pubDate>Tue, 27 Feb 2018 12:11:03 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>Как снять все активные тейк-профит</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message29471/topic3440/">Как снять все активные тейк-профит</a></b> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			Здравствуйте, подскажите плз как снять все активные тейк-профит? Приведенная функция не работает, хотя тейк-профит в стоп заявках вроде.<br /><br /><br />---------<br /> &nbsp;' =========== УДАЛЯЕМ СТОП-ЗАЯВКИ<br /> &nbsp;FUNC KILLALLSTOPORDERS(KEY)<br /> &nbsp; &nbsp;MESSAGE (&quot;СНИМАЕМ &quot;&amp;KEY,1)<br /> &nbsp; &nbsp;N=GET_NUMBER_OF(&quot;STOP_ORDERS&quot;)<br /> &nbsp; &nbsp;IF N&gt;0<br /> &nbsp; &nbsp;	FOR I FROM 0 TO N<br /> &nbsp; &nbsp;		IF (GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;STATUS&quot;)=&quot;ACTIVE&quot;) AND (GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;SECCODE&quot;)=INSTRUMENT)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_PARAMS&quot;, &quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_RESULT&quot;, &quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = &quot;&quot;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;TRANS_ID&quot;, &quot;7&quot;&amp;TIME)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;CLASSCODE&quot;, &quot;SPBFUT&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;SECCODE&quot;, KEY)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ORDER_KEY&quot;, GET_VALUE (GET_ITEM (&quot;STOP_ORDERS&quot;, I), &quot;NUMBER&quot;)&amp;&quot;&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACTION&quot;, &quot;KILL_ORDER&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_RESULT = SEND_TRANSACTION (30, TRANS_PARAMS)<br /> &nbsp; &nbsp;		END IF<br /> &nbsp; &nbsp;	END FOR<br /> &nbsp; &nbsp; END IF<br /> &nbsp;END FUNC <br />
			<i>27.02.2018 10:47:12, Александр.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message29471/topic3440/</link>
			<guid>http://forum.quik.ru/messages/forum9/message29471/topic3440/</guid>
			<pubDate>Tue, 27 Feb 2018 10:47:12 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
	</channel>
</rss>
