getSpread

getSpread

function getSpread(
        address book,
        bool isBid
    ) external view returns (uint32 spreadLimit) 
Returns market price suspension rate in base/quote pair.

Parameters

Name
Type
Description

book

address

Address of the orderbook for the trading pair.

isBid

bool

Whether the spread is buy side or not

Returns

  • uint32 spreadLimit : Price limit where the order can be spread(volatile) from the previous market price in basis point when the matching order does not exist within the limit range. Spread limit value in 200 is 2(%), 1 in the spread limit value means 0.01(%).

Last updated