<?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, 02 May 2026 19:49:40 +0300</pubDate>
		<item>
			<title>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message20676/topic2324/">НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</a></b> <i>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!</i> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_bil1F0WP" href="/user/2767/" bx-tooltip-user-id="2767">Иван  Груздев</a> написал:<br />А что нужно сделать для того чтобы решить эту проблему....<br />=============<br /><br />Для начала обратитесь к брокеру. <br />
			<i>02.12.2016 09:55:51, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message20676/topic2324/</link>
			<guid>http://forum.quik.ru/messages/forum9/message20676/topic2324/</guid>
			<pubDate>Fri, 02 Dec 2016 09:55:51 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message20675/topic2324/">НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</a></b> <i>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!</i> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			А что нужно сделать для того чтобы решить эту проблему.... <br />
			<i>02.12.2016 09:54:59, Иван  Груздев.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message20675/topic2324/</link>
			<guid>http://forum.quik.ru/messages/forum9/message20675/topic2324/</guid>
			<pubDate>Fri, 02 Dec 2016 09:54:59 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message20674/topic2324/">НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</a></b> <i>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!</i> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_GJKd9Oyx" href="/user/2767/" bx-tooltip-user-id="2767">Иван  Груздев</a> написал:<br /> <noindex><a href="http://joxi.ru/52az8lxfG8MxaA" target="_blank" rel="nofollow">http://joxi.ru/52az8lxfG8MxaA</a></noindex> &nbsp;вот что содержится в таблице, лимит откр. поз. всегда по нолям.....<br />=============<br />Ну вот по этому Qpile скрипт и выдает сообщение. <br />
			<i>02.12.2016 09:52:22, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message20674/topic2324/</link>
			<guid>http://forum.quik.ru/messages/forum9/message20674/topic2324/</guid>
			<pubDate>Fri, 02 Dec 2016 09:52:22 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message20673/topic2324/">НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</a></b> <i>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!</i> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			<noindex><a href="http://joxi.ru/52az8lxfG8MxaA" target="_blank" rel="nofollow">http://joxi.ru/52az8lxfG8MxaA</a></noindex> вот что содержится в таблице, лимит откр. поз. всегда по нолям..... <br />
			<i>02.12.2016 09:49:44, Иван  Груздев.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message20673/topic2324/</link>
			<guid>http://forum.quik.ru/messages/forum9/message20673/topic2324/</guid>
			<pubDate>Fri, 02 Dec 2016 09:49:44 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message20672/topic2324/">НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</a></b> <i>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!</i> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			Здравствуйте,<br />Согласно коду, проверяется <B>первая </B>строка в <B>ограничениях по клиентским счетам</B>, параметр "Лимит открытых позиций"<br />Соответственно, надо в терминале QUIK проверить а есть ли данные в этом параметре у этой таблицы, в первой строке.<br />К слову, фильтры и сортировка таблиц не влияют на получаемые данные, а значит таблицу следует смотреть без них. <br />
			<i>02.12.2016 09:35:08, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message20672/topic2324/</link>
			<guid>http://forum.quik.ru/messages/forum9/message20672/topic2324/</guid>
			<pubDate>Fri, 02 Dec 2016 09:35:08 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
		<item>
			<title>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum9/message20671/topic2324/">НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ</a></b> <i>НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!</i> в форуме <a href="http://forum.quik.ru/forum9/">Программирование на языке QPILE</a>. <br />
			Помогите разобраться, в программе выскакивает - НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!, &nbsp;(Программа по ограничению убытков), ничего не могу понять, может ошибка в блоке ДАННЫЕ ТАБЛИЦЫ ОГРАНИЧЕНИЯ ПО СЧЕТАМ.....<br /><br /><br /><br />PORTFOLIO_EX ZAVHOZ;<br />DESCRIPTION ZAVHOZ;<br />CLIENTS_LIST ALL_CLIENTS;<br />FIRMS_LIST ALL_FIRMS;<br />USE_CASE_SENSITIVE_CONSTANTS;<br /> <br />PROGRAM<br /> <br />' НАСТРОЙКИ ТОЛЬКО ЗДЕСЬ!<br />ACCOUNT=&quot;SPBFUT00HFI&quot; ' ВПИСАТЬ АККАУНТ НА ФОРТС <br />DRODOWN_OF_LIMITOPEN=20 ' ПРОЦЕНТ ПРОСАДКИ ОТ ЛИМИТА ОТКРЫТЫХ ПОЗИЦИЙ<br />BEGINSES=100000 ' НАЧАЛО РАБОТЫ<br />ENDSES=010000 ' ОКОНЧАНИЕ<br />' ***************<br /><br />'========= ДАННЫЕ ТАБЛИЦЫ ОГРАНИЧЕНИЯ ПО СЧЕТАМ<br />I=1<br />LIMITOPEN=GET_VALUE (GET_ITEM (&quot;FUTURES_CLIENT_LIMITS&quot;, I), &quot;CBPLIMIT&quot;)+0<br />VARMARGIN=GET_VALUE (GET_ITEM (&quot;FUTURES_CLIENT_LIMITS&quot;, I), &quot;VARMARGIN&quot;)+0<br />ACCRUEDINT=GET_VALUE (GET_ITEM (&quot;FUTURES_CLIENT_LIMITS&quot;, I), &quot;ACCRUEDINT&quot;)+0<br />COMISSION=GET_VALUE (GET_ITEM (&quot;FUTURES_CLIENT_LIMITS&quot;, I), &quot;TS_COMISSION&quot;)+0<br />FULL_RESULT=VARMARGIN+ACCRUEDINT+COMISSION ' РАССЧИТЫВАЕМ ОБЩИЙ РЕЗУЛЬТАТ<br />IF LIMITOPEN=0<br /> &nbsp; &nbsp;MESSAGE(&quot;НЕ НАЙДЕН ЛИМИТ ОТКРЫТЫХ ПОЗИЦИЙ!&quot;,1)<br />END IF<br /> <br />'========= ДАТА И ВРЕМЯ СЕРВЕРНОЕ<br />SERVERTIME=GET_INFO_PARAM(&quot;SERVERTIME&quot;)<br />TIMESERV=SUBSTR(SERVERTIME,0,2)&amp;SUBSTR(SERVERTIME,3,2)&amp;SUBSTR(SERVERTIME,6,7)<br />TIME=TIMESERV+0<br />TRID=TIME<br /> <br />'========= КОНТРОЛЬ ВРЕМЕНИ СЕССИИ И СОЕДИНЕНИЯ С СЕРВЕРОМ<br />IF TIME&lt;BEGINSES OR IS_CONNECTED()&lt;&gt;1 OR TIME&gt;ENDSES<br /> &nbsp; &nbsp;RETURN<br />END IF<br /> <br />'========= ПРОВЕРКА ПРОСАДКИ ОТ ЛИМИТА ОТКРЫТЫХ ПОЗИЦИЙ<br />KOEFFLIMIT=(VARMARGIN+ACCRUEDINT+COMISSION)+(LIMITOPEN*(DRODOWN_OF_LIMITOPEN/100))<br />IF KOEFFLIMIT&lt;0<br /> &nbsp; &nbsp;CLOSE_ALL_POSITION(1) ' ЗАКРЫВАЕМ ОТКРЫТЫЕ ПОЗИЦИИ<br />END IF<br /><br />'========= ТАБЛИЦА<br />OUTPUT=CREATE_MAP()<br />OUTPUT=SET_VALUE(OUTPUT,&quot;TIME&quot;,TIME)<br />OUTPUT=SET_VALUE(OUTPUT,&quot;FULL_RESULT&quot;,FULL_RESULT)<br />DELETE_ALL_ITEMS()<br />ADD_ITEM(1,OUTPUT)<br /> <br />'========= ФУНКЦИИ<br />' CLOSE_ALL_POSITION<br />FUNC CLOSE_ALL_POSITION(KEY)<br />INSTRUMENT=&quot;&quot; ' ОБЪЯВЛЯЕМ (ЗАОДНО ОБНУЛЯЕМ) ПЕРЕМЕННЫЕ<br />TP=0<br />IF GET_NUMBER_OF(&quot;FUTURES_CLIENT_HOLDINGS&quot;)&gt;0<br />FOR PAPIR FROM 0 TO GET_NUMBER_OF(&quot;FUTURES_CLIENT_HOLDINGS&quot;)<br />IF GET_VALUE (GET_ITEM (&quot;FUTURES_CLIENT_HOLDINGS&quot;, PAPIR), &quot;TRDACCID&quot;)=ACCOUNT AND GET_VALUE(GET_ITEM(&quot;FUTURES_CLIENT_HOLDINGS&quot;,PAPIR), &quot;TOTAL_NET&quot;)+0&lt;&gt;0<br />TP=GET_VALUE(GET_ITEM(&quot;FUTURES_CLIENT_HOLDINGS&quot;,PAPIR), &quot;TOTAL_NET&quot;)+0<br />INSTRUMENT=GET_VALUE(GET_ITEM(&quot;FUTURES_CLIENT_HOLDINGS&quot;,PAPIR), &quot;SECCODE&quot;)<br />CLASSCODE=GET_VALUE(GET_SECURITY_INFO(&quot;&quot;,INSTRUMENT),&quot;CLASS_CODE&quot;)&amp;&quot;&quot;<br />STEP=GET_VALUE(GET_PARAM_EX(CLASSCODE,INSTRUMENT,&quot;SEC_PRICE_STEP&quot;),&quot;PARAM_VALUE&quot;)+0<br />BID=GET_VALUE(GET_PARAM_EX(CLASSCODE,INSTRUMENT,&quot;BID&quot;),&quot;PARAM_VALUE&quot;)+0<br />ASK=GET_VALUE(GET_PARAM_EX(CLASSCODE,INSTRUMENT,&quot;OFFER&quot;),&quot;PARAM_VALUE&quot;)+0<br /> <br />'========= ЗАКРЫВАЕМ ПОЗИЦИИ<br />IF TP&gt;0<br /> &nbsp; &nbsp;MESSAGE(&quot;ДОПУСТИМОЕ ЗНАЧЕНИЕ ПРОСАДКИ ОТ ЛИМИТА ОТКРЫТЫХ ПОЗИЦИЙ ИСЧЕРПАНО!&quot;,1)<br /> &nbsp; &nbsp;LOTS=ABS(TP)<br /> &nbsp; &nbsp;KILLALLSTOP(1) ' СНИМАЕМ АКТИВНЫЕ СТОПЫ<br /> &nbsp; &nbsp;KILLALLORDERS(1) ' СНИМАЕМ АКТИВНЫЕ ЗАЯВКИ<br /> &nbsp; &nbsp;SELL(1)<br />END IF<br />IF TP&lt;0<br /> &nbsp; &nbsp;MESSAGE(&quot;ДОПУСТИМОЕ ЗНАЧЕНИЕ ПРОСАДКИ ОТ ЛИМИТА ОТКРЫТЫХ ПОЗИЦИЙ ИСЧЕРПАНО!&quot;,1)<br /> &nbsp; &nbsp;LOTS=ABS(TP)<br /> &nbsp; &nbsp;KILLALLSTOP(1) ' СНИМАЕМ АКТИВНЫЕ СТОПЫ<br /> &nbsp; &nbsp;KILLALLORDERS(1) ' СНИМАЕМ АКТИВНЫЕ ЗАЯВКИ<br /> &nbsp; &nbsp;BUY(1)<br />END IF<br />END IF<br /> &nbsp; &nbsp;END FOR<br />END IF<br />END FUNC<br /><br />' BUY<br />FUNC BUY(KEYS)<br /> &nbsp; &nbsp;PRICE=ASK+STEP*20<br /> &nbsp; &nbsp;ORDER(PRICE,LOTS,&quot;B&quot;)<br />END FUNC<br /> <br />' SELL<br />FUNC SELL(KEYS)<br /> &nbsp; &nbsp;PRICE=BID-STEP*20<br /> &nbsp; &nbsp;ORDER(PRICE,LOTS,&quot;S&quot;)<br />END FUNC<br /><br />' ORDER<br />FUNC ORDER(FPRICE,FLOTS,FDIRECTION)<br /> &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_PARAMS&quot;, &quot;&quot;)<br /> &nbsp; &nbsp;NEW_GLOBAL(&quot;TRANS_RESULT&quot;, &quot;&quot;)<br /> &nbsp; &nbsp;TRANS_PARAMS = &quot;&quot;<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;TRANS_ID&quot;, TRID&amp;&quot;&quot;)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACTION&quot;, &quot;NEW_ORDER&quot;)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;TYPE&quot;, &quot;L&quot;)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;CLASSCODE&quot;, CLASSCODE)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;SECCODE&quot;, INSTRUMENT)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACCOUNT&quot;, ACCOUNT)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;OPERATION&quot;, FDIRECTION&amp;&quot;&quot;)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;PRICE&quot;, FPRICE&amp;&quot;&quot;)<br /> &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;QUANTITY&quot;, FLOTS&amp;&quot;&quot;)<br /> &nbsp; &nbsp;TRANS_RESULT = SEND_TRANSACTION (30, TRANS_PARAMS)<br /> &nbsp; &nbsp;RESULT=GET_VALUE(TRANS_RESULT, &quot;DESCRIPTION&quot;)<br />END FUNC<br /><br />' KILLALLSTOP<br />FUNC KILLALLSTOP(KEY)<br /> &nbsp; &nbsp; &nbsp; &nbsp;FOR I FROM 0 TO GET_NUMBER_OF(&quot;STOP_ORDERS&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &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;ACCOUNT&quot;)=ACCOUNT<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MESSAGE(&quot;ДОПУСТИМОЕ ЗНАЧЕНИЕ ПРОСАДКИ ОТ ЛИМИТА ОТКРЫТЫХ ПОЗИЦИЙ ИСЧЕРПАНО!&quot;,1)<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;8&quot;&amp;TRID)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;CLASSCODE&quot;, CLASSCODE)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;SECCODE&quot;, INSTRUMENT)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACCOUNT&quot;, ACCOUNT)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;STOP_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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RESULT=GET_VALUE(TRANS_RESULT, &quot;DESCRIPTION&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END IF<br /> &nbsp; &nbsp; &nbsp; &nbsp;END FOR<br />END FUNC<br /><br />' KILLALLORDERS<br />FUNC KILLALLORDERS(KEY)<br /> &nbsp; &nbsp; &nbsp; &nbsp;FOR I FROM 0 TO GET_NUMBER_OF(&quot;ORDERS&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &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;ACCOUNT&quot;)=ACCOUNT<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MESSAGE(&quot;ДОПУСТИМОЕ ЗНАЧЕНИЕ ПРОСАДКИ ОТ ЛИМИТА ОТКРЫТЫХ ПОЗИЦИЙ ИСЧЕРПАНО!&quot;,1)<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;1&quot;&amp;TRID)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;CLASSCODE&quot;, CLASSCOE)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TRANS_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;SECCODE&quot;, INSTRUMENT)<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_PARAMS = SET_VALUE (TRANS_PARAMS, &quot;ACCOUNT&quot;, ACCOUNT)<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_RESULT = SEND_TRANSACTION (30, TRANS_PARAMS)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RESULT=GET_VALUE(TRANS_RESULT, &quot;DESCRIPTION&quot;)<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END IF<br /> &nbsp; &nbsp; &nbsp; &nbsp;END FOR<br />END FUNC<br /> <br />END_PROGRAM<br /> <br />PARAMETER TIME;<br />PARAMETER_TITLE ВРЕМЯ;<br />PARAMETER_DESCRIPTION ВРЕМЯ;<br />PARAMETER_TYPE STRING(30);<br />END<br /><br />PARAMETER FULL_RESULT;<br />PARAMETER_TITLE ФИН.РЕЗУЛЬТАТ;<br />PARAMETER_DESCRIPTION ФИН.РЕЗУЛЬТАТ;<br />PARAMETER_TYPE NUMERIC(10,2);<br />END<br /><br />END_PORTFOLIO_EX <br />
			<i>02.12.2016 09:19:18, Иван  Груздев.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum9/message20671/topic2324/</link>
			<guid>http://forum.quik.ru/messages/forum9/message20671/topic2324/</guid>
			<pubDate>Fri, 02 Dec 2016 09:19:18 +0300</pubDate>
			<category>Программирование на языке QPILE</category>
		</item>
	</channel>
</rss>
