# DriftPy for Dummies

> Agents can also search and read this documentation through its [MCP server](https://drift-2.gitbook.io/driftpy-for-dummies/~gitbook/mcp).

## DriftPy for Dummies

- [DriftPy for Dummies](https://drift-2.gitbook.io/driftpy-for-dummies/driftpy-for-dummies.md): Introduction
- [Setup](https://drift-2.gitbook.io/driftpy-for-dummies/setup.md): This page discusses how to set up DriftPy to work with your Drift account.  The steps in this page are necessary before taking any other actions to interact with the Drift Protocol.
- [Priority Fees](https://drift-2.gitbook.io/driftpy-for-dummies/priority-fees.md): How to set Priority Fees in the Drift Client.
- [Depositing and Withdrawing](https://drift-2.gitbook.io/driftpy-for-dummies/depositing-and-withdrawing.md): This page discusses how to deposit and withdraw funds from the Drift Protocol with DriftPy.  The steps in Setup are required before using any code provided here.
- [The Order Class](https://drift-2.gitbook.io/driftpy-for-dummies/the-order-class.md): This page discusses the Order object in DriftPy.
- [Placing an Order](https://drift-2.gitbook.io/driftpy-for-dummies/placing-an-order.md): This page discusses how to place some basic types of orders on Drift using DriftPy.  You must have followed the Setup guide and deposited some collateral to use any of the code in this section.
- [Place and Orders](https://drift-2.gitbook.io/driftpy-for-dummies/placing-an-order/place-and-orders.md): This page discusses how to place Place and Make / Place and Take orders on Drift using DriftPy.  You must have followed the Setup guide and deposited some collateral to use any of this code.
- [Modifying an Order](https://drift-2.gitbook.io/driftpy-for-dummies/placing-an-order/modifying-an-order.md): This page discusses how to modify an order on Drift using DriftPy.  You must have followed the guide in Setup and placed an order to use any of the code in this section.
- [Cancelling an Order](https://drift-2.gitbook.io/driftpy-for-dummies/placing-an-order/cancelling-an-order.md): This page discusses how to cancel an order on Drift using DriftPy.  You must have followed the guide in Setup and placed an order to use any of the code provided here.
- [Settling PnL](https://drift-2.gitbook.io/driftpy-for-dummies/placing-an-order/settling-pnl.md): 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.
