Delta
Functions
combine
Combines two Delta instances by adding their delta values if skipCombine is false.
Parameters
Name | Type | Description |
---|---|---|
|
| The first Delta instance. |
|
| The second Delta instance to combine with the first. |
pastMaxTick
Checks if the activeTick is past the tickLimit for swapping to the maximum price.
Parameters
Name | Type | Description |
---|---|---|
|
| The Delta instance. |
|
| The current active tick. |
Returns
Name | Type | Description |
---|---|---|
|
| true if the activeTick is past the tickLimit, false otherwise. |
Structs
Instance
Last updated