Bitcoin Forum
November 02, 2024, 06:22:39 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 »
  Print  
Author Topic: Isis ATP [Automated Trading Platform] - Discussion  (Read 45225 times)
eyeoh
Newbie
*
Offline Offline

Activity: 31
Merit: 0



View Profile
February 18, 2013, 11:00:32 PM
 #341

That was it, thank you!
ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
March 24, 2013, 03:44:25 PM
 #342

how to add
API Description Authentication on BTC-e?
https://btc-e.com/page/2

sorry, I don`t understand how this works (it works not as easy as on other exchanges   Sad  )
----------------
All requests must also include a special nonce POST parameter with increment integer. (>0)
----------------
what have I to do with this special nonce POST parameter?

I have the key and the secret and then?
...
TIA
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
March 24, 2013, 04:23:28 PM
 #343

I guess the nonce is created by the app...?

ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
March 25, 2013, 06:30:36 PM
Last edit: March 25, 2013, 07:13:50 PM by ewibit
 #344

sorry again, how to add this special nonce POST parameter in Aido ATP for BTC-e?
http://pastebin.com/jyd9tACF

and on Bitstamp I get this error

Code:
ERROR: Caught unexpected exception, shutting down Bitstamp trend following trading agent now!. Details are listed below.
com.xeiam.xchange.NotAvailableFromExchangeException: Placing market orders not supported by Bitstamp API.
at com.xeiam.xchange.bitstamp.service.trade.polling.BitstampPollingTradeService.placeMarketOrder(BitstampPollingTradeService.java:77)
at org.aido.atp.TrendTradingAgent.marketOrder(TrendTradingAgent.java:554)
at org.aido.atp.TrendTradingAgent.evalAsk(TrendTradingAgent.java:432)
at org.aido.atp.TrendTradingAgent.run(TrendTradingAgent.java:344)
at java.lang.Thread.run(Unknown Source)
TIA
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


1. Collect underpants 2. ? 3. Profit


View Profile
March 26, 2013, 11:40:46 PM
 #345

The XChange Java library takes care of communications with these exchanges. Maybe an issue should be raised.



Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
jasonpitts
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
March 31, 2013, 05:48:39 PM
 #346

The most recent commit is giving me the following error:

Code:
Exception in thread "main" java.lang.NullPointerException
at org.aido.atp.Application.start(Application.java:121)
at org.aido.atp.Application.main(Application.java:76)
jasonpitts
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
April 01, 2013, 01:40:26 AM
 #347

The most recent commit is giving me the following error:

Code:
Exception in thread "main" java.lang.NullPointerException
at org.aido.atp.Application.start(Application.java:121)
at org.aido.atp.Application.main(Application.java:76)

I cleared my previous prefs and started over, that did the trick.
ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
April 02, 2013, 03:31:53 PM
 #348

The most recent commit is giving me the following error:
I cleared too my previous prefs and started over again and get always
Code:
ERROR: Caught unexpected exception, shutting down MtGox trend following trading agent now!. Details are listed below.
org.codehaus.commons.compiler.CompileException: Line 1, Column 14: Unexpected token ";"
at org.codehaus.janino.ExpressionEvaluator.makeStatements(ExpressionEvaluator.java:288)
at org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:454)
at org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:345)
at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:194)
at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80)
at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:72)
at org.codehaus.janino.ExpressionEvaluator.<init>(ExpressionEvaluator.java:100)
at org.aido.atp.TrendTradingAgent.evalLogic(TrendTradingAgent.java:612)
at org.aido.atp.TrendTradingAgent.run(TrendTradingAgent.java:343)
at java.lang.Thread.run(Unknown Source)
and
Code:
ERROR: Caught unexpected exception, shutting down Bitstamp trend following trading agent now!. Details are listed below.
org.codehaus.commons.compiler.CompileException: Line 1, Column 14: Unexpected token ";"
at org.codehaus.janino.ExpressionEvaluator.makeStatements(ExpressionEvaluator.java:288)
at org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:454)
at org.codehaus.janino.ScriptEvaluator.cook(ScriptEvaluator.java:345)
at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:194)
at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80)
at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:72)
at org.codehaus.janino.ExpressionEvaluator.<init>(ExpressionEvaluator.java:100)
at org.aido.atp.TrendTradingAgent.evalLogic(TrendTradingAgent.java:612)
at org.aido.atp.TrendTradingAgent.run(TrendTradingAgent.java:343)
at java.lang.Thread.run(Unknown Source)
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


1. Collect underpants 2. ? 3. Profit


View Profile
April 02, 2013, 04:16:57 PM
 #349

Hi ewibit,

I suspect a problem with your trading logic. I haven't changed the code around this lately so can I have a look at the logic used in your config file? PM me if it's 'sensitive' :-)

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
April 02, 2013, 05:57:18 PM
 #350

Hi ewibit,

I suspect a problem with your trading logic. I haven't changed the code around this lately so can I have a look at the logic used in your config file? PM me if it's 'sensitive' :-)
Hi Aido
thx - I have copied the wrong from here a few postings ago...
but now I have this:
Code:
Attempting to open market data file /home/xxx/MtGox_EUR.dat
and it stops then...
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


1. Collect underpants 2. ? 3. Profit


View Profile
April 02, 2013, 06:25:39 PM
Last edit: April 02, 2013, 09:29:37 PM by Aido
 #351

Code:
Attempting to open market data file /home/xxx/MtGox_EUR.dat
and it stops then...

hhhmmmm, haven't seen this one before. Again, the code around this has not been changed in a long time so I doubt the problem has anything to do with the latest commits. Does the MtGox_EUR.dat file exist already? If so, check the permissions on it. Maybe try deleting it; it will get recreated when the app is next run.

Overall, AidoATP has not received much TLC lately. I am busy with other commitments and have not been giving it much attention. There have been some interesting additions to the development branch of the XChange library. As soon as these make it into a more stable XChange 1.6.0. release I will integrate them into AidoATP. Amongst other things it will allow me to re-enable the MtGox streaming ticker which was disabled several commits back due to stability issues.

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
Exocyst
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Science!


View Profile
April 03, 2013, 05:41:19 PM
 #352

Is anyone else's bots having trouble getting regular updates to mtgoxUSD today?

ewibit
Legendary
*
Offline Offline

Activity: 2955
Merit: 1050


View Profile
April 03, 2013, 05:47:53 PM
 #353

Is anyone else's bots having trouble getting regular updates to mtgoxUSD today?
yes much trouble...
do you have get working btc-e or bitstamp or any other?
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


1. Collect underpants 2. ? 3. Profit


View Profile
April 03, 2013, 06:27:26 PM
 #354

Is anyone else's bots having trouble getting regular updates to mtgoxUSD today?

Yes, seems to be a MtGox issue. The MtGox Live webpage is quite intermittent and other websites e.g. bitcoinity.org are experiencing a large lag and long gaps in MtGox data.

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
Exocyst
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Science!


View Profile
April 05, 2013, 06:24:09 PM
 #355

What is the format of the .dat files? I'd like to be able to create a script which could generate a historically based ExchangeCUR.dat of a certain polling interval from historic data (downloaded from bitcoincharts.com very wonderful API). This would allow one the chance to test some slow moving bots without having to first wait a days/weeks/months for the generation of the data file.

Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


1. Collect underpants 2. ? 3. Profit


View Profile
April 06, 2013, 12:50:58 AM
Last edit: April 06, 2013, 01:14:13 AM by Aido
 #356

I have had a PM request to post an example configuration, so here it is. This is just an example, the ask and bid logic will probably cause a loss:

Code:
aido@atp:~$ cat ~/.java/.userPrefs/org/aido/atp/prefs.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE map SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<map MAP_XML_VERSION="1.0">
  <entry key="AskLogic" value="EMA_Up &amp;&amp; SMA_Up"/>
  <entry key="BidLogic" value="EMA_Down &amp;&amp; SMA_Down"/>
  <entry key="BitcoinCentralUserName" value="name@bccentral.com"/>
  <entry key="BitcoinCentralPassword" value="password"/>
  <entry key="BitstampUserName" value="012345"/>
  <entry key="BitstampPassword" value="67890"/>
  <entry key="BTC-eApiKey" value="XXXXXXX-XXXXXXXX-XXXXXXX-XXXXXXXX-XXXXXXXX"/>
  <entry key="BTC-eSecretKey" value="abcdef0123456789"/>
  <entry key="CampBXUserName" value="username"/>
  <entry key="CampBXPassword" value="password"/>
  <entry key="LocalCurrency" value="EUR"/>
  <entry key="LongMACDTickSize" value="26"/>
  <entry key="MaxBTC" value="0.1"/>
  <entry key="MaxLocal" value="1"/>
  <entry key="MaxLoss" value="0.05"/>
  <entry key="MaxTickAge" value="120"/>
  <entry key="MinBTC" value="0.0106"/>
  <entry key="MinLocal" value="0.01"/>
  <entry key="MinTickSize" value="16"/>
  <entry key="MtGoxApiKey" value="XXXXXXX-XXXXXXXX-XXXXXXX-XXXXXXXX-XXXXXXXX"/>
  <entry key="MtGoxSecretKey" value="abcdefghijklmnopqrstuvwxyz0123456789=="/>
  <entry key="PollingInterval" value="15"/>
  <entry key="RiskAlgorithm" value="1"/>
  <entry key="ShortMACDTickSize" value="12"/>
  <entry key="ShortMATickSize" value="17"/>
  <entry key="SigLineMACDSize" value="9"/>
  <entry key="TargetProfit" value="0.02"/>
  <entry key="TradingFee" value="0.006"/>
  <entry key="UseArbitrage" value="0"/>
  <entry key="UseBitcoinCentral" value="1"/>
  <entry key="UseBitstamp" value="1"/>
  <entry key="UseBTC-e" value="1"/>
  <entry key="UseCampBX" value="1"/>
  <entry key="UseMtGox" value="1"/>
  <entry key="UseTrend" value="1"/>
</map>
aido@atp:~$


Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
Aido
Sr. Member
****
Offline Offline

Activity: 248
Merit: 252


1. Collect underpants 2. ? 3. Profit


View Profile
April 07, 2013, 06:20:20 PM
 #357


theblazehen is stuck in newbie jail so I'm posting this on their behalf:

Hi.
Just got your program running a bit. Saw a few pages beck that someone wanted a place to discuss this so I created http://reddit.com/r/aidoatp

Interesting Bash command line, try it Wink:
bitcoin-cli sendtoaddress 1Aidan4r4rqoCBprfp2dVZeYosZ5ryVqH6 `bitcoin-cli getbalance`
Askit2
Hero Member
*****
Offline Offline

Activity: 981
Merit: 500


DIV - Your "Virtual Life" Secured and Decentralize


View Profile
April 18, 2013, 06:11:38 AM
Last edit: April 20, 2013, 01:56:11 AM by Askit2
 #358

There appears to be an issue with BTCe's API. It won't accept market orders. Also it looks like MTGoX has changed their API again. It appears that the bot is working aside from the API error on BTCe and not actually executing trades. Anything I can post to help I gladly will.

Code:
2013-04-18 00:09:05,889 ←[34m:←[0;39m BTC-eTrend following trade agent is attempting
to sell BTC 0.02253166 of BTC 0.15021104 available
2013-04-18 00:09:05,889 ←[1;31m:←[0;39m ERROR: Caught unexpected exception, shutting
down BTC-e trend following trading agent now!. Details are listed below.
java.lang.UnsupportedOperationException: Market orders not supported by BTCE API.
        at com.xeiam.xchange.btce.service.trade.polling.BTCEPollingTradeService.place
MarketOrder(BTCEPollingTradeService.java:68)
        at org.aido.atp.TrendTradingAgent.marketOrder(TrendTradingAgent.java:554)
        at org.aido.atp.TrendTradingAgent.evalAsk(TrendTradingAgent.java:432)
        at org.aido.atp.TrendTradingAgent.run(TrendTradingAgent.java:344)
        at java.lang.Thread.run(Unknown Source)

          ▄▄
        ▄█▀▀█▄
      ▄█▀ ▄▄ ▀█▄
      ▀ ▄████▄ ▀
   ▄▀ ▄ ▀████▀ ▄ ▀▄
 ▄▀ ▄███▄ ▀▀ ▄███▄ ▀▄
█  ███████  ███████  █
 ▀▄ ▀███▀ ▄▄ ▀███▀ ▄▀

   ▀▄ ▀ ▄████▄ ▀ ▄▀
      ▄ ▀████▀ ▄
      ▀█▄ ▀▀ ▄█▀
        ▀█▄▄█▀
          ▀▀
███████████████████████████████████████████████████████████████████
██████▀▀▀▀▀▀▀▀▀▀▀██████████▀▀▀▀▀████▀▀▀▀▀█████▀▀▀▀█████▀▀▀▀▀███████
██████            ▀████████     ████     █████    █████     ███████
██████     ▄▄▄▄▄    ▀██████     █████    ████      ████    ████████
██████     ██████▄    █████     █████    ▀██▀  ▄▄  ▀██▀    ████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████    ██   ██   ██    █████████
██████     ███████    █████     ██████     █   ██   █     █████████
██████     █████▀    ██████     ███████       ████       ██████████
██████     ▀▀▀▀▀    ▄██████     ████████     ██████     ███████████
██████            ▄████████     ████████     ██████     ███████████
██████▄▄▄▄▄▄▄▄▄▄▄██████████▄▄▄▄▄█████████▄▄▄▄██████▄▄▄▄████████████
███████████████████████████████████████████████████████████████████
.DIWtoken.com.
▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
......SECURITY DECENTRALIZED...
Nova!
Full Member
***
Offline Offline

Activity: 140
Merit: 101


View Profile
April 18, 2013, 09:46:16 AM
 #359

Wow!  Holy crap,  I can't believe this thread is still kicking around.
Hey folks, it's me Nova, formerly known as Isis.  I've been away for awhile and technically I'm still under NDA fortunately some of that drops off in May, so there will be some interesting things coming to those still interested in OpenPay and it's related projects.

I haven't caught up on this thread at all (I will later) and I don't have the rights to close it.  As it turns out the Isis name is now trademarked by an epayment service provider in the USA with much more money for lawyers than I've got.

To put it blunt, I'm not allowed to use the Isis name in any forum or business venture etc due to some strongly worded letters I received from some folks in the legal profession.

It would be a good idea if the mods could close or at least rename this thread.

In the meantime, can someone save me 20+ pages of reading and give me a rundown of what's happened with ATP in my absence?  Sounds like people are still using it.  I'd be curious to know how it's turning out for you.

Thanks!

Donate @ 1LE4D5ERPZ4tumNoYe5GMeB5p9CZ1xKb4V
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
April 18, 2013, 01:17:02 PM
 #360

Aido, we are releasing some Java sources over the next days/weeks. Maybe they help you...

https://github.com/ReAzem/cryptocoin-tradelib

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 »
  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!