<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Форум QUIK [тема: Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION]</title>
		<link>http://forum.quik.ru</link>
		<description>Новое в теме Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION форума  на сайте Форум QUIK [forum.quik.ru]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sat, 11 Apr 2026 16:00:14 +0300</pubDate>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message46533/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_saOPNS3L" href="/user/13315/" bx-tooltip-user-id="13315">GrigoriyA</a> написал:<br />у меня такая же проблема . и такой же демо счет финама. &nbsp;Никто ничего ответить не может форум экспертов блин<br />=============<br />Ну почему же никто?<br />Отправка ассинхронного ордера<br /><br /><br />procedure TExpert.OnTrade;<br />var<br /> &nbsp;outStr, id: string;<br /> &nbsp;res: long;<br /> &nbsp;ErrCode: long;<br /> &nbsp;ErrSize: Dword;<br /> &nbsp;ErrStr: LPSTR;<br /> &nbsp;Dt: TDateTime;<br />begin<br /> &nbsp;FOrder:= 0;<br /> &nbsp;FTransID:= GetTransID();<br /> &nbsp;id:= IntToStr(TransID);<br /> &nbsp;FMustSpotVol:= (Volume * ExpData.FutData.Lot)/ExpData.SpotData.Lot; //Get spot volume<br /> &nbsp;case aSell of<br /> &nbsp; &nbsp;0: begin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Buy trade, sell spot (output position)<br /> &nbsp; &nbsp; &nbsp;outStr:= &#39;ACCOUNT=&#39; + ExpData.SpotAccaunt + &#39;; CLIENT_CODE=&#39; +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExpData.Client + &#39;; TYPE=L; TRANS_ID=&#39; + id + &#39;; CLASSCODE=&#39; +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExpData.SpotData.ClassCode + &#39;; SECCODE=&#39; + ExpData.SpotData.SecCode +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#39;; ACTION=NEW_ORDER; OPERATION=S&#39; + &#39;; PRICE=&#39; +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FloatToStr(ExpData.SpotData.BuyPrice - 10 * ExpData.SpotData.Step) +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#39;; QUANTITY=&#39; + FloatToStr(MustSpotVol) + &#39;;&#39;;<br /> &nbsp; &nbsp;end;<br /> &nbsp; &nbsp;else begin<br /> &nbsp; &nbsp; &nbsp;outStr:= &#39;ACCOUNT=&#39; + ExpData.SpotAccaunt + &#39;; CLIENT_CODE=&#39; +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExpData.Client + &#39;; TYPE=L; TRANS_ID=&#39; + id +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#39;; CLASSCODE=&#39; + ExpData.SpotData.ClassCode + &#39;; SECCODE=&#39; +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ExpData.SpotData.SecCode +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#39;; ACTION=NEW_ORDER; OPERATION=B&#39; + &#39;; PRICE=&#39; +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FloatToStr(ExpData.SpotData.SellPrice + 10 * ExpData.SpotData.Step) +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#39;; QUANTITY=&#39; + FloatToStr(MustSpotVol) + &#39;;&#39;;<br /> &nbsp; &nbsp;end;<br /> &nbsp;end;<br /> &nbsp;ErrCode:= 0;<br /> &nbsp;ErrSize:= 0;<br /> &nbsp;ErrStr:= nil;<br /> &nbsp;res:= T2QSendASyncTrans(LPSTR(AnsiString(outStr)), ErrCode, ErrStr, ErrSize);<br /> &nbsp;if(res &lt;&gt; TRANS2QUIK_SUCCESS) then<br /> &nbsp;begin<br /> &nbsp; &nbsp;FTransID:= 0;<br /> &nbsp; &nbsp;FTransBusy:= false;<br /> &nbsp;end else<br /> &nbsp;begin<br /> &nbsp; &nbsp;Dt:= now();<br /> &nbsp; &nbsp;FMemo.Lines.Add(DateToStr(Dt) + &#39; &#39; + FormatDateTime(&#39;hh:mm:ss.zzz&#39;, Now()) +<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#39; --&gt; Ордер &#39; + ExpData.SpotData.SecCode + &#39; отправлен.&#39;);<br /> &nbsp;end;<br />end;<br /><br />Получение тикета<br /><br />//--- Transaction callback -----<br />procedure pfTransReplyCB;<br />var<br /> &nbsp;i: integer;<br /> &nbsp;Child: TMDIChild;<br />begin<br /> &nbsp;Mutex.Lock;<br /> &nbsp;try<br /> &nbsp; &nbsp;for i:= 0 to MainForm.MDIChildCount - 1 do<br /> &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp;Child:= TMDIChild(MainForm.MDIChildren&#91;i&#93;);<br /> &nbsp; &nbsp; &nbsp;if(Child &lt;&gt; nil) then<br /> &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp;if(dwTransId = Child.Expert.TransID) then<br /> &nbsp; &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(nTransactionResult = TRANS2QUIK_SUCCESS) then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FOrder:= nOrderNum else &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Get order done<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FTransBusy:= false; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Get order fail<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br /> &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp;end;<br /> &nbsp;finally<br /> &nbsp; &nbsp;Mutex.UnLock;<br /> &nbsp;end;<br />end;<br /><br />Смотрим, что произошло с ордером<br /><br />//--- Order status callback -----<br />procedure pfOrderStatusCB;<br />var<br /> &nbsp;i: integer;<br /> &nbsp;Child: TMDIChild;<br /> &nbsp;StartQty: Quantity;<br /> // s: string;<br />begin<br /> &nbsp;if((nMode = 0) and (dwTransID &gt; 0)) then<br /> &nbsp;begin<br /> &nbsp; &nbsp;Mutex.Lock;<br /> &nbsp; &nbsp;try<br /> &nbsp; &nbsp; &nbsp;for i := 0 to MainForm.MDIChildCount - 1 do<br /> &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp;Child:= TMDIChild(MainForm.MDIChildren&#91;i&#93;);<br /> &nbsp; &nbsp; &nbsp; &nbsp;if(Child &lt;&gt; nil) then<br /> &nbsp; &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(Child.Expert.TransID = dwTransID) then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(dNumber = Child.Expert.Order) then<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;StartQty:= T2QOrderQty(ordDescr); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Order start volume<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(string(SecCode) = Child.Expert.ExpData.FutData.SecCode) then //future<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case nStatus of<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1: {active};<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2: begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(StartQty = nBalance) then &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Canceled<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FTransID:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FTransBusy:= false;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end else<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; begin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Partial done<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case nIsSell of<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0: Child.Expert.FFutVol:= Child.Expert.FFutVol + (StartQty - nBalance);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else Child.Expert.FFutVol:= Child.Expert.FFutVol - (StartQty - nBalance);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FVolume:= StartQty - nBalance;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FaSell:= nIsSell;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PostMessage(Child.Expert.Handle, WM_ON_TRADE,<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NativeUint(Child.Expert.Handle), 0);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else begin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Future order Done<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case nIsSell of<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0: Child.Expert.FFutVol:= Child.Expert.FFutVol + (StartQty - nBalance);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else Child.Expert.FFutVol:= Child.Expert.FFutVol - (StartQty - nBalance);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FVolume:= StartQty - nBalance;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FaSell:= nIsSell;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PostMessage(Child.Expert.Handle, WM_ON_TRADE,<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;NativeUint(Child.Expert.Handle), 0);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end else<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(string(SecCode) = Child.Expert.ExpData.SpotData.SecCode) then &nbsp;//spot<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;begin<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case nStatus of<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1:{active};<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2: begin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Canceled<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FTransID:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Child.Expert.FTransBusy:= false;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else begin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Spot order Done<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FTransID:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case nIsSell of<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0: Child.Expert.FSpotVol:= Child.Expert.FSpotVol + (StartQty - nBalance);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else Child.Expert.FSpotVol:= Child.Expert.FSpotVol - (StartQty - nBalance);<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FOrder:= 0;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Child.Expert.FTransBusy:= false;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp; &nbsp;end;<br /> &nbsp; &nbsp;finally<br /> &nbsp; &nbsp; &nbsp;Mutex.Unlock;<br /> &nbsp; &nbsp;end;<br /> &nbsp;end;<br />end; <br />
			<i>23.06.2020 20:46:43, Михаил Филимонов.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message46533/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message46533/topic4796/</guid>
			<pubDate>Tue, 23 Jun 2020 20:46:43 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message40159/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_Y8uUydzY" href="/user/13315/" bx-tooltip-user-id="13315">GrigoriyA</a> написал:<br />у меня такая же проблема . и такой же демо счет финама. &nbsp;Никто ничего ответить не может форум экспертов блин<br />=============<br />А код возврата и статус ошибки какой?<br />Телепаты же того... в отпуске. <br />
			<i>15.10.2019 11:46:14, Imersio Arrigo.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message40159/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message40159/topic4796/</guid>
			<pubDate>Tue, 15 Oct 2019 11:46:14 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message40158/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			<a class="blog-p-user-name" id="bp_JPeVA2gE" href="/user/13315/" bx-tooltip-user-id="13315">GrigoriyA</a>, <br />ответ уже был дан выше <br />
			<i>15.10.2019 09:37:00, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message40158/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message40158/topic4796/</guid>
			<pubDate>Tue, 15 Oct 2019 09:37:00 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message40153/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			у меня такая же проблема . и такой же демо счет финама. &nbsp;Никто ничего ответить не может форум экспертов блин <br />
			<i>14.10.2019 15:15:36, GrigoriyA.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message40153/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message40153/topic4796/</guid>
			<pubDate>Mon, 14 Oct 2019 15:15:36 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message40117/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_QtBtchgv" href="/user/13322/" bx-tooltip-user-id="13322">Сергей</a> написал:<br />Функция TRANS2QUIK_SEND_SYNC_TRANSACTION возвращает TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю, заявки нет в терминале QUIK. Это случается не для каждого запуска функции. Происходит на Демо-счете Финама. В каком направлении двигаться дальше)?<br />=============<br /><br />Успешность отправки транзакции не гарантирует регистрацию заявки.<br />Например если биржа по каким-то причинам отвергла регистрацию. Транзакция дошла до биржи? Да дошла. Значит и статус у нее соответствующий.<br />А то что биржа отвергла регистрацию заявки это уже вопрос к бирже.<br />Могут быть и другие примеры ситуации, в любом случае нужно смотреть на ошибку которую вернула система. <br />
			<i>11.10.2019 05:20:41, Sergey Gorokhov.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message40117/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message40117/topic4796/</guid>
			<pubDate>Fri, 11 Oct 2019 05:20:41 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message40116/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			Сейчас не могу восстановить историю, но заявки могут не проходить из-за отсутствия денежных средств. &nbsp; <br />
			<i>10.10.2019 20:26:31, Сергей.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message40116/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message40116/topic4796/</guid>
			<pubDate>Thu, 10 Oct 2019 20:26:31 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
		<item>
			<title>Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</title>
			<description><![CDATA[<b><a href="http://forum.quik.ru/messages/forum12/message40114/topic4796/">Проблемы с TRANS2QUIK_SEND_SYNC_TRANSACTION</a></b> <i>Возвращается TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю</i> в форуме <a href="http://forum.quik.ru/forum12/">Динамический импорт транзакций</a>. <br />
			Функция TRANS2QUIK_SEND_SYNC_TRANSACTION возвращает TRANS2QUIK_SUCCESS, а значение тикета в pdOrderNum равно нулю, заявки нет в терминале QUIK. Это случается не для каждого запуска функции. Происходит на Демо-счете Финама. В каком направлении двигаться дальше)? <br />
			<i>10.10.2019 19:57:45, Сергей.</i>]]></description>
			<link>http://forum.quik.ru/messages/forum12/message40114/topic4796/</link>
			<guid>http://forum.quik.ru/messages/forum12/message40114/topic4796/</guid>
			<pubDate>Thu, 10 Oct 2019 19:57:45 +0300</pubDate>
			<category>Динамический импорт транзакций</category>
		</item>
	</channel>
</rss>
