You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Код ошибки WrongSyntax Сообщение ACCOUNT=SPBFUT00559; CLIENT_CODE=XXX;
TYPE=L; TRANS_ID=38895478; CLASSCODE=SPBFUT; SECCODE=LKU0;
ACTION=NEW_ORDER; OPERATION=B; QUANTITY=1; PRICE=17127,21;
Mikhail Sukhov
unread,
Sep 14, 2010, 3:56:06 AM9/14/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
А цена правильная? Кратная шагу? У него сегодня последний день обращения.
MCTuTeJ|19951995
unread,
Sep 14, 2010, 5:16:13 AM9/14/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Нет, цена была неправильная ( Но, кстати, при попытке выравнять её методом ShrinkPrice была ошибка ...
Mikhail Sukhov
unread,
Sep 14, 2010, 5:32:58 AM9/14/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Дайте угадаю, шаг цены равен 0 (в старой версии деление на ноль)? Это значит проблема с настройками таблицы в инструменты. Прогоните Verifier-ом.
MCTuTeJ|19951995
unread,
Sep 15, 2010, 2:45:21 AM9/15/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Да, действительно, вы очень проницательны ) Верифер действительно выдает ошибку: инструменты В таблице 'инструменты' по индексу 11 должна быть колонка 'Количество контрактов в последней сделке' вместо колонки 'Количество в последней сделке'.
Но в таблице инструментов, при редактировании, нет такой колонки как "Количество контрактов в последней сделке", есть только "Количество в последней сделке" ..
MCTuTeJ|19951995
unread,
Sep 15, 2010, 2:46:45 AM9/15/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Но вроде работает и без этого
Mikhail Sukhov
unread,
Sep 15, 2010, 4:38:13 AM9/15/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Ок, в таблицы Инструменты колонок дат сколько? 2 или одна?
MCTuTeJ|19951995
unread,
Sep 16, 2010, 2:29:19 AM9/16/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Одна - "Время последней сделки".
Mikhail Sukhov
unread,
Sep 16, 2010, 7:28:41 AM9/16/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Тогда не очень понятно, что у Вас с шагом цены. Какое значение принимает инструмент в роботе?
MCTuTeJ|19951995
unread,
Sep 17, 2010, 3:16:27 AM9/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
В каком смысле ? метод ShrinkPrice принимает double, инструмент - по событию trader.QuotesChanged присваивается Security sec = quotes.FirstOrDefault(m=>m.Security.Code==secCode);
Mikhail Sukhov
unread,
Sep 17, 2010, 4:00:52 AM9/17/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stock#
Я имел ввиду значение шага цены, а не самого инструмента. Метод ShrinkPrice бросает исключение, когда Security.MinStepSize равен нулю. Чего быть не может.