aido / AidoATP

Reference Implementation of IsisATP from the Open Payments Alliance
GNU General Public License v3.0
39 stars 25 forks source link

Mtgox Identification required to access private API #13

Open Tonika opened 11 years ago

Tonika commented 11 years ago

Hi,

I use OSX 10.8.3 and Java version: java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b12) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

I put the MtGoxApiKey and MtGoxSecretKey correctly on config but when start console show:

2013-06-06 00:11:38,156 : Aido ATP has started successfully 2013-06-06 00:11:38,156 : Entering simulation mode. Trades will not be executed. 2013-06-06 00:11:38,156 : Using trend following to decide some trades. 2013-06-06 00:11:38,762 : Connecting to MtGox Exchange 2013-06-06 00:11:39,551 : WARNING: Testing connection to exchange MtGox Exception in thread "Thread-3" com.xeiam.xchange.ExchangeException: Error calling getAccountInfo(): Identification required to access private API at com.xeiam.xchange.mtgox.v2.service.polling.MtGoxPollingAccountService.getAccountInfo(MtGoxPollingAccountService.java:89) at org.aido.atp.AccountManager.refreshAccounts(AccountManager.java:121) at org.aido.atp.AccountManager.run(AccountManager.java:101) at java.lang.Thread.run(Thread.java:722)

and log show:

2013-06-06 00:11:38,156 : INFO org.aido.atp.Application [main] - Aido ATP has started successfully 2013-06-06 00:11:38,156 : INFO org.aido.atp.Application [main] - Entering simulation mode. Trades will not be executed. 2013-06-06 00:11:38,156 : INFO org.aido.atp.Application [main] - Using trend following to decide some trades. 2013-06-06 00:11:38,156 : DEBUG org.aido.atp.ATPMtGoxExchange [Thread-2] - MtGox API Key: _API Key_ 2013-06-06 00:11:38,157 : DEBUG org.aido.atp.ATPMtGoxExchange [Thread-2] - MtGox Secret Key: _Secret Key_* 2013-06-06 00:11:38,762 : INFO org.aido.atp.ATPMtGoxExchange [Thread-2] - Connecting to MtGox Exchange 2013-06-06 00:11:39,551 : WARN org.aido.atp.AccountManager [Thread-2] - WARNING: Testing connection to exchange MtGox

Tonika commented 11 years ago

I tested also Bitstamp api connection and BTC-E and works well, only fail MtGox API.

What do you know, what i can do for solve it?. Thanks.