Open a new position. this function is equivalent to placing a market order.
function openPosition(address amm, uint8 side, uint quote, uint leverage, uint baseLimit) external;
params
ammamm addressside0 (long), 1 (short)quotemargin amount (wei), (1 eth = 1000000000000000000 wei)leverageleverage (wei)baseLimitminimum base asset output expected (wei) (used for setting slippage, 0 to bypass slippage check)
