title: How to use Binance Helper to round quantity and price properly?
body: <p>It's been a few days since I've been trying to wrap up my head around this problem of what amount of decimals to round the <strong>quantity</strong> and <strong>price</strong> to.</p>
  <p>The following errors are the errors that happen once you satisfy one error, then the other is not satisfied:</p>
  <pre><code>    APIError(code=-1111): Precision is over the maximum defined for this asset.
      APIError(code=-1013): Filter failure: PRICE_FILTER
      APIError(code=-1013): Filter failure: MIN_NOTIONAL
      APIError(code=-4164): Order's notional must be no smaller than 5.0 (unless you choose reduce only)
  </code></pre>
  <p>and while using different symbols (<strong>BTCUSDT, XRPUSDT, 1000SHIBUSDT etc.</strong>) with different decimals, manually going through this is a big headache, so I need to know how to automatically fix this with <strong>Binance Helper</strong>, see here: <a href="https://sammchardy.github.io/binance-order-filters/" rel="nofollow noreferrer">https://sammchardy.github.io/binance-order-filters/</a></p>
  <p>I went through the above guide, and also searched many <strong>Stack Overflow</strong> questions, but couldn't understand still - I'm confused... :(</p>
  <p>For example, I want to buy <strong>BTCUSDT</strong>, and I have <code>quantity = 0.00001</code> - I get an error:
  <code>APIError(code=-1111): Precision is over the maximum defined for this asset.</code></p>
  <p>Example 2: I want to buy <strong>XRPUSDT</strong> - <code>quantity = 24</code> - I get an error: <code>APIError(code=-4164): Order's notional must be no smaller than 5.0 (unless you choose reduce only)</code></p>
  <p>How do I get quantity and price precision for a specific symbol automatically using a function?</p>
  <p>Let me know if I need to provide more details, thanks</p>