"$pair", 'type' => "$type", 'rate' => "$rate", 'amount' => '0.01', ) ) ); // example 3: cancel an order var_dump(bter_query('1/private/cancelorder', array('order_id' => 125811))); // example 4: get order status var_dump(bter_query('1/private/getorder', array('order_id' => 15088))); //example 5: list all open orders var_dump(bter_query('1/private/orderlist')); } catch (Exception $e) { echo "Error:".$e->getMessage(); } ?>