← Voltar

BitStamp - Data processing error

Hi,

I love the project architecture, unfortunately the example I found about BitStamp does not work even after identifying valid ID codes. The error (on the attachment) occurs continuously.

Would anyone have a suggestion? Thank you in advance,

Este tópico foi útil?

Compartilhar tópico

Comentários (8)

Entrar ou Criar conta, Faça login ou cadastre-se para deixar um comentário

Mikhail Sukhov
Mikhail Sukhov

Hi, Francis

Couldn't reproduce the issue. I can see that the error related with account info. What the underlying currency in your account? EUR, USD?

Francis
Francis Autor

USD

Francis
Francis Autor

USD, but currently I have nearly no money on my portfolio (0.53$). Can this be the cause of the problem?

Mikhail Sukhov
Mikhail Sukhov

Unfortunately currently BitStamp required many of verification process and we cannot complete it for some of official reasons. We cannot test it.

You can use the BTCE connector if the exchange will be accepted for your trading.

Francis
Francis Autor

Ok, thank you for your reply.

Markus
Markus

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(String value, JsonSerializerSettings settings) at #=q1NcBIN88G52kgP0zUsn9cJKJWDWgw_pnmh7jh4orKkjScnGc$aZZaJEcTBVufygO.#=quZGY6lgmvbr$8MxdXdJCwA==(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)

Mikhail Sukhov
Mikhail Sukhov

Answered by email

Roman
Roman

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](IEnumerable1 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](IEnumerable1 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](IEnumerable1 source, Func2 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](IEnumerable1 source, Func2 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)"