Author

Topic: mtgox api (Read 595 times)

hero member
Activity: 2954
Merit: 641
CoinMetro
April 20, 2013, 06:00:39 PM
#1
how can i get the history of my orders? when i try:

Quote
public function getmyOrders($type){
$this->setPath("generic", "private", "order/result");
return $this->sendRequest();
}
+
echo '
' . print_r($gox->getmyOrders(bid),true) . '
';

i get:

Quote
Fatal error: Uncaught exception 'Exception' with message 'Query Failed... (Parameter "type" must have value "bid" or "ask":https://data.mtgox.com/api/1/generic/private/order/result?nonce=...

-> any ideas? thx
Jump to: