OKX fetch position CCXT derivatives

Job ID: 35754216

Budget: €8 – €30 EUR

i just need how to fetch position size for a determinate derivative asset using ccxt on OKX. i know that sounds too easy but after 5 hours of tries i decided to wave white flag. GPT fella seems not to know how to solve it so i need an help in flash. if somebody is used to their syntax its a matter of 2 minutes.
Related categories: C Programming Python ActionScript BitMEX API REST API