Markus
|
Дата: 04.07.2017
|
|
|
|
Hi, I'm also getting an error in the BitStamp Connector from three different programs. I sent you an email with a key+secret i made for testing so you could have a look. Thanks
Connector 7/4/2017 9:20:36 AM +02: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.UserTransaction]' 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[T](String value, JsonSerializerSettings settings) at #=q1NcBIN88G52kgP0zUsn9cJKJWDWgw_pnmh7jh4orKkjScnGc$aZZaJEcTBVufygO.#=quZGY6lgmvbr$8MxdXdJCwA==[T](Uri #=qC6iC8a89IAE7$H9DGl1zdA==) at StockSharp.BitStamp.BitStampMessageAdapter.#=qLnfISuW_dlF8IOsdav_jekg0XdplMvAx_LLIL20be0U=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)
|
Roman
|
Дата: 15.02.2018
|
|
|
|
Hello
I try to connect S#Terminal to Bitstamp using API keys pair. Looks like connection establishes but no market data is received. I receive the following Error messages in the Log.
It is also not clear what value to put to Client field in Connection setting. I used my Bitstamp client ID and also some random numbers.
Thank you in advance!
Name Time Type Message TerminalConnector 2/15/2018 10:29:26 AM Info Connect TerminalConnector 2/15/2018 10:30:13 AM Info Connection state: Connected TerminalConnector 2/15/2018 10:30:13 AM Error "System.NullReferenceException: Object reference not set to an instance of an object. at StockSharp.BitStamp.BitStampMessageAdapter.#=qHtYQE8Srf43y8wa3OTmRyuQz7MYHH2gzziT_B8nrPd0=(PortfolioLookupMessage #=qyqkaxKiiKlJwm7B8DcE35A==) at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" TerminalConnector 2/15/2018 10:30:13 AM Error "System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at StockSharp.BitStamp.BitStampMessageAdapter.#=qNkj6gkgB650gLw6rHZdvieQ7BXnQXYUt44daZNym3D4=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" BitStamp 2/15/2018 10:30:13 AM Error "System.NullReferenceException: Object reference not set to an instance of an object. at StockSharp.BitStamp.BitStampMessageAdapter.#=qHtYQE8Srf43y8wa3OTmRyuQz7MYHH2gzziT_B8nrPd0=(PortfolioLookupMessage #=qyqkaxKiiKlJwm7B8DcE35A==) at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" BitStamp 2/15/2018 10:30:13 AM Error "System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at StockSharp.BitStamp.BitStampMessageAdapter.#=qNkj6gkgB650gLw6rHZdvieQ7BXnQXYUt44daZNym3D4=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" BitStamp 2/15/2018 10:30:14 AM Error "System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate) at StockSharp.BitStamp.BitStampMessageAdapter.#=qNkj6gkgB650gLw6rHZdvieQ7BXnQXYUt44daZNym3D4=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" TerminalConnector 2/15/2018 10:30:14 AM Error "System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate) at StockSharp.BitStamp.BitStampMessageAdapter.#=qNkj6gkgB650gLw6rHZdvieQ7BXnQXYUt44daZNym3D4=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" BitStamp 2/15/2018 10:30:15 AM Error "System.NullReferenceException: Object reference not set to an instance of an object. at StockSharp.BitStamp.BitStampMessageAdapter.#=qNkj6gkgB650gLw6rHZdvieQ7BXnQXYUt44daZNym3D4=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)" TerminalConnector 2/15/2018 10:30:15 AM Error "System.NullReferenceException: Object reference not set to an instance of an object. at StockSharp.BitStamp.BitStampMessageAdapter.#=qNkj6gkgB650gLw6rHZdvieQ7BXnQXYUt44daZNym3D4=() at StockSharp.BitStamp.BitStampMessageAdapter.OnSendInMessage(Message message) at StockSharp.Messages.MessageAdapter.SendInMessage(Message message)"
|