Не могу подключить Гидру к Bitstamp -
BitStamp 21.08.2015 17:19:18 +03:00 Error System.PlatformNotSupportedException: Протокол WebSocket не поддерживается в этой платформе.
Соответственно, что надо сделать для поддержки websocket?
Не могу подключить Гидру к Bitstamp -
BitStamp 21.08.2015 17:19:18 +03:00 Error System.PlatformNotSupportedException: Протокол WebSocket не поддерживается в этой платформе.
Соответственно, что надо сделать для поддержки websocket?
Название Время Тип Сообщение
BitStamp 22.08.2015 12:01:08 +03:00 Info Инициализируется.
BitStamp 22.08.2015 12:01:08 +03:00 Info Перешел в состояние Starting.
BitStampTrader 01.01.0001 0:00:00 +00:00 Info Connect
BitStamp 22.08.2015 12:01:10 +03:00 Info Перешел в состояние Started.
BitStampTrader 22.08.2015 12:01:11 +03:00 Info Создан новый портфель 0.
BitStamp 22.08.2015 12:01:11 +03:00 Error Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[StockSharp.BitStamp.Native.Order]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'error', line 1, position 9.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings)
at StockSharp.BitStamp.Native.HttpClient.MakeRequest(Uri url)
at StockSharp.BitStamp.Native.HttpClient.RequestOpenOrders()
at StockSharp.BitStamp.BitStampMessageAdapter.ProcessOrderStatus()
at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message)
at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
maxood:
Вы к разработчикам имеете отношение? В чем был смысл статьи на habrahabr.ru, если вы даете такие ответы? В общем, я тоже все понял, до свидания.
Ну вот опять что-то не нравится. Делаешь для них же сервис, чтобы друг другу помогали, а они начинают ругаться. А смысл.
We use cookies to ensure the best experience on our website. By continuing to use our site, you agree to the use of cookies.
Comments (9)
Login or Create account, Log in or register to leave a comment
Не указал платформу - Windows 7 Pro
Попробуйте на 10-ке.
Попробовать могу, но надо 7-ке...
На 10-ке тоже не работает, но ошибка уже другая -
Название Время Тип Сообщение BitStamp 22.08.2015 12:01:08 +03:00 Info Инициализируется. BitStamp 22.08.2015 12:01:08 +03:00 Info Перешел в состояние Starting. BitStampTrader 01.01.0001 0:00:00 +00:00 Info Connect BitStamp 22.08.2015 12:01:10 +03:00 Info Перешел в состояние Started. BitStampTrader 22.08.2015 12:01:11 +03:00 Info Создан новый портфель 0. BitStamp 22.08.2015 12:01:11 +03:00 Error Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[StockSharp.BitStamp.Native.Order]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'error', line 1, position 9. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings) at StockSharp.BitStamp.Native.HttpClient.MakeRequest(Uri url) at StockSharp.BitStamp.Native.HttpClient.RequestOpenOrders() at StockSharp.BitStamp.BitStampMessageAdapter.ProcessOrderStatus() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
Запустил на Гидре. Вроде норм качает.
Как можете видеть по моему логу - не работает (чистый дистрибутив 10-ки, ничего кроме Гидры не установлено).
Я понял. Но помочь не могу - у меня то работает. Попробуйте через Биржу труда решить вопрос.
Вы к разработчикам имеете отношение? В чем был смысл статьи на habrahabr.ru, если вы даете такие ответы? В общем, я тоже все понял, до свидания.
Ну вот опять что-то не нравится. Делаешь для них же сервис, чтобы друг другу помогали, а они начинают ругаться. А смысл.