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