← Zurück

Пустой стакан

В квике стакан открыт.. настроен правильно.. в студии инструмент к стратегии привязан.. стратегия запущена.. студия к квику подключена.. в логах только - 00:00:00.000| |EmulationTrader|Экспорт запущен. Не заметил когда пропал.. но до обновления студии стакан точно экспортировался.. мож конечно и в настройках чо нахимичил...

War dieses Thema hilfreich?

Thema teilen

Kommentare (5)

Anmelden oder Konto erstellen, Melden Sie sich an oder registrieren Sie sich, um einen Kommentar zu hinterlassen

esper
esper

Какая стратегия используется? Версия студии?

XMbIPb
XMbIPb Autor

Пробовал Тест.. Скользящие к удалённому хранилищу(которое по умолчанию) подключиться не могут.. на него доступ уже закрыли? Студия 4.1.10.1

esper
esper

Стратегия Тест не поддерживает работу со стаканом, надо либо Скользящие, либо Аналитическую. Проблема скорее всего из-за ошибки подключения к удаленному хранилищу, попробуйте еще раз, сейчас оно должно работать.

XMbIPb
XMbIPb
XMbIPb Autor

Не робит..

23:45:17.676|Error |S#.Studio |System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://stocksharp.com:8000/. The connection attempt lasted for a time span of 00:00:21.0016691. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 176.9.107.213:8000. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 176.9.107.213:8000 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) --- End of inner exception stack trace ---

Server stack trace: at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.StreamedFramingRequestChannel.StreamedFramingRequest.SendRequest(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at StockSharp.Community.ICommunityService.Login(String login, String password) at StockSharp.Community.BaseServiceClient1.<Connect>b__0(TService f) at Ecng.Net.ChannelHelper.Invoke[TChannel,TResult](ChannelFactory1 factory, Func2 handler) at StockSharp.Community.BaseServiceClient1.Connect() at StockSharp.Community.BaseServiceClient1.Invoke[TResult](Func2 handler) at StockSharp.Algo.History.Hydra.RemoteStorageClient.#=qCOyPGU6u1eFHgLqzT3_xiPOonbEfkKZLiB7wA27WomY=(ISecurityStorage #=qqQfRAOENk_hrmB3kSFagdFpKwhe80HgJvAl$j9lwvt8=, IEnumerable`1& #=qTIx1GoPnBXYMELZvw0phCw==) at StockSharp.Studio.StorageSettingsWindow.Save()

Добавил в Тест: Trader.RegisterMarketDepth(Security); При старте стратегии мелькнуло окошко экспорта стакана.. но в Студии он всё ровно пустой.. ещё что-то нужно прописывать? Создал Аналитическую.. там всё ок...

esper
esper

Стратегия должна реализовывать ```csharp IMarketDepthControlListener