Hello,
I tried to figure out the priceIncrement and sizeIncrement.
{
"auction_mode": false,
"base_currency": "ETH",
"base_increment": "0.00000001",
"base_max_size": "12000",
"base_min_size": "0.00022",
"cancel_only": false,
"display_name": "ETH/USD",
"fx_stablecoin": false,
"id": "ETH-USD",
"limit_only": false,
"margin_enabled": false,
"max_market_funds": "20000000",
"max_slippage_percentage": "0.02000000",
"min_market_funds": "1",
"post_only": false,
"quote_currency": "USD",
"quote_increment": "0.01",
"status": "online",
"status_message": "",
"trading_disabled": false
}
For example,
{
"type": "l2update",
"product_id": "ETH-USD",
"changes": [
[
"buy",
"3069.04",
"1.01659085"
]
],
"time": "2022-04-20T15:47:22.915551Z"
}
The l2update means that someone likes to buy a total of 1.01659085 ETH and each ETH costs $3069.04 USD.
However, based on the doc, I see the following:
The
base_min_size
andbase_max_size
fields define the min and max order size.
Here, the "base_min_size": "0.00022"
which has less precision than 1.01659085
.
My observation is that:
base_increment ==> the sizeIncrement for ETH
Question> I know my understanding is incorrect. May you please tell me the correct way to infer the sizeIncrement for “ETH-USD”?
Thank you