Money Management pending orders' risk?

What is the code to use to display the total pending orders risk percentage to current available balance?