<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Форум QUIK [тема: Пришел OnTransReply с пустым brokerref]</title>
		<link>http://forum.quik.ru</link>
		<description>Новое в теме Пришел OnTransReply с пустым brokerref форума  на сайте Форум QUIK [forum.quik.ru]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Mon, 18 May 2026 13:29:50 +0300</pubDate>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message30625/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_HauFZ1az" href="/user/3132/" bx-tooltip-user-id="3132">Nikolay</a> написал:<br /> COMMENT при отправке заявки<br />=============<br />Про это уже было сказано выше<br /><br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_4SXQau3F" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /><br />====quote====<br /> Suntor &nbsp; написал:<br />Единственно, непонятно куда девается содержимое поля COMMENT при sendTransaction. Я нигде не вижу в колбеках значения из этого поля.<br /><br />=============<br />Цитат из документации на терминал QUIK:<br /><br />====quote====<br />COMMENT - Текстовый комментарий, указанный в заявке. &nbsp;Используется при снятии группы заявок <br />=============<br />А так как через Lua нельзя использовать групповое снятие заявок, то и параметр COMMENT просто игнорируется<br />=============<br /><br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_FVuSyOiE" href="/user/3132/" bx-tooltip-user-id="3132">Nikolay</a> написал:<br />. Поле BROKERREF не подходит совершенно<br />=============<br />если задача только в поиске "своих" заявок, может тогда использовать TRANS_ID?<br />Укажите на всех транзакциях параметр равным 11111.<br />и у всех заявок у которых TRANS_ID=11111 будет означать что транзакция отправлена нужным роботом.<br />У другого робота укажите например 22222 и т.д. <br />
			<i>18.04.2018 14:08:13, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message30625/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message30625/topic3423/</guid>
			<pubDate>Wed, 18 Apr 2018 14:08:13 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message30624/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Добрый день.<br /><br />Правильно ли я понимаю, что поле COMMENT при отправке заявки не сохраняется в таблице заявок. Я по крайней мере не вижу его.<br />Получается, что невозможно решить простую задачу поиска своих заявок без промежуточного хранилища. <br /><br />Да, можно хранить отправленные номера и ID в временной таблице, но иногда происходят ситуации когда происходит перезапуск скрипта и надо перечитать заявки и отобрать нужные по параметрам. Поле BROKERREF не подходит совершенно, т.к. на фондовой секции брокер запрещает писать туда что либо отличное от кода клиента. Ка же так? Приходится сейчас городить внешнюю базу данных, чтобы понять, что эта заявка была выставлена роботом и у нее такие-то праметры. <br />
			<i>18.04.2018 13:55:30, Nikolay.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message30624/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message30624/topic3423/</guid>
			<pubDate>Wed, 18 Apr 2018 13:55:30 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29881/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br />Stanislav Tvorogov написал:<br />Данную информацию добавить к сожалению, не можем. Рекомендуем уточнять версию серверного ПО у Вашего брокера.<br />=============<br />Странна и печальна ваша немочь (( <br />
			<i>19.03.2018 16:36:49, XXM.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29881/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29881/topic3423/</guid>
			<pubDate>Mon, 19 Mar 2018 16:36:49 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29880/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_la5MafkW" href="/user/86/" bx-tooltip-user-id="86">XXM</a> написал:<br />Т.к. пользовательское ПО работает в связке с серверным ПО, предлагаю ввести в информационное окно поле &quot;Версия программы сервера&quot;.<br />=============<br />Данную информацию добавить к сожалению, не можем. Рекомендуем уточнять версию серверного ПО у Вашего брокера. <br />
			<i>19.03.2018 13:42:13, Stanislav Tvorogov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29880/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29880/topic3423/</guid>
			<pubDate>Mon, 19 Mar 2018 13:42:13 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29872/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_EOxafaVM" href="/user/25/" bx-tooltip-user-id="25">Stanislav Tvorogov</a> написал:<br />...<br />4. Со стороны Рабочего места QUIK узнать версию серверного ПО к сожалению, невозможно. По этому вопросу рекомендуем обращаться к Вашему брокеру.<br />=============<br />Т.к. пользовательское ПО работает в связке с серверным ПО, предлагаю ввести в информационное окно поле &quot;Версия программы сервера&quot;. <br />
			<i>19.03.2018 11:00:59, XXM.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29872/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29872/topic3423/</guid>
			<pubDate>Mon, 19 Mar 2018 11:00:59 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29869/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Добрый день <noindex><a href="https://forum.quik.ru/user/86/" target="_blank" rel="nofollow">XXM</a></noindex>,<br /><br />1. Обязанности по обновлению ПО находятся на стороне брокерских компаний.<br />2. Ошибка была обнаружена в версии 5.17 сервера QUIK.<br />3. Ошибка была исправлена в версии 5.18 сервера QUIK.<br />4. Со стороны Рабочего места QUIK узнать версию серверного ПО к сожалению, невозможно. По этому вопросу рекомендуем обращаться к Вашему брокеру. <br />
			<i>19.03.2018 10:35:45, Stanislav Tvorogov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29869/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29869/topic3423/</guid>
			<pubDate>Mon, 19 Mar 2018 10:35:45 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29868/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Добрый день,<br /><br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_m03gS56k" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br />А как между собой соотносятся версии сервера и клиента, который брокер рассылает с этого сервера, они связаны? Номера должны совпадать?<br /><br />=============<br />Данные версии не связаны и не должны совпадать.<br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_zYMphB3D" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br />По вашим словам у брокера до сих пор версия младше 5.18, а клиента он рассылает последнего 7.16.2.5.<br /><br />=============<br />Рабочее место QUIK версии 7.16 поддерживается серверной частью QUIK версии 5.17 и выше. <br />
			<i>19.03.2018 10:28:49, Stanislav Tvorogov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29868/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29868/topic3423/</guid>
			<pubDate>Mon, 19 Mar 2018 10:28:49 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29851/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_ysslY1rB" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /> Suntor &nbsp;, <br />По данному обращению мы диагностируем проявление исправленной в версии сервера 5.18 ошибки, связанной с трансляцией некоторых полей в таблицу транзакций через серверы доступа.<br />Проблема исчезнет после обновления серверного ПО у Вашего брокера, до этой версии.<br />=============<br />1. Если возникла ошибка в некотором обновлении ПО (которой, по идее, не должно появиться, ведь это же <B>ОБНОВЛЕНИЕ!!!</B> программы, ее улучшение, развитие, появление новых возможностей, но отнюдь не<B> ухудшение имеющегося функционала</B>), неужели у брокеров, которые установили это ПО, в котором обнаружены ошибки, не возникает обязанности обновить ПО, в котором эта ошибка устранена, <span class="bx-font" style="color:#000000"><U><B>немедленно</B></U></span>?<br />2. Какой номер версии серверного ПО, в котором появилась ошибка, связанная с &quot;трансляцией некоторых полей в таблицу транзакций через серверы доступа&quot;?<br />3. Какой номер версии серверного ПО, в котором эта ошибка устранена?<br />4. Как пользователь QUIK может проверить версию серверного ПО? <br />
			<i>18.03.2018 15:44:10, XXM.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29851/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29851/topic3423/</guid>
			<pubDate>Sun, 18 Mar 2018 15:44:10 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29849/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_dRMrA6Kh" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /> Suntor &nbsp;, <br /><br />По данному обращению мы диагностируем проявление исправленной в версии сервера 5.18 ошибки, связанной с трансляцией некоторых полей в таблицу транзакций через серверы доступа.<br />Проблема исчезнет после обновления серверного ПО у Вашего брокера, до этой версии.<br />=============<br />А как между собой соотносятся версии сервера и клиента, который брокер рассылает с этого сервера, они связаны? Номера должны совпадать?<br /><br />01.03.2018 брокер обновил версию клиента до 7.16.2.5, предыдущая версия клиента скачиваемая с его сервера была 7.14.1.7 в течение как минимум полугода.<br />По вашим словам у брокера до сих пор версия младше 5.18, а клиента он рассылает последнего 7.16.2.5.<br />Такая ситуация нормальная? Разве не должно иди обновление в паре (клиент/сервер) одновременно, чтобы версии с обоих сторон соответствовали. <br />
			<i>18.03.2018 13:55:17, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29849/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29849/topic3423/</guid>
			<pubDate>Sun, 18 Mar 2018 13:55:17 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29828/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<a class="blog-p-user-name" id="bp_RzOspXQ8" href="/user/901/" bx-tooltip-user-id="901">Suntor</a>, <br /><br />По данному обращению мы диагностируем проявление исправленной в версии сервера 5.18 ошибки, связанной с трансляцией некоторых полей в таблицу транзакций через серверы доступа.<br />Проблема исчезнет после обновления серверного ПО у Вашего брокера, до этой версии. <br />
			<i>16.03.2018 10:28:47, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29828/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29828/topic3423/</guid>
			<pubDate>Fri, 16 Mar 2018 10:28:47 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29658/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<a class="blog-p-user-name" id="bp_KkzTENxu" href="/user/901/" bx-tooltip-user-id="901">Suntor</a>, <br />Информация получена, проблема изучается. Постараемся в ближайшее время дать ответ. <br />
			<i>05.03.2018 14:19:58, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29658/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29658/topic3423/</guid>
			<pubDate>Mon, 05 Mar 2018 14:19:58 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29657/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<a class="blog-p-user-name" id="bp_6JcvCXEE" href="/user/3010/" bx-tooltip-user-id="3010">Алексей</a>, <br /><br />К сожалению, логов за указанную дату у брокера не осталось.<br />Просьба сообщить актуальные данные при повторении проблемы. <br />
			<i>05.03.2018 14:19:33, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29657/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29657/topic3423/</guid>
			<pubDate>Mon, 05 Mar 2018 14:19:33 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29627/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_Ki1EdRUl" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br />Suntor &nbsp;, <br />Просьба уточнить время транзакции<br />Ваш UID и кто брокер.<br />=============<br />Пустой brokerref в OnTransReply.<br /><br />Версия терминала Quik 7.16.2.5, брокер ВТБ, UID 29135 оставил в логах, номер торгового счёта ACCOUNT затёр на всякий случай.<br />Далее, полная информация по заявке 29666422467 и сделке 1982204382 по ней. Обе прошли в 22:26:51 02.03.2018.<br /><br />Функция sendTransaction:<table class="forum-spoiler"><thead onclick="if (this.nextSibling.style.display=='none') { this.nextSibling.style.display=''; BX.addClass(this, 'forum-spoiler-head-open'); } else { this.nextSibling.style.display='none'; BX.removeClass(this, 'forum-spoiler-head-open'); } BX.onCustomEvent('BX.Forum.Spoiler:toggle', [{node: this}]); event.stopPropagation();"><tr><th><div>Скрытый текст</div></th></tr></thead><tbody class="forum-spoiler" style="display:none;"><tr><td>-- Table: {1}<br />{<br /> &nbsp; &#91;&quot;action&quot;&#93;=&quot;NEW_ORDER&quot;,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=&quot;1&quot;,<br /> &nbsp; &#91;&quot;operation&quot;&#93;=&quot;S&quot;,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;CC trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;seccode&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;quantity&quot;&#93;=&quot;1&quot;,<br /> &nbsp; &#91;&quot;comment&quot;&#93;=&quot;LUA trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;classcode&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;price&quot;&#93;=&quot;56934&quot;,<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br />},</td></tr></tbody></table>Функция OnTransReply (пустой <B>brokerref</B> выделил):<table class="forum-spoiler"><thead onclick="if (this.nextSibling.style.display=='none') { this.nextSibling.style.display=''; BX.addClass(this, 'forum-spoiler-head-open'); } else { this.nextSibling.style.display='none'; BX.removeClass(this, 'forum-spoiler-head-open'); } BX.onCustomEvent('BX.Forum.Spoiler:toggle', [{node: this}]); event.stopPropagation();"><tr><th><div>Скрытый текст</div></th></tr></thead><tbody class="forum-spoiler" style="display:none;"><tr><td>-- Table: {3}<br />{<br /> &nbsp; &#91;&quot;sec_code&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;price&quot;&#93;=56934,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;balance&quot;&#93;=0,<br /> &nbsp; &#91;&quot;time&quot;&#93;=222651,<br /> &nbsp; &#91;&quot;status&quot;&#93;=3,<br /> &nbsp; &#91;&quot;local_time&quot;&#93;=31821.965,<br /> &nbsp; &#91;&quot;first_ordernum&quot;&#93;=0,<br /> &nbsp; &#91;&quot;date_time&quot;&#93;={6},<br /> &nbsp; &#91;&quot;gate_reply_time&quot;&#93;={7},<br /> &nbsp; &#91;&quot;class_code&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=1,<br /> &nbsp; &#91;&quot;error_source&quot;&#93;=0,<br /> &nbsp; &#91;&quot;exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;uid&quot;&#93;=29135,<br /> &nbsp; &#91;&quot;error_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;flags&quot;&#93;=2490369,<br /> &nbsp; &#91;&quot;result_msg&quot;&#93;=&quot;Заявка 29666422467 успешно зарегистрирована.&quot;,<br /> &nbsp; <B>&#91;&quot;brokerref&quot;&#93;=&quot;&quot;,</B><br /> &nbsp; &#91;&quot;firm_id&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;quantity&quot;&#93;=1,<br /> &nbsp; &#91;&quot;order_num&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;server_trans_id&quot;&#93;=1280,<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br />},<br />-- Table: {6}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=5,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=22,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=479,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=479914,<br /> &nbsp; &#91;&quot;day&quot;&#93;=2,<br /> &nbsp; &#91;&quot;month&quot;&#93;=3,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=51,<br /> &nbsp; &#91;&quot;year&quot;&#93;=2018,<br /> &nbsp; &#91;&quot;min&quot;&#93;=26,<br />},<br />-- Table: {7}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=0,<br /> &nbsp; &#91;&quot;day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;month&quot;&#93;=1,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=0,<br /> &nbsp; &#91;&quot;year&quot;&#93;=1601,<br /> &nbsp; &#91;&quot;min&quot;&#93;=0,<br />},</td></tr></tbody></table>Таблица заявок:<table class="forum-spoiler"><thead onclick="if (this.nextSibling.style.display=='none') { this.nextSibling.style.display=''; BX.addClass(this, 'forum-spoiler-head-open'); } else { this.nextSibling.style.display='none'; BX.removeClass(this, 'forum-spoiler-head-open'); } BX.onCustomEvent('BX.Forum.Spoiler:toggle', [{node: this}]); event.stopPropagation();"><tr><th><div>Скрытый текст</div></th></tr></thead><tbody class="forum-spoiler" style="display:none;"><tr><td>Номер &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;29666422467,000000 &nbsp; &nbsp;<br />Дата &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;02.03.2018 &nbsp; &nbsp;<br />Выставлена (время) &nbsp; &nbsp;22:26:51 &nbsp; &nbsp;<br />Бумага &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SiH8 &#91;FORTS: Фьючерсы&#93; &nbsp; &nbsp;<br />Операция &nbsp; &nbsp; &nbsp; &nbsp;Продажа &nbsp; &nbsp;<br />Цена &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56934,000000 &nbsp; &nbsp;<br />Кол-во &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1,000000 &nbsp; &nbsp;<br />Остаток &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0,000000 &nbsp; &nbsp;<br />Объем &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;56934,000000 &nbsp; &nbsp;<br />Состояние &nbsp; &nbsp; &nbsp; &nbsp;Исполнена &nbsp; &nbsp;<br />Дата снятия &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Снята (время) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Срок &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Время активации &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Комментарий &nbsp; &nbsp; &nbsp; &nbsp;CC trans_id=1 Sell &nbsp; &nbsp;<br />ID транзакции &nbsp; &nbsp; &nbsp; &nbsp;1,000000</td></tr></tbody></table>Функция OnOrder:<table class="forum-spoiler"><thead onclick="if (this.nextSibling.style.display=='none') { this.nextSibling.style.display=''; BX.addClass(this, 'forum-spoiler-head-open'); } else { this.nextSibling.style.display='none'; BX.removeClass(this, 'forum-spoiler-head-open'); } BX.onCustomEvent('BX.Forum.Spoiler:toggle', [{node: this}]); event.stopPropagation();"><tr><th><div>Скрытый текст</div></th></tr></thead><tbody class="forum-spoiler" style="display:none;"><tr><td>-- Table: {2}<br />{<br /> &nbsp; &#91;&quot;withdraw_datetime&quot;&#93;={7},<br /> &nbsp; &#91;&quot;revision_number&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price&quot;&#93;=56934,<br /> &nbsp; &#91;&quot;investment_decision_maker_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;value_entry_type&quot;&#93;=0,<br /> &nbsp; &#91;&quot;expiry_time&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;balance&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ext_order_flags&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo_value_balance&quot;&#93;=0,<br /> &nbsp; &#91;&quot;value&quot;&#93;=56934,<br /> &nbsp; &#91;&quot;qty&quot;&#93;=1,<br /> &nbsp; &#91;&quot;price_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;datetime&quot;&#93;={8},<br /> &nbsp; &#91;&quot;passive_only_order&quot;&#93;=0,<br /> &nbsp; &#91;&quot;local_time&quot;&#93;=31822.15,<br /> &nbsp; &#91;&quot;class_code&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;activation_time&quot;&#93;=0,<br /> &nbsp; &#91;&quot;userid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;client_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;expiry&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;flags&quot;&#93;=28,<br /> &nbsp; &#91;&quot;client_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;on_behalf_of_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;settle_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;linkedorder&quot;&#93;=0,<br /> &nbsp; &#91;&quot;extref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;visible&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ordernum&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;sec_code&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;ext_order_status&quot;&#93;=0,<br /> &nbsp; &#91;&quot;filled_value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;canceled_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;side_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;accepted_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;firmid&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;executing_trader_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;yield&quot;&#93;=0,<br /> &nbsp; &#91;&quot;reject_reason&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;capacity&quot;&#93;=0,<br /> &nbsp; &#91;&quot;acnt_type&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo2value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;start_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;min_qty&quot;&#93;=0,<br /> &nbsp; &#91;&quot;executing_trader_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;exec_type&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_num&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;repovalue&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repoterm&quot;&#93;=0,<br /> &nbsp; &#91;&quot;accruedint&quot;&#93;=0,<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;seccode&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;uid&quot;&#93;=29135,<br /> &nbsp; &#91;&quot;brokerref&quot;&#93;=&quot;CC trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;settlecode&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;awg_price&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=1,<br /> &nbsp; &#91;&quot;bank_acc_id&quot;&#93;=&quot;&quot;,<br />},<br />-- Table: {6}<br />{<br /> &nbsp; &#91;&quot;withdraw_datetime&quot;&#93;={15},<br /> &nbsp; &#91;&quot;revision_number&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price&quot;&#93;=56934,<br /> &nbsp; &#91;&quot;investment_decision_maker_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;value_entry_type&quot;&#93;=0,<br /> &nbsp; &#91;&quot;expiry_time&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;balance&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ext_order_flags&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo_value_balance&quot;&#93;=0,<br /> &nbsp; &#91;&quot;value&quot;&#93;=56934,<br /> &nbsp; &#91;&quot;qty&quot;&#93;=1,<br /> &nbsp; &#91;&quot;price_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;datetime&quot;&#93;={16},<br /> &nbsp; &#91;&quot;passive_only_order&quot;&#93;=0,<br /> &nbsp; &#91;&quot;local_time&quot;&#93;=31822.137,<br /> &nbsp; &#91;&quot;class_code&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;activation_time&quot;&#93;=0,<br /> &nbsp; &#91;&quot;userid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;client_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;expiry&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;flags&quot;&#93;=28,<br /> &nbsp; &#91;&quot;client_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;on_behalf_of_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;settle_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;linkedorder&quot;&#93;=0,<br /> &nbsp; &#91;&quot;extref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;visible&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ordernum&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;sec_code&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;ext_order_status&quot;&#93;=0,<br /> &nbsp; &#91;&quot;filled_value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;canceled_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;side_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;accepted_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;firmid&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;executing_trader_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;yield&quot;&#93;=0,<br /> &nbsp; &#91;&quot;reject_reason&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;capacity&quot;&#93;=0,<br /> &nbsp; &#91;&quot;acnt_type&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo2value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;start_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;min_qty&quot;&#93;=0,<br /> &nbsp; &#91;&quot;executing_trader_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;exec_type&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_num&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;repovalue&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repoterm&quot;&#93;=0,<br /> &nbsp; &#91;&quot;accruedint&quot;&#93;=0,<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;seccode&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;brokerref&quot;&#93;=&quot;CC trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;settlecode&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;awg_price&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=0,<br /> &nbsp; &#91;&quot;bank_acc_id&quot;&#93;=&quot;&quot;,<br />},<br />-- Table: {7}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=0,<br /> &nbsp; &#91;&quot;day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;month&quot;&#93;=1,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=0,<br /> &nbsp; &#91;&quot;year&quot;&#93;=1601,<br /> &nbsp; &#91;&quot;min&quot;&#93;=0,<br />},<br />-- Table: {8}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=5,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=22,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=484,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=484000,<br /> &nbsp; &#91;&quot;day&quot;&#93;=2,<br /> &nbsp; &#91;&quot;month&quot;&#93;=3,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=51,<br /> &nbsp; &#91;&quot;year&quot;&#93;=2018,<br /> &nbsp; &#91;&quot;min&quot;&#93;=26,<br />},<br />-- Table: {15}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=0,<br /> &nbsp; &#91;&quot;day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;month&quot;&#93;=1,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=0,<br /> &nbsp; &#91;&quot;year&quot;&#93;=1601,<br /> &nbsp; &#91;&quot;min&quot;&#93;=0,<br />},<br />-- Table: {16}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=5,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=22,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=484,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=484000,<br /> &nbsp; &#91;&quot;day&quot;&#93;=2,<br /> &nbsp; &#91;&quot;month&quot;&#93;=3,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=51,<br /> &nbsp; &#91;&quot;year&quot;&#93;=2018,<br /> &nbsp; &#91;&quot;min&quot;&#93;=26,<br />},</td></tr></tbody></table>Таблица сделок:<table class="forum-spoiler"><thead onclick="if (this.nextSibling.style.display=='none') { this.nextSibling.style.display=''; BX.addClass(this, 'forum-spoiler-head-open'); } else { this.nextSibling.style.display='none'; BX.removeClass(this, 'forum-spoiler-head-open'); } BX.onCustomEvent('BX.Forum.Spoiler:toggle', [{node: this}]); event.stopPropagation();"><tr><th><div>Скрытый текст</div></th></tr></thead><tbody class="forum-spoiler" style="display:none;"><tr><td>Номер &nbsp; &nbsp; &nbsp; &nbsp;1982204382,000000<br />Дата сделки &nbsp; &nbsp;02.03.2018<br />Время &nbsp; &nbsp; &nbsp; &nbsp;22:26:51<br />Заявка &nbsp; &nbsp; &nbsp; &nbsp;29666422467,000000<br />Бумага &nbsp; &nbsp; &nbsp; &nbsp;SiH8 &#91;FORTS: Фьючерсы&#93;<br />Операция &nbsp; &nbsp;Продажа<br />Цена &nbsp; &nbsp; &nbsp; &nbsp;56935,000000<br />Кол-во &nbsp; &nbsp; &nbsp; &nbsp;1,000000<br />Объем &nbsp; &nbsp; &nbsp; &nbsp;56935,000000<br />Комментарий &nbsp; &nbsp;CC trans_id=1 Sell<br />ID транзакции &nbsp; &nbsp;1,000000</td></tr></tbody></table>Функция OnTrade:<table class="forum-spoiler"><thead onclick="if (this.nextSibling.style.display=='none') { this.nextSibling.style.display=''; BX.addClass(this, 'forum-spoiler-head-open'); } else { this.nextSibling.style.display='none'; BX.removeClass(this, 'forum-spoiler-head-open'); } BX.onCustomEvent('BX.Forum.Spoiler:toggle', [{node: this}]); event.stopPropagation();"><tr><th><div>Скрытый текст</div></th></tr></thead><tbody class="forum-spoiler" style="display:none;"><tr><td>-- Table: {2}<br />{<br /> &nbsp; &#91;&quot;settle_date&quot;&#93;=20180305,<br /> &nbsp; &#91;&quot;otc_post_trade_indicator&quot;&#93;=0,<br /> &nbsp; &#91;&quot;period&quot;&#93;=1,<br /> &nbsp; &#91;&quot;exchange_comission&quot;&#93;=0.8,<br /> &nbsp; &#91;&quot;settlecode&quot;&#93;=&quot;T1&quot;,<br /> &nbsp; &#91;&quot;qty&quot;&#93;=1,<br /> &nbsp; &#91;&quot;local_time&quot;&#93;=31822.118,<br /> &nbsp; &#91;&quot;capacity&quot;&#93;=0,<br /> &nbsp; &#91;&quot;canceled_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;seccode&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;clearing_firmid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;canceled_datetime&quot;&#93;={8},<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;linked_trade&quot;&#93;=0,<br /> &nbsp; &#91;&quot;side_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;firmid&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;executing_trader_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trade_currency&quot;&#93;=&quot;SUR&quot;,<br /> &nbsp; &#91;&quot;accrued2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=1,<br /> &nbsp; &#91;&quot;repovalue&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_price&quot;&#93;=0,<br /> &nbsp; &#91;&quot;accruedint&quot;&#93;=0,<br /> &nbsp; &#91;&quot;uid&quot;&#93;=29135,<br /> &nbsp; &#91;&quot;start_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;station_id&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_qty&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price&quot;&#93;=56935,<br /> &nbsp; &#91;&quot;trade_num&quot;&#93;=1982204382,<br /> &nbsp; &#91;&quot;lower_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;cpfirmid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;clearing_bank_accid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;class_code&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;userid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;tradenum&quot;&#93;=1982204382,<br /> &nbsp; &#91;&quot;datetime&quot;&#93;={9},<br /> &nbsp; &#91;&quot;liquidity_indicator&quot;&#93;=0,<br /> &nbsp; &#91;&quot;kind&quot;&#93;=1,<br /> &nbsp; &#91;&quot;ordernum&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;exec_market&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;repoterm&quot;&#93;=0,<br /> &nbsp; &#91;&quot;extref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mleg_base_sid&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;value&quot;&#93;=56935,<br /> &nbsp; &#91;&quot;waiver_flag&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;lseccode&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;client_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;yield&quot;&#93;=0,<br /> &nbsp; &#91;&quot;on_behalf_of_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ext_trade_flags&quot;&#93;=0,<br /> &nbsp; &#91;&quot;upper_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo2value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;system_ref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;tech_center_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;executing_trader_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;reporate&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_num&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;price2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;settle_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_revision_number&quot;&#93;=0,<br /> &nbsp; &#91;&quot;flags&quot;&#93;=68,<br /> &nbsp; &#91;&quot;cross_rate&quot;&#93;=0,<br /> &nbsp; &#91;&quot;brokerref&quot;&#93;=&quot;CC trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;sec_code&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;block_securities&quot;&#93;=0,<br /> &nbsp; &#91;&quot;clearing_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;broker_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;bank_acc_id&quot;&#93;=&quot;&quot;,<br />},<br />-- Table: {3}<br />{<br /> &nbsp; &#91;&quot;settle_date&quot;&#93;=20180305,<br /> &nbsp; &#91;&quot;otc_post_trade_indicator&quot;&#93;=0,<br /> &nbsp; &#91;&quot;period&quot;&#93;=1,<br /> &nbsp; &#91;&quot;exchange_comission&quot;&#93;=0.8,<br /> &nbsp; &#91;&quot;settlecode&quot;&#93;=&quot;T1&quot;,<br /> &nbsp; &#91;&quot;qty&quot;&#93;=1,<br /> &nbsp; &#91;&quot;local_time&quot;&#93;=31822.124,<br /> &nbsp; &#91;&quot;capacity&quot;&#93;=0,<br /> &nbsp; &#91;&quot;canceled_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;seccode&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;clearing_firmid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;canceled_datetime&quot;&#93;={10},<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;linked_trade&quot;&#93;=0,<br /> &nbsp; &#91;&quot;side_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;firmid&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;executing_trader_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trade_currency&quot;&#93;=&quot;SUR&quot;,<br /> &nbsp; &#91;&quot;accrued2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=1,<br /> &nbsp; &#91;&quot;repovalue&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_price&quot;&#93;=0,<br /> &nbsp; &#91;&quot;accruedint&quot;&#93;=0,<br /> &nbsp; &#91;&quot;uid&quot;&#93;=29135,<br /> &nbsp; &#91;&quot;start_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;station_id&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_qty&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price&quot;&#93;=56935,<br /> &nbsp; &#91;&quot;trade_num&quot;&#93;=1982204382,<br /> &nbsp; &#91;&quot;lower_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;cpfirmid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;clearing_bank_accid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;class_code&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;userid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;tradenum&quot;&#93;=1982204382,<br /> &nbsp; &#91;&quot;datetime&quot;&#93;={11},<br /> &nbsp; &#91;&quot;liquidity_indicator&quot;&#93;=0,<br /> &nbsp; &#91;&quot;kind&quot;&#93;=1,<br /> &nbsp; &#91;&quot;ordernum&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;exec_market&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;repoterm&quot;&#93;=0,<br /> &nbsp; &#91;&quot;extref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mleg_base_sid&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;value&quot;&#93;=56935,<br /> &nbsp; &#91;&quot;waiver_flag&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;lseccode&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;client_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;yield&quot;&#93;=0,<br /> &nbsp; &#91;&quot;on_behalf_of_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ext_trade_flags&quot;&#93;=0,<br /> &nbsp; &#91;&quot;upper_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo2value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;system_ref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;tech_center_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;executing_trader_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;reporate&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_num&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;price2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;settle_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_revision_number&quot;&#93;=0,<br /> &nbsp; &#91;&quot;flags&quot;&#93;=68,<br /> &nbsp; &#91;&quot;cross_rate&quot;&#93;=0,<br /> &nbsp; &#91;&quot;brokerref&quot;&#93;=&quot;CC trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;sec_code&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;block_securities&quot;&#93;=0,<br /> &nbsp; &#91;&quot;clearing_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;broker_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;bank_acc_id&quot;&#93;=&quot;&quot;,<br />},<br />-- Table: {7}<br />{<br /> &nbsp; &#91;&quot;settle_date&quot;&#93;=20180305,<br /> &nbsp; &#91;&quot;otc_post_trade_indicator&quot;&#93;=0,<br /> &nbsp; &#91;&quot;period&quot;&#93;=1,<br /> &nbsp; &#91;&quot;exchange_comission&quot;&#93;=0.8,<br /> &nbsp; &#91;&quot;settlecode&quot;&#93;=&quot;T1&quot;,<br /> &nbsp; &#91;&quot;qty&quot;&#93;=1,<br /> &nbsp; &#91;&quot;local_time&quot;&#93;=31822.108,<br /> &nbsp; &#91;&quot;capacity&quot;&#93;=0,<br /> &nbsp; &#91;&quot;canceled_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;seccode&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;clearing_firmid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;canceled_datetime&quot;&#93;={18},<br /> &nbsp; &#91;&quot;account&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;linked_trade&quot;&#93;=0,<br /> &nbsp; &#91;&quot;side_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;firmid&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;executing_trader_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trade_currency&quot;&#93;=&quot;SUR&quot;,<br /> &nbsp; &#91;&quot;accrued2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;trans_id&quot;&#93;=1,<br /> &nbsp; &#91;&quot;repovalue&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_price&quot;&#93;=0,<br /> &nbsp; &#91;&quot;accruedint&quot;&#93;=0,<br /> &nbsp; &#91;&quot;uid&quot;&#93;=29135,<br /> &nbsp; &#91;&quot;start_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;station_id&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_qty&quot;&#93;=0,<br /> &nbsp; &#91;&quot;price&quot;&#93;=56935,<br /> &nbsp; &#91;&quot;trade_num&quot;&#93;=1982204382,<br /> &nbsp; &#91;&quot;lower_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;cpfirmid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;clearing_bank_accid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;class_code&quot;&#93;=&quot;SPBFUT&quot;,<br /> &nbsp; &#91;&quot;userid&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;tradenum&quot;&#93;=1982204382,<br /> &nbsp; &#91;&quot;datetime&quot;&#93;={19},<br /> &nbsp; &#91;&quot;liquidity_indicator&quot;&#93;=0,<br /> &nbsp; &#91;&quot;kind&quot;&#93;=1,<br /> &nbsp; &#91;&quot;ordernum&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;exec_market&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;repoterm&quot;&#93;=0,<br /> &nbsp; &#91;&quot;extref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mleg_base_sid&quot;&#93;=-1,<br /> &nbsp; &#91;&quot;value&quot;&#93;=56935,<br /> &nbsp; &#91;&quot;waiver_flag&quot;&#93;=0,<br /> &nbsp; &#91;&quot;client_code&quot;&#93;=&quot;-----------&quot;,<br /> &nbsp; &#91;&quot;investment_decision_maker_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;lseccode&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;client_qualifier&quot;&#93;=0,<br /> &nbsp; &#91;&quot;yield&quot;&#93;=0,<br /> &nbsp; &#91;&quot;on_behalf_of_uid&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ext_trade_flags&quot;&#93;=0,<br /> &nbsp; &#91;&quot;upper_discount&quot;&#93;=0,<br /> &nbsp; &#91;&quot;repo2value&quot;&#93;=0,<br /> &nbsp; &#91;&quot;system_ref&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;tech_center_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;executing_trader_short_code&quot;&#93;=0,<br /> &nbsp; &#91;&quot;reporate&quot;&#93;=0,<br /> &nbsp; &#91;&quot;order_num&quot;&#93;=29666422467,<br /> &nbsp; &#91;&quot;exchange_code&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;price2&quot;&#93;=0,<br /> &nbsp; &#91;&quot;settle_currency&quot;&#93;=&quot;&quot;,<br /> &nbsp; &#91;&quot;order_revision_number&quot;&#93;=0,<br /> &nbsp; &#91;&quot;flags&quot;&#93;=68,<br /> &nbsp; &#91;&quot;cross_rate&quot;&#93;=0,<br /> &nbsp; &#91;&quot;brokerref&quot;&#93;=&quot;CC trans_id=1 Sell&quot;,<br /> &nbsp; &#91;&quot;sec_code&quot;&#93;=&quot;SiH8&quot;,<br /> &nbsp; &#91;&quot;block_securities&quot;&#93;=0,<br /> &nbsp; &#91;&quot;clearing_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;broker_comission&quot;&#93;=0,<br /> &nbsp; &#91;&quot;bank_acc_id&quot;&#93;=&quot;&quot;,<br />},<br />-- Table: {8}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=0,<br /> &nbsp; &#91;&quot;day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;month&quot;&#93;=1,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=0,<br /> &nbsp; &#91;&quot;year&quot;&#93;=1601,<br /> &nbsp; &#91;&quot;min&quot;&#93;=0,<br />},<br />-- Table: {9}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=5,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=22,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=484,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=484000,<br /> &nbsp; &#91;&quot;day&quot;&#93;=2,<br /> &nbsp; &#91;&quot;month&quot;&#93;=3,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=51,<br /> &nbsp; &#91;&quot;year&quot;&#93;=2018,<br /> &nbsp; &#91;&quot;min&quot;&#93;=26,<br />},<br />-- Table: {10}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=0,<br /> &nbsp; &#91;&quot;day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;month&quot;&#93;=1,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=0,<br /> &nbsp; &#91;&quot;year&quot;&#93;=1601,<br /> &nbsp; &#91;&quot;min&quot;&#93;=0,<br />},<br />-- Table: {11}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=5,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=22,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=484,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=484000,<br /> &nbsp; &#91;&quot;day&quot;&#93;=2,<br /> &nbsp; &#91;&quot;month&quot;&#93;=3,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=51,<br /> &nbsp; &#91;&quot;year&quot;&#93;=2018,<br /> &nbsp; &#91;&quot;min&quot;&#93;=26,<br />},<br />-- Table: {18}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=0,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=0,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=0,<br /> &nbsp; &#91;&quot;day&quot;&#93;=1,<br /> &nbsp; &#91;&quot;month&quot;&#93;=1,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=0,<br /> &nbsp; &#91;&quot;year&quot;&#93;=1601,<br /> &nbsp; &#91;&quot;min&quot;&#93;=0,<br />},<br />-- Table: {19}<br />{<br /> &nbsp; &#91;&quot;week_day&quot;&#93;=5,<br /> &nbsp; &#91;&quot;hour&quot;&#93;=22,<br /> &nbsp; &#91;&quot;ms&quot;&#93;=484,<br /> &nbsp; &#91;&quot;mcs&quot;&#93;=484000,<br /> &nbsp; &#91;&quot;day&quot;&#93;=2,<br /> &nbsp; &#91;&quot;month&quot;&#93;=3,<br /> &nbsp; &#91;&quot;sec&quot;&#93;=51,<br /> &nbsp; &#91;&quot;year&quot;&#93;=2018,<br /> &nbsp; &#91;&quot;min&quot;&#93;=26,<br />},</td></tr></tbody></table> <br />
			<i>04.03.2018 17:14:43, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29627/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29627/topic3423/</guid>
			<pubDate>Sun, 04 Mar 2018 17:14:43 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29620/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_1CeX15X7" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /> Алексей &nbsp;, <br />Сообщите версию терминала QUIK на котором повторяется проблема.<br />Были ли какие-то особенные события которые происходили 22го числа?<br />Возможно что 22го была более старая версия терминала чем сейчас?<br />=============<br />1. Quik 7.14.1.7. Стоит давно, обновлений не было.<br />2. Брокер Сбербанк. UID 60172. Пример конкретной заявки: 22.02.2018 в 11:59:56 на FORTS заявка 29545190638 <br />3. Проблема наблюдалась на всех транзакциях только 22.02.2018 г. Ни ранее, ни позднее не наблюдалась.<br />4. Особенные события: на следующий торговый день 26.02.2018 г. у Сбербанка с момента открытия торгов более чем на 2 часа рухнули все серверы для клиентов с SMS авторизацией. Может быть после этого все наладилось? <br />
			<i>03.03.2018 22:58:58, Алексей.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29620/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29620/topic3423/</guid>
			<pubDate>Sat, 03 Mar 2018 22:58:58 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29619/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Да уж:<br /><br />====quote====<br />на всех quik, у всех подключенных брокерах это поле пустое. Это и ВТБ, КитФинансБрокер и Финам.<br /><br />=============<br /> &nbsp;<img src="http://forum.quik.ru/upload/main/smiles/5/icon_sad.png" border="0" data-code=":sad:" data-definition="SD" alt=":sad:" style="width:16px;height:16px;" title="Печально" class="bx-smile" /> <br />
			<i>03.03.2018 20:04:57, XXM.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29619/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29619/topic3423/</guid>
			<pubDate>Sat, 03 Mar 2018 20:04:57 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29614/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Если 19.02.2018 лог выглядел так:<br /><table class="data-table"><tr><td>14:00:02; &#91;RIR1&#93;; setB, 126460 &nbsp; x 1, t_id = 781648986, CS, Bar 5140 <br />14:00:02; &#91;RIR1&#93;; Buy, &nbsp; CS, RIH8, best_offer = 126450, buyPrice = 126460, t_id = 781648986<br />14:00:03; Ошибка создания заявки. &#91;GW&#93;&#91;380&#93; &nbsp; &quot;Идет пром. клиринг, нельзя совершать торговые операции.&quot;. <br />14:00:03; &#91;RIR1&#93;; OnTrans, RIH8 Ошибка 4, 126460 x 1, brokerref = &nbsp; CSmR1, t_id =781648986, Ошибка создания заявки. &#91;GW&#93;&#91;380&#93; &nbsp; &quot;Идет пром. клиринг, нельзя совершать торговые операции.&quot;. &nbsp; </td></tr></table>то 26.02.2018 слегка по другому:<table class="data-table"><tr><td>14:00:06; &#91;SiS4&#93;; setS, &nbsp; 56019 x 1, t_id = 284370704, CL, Bar 5415 <br />14:00:06; &#91;SiS4&#93;; Sell, &nbsp; CL, SiH8, best_bid = 56029, sellPrice = 56019, t_id = 284370704<br />14:00:07; &#91;SiH8&#93;; OnTrans, no_xxxxxx, <span class="bx-font" style="color:#ff0000"><B>reply.brokerref = </B></span> &nbsp;, t_id = 284370704, Ошибка &nbsp; создания заявки. &#91;GW&#93;&#91;380&#93; &nbsp; &quot;Идет пром. клиринг, нельзя совершать торговые операции.&quot;. &nbsp; </td></tr></table>Я уж чего только не думал, где только у себя в программе косяк искал (((<br /><br />По существу:<br />QUIK 7.14.1.7<br /><span class="bx-font" style="font-size:12pt; line-height: normal;"><U><B>в обоих случаях.</B></U></span><br />UID и брокер не уточнял, т.к. сообщения прислал мой коллега, пользователь моей программы. <br />На всякий случай спрошу.<br />Но в сухом остатке: reply.brokerref - <span class="bx-font" style="font-size:12pt; line-height: normal;"><B>ПУСТОЙ </B></span><B><span class="bx-font" style="font-size:12pt; line-height: normal;">!!!</span></B><br /><br />PS Проблема, оказывается, не только у меня &nbsp; <img src="http://forum.quik.ru/upload/main/smiles/5/icon_confuse.png" border="0" data-code=":what:" data-definition="SD" alt=":what:" style="width:16px;height:16px;" title="Озадаченно" class="bx-smile" /> &nbsp; <br />
			<i>03.03.2018 12:23:00, XXM.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29614/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29614/topic3423/</guid>
			<pubDate>Sat, 03 Mar 2018 12:23:00 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29600/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Внимание всем.<br />У нас нет никаких сомнений что имеется какая-то проблема.<br />Однако только посты вида "проблема не только у меня" и "Подтверждаю" НЕ помогут найти причину проблемы, а на оборот только затянут поиск.<br />Если Вы действительно хотите помочь, просто укажите следующую информацию:<br />Точную версию терминала на которой наблюдалась проблема.<br />Дату/время транзакции<br />Ваш UID и кто брокер.<br />Это всё что требуется.<br /><br />Заранее спасибо за понимание.<br /><br /><a class="blog-p-user-name" id="bp_040nF2bt" href="/user/901/" bx-tooltip-user-id="901">Suntor</a>, <br />Просьба уточнить время транзакции<br />Ваш UID и кто брокер. <br />
			<i>02.03.2018 23:28:03, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29600/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29600/topic3423/</guid>
			<pubDate>Fri, 02 Mar 2018 23:28:03 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29599/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			Подтверждаю. Посмотрел сейчас логи последние и старые в том числе. В OnTransReply приходит &#91;&quot;brokerref&quot;&#93;=&quot;&quot;. А в OnOrder и в OnTrade приходит заполненным.<br /><br />По логам на обоих версиях:<br />7.14.1.7, проверял 27.02.2018<br />7.16.2.5, проверял 02.03.2018<br /><br />Сделки были по SiH8 за обе даты, в обоих направлениях по несколько штук. <br />
			<i>02.03.2018 22:56:58, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29599/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29599/topic3423/</guid>
			<pubDate>Fri, 02 Mar 2018 22:56:58 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29598/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<a class="blog-p-user-name" id="bp_lWI5xm2c" href="/user/3010/" bx-tooltip-user-id="3010">Алексей</a>, <br />Сообщите версию терминала QUIK на котором повторяется проблема.<br />Были ли какие-то особенные события которые происходили 22го числа?<br />Возможно что 22го была более старая версия терминала чем сейчас? <br />
			<i>02.03.2018 19:39:48, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29598/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29598/topic3423/</guid>
			<pubDate>Fri, 02 Mar 2018 19:39:48 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29590/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_CzGdsgDg" href="/user/19/" bx-tooltip-user-id="19">Egor Zaytsev</a> написал:<br /><br />====quote====<br /> Алексей &nbsp; написал:<br /><br />====quote====<br /> Egor Zaytsev &nbsp; написал:<br />Проблема с brokerref возникает периодически или при каждой отправки транзакции? <br />Сообщите версию QUIK и если есть возможность выложите свой скрипт.<br />=============<br />Единичный случай. Поэтому указал номер заявки.<br />Quik 7.14.1.7<br />=============<br />С этим вопросом необходимо разбираться. <br />Можно попробовать решить через брокера. Обратитесь к нему, пожалуйста.<br />От Вас же потребуется номер заявки/архив рабочего места QUIK без ключей доступа/полный скрипт/<br />Дату выставления транзакции.<br />=============<br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_4g6OgbYk" href="/user/3010/" bx-tooltip-user-id="3010">Алексей</a> написал: <I>(самое первое сообщение)</I><br />Сегодня 22.02.2018 в 11:59:56 на FORTS lua-скриптом была выставлена заявка 29545190638 с заполненным полем CLIENT_CODE.<br /><br />=============<br />Брокер - Сбербанк.<br />Что же касается:<br />====quote====<br />От Вас же потребуется номер заявки/архив рабочего места QUIK без ключей доступа/полный скрипт/<br />=============<br />то судя по <noindex><a href="https://forum.quik.ru/forum10/topic3447/" target="_blank" rel="nofollow">Комментарий при выставлении заявки - проблемы с обработкой в OnTransReply</a></noindex> проблема не только у меня и, значит, не связана со скриптом.<br />Еще раз обращу внимание: brokerref &nbsp;пропал только в OnTransReply. В OnOrder и OnTrade он был корректно заполнен. Это было видно и в логах скрипта и визуально в соответствующих таблицах Quik (например, в &quot;Таблица транзакций&quot; для OnTransReply). <br />Впрочем, проблема наблюдалась только 22.02.2018 г. Сейчас OnTransReply приходит с корректным brokerref. <br />
			<i>02.03.2018 10:29:51, Алексей.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29590/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29590/topic3423/</guid>
			<pubDate>Fri, 02 Mar 2018 10:29:51 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29512/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_uyPHQSmw" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br />Это гениально!<br /><br />=============<br />Так исторически сложилось и к сожалению изменить что либо в этом месте никак не получится.<br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_dwIPbgG1" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br />Но всё же, могу ли я в Lua послать KILL_ALL_ORDERS c полем COMMENT, чтобы снять группу заявок предварительно отправленных с тем же полем COMMENT?<br />=============<br />Ответ уже был дан<br /><br />====quote====<br /><a class="blog-p-user-name" id="bp_uMCC63ay" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br />через Lua нельзя использовать групповое снятие заявок<br />=============<br /> <br />
			<i>27.02.2018 22:14:04, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29512/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29512/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 22:14:04 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29511/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_nEt5y5V1" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /><br />====quote====<br /> Suntor &nbsp; написал:<br /> и для чего вообще эта строчка кода?<br />=============<br />Конкретно в этом примере можно считать этот параметр излишним.<br />=============<br />Это просто вводит людей в заблуждение, потому что люди ждут, что значение из этого поля отобразится в таблице заявок в столбце «Комментарий».<br />Потом сидят ищут в логах таблиц колбэков этот же параметр и не находят, потом идут на форум задавать вопросы, где их ещё сильнее запутывают...<br /><br />Я уже выяснил, что вместо поля COMMENT, нужно использовать поле CLIENT_CODE при посылке транзакции, и это поле не совпадает с полем CLIENT_CODE в ответах в колбэках, а приходит в виде поля BROKERREF... Это гениально!<br />Но всё же, могу ли я в Lua послать KILL_ALL_ORDERS c полем COMMENT, чтобы снять группу заявок предварительно отправленных с тем же полем COMMENT? <br />
			<i>27.02.2018 22:09:21, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29511/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29511/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 22:09:21 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29504/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_S8XHCVnM" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br /> и для чего вообще эта строчка кода?<br />=============<br />Конкретно в этом примере можно считать этот параметр излишним. <br />
			<i>27.02.2018 21:49:00, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29504/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29504/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 21:49:00 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29503/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_Z0K9JYqp" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br />Осталось только узнать, что такое «групповое снятие заявок»?... Забавно, что поиск по документации Quik ничего не даёт<br />=============<br /><br />-Раздел 6. Совместная работа с другими приложениями<br />--Импорт транзакций<br />---Формат .tri-файла с параметрами транзакций<br /><br />====quote====<br />Команды снятия группы заявок по условию («KILL_ALL_ORDERS», «KILL_ALL_STOP_ORDERS», «KILL_ALL_NEG_DEALS», «KILL_ALL_FUTURES_ORDERS»)<br />=============<br /> <br />
			<i>27.02.2018 21:44:06, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29503/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29503/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 21:44:06 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29501/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_47BVpdBu" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br /><br />====quote====<br /> Suntor &nbsp; написал:<br /><br />В вашем примере из документации: &nbsp; <noindex><a href="https://arqatech.com/upload/iblock/194/quik_lua.zip" target="_blank" rel="nofollow">https://arqatech.com/upload/iblock/194/quik_lua.zip</a></noindex> &nbsp;<br />=============<br />в примере \quik_lua\examples\test_trans.lua используется поле COMMENT, в которое прямо так и пишется строчка &quot;LUA&quot;<br /><br />transaction.COMMENT = &quot;LUA &quot;.. tostring(x)<br />=============<br />А вы говорите, что в Lua это поле COMMENT вообще игнорируется... зачем тогда такой пример давать? и для чего вообще эта строчка кода? <br />
			<i>27.02.2018 21:42:40, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29501/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29501/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 21:42:40 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29500/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_IRwEfblZ" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br /><br />В вашем примере из документации: &nbsp;<noindex><a href="https://arqatech.com/upload/iblock/194/quik_lua.zip" target="_blank" rel="nofollow">https://arqatech.com/upload/iblock/194/quik_lua.zip</a></noindex> <br />=============<br />в примере \quik_lua\examples\test_trans.lua используется поле COMMENT, в которое прямо так и пишется строчка &quot;LUA&quot;<br /><br />transaction.COMMENT = &quot;LUA &quot;.. tostring(x) <br />
			<i>27.02.2018 21:40:49, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29500/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29500/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 21:40:49 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29497/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_DqM1AzFG" href="/user/17/" bx-tooltip-user-id="17">Sergey Gorokhov</a> написал:<br /><br /><br />====quote====<br />COMMENT - Текстовый комментарий, указанный в заявке. &nbsp;Используется при снятии группы заявок <br />=============<br />А так как через Lua нельзя использовать групповое снятие заявок, то и параметр COMMENT просто игнорируется<br />=============<br />Осталось только узнать, что такое «групповое снятие заявок»?... Забавно, что поиск по документации Quik ничего не даёт. А поиск в Яндексе в первой же страницей выдаёт «Групповые заявки в КВИКе — Нет такого»...<br /><br />А вообще, на уважаемых сайтах есть оценка полезности ответов. Вам бы тоже не мешало бы добавить для обратной связи. Вы бы удивились бы, сколько минус вам бы понаставили за большинство ответов на форуме.<br /><br />В вашем примере из документации: <noindex><a href="https://arqatech.com/upload/iblock/194/quik_lua.zip" target="_blank" rel="nofollow">https://arqatech.com/upload/iblock/194/quik_lua.zip</a></noindex> <br />
			<i>27.02.2018 21:38:35, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29497/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29497/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 21:38:35 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29488/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_zgS5gk8D" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br />Единственно, непонятно куда девается содержимое поля COMMENT при sendTransaction. Я нигде не вижу в колбеках значения из этого поля.<br /><br />=============<br /><br />Цитат из документации на терминал QUIK:<br /><br />====quote====<br />COMMENT - Текстовый комментарий, указанный в заявке. <B>Используется при снятии группы заявок</B><br />=============<br /><br />А так как через Lua нельзя использовать групповое снятие заявок, то и параметр COMMENT просто игнорируется <br />
			<i>27.02.2018 16:03:21, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29488/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29488/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 16:03:21 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29485/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_25M7PjCJ" href="/user/19/" bx-tooltip-user-id="19">Egor Zaytsev</a> написал:<br />При отправке заявки через QUIK код клиента и примечание добавляется в поле BrokerRef <br />Поле BrokerRef используется для записи кода клиента и комментария.<br />Для заявок в торговые системы МБ поле так и заполняется, например указываем код клиента 11 и комментарий Test,<br />то поле BrokerRef будет содержать оба этих значения 11/Test.<br /><br />Нужно смотреть конкретный пример вашего скрипта, что заполняете, какой ответ приходит.<br />=============<br />Всё, я понял откуда приходит это поле brokerref. Нужно либо вручную через окошко Ввод заявки, заполнить поля «Код клиента» и «Поручение» чем-нибудь. Либо из Lua скрипта заполнить поле CLIENT_CODE чем-нибудь при sendTransaction.<br /><br />Единственно, непонятно куда девается содержимое поля COMMENT при sendTransaction. Я нигде не вижу в колбеках значения из этого поля. <br />
			<i>27.02.2018 15:26:35, Suntor.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29485/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29485/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 15:26:35 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
		<item>
			<title>Пришел OnTransReply с пустым brokerref</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum10/message29463/topic3423/">Пришел OnTransReply с пустым brokerref</a></b> в форуме <a href="http://forum.quik.ru/forum10/">Программирование на языке Lua</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_pVvucgdv" href="/user/901/" bx-tooltip-user-id="901">Suntor</a> написал:<br /><br />====quote====<br /> Алексей &nbsp; написал:<br />Единичный случай. Поэтому указал номер заявки.<br />Quik 7.14.1.7<br />=============<br />У меня такая же версия, 7.14.1.7, но brokerref всегда равно пустой строке. Это от брокера зависит, заполнение этого поля? И вообще зачем такое поле использовать? не могу понять... если есть поля client_code и order_num, которые эту информацию возвращают.<br />=============<br />Добрый день.<br /><br />При отправке заявки через QUIK код клиента и примечание добавляется в поле BrokerRef <br />Поле BrokerRef используется для записи кода клиента и комментария.<br />Для заявок в торговые системы МБ поле так и заполняется, например указываем код клиента 11 и комментарий Test,<br />то поле BrokerRef будет содержать оба этих значения 11/Test.<br /><br />Нужно смотреть конкретный пример вашего скрипта, что заполняете, какой ответ приходит. <br />
			<i>27.02.2018 06:45:36, Egor Zaytsev.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum10/message29463/topic3423/</link>
			<guid>http://forum.quik.ru/messages/forum10/message29463/topic3423/</guid>
			<pubDate>Tue, 27 Feb 2018 06:45:36 +0300</pubDate>
			<category>Программирование на языке Lua</category>
		</item>
	</channel>
</rss>
