Hey, how can I know if a position is a long or a short from the API ? Also how can I get the leverage? Thanks
If it’s short, amount will be negative If it’s long, amount will be positive
Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:
If it’s short, amount will be negative
If it’s long, amount will be positive