parse_mark_prices

Function parse_mark_prices 

Source
pub fn parse_mark_prices(data: &Value) -> Result<Vec<MarkPrice>>
Expand description

Parse multiple mark price data entries from Binance futures API.

§Arguments

  • data - Binance mark price data (array or single object)

§Returns

Returns a vector of CCXT MarkPrice structures.