lbildzinkas / BitfinexApiSharp

Bitfinex Api wrapper written in c#
MIT License
2 stars 1 forks source link

floats are too small #1

Closed mfchung closed 7 years ago

mfchung commented 7 years ago

TickerRespose should be using decimals or doubles surely? a bitcoin has 100 million satoshis, thats already a 9 digit number.

lbildzinkas commented 7 years ago

I can see that, but I am only following their spec, actually, take a look: https://docs.bitfinex.com/v2/reference#ws-public-ticker

mfchung commented 7 years ago

yes.... but the spec is for javascript. a javascript float is actually a double

lbildzinkas commented 7 years ago

Interesting I wasn't aware of that, I will probably change to decimal then. Thanks!

mfchung commented 7 years ago

welcomed.

lbildzinkas commented 7 years ago

Issue solved.