Last updated 6 months ago
Given strategy prices and legs data, returns the leg prices.
^-?\d{0,12}(?:\.\d{0,6})?$
DBT
BIT
BYB
const response = await fetch('/v1/ob/pricing/', { method: 'POST', headers: { "Authorization": "Bearer Bearer", "Content-Type": "application/json" }, body: JSON.stringify({ "legs": [ { "instrument": "text", "ratio": "text", "side": "BUY" } ], "venue": "DBT" }), }); const data = await response.json();
{ "ask_prices": [ "text" ], "bid_prices": [ "text" ] }