Formats a quantity value according to exchange rules.
Uses the exchange's formatQuantity implementation for proper decimal places.
Trading pair symbol (e.g., "BTCUSDT")
Raw quantity value
Promise resolving to formatted quantity string
const formatted = await formatQuantity("BTCUSDT", 0.123456789);console.log(formatted); // "0.12345678" Copy
const formatted = await formatQuantity("BTCUSDT", 0.123456789);console.log(formatted); // "0.12345678"
Formats a quantity value according to exchange rules.
Uses the exchange's formatQuantity implementation for proper decimal places.