Bitcoin Forum
May 12, 2024, 07:40:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: mtgox api  (Read 564 times)
pangu (OP)
Hero Member
*****
Offline Offline

Activity: 2758
Merit: 598


CoinMetro


View Profile
April 20, 2013, 11: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 '<pre>' . print_r($gox->getmyOrders(bid),true) . '</pre>';

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

CoinMetro - Way Beyond the Best Crypto Exchange | 24/7 Live Support
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!