Settling PnL

This page discusses how to settle PnL (Profit & Loss) on a position on Drift using DriftPy. You must have followed the guide in Setup and placed a Perp order to use any of the code provided here.

WIP

Last updated