Buying power is the funds you have available to open new position(s). It is NOT your cash balance. Buying power = Cash - Margin Requirements - Margin Required for Open Orders + Unrealized Profit and Loss.