ExOkex.Swap.Private.list_positions

You're seeing just the function list_positions, go back to ExOkex.Swap.Private module for more information.
Link to this function

list_positions(config \\ nil)

View Source

Retrieve the information on all your positions in the swap account.

https://www.okex.com/docs/en/#swap-swap---hold_information

Examples

iex(3)> ExOkex.Swap.list_positions()