Giter VIP home page Giter VIP logo

Comments (8)

xyq-c-cpp avatar xyq-c-cpp commented on August 21, 2024

what you mean, can you give a example? @MushiTheMoshi

from go-binance.

MushiTheMoshi avatar MushiTheMoshi commented on August 21, 2024

if I want to buy 0.000015 BTC (which is 200 usd) I can't because the precision is set to only 2 decimals meaning that I can only buy min 0.01 BTC, is there a way to update this value to be able to buy 0.000015?

from go-binance.

MushiTheMoshi avatar MushiTheMoshi commented on August 21, 2024

if precision it's not the correct route, I'd appreciate if you can point me in the right direction... thanks

from go-binance.

xyq-c-cpp avatar xyq-c-cpp commented on August 21, 2024

if I want to buy 0.000015 BTC (which is 200 usd) I can't because the precision is set to only 2 decimals meaning that I can only buy min 0.01 BTC, is there a way to update this value to be able to buy 0.000015?

which place said there's only 2 decimals? you can't create order with 0.000015BTC by the rest api interface?

from go-binance.

MushiTheMoshi avatar MushiTheMoshi commented on August 21, 2024

I can't create an order with this size '0.000015BTC' with the futures - rest api, that's correct. I can only see 2 decimals when reading the data via kline websocket...

from go-binance.

xyq-c-cpp avatar xyq-c-cpp commented on August 21, 2024

I can't create an order with this size '0.000015BTC' with the futures - rest api, that's correct. I can only see 2 decimals when reading the data via kline websocket...

Show me your wsklineserve data print

from go-binance.

xyq-c-cpp avatar xyq-c-cpp commented on August 21, 2024

I can't create an order with this size '0.000015BTC' with the futures - rest api, that's correct. I can only see 2 decimals when reading the data via kline websocket...

yeah, actually the data is returned by binance. the precision of create order is not determined by this. you can get a target precision from exchange info interface that's described in binance docs.

from go-binance.

xyq-c-cpp avatar xyq-c-cpp commented on August 21, 2024

completed, close this issue.

from go-binance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.