getActiveOrders implemented pivot table.
Fucking got it!