Error with feeds

Issue #850 resolved
Desrever Nu created an issue
18:30:17.954 [pool-2-thread-1] DEBUG - ping? : pong! [com.nubits.nubot.streamclient.Subscriber:616]
18:30:18.800 [pool-1-thread-1] INFO  - InitSocketMessage: {"command":"initSocket","args":["5561","BTC_672de2"],"errorMessage":"","token":"","serverTimestamp":"2015-09-29 16:30:17","attachments":[]} [com.nubits.nubot.streamclient.Subscriber:232]
18:30:18.801 [pool-1-thread-1] INFO  - Sync status from tcp://stream.tradingbot.nu:5661 [com.nubits.nubot.streamclient.Subscriber:515]
18:30:19.052 [pool-1-thread-1] INFO  - ShiftOrdersMessage: {"command":"shiftWalls","args":["btc_usd","238.77","239.72508","237.81492","0.00420488","0.00417138","bitfinex","0.15","0.8"],"errorMessage":"","token":"BTC_672de2","serverTimestamp":"2015-09-29 15:42:15","attachments":[[{"error":false,"source":"bitfinex","currencyMeasured":{"fiat":false,"code":"BTC","extendedName":"Bitcoin","defaultMainFeedName":"bitfinex","defaultbackupFeedNames":["blockchain","bitcoinaverage","coinbase","bitstamp"]},"price":{"quantity":238.77,"currency":{"fiat":true,"code":"USD","extendedName":"US Dollar","defaultMainFeedName":"","defaultbackupFeedNames":[]}},"timestamp":"Sep 29, 2015 11:42:13 AM"},{"error":false,"source":"blockchain","currencyMeasured":{"fiat":false,"code":"BTC","extendedName":"Bitcoin","defaultMainFeedName":"bitfinex","defaultbackupFeedNames":["blockchain","bitcoinaverage","coinbase","bitstamp"]},"price":{"quantity":237.62,"currency":{"fiat":true,"code":"USD","extendedName":"US Dollar","defaultMainFeedName":"","defaultbackupFeedNames":[]}},"timestamp":"Sep 29, 2015 11:42:14 AM"},{"error":false,"source":"bitcoinaverage","currencyMeasured":{"fiat":false,"code":"BTC","extendedName":"Bitcoin","defaultMainFeedName":"bitfinex","defaultbackupFeedNames":["blockchain","bitcoinaverage","coinbase","bitstamp"]},"price":{"quantity":239.89,"currency":{"fiat":true,"code":"USD","extendedName":"US Dollar","defaultMainFeedName":"","defaultbackupFeedNames":[]}},"timestamp":"Sep 29, 2015 11:42:14 AM"},{"error":false,"source":"coinbase","currencyMeasured":{"fiat":false,"code":"BTC","extendedName":"Bitcoin","defaultMainFeedName":"bitfinex","defaultbackupFeedNames":["blockchain","bitcoinaverage","coinbase","bitstamp"]},"price":{"quantity":238.68,"currency":{"fiat":true,"code":"USD","extendedName":"US Dollar","defaultMainFeedName":"","defaultbackupFeedNames":[]}},"timestamp":"Sep 29, 2015 11:42:14 AM"},{"error":false,"source":"bitstamp","currencyMeasured":{"fiat":false,"code":"BTC","extendedName":"Bitcoin","defaultMainFeedName":"bitfinex","defaultbackupFeedNames":["blockchain","bitcoinaverage","coinbase","bitstamp"]},"price":{"quantity":237.88,"currency":{"fiat":true,"code":"USD","extendedName":"US Dollar","defaultMainFeedName":"","defaultbackupFeedNames":[]}},"timestamp":"Sep 29, 2015 11:42:15 AM"}]]} [com.nubits.nubot.streamclient.Subscriber:161]
18:30:19.054 [pool-1-thread-1] INFO  - These is the raw list of prices obtained by Streamer : [{error=false, source=bitfinex, currencyMeasured={fiat=false, code=BTC, extendedName=Bitcoin, defaultMainFeedName=bitfinex, defaultbackupFeedNames=[blockchain, bitcoinaverage, coinbase, bitstamp]}, price={quantity=238.77, currency={fiat=true, code=USD, extendedName=US Dollar, defaultMainFeedName=, defaultbackupFeedNames=[]}}, timestamp=Sep 29, 2015 11:42:13 AM}, {error=false, source=blockchain, currencyMeasured={fiat=false, code=BTC, extendedName=Bitcoin, defaultMainFeedName=bitfinex, defaultbackupFeedNames=[blockchain, bitcoinaverage, coinbase, bitstamp]}, price={quantity=237.62, currency={fiat=true, code=USD, extendedName=US Dollar, defaultMainFeedName=, defaultbackupFeedNames=[]}}, timestamp=Sep 29, 2015 11:42:14 AM}, {error=false, source=bitcoinaverage, currencyMeasured={fiat=false, code=BTC, extendedName=Bitcoin, defaultMainFeedName=bitfinex, defaultbackupFeedNames=[blockchain, bitcoinaverage, coinbase, bitstamp]}, price={quantity=239.89, currency={fiat=true, code=USD, extendedName=US Dollar, defaultMainFeedName=, defaultbackupFeedNames=[]}}, timestamp=Sep 29, 2015 11:42:14 AM}, {error=false, source=coinbase, currencyMeasured={fiat=false, code=BTC, extendedName=Bitcoin, defaultMainFeedName=bitfinex, defaultbackupFeedNames=[blockchain, bitcoinaverage, coinbase, bitstamp]}, price={quantity=238.68, currency={fiat=true, code=USD, extendedName=US Dollar, defaultMainFeedName=, defaultbackupFeedNames=[]}}, timestamp=Sep 29, 2015 11:42:14 AM}, {error=false, source=bitstamp, currencyMeasured={fiat=false, code=BTC, extendedName=Bitcoin, defaultMainFeedName=bitfinex, defaultbackupFeedNames=[blockchain, bitcoinaverage, coinbase, bitstamp]}, price={quantity=237.88, currency={fiat=true, code=USD, extendedName=US Dollar, defaultMainFeedName=, defaultbackupFeedNames=[]}}, timestamp=Sep 29, 2015 11:42:15 AM}] [com.nubits.nubot.streamclient.Subscriber:162]
18:30:19.055 [pool-1-thread-1] INFO  - Streamer requested a wallShift. pair= btc_usd feed=bitfinex price=238.77 currencyTracked= BTC, firstTime:true [com.nubits.nubot.streamclient.Subscriber:175]
18:30:19.340 [qtp1892618685-30 - //localhost:8889/orders] DEBUG - /orders called [com.nubits.nubot.webui.LogController:65]
18:30:19.340 [qtp1892618685-30 - //localhost:8889/orders] DEBUG - Fetching active orders ... [com.nubits.nubot.strategy.OrderManager:310]
18:30:19.472 [qtp1892618685-34 - //localhost:8889/startstop] INFO  - start bot success? true [com.nubits.nubot.webui.BotController:114]
18:30:19.739 [pool-1-thread-1] ERROR - java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.bitfinex.com/v1/pubticker/nbtusd [c.n.n.p.f.BitfinexPriceFeed:54]
18:30:19.739 [pool-1-thread-1] ERROR - com.nubits.nubot.pricefeeds.FeedCallException: BitfinexPriceFeed : Unable to fetch last price. [c.n.n.s.Subscriber:287]
18:30:19.740 [pool-1-thread-1] WARN  - Remote price not considered OK. Starting local price tracker. [c.n.n.s.Subscriber:184]
18:30:19.740 [pool-1-thread-1] WARN  - NuBot will not try to sync with other bots via remote NTP : 'multiple-custodians' is set to false [c.n.n.s.S.NuBotSecondary:186]
18:30:19.740 [pool-1-thread-1] INFO  - BotTask [priceTriggerTask] will start in 0s, and run it every 61s [com.nubits.nubot.tasks.BotTask:63]
18:30:19.741 [pool-1-thread-1] DEBUG - Stopping ping process [com.nubits.nubot.streamclient.Subscriber:633]
18:30:19.741 [priceTriggerTask] DEBUG - Executing class com.nubits.nubot.tasks.PriceMonitorTriggerTask [com.nubits.nubot.tasks.PriceMonitorTriggerTask:97]
18:30:19.741 [priceTriggerTask] INFO  - running PriceMonitorTrigger for first time [com.nubits.nubot.tasks.PriceMonitorTriggerTask:100]
18:30:19.743 [priceTriggerTask] DEBUG - Executing task : PriceMonitorTriggerTask  [com.nubits.nubot.tasks.PriceMonitorTriggerTask:120]
18:30:19.743 [priceTriggerTask] DEBUG - fetch last prices [com.nubits.nubot.pricefeeds.PriceFeedManager:109]
18:30:19.745 [pool-1-thread-1] WARN  - Subscribing to websocket push updates from streamer @ tcp://stream.tradingbot.nu:5561 [c.n.n.s.Subscriber:103]
18:30:19.963 [priceTriggerTask] DEBUG - [BTC] Obtained price : 237.99 from BitstampPriceFeed [com.nubits.nubot.pricefeeds.PriceFeedManager:128]
18:30:20.564 [priceTriggerTask] DEBUG - [BTC] Obtained price : 237.61 from BlockchainPriceFeed [com.nubits.nubot.pricefeeds.PriceFeedManager:128]
18:30:21.503 [priceTriggerTask] DEBUG - [BTC] Obtained price : 239.79 from BitcoinaveragePriceFeed [com.nubits.nubot.pricefeeds.PriceFeedManager:128]
18:30:22.688 [priceTriggerTask] DEBUG - [BTC] Obtained price : 238.52 from CoinbasePriceFeed [com.nubits.nubot.pricefeeds.PriceFeedManager:128]
18:30:22.973 [priceTriggerTask] DEBUG - [BTC] Obtained price : 238.57 from BitfinexPriceFeed [com.nubits.nubot.pricefeeds.PriceFeedManager:128]
18:30:22.973 [priceTriggerTask] DEBUG - CheckLastPrice received values from 5/5 available remote feeds.  [com.nubits.nubot.tasks.PriceMonitorTriggerTask:204]
18:30:22.974 [priceTriggerTask] INFO  - Price Updated. bitstamp:1 BTC = 237.99 USD [com.nubits.nubot.tasks.PriceMonitorTriggerTask:353]
18:30:22.975 [priceTriggerTask] DEBUG - Hitbtc uses global TX fee, currency pair not supprted. 

Comments (2)

  1. Log in to comment