Comments (5)
hi @sukhwant280, the quantity here needs to refactored to 10^-8 decimals (currently it is displayed in sats).
e.g
data = {'rate': 2663113.45, 'btc': 87190000}
vol = data['btc'] * (10 ** -8)
print(vol)
output:
0.8719
from bitbnspy.
should not this be already factored in the api.. as there are so many other coins and will be challenging to resolve for these specific coins?
Enhancement request can we take and if taking, please provide eta.
thanks
sukhwant
from bitbnspy.
AFAIK, only btc
noted. (as changing it on the backend could disrupt the flow for those who have implemented the refactoring, it will take a while to roll out the change)
would suggest implementing client side change for now.
from bitbnspy.
noted. just to confirm, BTC is only coin to be refactored?
please close the ticket after response
from bitbnspy.
yes
from bitbnspy.
Related Issues (20)
- No data is returned for a few pairs using - currentCoinBalance HOT 2
- Bitbnspy Installation issue HOT 7
- How to execute a coin in USDT market via api HOT 3
- Error code 200 - while getting Bid/ask for multiple coins HOT 5
- bitbnsObj.currentCoinBalance('ICP') not fetching standard response HOT 2
- Sending multiple orders and amending orders
- Api limits HOT 1
- AttributeError HOT 7
- Not able to get USDT withdrawal history with api HOT 2
- Shiba Inu Place Buy Order
- How to get tickers data for the last n hours? HOT 1
- Checking % of partial executed order HOT 1
- response json dont have an attribute called servertime HOT 1
- bitbns(key, secretKey) : JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 1
- swap order is not working HOT 2
- API trading issue HOT 2
- sockets issue, 'error': 'some error in get req'
- Servertime Key Error HOT 1
- Placing orders - Irregular price problem HOT 3
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 bitbnspy.