Last updated 3 months ago
Given strategy prices and legs data, returns the leg prices.
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" ] }