This document presents an optimal power flow (OPF) analysis that considers transient stability constraints in addition to traditional OPF constraints like generator limits and line flow limits. The OPF formulation is modified to allow for bilateral and multilateral wheeling transactions while respecting stability limits. Test cases are presented applying the approach to the IEEE 30 bus system for various wheeling transaction scenarios. Simulation results demonstrating transient stability are also shown.