RC2 - Simple USD Strategy broken

Issue #690 resolved
Desrever Nu created an issue

No description provided.

Comments (3)

  1. Desrever Nu reporter
    /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java -Didea.launcher.port=7536 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 14 CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/lib/tools.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Users/advanced/Desktop/nubot/build/classes/main:/Users/advanced/Desktop/nubot/build/resources/main:/Users/advanced/Desktop/nubot/lib/spark-core-2.2-SNAPSHOT.jar:/Users/advanced/Desktop/nubot/lib/EasyJccKit.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.7/2b8019b6249bb05d81d3a3094e468753e2b21311/slf4j-api-1.7.7.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.1.2/2d23694879c2c12f125dac5076bdfd5d771cc4cb/logback-core-1.1.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.1.2/b316e9737eea25e9ddd6d88eaeee76878045c6b2/logback-classic-1.1.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.codehaus.janino/janino/2.7.8/109852ba81725a1ca29cc9aa0688455bd7be4b0f/janino-2.7.8.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.3/91ac0b4c3a38b721c7548baa239950f23b65b56e/gson-2.2.3.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.codehaus.jackson/jackson-core-asl/1.9.13/3c304d70f42f832e0a86d45bd437f692129299a4/jackson-core-asl-1.9.13.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.googlecode.json-simple/json-simple/1.1.1/c9ad4a0850ab676c5c64461a05ca524cdfff59f1/json-simple-1.1.1.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.jsoup/jsoup/1.7.3/92568d7167ce1bf9eb1fd815b022d5a2c113547a/jsoup-1.7.3.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.codeartisans/org.json/20131017/5d7d19369aa653c8daaee8ced5893bb03caf6664/org.json-20131017.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.7/9cd61d269c88f9fb0eb36cea1efcd596ab74772f/commons-codec-1.7.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/commons-net/commons-net/3.3/cd0d5510908225f76c5fe5a3f1df4fa44866f81e/commons-net-3.3.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.sun.mail/mailapi/1.5.2/a771b4ee62fe4e8969e25e924571b10025614d5d/mailapi-1.5.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/javax.mail/mail/1.4.4/b907ef0a02ff6e809392b1e7149198497fcc8e49/mail-1.4.4.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.sun.mail/smtp/1.5.2/5adefed02d04079fa0b5bab030ab23249edbf636/smtp-1.5.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/io.evanwong.oss/hipchat-java/0.3.0/fe35eb06a017c33ac74eb8a6f31a7e2c26a6b88a/hipchat-java-0.3.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.aggregate/jetty-all/9.3.0.M1/72b5db7108a981eb12a6b96df639195ec301e134/jetty-all-9.3.0.M1.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.sparkjava/spark-template-mustache/1.0.0/4ec9af139064124fc8d1b65524262bfb124b0422/spark-template-mustache-1.0.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.github.spullara.mustache.java/compiler/0.9.0/7f074af770986d9b41019bf48a9d80ba339a23f0/compiler-0.9.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.codehaus.janino/commons-compiler/2.7.8/fe224c801f296af125316178300dfc633675a8ff/commons-compiler-2.7.8.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/javax.activation/activation/1.1/e6cb541461c2834bdea3eb920f1884d1eb508b50/activation-1.1.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.4.2/8e31266a272ad25ac4c089734d93e8d811652c1f/jackson-databind-2.4.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/javax.websocket/javax.websocket-api/1.0/fc843b649d4a1dcb0497669d262befa3918c7ba8/javax.websocket-api-1.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/javax.servlet/javax.servlet-api/3.1.0/3cd63d075497751784b2fa84be59432f4905bf7c/javax.servlet-api-3.1.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.sparkjava/spark-core/2.0.0/10c8252f6aabe01d188b5341ad3289f7a6813382/spark-core-2.0.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.4.0/d6a66c7a5f01cf500377bd669507a08cfeba882a/jackson-annotations-2.4.0.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.4.2/ceb72830d95c512b4b300a38f29febc85bdf6e4b/jackson-core-2.4.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-server/9.0.2.v20130417/f2e4f1d2cb1d4ad07b71f4677417345e64e9979d/jetty-server-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-webapp/9.0.2.v20130417/dd8ddd2a736219331697c2e9ca8548f940cfa39a/jetty-webapp-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty.orbit/javax.servlet/3.0.0.v201112011016/aaaa85845fb5c59da00193f06b8e5278d8bf3f8/javax.servlet-3.0.0.v201112011016.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-http/9.0.2.v20130417/5b2bffa33a97578cd363099722e849e16e73492/jetty-http-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-io/9.0.2.v20130417/5e49f2599ec053af19a5501bad7612ee14382f85/jetty-io-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-xml/9.0.2.v20130417/275bf457a6cf3a1afcc5927dd52a00bc12916ec9/jetty-xml-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-servlet/9.0.2.v20130417/83a175d8f19b93961f5a7ee94a20ce26a386c040/jetty-servlet-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-util/9.0.2.v20130417/f26f99a2491774c0c81be34a30f7ebf92c17ab9/jetty-util-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.eclipse.jetty/jetty-security/9.0.2.v20130417/3d775b3046435269578ddd439d8ed26723bb2d74/jetty-security-9.0.2.v20130417.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.5/9783d89b8eea20a517a4afc5f979bd2882b54c44/httpclient-4.3.5.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/junit/junit/4.10/e4f1766ce7404a08f45d859fb9c226fc9e41a861/junit-4.10.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.1/860340562250678d1a344907ac75754e259cdb14/hamcrest-core-1.1.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/commons-cli/commons-cli/1.2/2bf96b7aa8b611c177d329452af1dc933e14501c/commons-cli-1.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/joda-time/joda-time/2.7/5599707a3eaad13e889f691b3af78c8c03842195/joda-time-2.7.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/javax.servlet/servlet-api/3.0-alpha-1/7b491267924e8c81f4f9378caba0ee03423948ca/servlet-api-3.0-alpha-1.jar:/Users/advanced/.gradle/caches/modules-2/files-2.1/org.zeromq/jeromq/0.3.4/1aaa40f8267f9e3dc86dc8e7e0fbfba0c6e9e47b/jeromq-0.3.4.jar:/Applications/IntelliJ IDEA 14 CE.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain com.nubits.nubot.launch.MainLaunch -cfg=config/myconfig/0.3.0/peatio.json
    17:13:58.309 [main] INFO  - defined session path logs/session_1431011638304 [com.nubits.nubot.launch.MainLaunch:61]
    17:13:58.391 [main] INFO  - Run NuBot from CLI [com.nubits.nubot.launch.MainLaunch:105]
    17:13:58.401 [main] DEBUG - parsing options from config/myconfig/0.3.0/peatio.json [SessionLOG:67]
    17:13:58.527 [main] DEBUG - loading opt: {"nudIp":"127.0.0.1","submitLiquidity":true,"apiKey":"mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu","distributeLiquidity":false,"nubitAddress":"bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq","mainFeed":"btce","rpcUser":"rpctestuser","mailRecipient":"desrever.nu@gmail.com","maxBuyVolume":50.0,"maxSellVolume":50.0,"nudPort":9091,"backupFeeds":["coinbase","blockchain"],"priceIncrement":0.1,"rpcPass":"rpctestpassphras0r","apiSecret":"3wiFeYmI7Y4kKBkNKSdU6ZCKxCQmm6cuxcWHSpqj","hipchat":false,"pair":"nbt_usd","mailnotifications":"SEVERE","verbose":true,"spread":0.0,"emergencyTimeout":60,"multipleCustodians":false,"txFee":0.2,"exchangeName":"peatio","executeOrders":true,"wallchangeThreshold":0.1,"dualSide":true,"keepProceeds":0.0} [com.nubits.nubot.bot.SessionManager:72]
    17:13:58.528 [main] DEBUG - launch bot [SessionLOG:108]
    17:13:58.528 [main] DEBUG - set mode to starting [com.nubits.nubot.bot.SessionManager:234]
    17:13:58.529 [main] DEBUG - execute bot depending on defined strategy [com.nubits.nubot.bot.SessionManager:150]
    17:13:58.529 [main] DEBUG - creating simple bot object [com.nubits.nubot.bot.SessionManager:156]
    17:13:58.640 [main] INFO  - *** session *** starting at 20150507 17:13:58 [com.nubits.nubot.bot.SessionManager:113]
    17:13:58.655 [main] INFO  - Setting up NuBot version : develop:branch-release/0.3.0 [com.nubits.nubot.bot.NuBotBase:208]
    17:13:58.657 [main] INFO  - Live mode : Trades will be executed [com.nubits.nubot.bot.NuBotBase:212]
    17:13:58.660 [main] INFO  - Session ID = develop:branch-release/0.3.0|1431011638660|b0e8e7 [com.nubits.nubot.bot.NuBotBase:73]
    17:13:58.662 [main] DEBUG - Logback used 'file:/Users/advanced/Desktop/nubot/config/logging/logback.xml' as the configuration file. [com.nubits.nubot.bot.NuBotBase:97]
    17:13:58.669 [main] INFO  - Set up SSL certificates [com.nubits.nubot.bot.NuBotBase:112]
    17:13:58.670 [main] INFO  - installKeystore. trustall: true [com.nubits.nubot.utils.Utils:390]
    17:13:58.752 [main] DEBUG - setup Exchange object [com.nubits.nubot.bot.NuBotBase:123]
    17:13:58.761 [main] DEBUG - Wrap the keys into a new ApiKeys object [com.nubits.nubot.bot.NuBotBase:125]
    17:13:58.762 [main] DEBUG - Create e ExchangeLiveData object to accommodate liveData from the exchange [com.nubits.nubot.bot.NuBotBase:130]
    17:13:58.763 [main] DEBUG - get exchange interface for peatio [com.nubits.nubot.exchanges.ExchangeFacade:140]
    17:13:58.768 [main] INFO  - Swapped pair mode : false [com.nubits.nubot.bot.NuBotBase:153]
    17:13:58.770 [main] DEBUG - Create a TaskManager  [com.nubits.nubot.bot.NuBotBase:222]
    17:13:58.776 [main] DEBUG - setting up tasks [com.nubits.nubot.tasks.TaskManager:98]
    17:13:58.779 [main] DEBUG - checkConnectionTask : com.nubits.nubot.tasks.BotTask@5e4c8041 [com.nubits.nubot.tasks.TaskManager:103]
    17:13:58.781 [main] DEBUG - sendLiquidityTask : com.nubits.nubot.tasks.BotTask@71c8becc [com.nubits.nubot.tasks.TaskManager:108]
    17:13:58.784 [main] DEBUG - strategyFiatTask : com.nubits.nubot.tasks.BotTask@19d37183 [com.nubits.nubot.tasks.TaskManager:114]
    17:13:58.788 [main] DEBUG - secondaryPegTask : com.nubits.nubot.tasks.BotTask@1a0dcaa [com.nubits.nubot.tasks.TaskManager:119]
    17:13:58.791 [main] DEBUG - priceTriggerTask : com.nubits.nubot.tasks.BotTask@3bd40a57 [com.nubits.nubot.tasks.TaskManager:134]
    17:13:58.792 [main] INFO  - Setting up RPC client on 127.0.0.1:9091 [com.nubits.nubot.tasks.TaskManager:65]
    17:13:58.797 [main] INFO  - Starting task : Check connection with Nud [com.nubits.nubot.tasks.TaskManager:76]
    17:13:58.798 [main] INFO  - Started BotTask checkNud [com.nubits.nubot.tasks.BotTask:57]
    17:13:58.798 [checkNud] INFO  - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
    17:13:58.799 [main] DEBUG - Starting task : Check connection with exchange [com.nubits.nubot.bot.NuBotBase:231]
    17:13:58.799 [main] INFO  - BotTask [checkConnection] will start in 1s, and run it every 127s [com.nubits.nubot.tasks.BotTask:63]
    17:13:58.800 [main] INFO  - Waiting a for the connectionThreads to detect connection [com.nubits.nubot.bot.NuBotBase:235]
    17:13:58.862 [checkNud] INFO  - RPC : {"method":"getinfo","id":"06beb279-d637-478b-84a3-eac658f2d613"} [com.nubits.nubot.RPC.NuRPCClient:273]
    17:13:58.885 [checkNud] INFO  - RPC executing request :POST http://127.0.0.1:9091 HTTP/1.1 [com.nubits.nubot.RPC.NuRPCClient:279]
    17:13:59.286 [checkNud] INFO  - RPC---------------------------------------- [com.nubits.nubot.RPC.NuRPCClient:285]
    17:13:59.287 [checkNud] INFO  - HTTP/1.1 200 OK [com.nubits.nubot.RPC.NuRPCClient:286]
    17:13:59.287 [checkNud] INFO  - RPC : Response content length: 415 [com.nubits.nubot.RPC.NuRPCClient:289]
    17:13:59.290 [checkNud] DEBUG - Entity = {"result":{"version":"v1.0.1-beta","protocolversion":50000,"walletversion":1,"walletunit":"S","balance":16340958.0,"newmint":0.0,"stake":0.0,"parked":0.0,"blocks":323194,"moneysupply":1012909114.0,"connections":1,"proxy":"","ip":"62.57.156.233","difficulty":1.02869386,"testnet":true,"keypoololdest":1414163323,"keypoolsize":101,"paytxfee":1.0,"errors":""},"error":null,"id":"06beb279-d637-478b-84a3-eac658f2d613"}
     [com.nubits.nubot.RPC.NuRPCClient:294]
    17:13:59.291 [checkNud] INFO  - Nud is online @ 127.0.0.1:9091 [com.nubits.nubot.tasks.CheckNudTask:48]
    17:13:59.801 [checkConnection] DEBUG - Executing class com.nubits.nubot.tasks.CheckConnectionTask [com.nubits.nubot.tasks.CheckConnectionTask:40]
    17:14:00.965 [checkConnection] DEBUG - Checking connection to https://178.62.140.24 -  Connected : true [com.nubits.nubot.tasks.CheckConnectionTask:43]
    17:14:01.804 [main] DEBUG - GET - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, limit=999, market=nbtusd, signature=22cbcb0eb02f7e9041978d1f3052df4f3c35b05a2f5bd6270f1d32341d54424d, tonce=1431011641802} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:10.248 [main] DEBUG - result:{}[{"id":2131,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:13:01Z","volume":"50.0","remaining_volume":"50.0","executed_volume":"0.0","trades_count":0},{"id":2134,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:13:41Z","volume":"50.0","remaining_volume":"50.0","executed_volume":"0.0","trades_count":0},{"id":2135,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:04Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0}] [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:10.254 [main] INFO  - BotTask [sendLiquidity] will start in 40s, and run it every 130s [com.nubits.nubot.tasks.BotTask:63]
    17:14:10.255 [main] INFO  - Nud RPC connection ok. [com.nubits.nubot.bot.NuBotBase:182]
    17:14:10.256 [main] INFO  - Start trading Strategy specific for nbtusd [com.nubits.nubot.bot.NuBotBase:259]
    17:14:10.259 [main] INFO  - Options loaded : {"nudIp":"127.0.0.1","submitLiquidity":true,"apiKey":"mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu","distributeLiquidity":false,"nubitAddress":"bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq","mainFeed":"btce","rpcUser":"rpctestuser","mailRecipient":"desrever.nu@gmail.com","maxBuyVolume":50.0,"maxSellVolume":50.0,"nudPort":9091,"backupFeeds":["coinbase","blockchain"],"priceIncrement":0.1,"rpcPass":"rpctestpassphras0r","apiSecret":"3wiFeYmI7Y4kKBkNKSdU6ZCKxCQmm6cuxcWHSpqj","hipchat":false,"pair":"nbt_usd","mailnotifications":"SEVERE","verbose":true,"spread":0.0,"emergencyTimeout":60,"multipleCustodians":false,"txFee":0.2,"exchangeName":"peatio","executeOrders":true,"wallchangeThreshold":0.1,"dualSide":true,"keepProceeds":0.0} [com.nubits.nubot.bot.NuBotBase:261]
    17:14:10.266 [main] INFO  - configuring strategy NuBotSimple [com.nubits.nubot.strategy.Primary.NuBotSimple:43]
    17:14:10.268 [main] INFO  - BotTask [Strategy Fiat Task] will start in 7s, and run it every 41s [com.nubits.nubot.tasks.BotTask:63]
    17:14:10.269 [main] DEBUG - notify online A new <strong>dual-side</strong> bot just came online on peatio pair (nbt_usd) [com.nubits.nubot.bot.NuBotBase:281]
    17:14:17.269 [Strategy Fiat Task] DEBUG - Executing class com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:57]
    17:14:17.270 [Strategy Fiat Task] DEBUG - DualSide :  true [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:59]
    17:14:17.270 [Strategy Fiat Task] INFO  - Initializing strategy [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:150]
    17:14:17.271 [Strategy Fiat Task] DEBUG - checkBalancesAndOrders [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:427]
    17:14:17.272 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/members/me with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=3f9427947685195c9a3921b63c39e3a514f7f12cce415e6e4c8d70593f95e287, tonce=1431011657271} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:18.335 [Strategy Fiat Task] DEBUG - result:{}{"sn":"PEAWXXRDQTJTIO","name":"Desrever Nu","email":"desrever.nu@gmail.com","activated":true,"accounts":[{"currency":"usd","balance":"99999.9957","locked":"0.0"},{"currency":"btc","balance":"0.004937148389","locked":"0.0"},{"currency":"nbt","balance":"50306.84936","locked":"0.0"},{"currency":"eur","balance":"100000.0","locked":"0.0"}]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:18.338 [Strategy Fiat Task] DEBUG - balance NBT 50306.84936 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:442]
    17:14:18.338 [Strategy Fiat Task] DEBUG - balance USD 99999.9957 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:443]
    17:14:18.339 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, limit=999, market=nbtusd, signature=26a61808a17e6f8036549063c15188d6f2c2058175bcd9b0167be8fda8eadcb1, tonce=1431011658339} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:18.480 [Strategy Fiat Task] DEBUG - result:{}[] [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:18.481 [Strategy Fiat Task] DEBUG - activeSellOrders 0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:450]
    17:14:18.481 [Strategy Fiat Task] DEBUG - activeBuyOrders 0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:451]
    17:14:18.481 [Strategy Fiat Task] DEBUG - totalActiveOrders 0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:452]
    17:14:18.481 [Strategy Fiat Task] DEBUG - checking balance and orders for dualside [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:463]
    17:14:18.481 [Strategy Fiat Task] DEBUG - bothSides false [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:469]
    17:14:18.482 [Strategy Fiat Task] DEBUG - sellneeded false [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:470]
    17:14:18.482 [Strategy Fiat Task] DEBUG - buyneeded false [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:471]
    17:14:18.482 [Strategy Fiat Task] DEBUG - reInitiateOrders [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:501]
    17:14:18.483 [Strategy Fiat Task] DEBUG - Frozen funds already in balance (not proceeds) updated : 0.0 Currency{fiat=true, code=USD, extendedName=US Dollar} [com.nubits.nubot.utils.FrozenBalancesManager:173]
    17:14:18.483 [Strategy Fiat Task] INFO  - place initial walls [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:227]
    17:14:18.486 [Strategy Fiat Task] DEBUG - init sell orders. price 1.002 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:235]
    17:14:18.486 [Strategy Fiat Task] DEBUG - initOrders. type: SELL .  price: 1.002 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:584]
    17:14:18.487 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/members/me with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=08dcf3b1e89baf6c3cda7f3a8249c0e035d79f61464e59887a7ff6afec8b290f, tonce=1431011658487} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:18.656 [Strategy Fiat Task] DEBUG - result:{}{"sn":"PEAWXXRDQTJTIO","name":"Desrever Nu","email":"desrever.nu@gmail.com","activated":true,"accounts":[{"currency":"usd","balance":"99999.9957","locked":"0.0"},{"currency":"btc","balance":"0.004937148389","locked":"0.0"},{"currency":"nbt","balance":"50306.84936","locked":"0.0"},{"currency":"eur","balance":"100000.0","locked":"0.0"}]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:18.657 [Strategy Fiat Task] DEBUG - Updated Trasaction fee = 0.2% [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:625]
    17:14:18.657 [Strategy Fiat Task] DEBUG - check the calculated amount against the set maximum sell amount [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:632]
    17:14:18.658 [Strategy Fiat Task] DEBUG - max sell volume 50.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:636]
    17:14:18.658 [Strategy Fiat Task] DEBUG - cap sell amount at 25.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:642]
    17:14:18.658 [Strategy Fiat Task] DEBUG - cap sell amount at 25.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:668]
    17:14:18.659 [Strategy Fiat Task] WARN  - Strategy - Submit order : SELL 25.0 NBT @ 1.002 USD [c.n.n.s.P.StrategyPrimaryPegTask:702]
    17:14:18.660 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, market=nbtusd, price=1.002, side=sell, signature=386fabe5221ba282b09290169dd6ea4af27f0a3986ad179daca80217e84fc4c4, tonce=1431011658660, volume=25.0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:18.868 [Strategy Fiat Task] DEBUG - result:{}{"id":2137,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:18Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:18.869 [Strategy Fiat Task] WARN  - Strategy - SELL Response1 = 2137 [c.n.n.s.P.StrategyPrimaryPegTask:714]
    17:14:18.870 [Strategy Fiat Task] WARN  - Strategy - Submit order : SELL 25.0 NBT @ 1.002 USD [c.n.n.s.P.StrategyPrimaryPegTask:720]
    17:14:18.871 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, market=nbtusd, price=1.002, side=sell, signature=1df77fdddd59ec0b7807c69c9ed6a222a701b62be4d2b26dbccdc585595f2e75, tonce=1431011658871, volume=25.0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:19.795 [Strategy Fiat Task] DEBUG - result:{}{"id":2138,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:19Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:19.796 [Strategy Fiat Task] WARN  - Strategy : SELL Response2 = 2138 [c.n.n.s.P.StrategyPrimaryPegTask:732]
    17:14:19.796 [Strategy Fiat Task] DEBUG - txFeeFIATNTB 0.2 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:238]
    17:14:19.796 [Strategy Fiat Task] DEBUG - sellsOrdersOk true [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:239]
    17:14:19.797 [Strategy Fiat Task] INFO  - init buy orders. price 0.998 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:244]
    17:14:19.797 [Strategy Fiat Task] DEBUG - initOrders. type: BUY .  price: 0.998 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:584]
    17:14:19.798 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/members/me with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=32d5f129303a9a73efb2bc317fdb825b20e74c88c067cc6c610e7eff0d04b3c3, tonce=1431011659798} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:20.047 [Strategy Fiat Task] DEBUG - result:{}{"sn":"PEAWXXRDQTJTIO","name":"Desrever Nu","email":"desrever.nu@gmail.com","activated":true,"accounts":[{"currency":"usd","balance":"99999.9957","locked":"0.0"},{"currency":"btc","balance":"0.004937148389","locked":"0.0"},{"currency":"nbt","balance":"50256.84936","locked":"50.0"},{"currency":"eur","balance":"100000.0","locked":"0.0"}]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:20.048 [Strategy Fiat Task] DEBUG - Updated Trasaction fee = 0.2% [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:625]
    17:14:20.048 [Strategy Fiat Task] DEBUG - check the calculated amount against the set maximum sell amount [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:632]
    17:14:20.048 [Strategy Fiat Task] DEBUG - max sell volume 50.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:636]
    17:14:20.049 [Strategy Fiat Task] DEBUG - check the calculated amount against the max buy amount option, if any. [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:649]
    17:14:20.049 [Strategy Fiat Task] DEBUG - max buy volume 50.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:650]
    17:14:20.049 [Strategy Fiat Task] DEBUG - cap buy amount at 25.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:656]
    17:14:20.050 [Strategy Fiat Task] DEBUG - cap buy at 25.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:684]
    17:14:20.051 [Strategy Fiat Task] WARN  - Strategy - Submit order : BUY 25.0 NBT @ 0.998 USD [c.n.n.s.P.StrategyPrimaryPegTask:702]
    17:14:20.053 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, market=nbtusd, price=0.998, side=buy, signature=80ef578031a57b4eb38f6d38a7a4bf6bbd19bc4830361a952852e8c568eaa9be, tonce=1431011660052, volume=25.0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:20.334 [Strategy Fiat Task] DEBUG - result:{}{"id":2139,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:20.335 [Strategy Fiat Task] WARN  - Strategy - BUY Response1 = 2139 [c.n.n.s.P.StrategyPrimaryPegTask:714]
    17:14:20.335 [Strategy Fiat Task] WARN  - Strategy - Submit order : BUY 25.05 NBT @ 0.998 USD [c.n.n.s.P.StrategyPrimaryPegTask:720]
    17:14:20.336 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, market=nbtusd, price=0.998, side=buy, signature=ba7e47670865dbba2bcad94c2c2a2f387b6126f0b6dfe1f7b8be1ce34fdf2dd4, tonce=1431011660336, volume=25.0501002} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:20.577 [Strategy Fiat Task] DEBUG - result:{}{"id":2140,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0501","remaining_volume":"25.0501","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:20.578 [Strategy Fiat Task] WARN  - Strategy : BUY Response2 = 2140 [c.n.n.s.P.StrategyPrimaryPegTask:732]
    17:14:20.578 [Strategy Fiat Task] INFO  - buysOrdersOk true [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:248]
    17:14:20.578 [Strategy Fiat Task] INFO  - mightNeedInit false [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:256]
    17:14:20.584 [Strategy Fiat Task] INFO  - Initial walls placed [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:161]
    17:14:20.584 [Strategy Fiat Task] DEBUG - adjust [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:82]
    17:14:20.584 [Strategy Fiat Task] DEBUG - checkBalancesAndOrders [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:427]
    17:14:20.585 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/members/me with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=a7487a610fb5b31cfb71853705e6906c55b5293e8f9bb40829907d4bedbeab73, tonce=1431011660585} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:20.855 [Strategy Fiat Task] DEBUG - result:{}{"sn":"PEAWXXRDQTJTIO","name":"Desrever Nu","email":"desrever.nu@gmail.com","activated":true,"accounts":[{"currency":"usd","balance":"99950.0457002","locked":"49.9499998"},{"currency":"btc","balance":"0.004937148389","locked":"0.0"},{"currency":"nbt","balance":"50256.84936","locked":"50.0"},{"currency":"eur","balance":"100000.0","locked":"0.0"}]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:20.856 [Strategy Fiat Task] DEBUG - balance NBT 50256.84936 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:442]
    17:14:20.857 [Strategy Fiat Task] DEBUG - balance USD 99950.0457002 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:443]
    17:14:20.858 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, limit=999, market=nbtusd, signature=748578ae21b86f78d2fa0bd9c51f71e353535b71832902f6373dc27bc62699ac, tonce=1431011660857} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:21.149 [Strategy Fiat Task] DEBUG - result:{}[{"id":2137,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:18Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2138,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:19Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2139,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2140,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0501","remaining_volume":"25.0501","executed_volume":"0.0","trades_count":0}] [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:21.152 [Strategy Fiat Task] DEBUG - activeSellOrders 2 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:450]
    17:14:21.152 [Strategy Fiat Task] DEBUG - activeBuyOrders 2 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:451]
    17:14:21.152 [Strategy Fiat Task] DEBUG - totalActiveOrders 4 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:452]
    17:14:21.153 [Strategy Fiat Task] DEBUG - checking balance and orders for dualside [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:463]
    17:14:21.153 [Strategy Fiat Task] DEBUG - bothSides true [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:469]
    17:14:21.153 [Strategy Fiat Task] DEBUG - sellneeded false [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:470]
    17:14:21.153 [Strategy Fiat Task] DEBUG - buyneeded false [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:471]
    17:14:21.153 [Strategy Fiat Task] WARN  - The USD balance is not zero (99950.0457002 ). If the balance represent proceedings from a sale the bot will notice.  On the other hand, If you keep seying this message repeatedly over and over, you should restart the bot.  [c.n.n.s.P.StrategyPrimaryPegTask:476]
    17:14:21.154 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/members/me with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=cb33ae8a070523b804dafd4b338108eeb0c87d60190a2b4823a39f1407773633, tonce=1431011661154} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:21.407 [Strategy Fiat Task] DEBUG - result:{}{"sn":"PEAWXXRDQTJTIO","name":"Desrever Nu","email":"desrever.nu@gmail.com","activated":true,"accounts":[{"currency":"usd","balance":"99950.0457002","locked":"49.9499998"},{"currency":"btc","balance":"0.004937148389","locked":"0.0"},{"currency":"nbt","balance":"50256.84936","locked":"50.0"},{"currency":"eur","balance":"100000.0","locked":"0.0"}]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:21.408 [Strategy Fiat Task] INFO  - Current Balance : 50256.84936 Currency{fiat=false, code=NBT, extendedName=NuBit} 99950.0457002 Currency{fiat=true, code=USD, extendedName=US Dollar} [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:130]
    17:14:21.409 [Strategy Fiat Task] DEBUG - sellSide 50256.84936 NBT
     [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:275]
    17:14:21.410 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, limit=999, market=nbtusd, signature=fc5b7507b82e4136c7f76b6ba52783bf184121530d6b232859ed766a327ad019, tonce=1431011661409} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:21.605 [Strategy Fiat Task] DEBUG - result:{}[{"id":2137,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:18Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2138,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:19Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2139,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2140,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0501","remaining_volume":"25.0501","executed_volume":"0.0","trades_count":0}] [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:21.608 [Strategy Fiat Task] WARN  - Sellside : Taking down smaller order to aggregate it with new balance [c.n.n.s.P.StrategyPrimaryPegTask:291]
    17:14:21.608 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/order/delete with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, id=2137, signature=bf7b8b6e1a003a98d5f7697ab3ce2892e94c3f0b63336f8514338bf816dcf981, tonce=1431011661608} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:21.816 [Strategy Fiat Task] DEBUG - result:{}{"id":2137,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:18Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:21.817 [Strategy Fiat Task] WARN  - Order 2137 delete request submitted [c.n.n.s.OrderManager:155]
    17:14:27.818 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/order with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, id=2137, signature=c9536b4922cfbdb140c526aaa6a2aad1f6c7b84ceeb807499b6d9a89346355ca, tonce=1431011667818} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:28.202 [Thread-7] DEBUG - global shutdownhook called [com.nubits.nubot.launch.ShutDownProcess:34]
    17:14:28.203 [Thread-7] DEBUG - bot is running. shut it down [com.nubits.nubot.launch.ShutDownProcess:37]
    17:14:28.203 [Thread-7] INFO  - Bot shutting down sequence started. [com.nubits.nubot.bot.NuBotBase:306]
    17:14:28.204 [Thread-7] INFO  - try to shutdown all tasks [com.nubits.nubot.bot.NuBotBase:313]
    17:14:28.204 [Thread-7] INFO  - Stopping all BotTasks.  [com.nubits.nubot.tasks.TaskManager:148]
    17:14:28.204 [Thread-7] DEBUG - Shutting down checkConnection (CheckConnectionTask) [com.nubits.nubot.tasks.TaskManager:154]
    17:14:28.204 [Thread-7] DEBUG - Stopping checkConnection (com.nubits.nubot.tasks.BotTask@5e4c8041) [com.nubits.nubot.tasks.BotTask:69]
    17:14:28.204 [Thread-7] INFO  - Stopped BotTask checkConnection [com.nubits.nubot.tasks.BotTask:74]
    17:14:28.205 [Thread-7] DEBUG - Shutting down sendLiquidity (SubmitLiquidityinfoTask) [com.nubits.nubot.tasks.TaskManager:154]
    17:14:28.205 [Thread-7] DEBUG - Stopping sendLiquidity (com.nubits.nubot.tasks.BotTask@71c8becc) [com.nubits.nubot.tasks.BotTask:69]
    17:14:28.205 [Thread-7] INFO  - Stopped BotTask sendLiquidity [com.nubits.nubot.tasks.BotTask:74]
    17:14:28.205 [Thread-7] DEBUG - Shutting down Strategy Fiat Task (StrategyPrimaryPegTask) [com.nubits.nubot.tasks.TaskManager:154]
    17:14:28.206 [Thread-7] DEBUG - Stopping Strategy Fiat Task (com.nubits.nubot.tasks.BotTask@19d37183) [com.nubits.nubot.tasks.BotTask:69]
    17:14:28.206 [Thread-7] INFO  - Stopped BotTask Strategy Fiat Task [com.nubits.nubot.tasks.BotTask:74]
    17:14:28.206 [Thread-7] DEBUG - Shutting down Strategy Crypto Task (StrategySecondaryPegTask) [com.nubits.nubot.tasks.TaskManager:154]
    17:14:28.206 [Thread-7] DEBUG - Stopping Strategy Crypto Task (com.nubits.nubot.tasks.BotTask@1a0dcaa) [com.nubits.nubot.tasks.BotTask:69]
    17:14:28.206 [Thread-7] INFO  - Stopped BotTask Strategy Crypto Task [com.nubits.nubot.tasks.BotTask:74]
    17:14:28.207 [Thread-7] DEBUG - Shutting down priceTriggerTask (PriceMonitorTriggerTask) [com.nubits.nubot.tasks.TaskManager:154]
    17:14:28.207 [Thread-7] DEBUG - Stopping priceTriggerTask (com.nubits.nubot.tasks.BotTask@3bd40a57) [com.nubits.nubot.tasks.BotTask:69]
    17:14:28.207 [Thread-7] INFO  - Stopped BotTask priceTriggerTask [com.nubits.nubot.tasks.BotTask:74]
    17:14:28.207 [Thread-7] DEBUG - Shutting down checkNud (CheckNudTask) [com.nubits.nubot.tasks.TaskManager:154]
    17:14:28.207 [Thread-7] DEBUG - Stopping checkNud (com.nubits.nubot.tasks.BotTask@4e52b4dd) [com.nubits.nubot.tasks.BotTask:69]
    17:14:28.208 [Thread-7] INFO  - Stopped BotTask checkNud [com.nubits.nubot.tasks.BotTask:74]
    17:14:28.208 [Thread-7] INFO  - BotTasks stopped.  [com.nubits.nubot.tasks.TaskManager:162]
    17:14:28.208 [Thread-7] INFO  - Clearing out active orders ...  [com.nubits.nubot.bot.NuBotBase:324]
    17:14:28.209 [Thread-7] DEBUG - /api/v2/orders/clear blocked, another call is being processed  [com.nubits.nubot.trading.wrappers.PeatioWrapper:514]
    17:14:28.209 [Thread-7] DEBUG - Retrying for the 1 time. Sleep for 353; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:520]
    17:14:28.562 [Thread-7] DEBUG - Exchange still busy : 1 .Will retry soon; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:536]
    17:14:28.563 [Thread-7] DEBUG - Retrying for the 2 time. Sleep for 527; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:520]
    17:14:28.996 [Strategy Fiat Task] DEBUG - result:{}{"id":2137,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"cancel","market":"nbtusd","created_at":"2015-05-07T15:14:18Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0,"trades":[]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:28.997 [Strategy Fiat Task] INFO  - Does order 2137  still exist?false [com.nubits.nubot.strategy.OrderManager:179]
    17:14:28.998 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/members/me with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=f3dd99b5595ed102dce22ddf934aec5e6f73718c987899010baca077cbf1c33b, tonce=1431011668997} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:29.091 [Thread-7] DEBUG - Exchange still busy : 2 .Will retry soon; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:536]
    17:14:29.092 [Thread-7] DEBUG - Retrying for the 3 time. Sleep for 976; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:520]
    17:14:29.426 [Strategy Fiat Task] DEBUG - result:{}{"sn":"PEAWXXRDQTJTIO","name":"Desrever Nu","email":"desrever.nu@gmail.com","activated":true,"accounts":[{"currency":"usd","balance":"99950.0457002","locked":"49.9499998"},{"currency":"btc","balance":"0.004937148389","locked":"0.0"},{"currency":"nbt","balance":"50281.84936","locked":"25.0"},{"currency":"eur","balance":"100000.0","locked":"0.0"}]} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:29.427 [Strategy Fiat Task] INFO  - Updated Balance : 50281.84936 NBT
     99950.0457002 USD [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:316]
    17:14:29.427 [Strategy Fiat Task] INFO  - Updated Trasaction fee = 0.2% [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:329]
    17:14:29.428 [Strategy Fiat Task] INFO  - amount to sell 50.0 [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:343]
    17:14:29.428 [Strategy Fiat Task] WARN  - Strategy : Submit order : sell 50.0 NBT @ 1.002 USD [c.n.n.s.P.StrategyPrimaryPegTask:267]
    17:14:29.429 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, market=nbtusd, price=1.002, side=sell, signature=9a64554d90e200b12037aaa44fbe01d2c8058c452066db63129944d2b377620f, tonce=1431011669429, volume=50.0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:29.762 [Strategy Fiat Task] DEBUG - result:{}{"id":2141,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:29Z","volume":"50.0","remaining_volume":"50.0","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:29.763 [Strategy Fiat Task] WARN  - Strategy : Sell Response = 2141 [c.n.n.s.P.StrategyPrimaryPegTask:354]
    17:14:29.763 [Strategy Fiat Task] DEBUG - buySide [com.nubits.nubot.strategy.Primary.StrategyPrimaryPegTask:372]
    17:14:29.764 [Strategy Fiat Task] DEBUG - GET - Calling https://178.62.140.24/api/v2/orders with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, limit=999, market=nbtusd, signature=813e329981540564ccb40edf382e91cc6580f11f59d2f4a3d8abdbcf3d80bc20, tonce=1431011669764} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:30.068 [Thread-7] DEBUG - Exchange still busy : 3 .Will retry soon; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:536]
    17:14:30.069 [Thread-7] DEBUG - Retrying for the 4 time. Sleep for 1220; Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:520]
    17:14:30.148 [Strategy Fiat Task] DEBUG - result:{}[{"id":2138,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:19Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2139,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2140,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0501","remaining_volume":"25.0501","executed_volume":"0.0","trades_count":0},{"id":2141,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:29Z","volume":"50.0","remaining_volume":"50.0","executed_volume":"0.0","trades_count":0}] [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:30.151 [Strategy Fiat Task] DEBUG - POST - Calling https://178.62.140.24/api/v2/order/delete with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, id=2139, signature=66cf93458a9a36ce834f22b5c2b7756421b12837fd99e09623ffbada22b72a11, tonce=1431011670151} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:30.552 [Strategy Fiat Task] DEBUG - result:{}{"id":2139,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0} [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:30.553 [Strategy Fiat Task] WARN  - Order 2139 delete request submitted [c.n.n.s.OrderManager:155]
    17:14:31.289 [Thread-7] DEBUG - Finally the exchange is free, executing query after 4 attempt. Method=/api/v2/orders/clear [com.nubits.nubot.trading.wrappers.PeatioWrapper:529]
    17:14:31.290 [Thread-7] ERROR - here 2 [c.n.n.t.w.PeatioWrapper:531]
    17:14:31.290 [Thread-7] DEBUG - POST - Calling https://178.62.140.24/api/v2/orders/clear with params:{access_key=mft0J5epMFpIgeX7A6ZY8rOpfsxuCgq8VOSEbCvu, signature=01126a9888348464b1a4b14916f78c24976a252507b85166810a4f71f6fc328b, tonce=1431011671290} [com.nubits.nubot.trading.wrappers.PeatioWrapper:790]
    17:14:31.798 [Thread-7] DEBUG - result:{}[{"id":2138,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:19Z","volume":"25.0","remaining_volume":"25.0","executed_volume":"0.0","trades_count":0},{"id":2140,"side":"buy","ord_type":"limit","price":"0.998","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:20Z","volume":"25.0501","remaining_volume":"25.0501","executed_volume":"0.0","trades_count":0},{"id":2141,"side":"sell","ord_type":"limit","price":"1.002","avg_price":"0.0","state":"wait","market":"nbtusd","created_at":"2015-05-07T15:14:29Z","volume":"50.0","remaining_volume":"50.0","executed_volume":"0.0","trades_count":0}] [com.nubits.nubot.trading.wrappers.PeatioWrapper:807]
    17:14:31.799 [Thread-7] INFO  - Order clear request successful [com.nubits.nubot.bot.NuBotBase:331]
    17:14:31.799 [Thread-7] INFO  - Resetting Liquidity Info before quit [com.nubits.nubot.bot.NuBotBase:344]
    17:14:31.799 [Thread-7] DEBUG - liquidity identifier = 1:NBTUSD:peatio:develop:branch-release/0.3.0|1431011638660|b0e8e7 [com.nubits.nubot.RPC.NuRPCClient:323]
    17:14:31.800 [Thread-7] DEBUG - RPC parameters [B, 0.0, 0.0, bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq, 1:NBTUSD:peatio:develop:branch-release/0.3.0|1431011638660|b0e8e7] [com.nubits.nubot.RPC.NuRPCClient:97]
    17:14:31.800 [Thread-7] INFO  - RPC : {"method":"liquidityinfo","id":"d4d2b704-0783-49b9-b70e-d62e92d37ba4","params":["B",0.0,0.0,"bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq","1:NBTUSD:peatio:develop:branch-release\/0.3.0|1431011638660|b0e8e7"]} [com.nubits.nubot.RPC.NuRPCClient:273]
    17:14:31.801 [Thread-7] INFO  - RPC executing request :POST http://127.0.0.1:9091 HTTP/1.1 [com.nubits.nubot.RPC.NuRPCClient:279]
    17:14:31.811 [Thread-7] INFO  - RPC---------------------------------------- [com.nubits.nubot.RPC.NuRPCClient:285]
    17:14:31.812 [Thread-7] INFO  - HTTP/1.1 200 OK [com.nubits.nubot.RPC.NuRPCClient:286]
    17:14:31.812 [Thread-7] INFO  - RPC : Response content length: 71 [com.nubits.nubot.RPC.NuRPCClient:289]
    17:14:31.813 [Thread-7] DEBUG - Entity = {"result":"","error":null,"id":"d4d2b704-0783-49b9-b70e-d62e92d37ba4"}
     [com.nubits.nubot.RPC.NuRPCClient:294]
    17:14:31.813 [Thread-7] DEBUG - RPC : Liquidity info submitted correctly. [com.nubits.nubot.RPC.NuRPCClient:104]
    17:14:31.813 [Thread-7] DEBUG - {"submitted":true} [com.nubits.nubot.bot.NuBotBase:351]
    17:14:31.813 [Thread-7] DEBUG - liquidity identifier = 2:NBTUSD:peatio:develop:branch-release/0.3.0|1431011638660|b0e8e7 [com.nubits.nubot.RPC.NuRPCClient:323]
    17:14:31.814 [Thread-7] DEBUG - RPC parameters [B, 0.0, 0.0, bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq, 2:NBTUSD:peatio:develop:branch-release/0.3.0|1431011638660|b0e8e7] [com.nubits.nubot.RPC.NuRPCClient:97]
    17:14:31.814 [Thread-7] INFO  - RPC : {"method":"liquidityinfo","id":"86017d52-5a88-478c-9add-48855614bd6c","params":["B",0.0,0.0,"bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq","2:NBTUSD:peatio:develop:branch-release\/0.3.0|1431011638660|b0e8e7"]} [com.nubits.nubot.RPC.NuRPCClient:273]
    17:14:31.815 [Thread-7] INFO  - RPC executing request :POST http://127.0.0.1:9091 HTTP/1.1 [com.nubits.nubot.RPC.NuRPCClient:279]
    17:14:31.828 [Thread-7] INFO  - RPC---------------------------------------- [com.nubits.nubot.RPC.NuRPCClient:285]
    17:14:31.829 [Thread-7] INFO  - HTTP/1.1 200 OK [com.nubits.nubot.RPC.NuRPCClient:286]
    17:14:31.829 [Thread-7] INFO  - RPC : Response content length: 118 [com.nubits.nubot.RPC.NuRPCClient:289]
    17:14:31.829 [Thread-7] DEBUG - Entity = {"result":null,"error":{"code":-1,"message":"Failed to process info.\n"},"id":"86017d52-5a88-478c-9add-48855614bd6c"}
     [com.nubits.nubot.RPC.NuRPCClient:294]
    17:14:31.830 [Thread-7] DEBUG - RPC : Liquidity info submitted correctly. [com.nubits.nubot.RPC.NuRPCClient:104]
    17:14:31.830 [Thread-7] DEBUG - {"submitted":true} [com.nubits.nubot.bot.NuBotBase:359]
    17:14:31.830 [Thread-7] INFO  - Logs of this session saved in logs/session_1431011638304 [com.nubits.nubot.bot.NuBotBase:365]
    17:14:31.831 [Thread-7] DEBUG - set mode to halted [com.nubits.nubot.bot.SessionManager:245]
    17:14:31.831 [Thread-7] INFO  - ** end of the session ** [com.nubits.nubot.bot.NuBotBase:368]
    17:14:31.831 [Thread-7] INFO  - session statistics [com.nubits.nubot.bot.NuBotBase:287]
    17:14:31.832 [Thread-7] INFO  - totalOrdersSubmitted 0 [com.nubits.nubot.bot.NuBotBase:289]
    17:14:31.855 [Thread-7] INFO  - after 0 hours 0 minutes 33 seconds uptime on peatio [nbt_usd] [com.nubits.nubot.bot.NuBotBase:298]
    17:14:31.856 [Thread-7] DEBUG - startup duration [msec]: -1 [com.nubits.nubot.bot.NuBotBase:301]
    17:14:31.856 [Thread-7] DEBUG - set mode to halting [com.nubits.nubot.bot.SessionManager:239]
    17:14:31.856 [Thread-7] INFO  - Exit main [com.nubits.nubot.launch.ShutDownProcess:47]
    
    Process finished with exit code 130
    
  2. Log in to comment