DriftPy for Dummies
  • DriftPy for Dummies
  • Setup
  • Priority Fees
  • Depositing and Withdrawing
  • The Order Class
  • Placing an Order
    • Place and Orders
    • Modifying an Order
    • Cancelling an Order
    • Settling PnL
Powered by GitBook
On this page
  1. Placing an Order

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

PreviousCancelling an Order

Last updated 1 year ago