Appendix 1: Parameters for Open/Close Options

If you are going to create open/close position for each options, following tables are the guide to be used as given input to make contract call(`createOpenPosition`, `createClosePosition`).

Option typeBuy/Sellunderlying asset: `UA` payment asset: `PA`open pathclose path

Call

Buy

WBTC, WETH

all

[PA, USDC]

[USDC]

Call Spread

Buy

WBTC, WETH

all

[PA, USDC]

[USDC]

Put

Buy

WBTC, WETH

all

[PA, USDC]

[USDC]

Put Spread

Buy

WBTC, WETH

all

[PA, USDC]

[USDC]

Call

Sell

WBTC, WETH

UA

[UA]

[UA]

Call Spread

Sell

WBTC, WETH

USDC

[USDC]

[USDC]

Put

Sell

WBTC, WETH

USDC

[USDC]

[USDC]

Put Spread

Sell

WBTC, WETH

USDC

[USDC]

[USDC]

If PA is equal to USDC in case of open path, set it as [USDC] to prevent duplication.

Last updated