Comments (5)
I found an issue with the checksum calculation. When calculating our local checksum a small decimal like 0.0000012 is written as 1.2E-06, which makes the checksum string invalid. I'm looking into a solution for this, decimal handling in Json.Net and json in general is a bit of a pain
from bitfinex.net.
If I follow you, the checksum issue makes that it thinks the order book is unsynced, and forces to resync. That would explain the lack of stability, but not why it can't resync. Or is it then on the broker's side that the high amount of request bans my ip?
from bitfinex.net.
@JKorf I understand that the values used in the checksum comes from the OrderBookEntryConverter class. When you return BitfinexOrderBookEntry
maybe use ((decimal)price).ToString(),
instead of price.Value<string>()
and ((decimal)quantity).ToString(),
instead of quantity.Value<string>()
as the decimal should not have the scientific notation.
Else, maybe using something like String.Format("{0:F20}", [value]);
can help?
As seen here
from bitfinex.net.
Hi, I've done a fair amount of testing and released a new version with various fixes for the checksum validation, and also improved stability/speed on the socket connections. Can you have another go with the latest version?
from bitfinex.net.
I updated and run, the result is great. I'll test more in depth later but running it shows as expected results. 96 out of 100 are connected and synced, remaining 4 stay disconnected. But that's not an issue, I'll have to check them specifically (as it's always the same that remain disconnected), it can be due to many things.
Also I see great improvement in the time it takes to go from disconnected --> connecting --> synced. It used to take a while for 100 symbol before, now it's a matter of seconds.
from bitfinex.net.
Related Issues (20)
- Kline Subscription Receives No Data - Fixed / Ignore / User Error
- symbol: invalid in PlaceOrderAsync HOT 1
- BUG in IExchangeClient.GetOrderBookAsync ASKS/BIDS HOT 1
- Transfer between wallets HOT 1
- Deserialize error on WalletTransfer HOT 1
- Unable to cast object of type JValue to type JArray HOT 1
- Keep Funding function HOT 8
- CloseMarginFundingAsync method error HOT 1
- KeyNotFoundException - The given key 'cs' was not present in the dictionary. HOT 2
- There is not valid symbols HOT 2
- Get bulk updates for Books/Raw books web sockets
- Error on wallet transfer HOT 1
- Deserialization exception after the call ClosePositionAsync HOT 1
- OrderBook HOT 3
- WalletTransfer always successful HOT 1
- PlaceOrderAsync for REST x WebSocket (missing overloads on WebSocket - cancelTime is critical) HOT 1
- enum OrderFlags | missing values (critical: ReduceOnly) HOT 3
- Multiple Flags for the PlaceOrderAsync(x) method in WebSocket HOT 1
- client.GeneralApi.Funding.GetFundingLoansAsync error. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitfinex.net.