We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wonder whether I can get some help with my issues.
The bot is running on testnet but no orders are being placed (checked orderbook and open orders in user interface)
I also frequently catch this error: ERROR - hedge_on_bitmex failed.
I have attached the bot output below.
Thanks
/environments/cpmmbot.py$ python mmbot.py #### bitmex https://testnet.bitmex.com/api/v1/ #### coinpit https://live.coinpit.me/api/v1 2017-08-17 00:06:57,312 - Coinpit - DEBUG - coinpit_config {"config":{"network":"testnet","maxApiKeys":50,"maxInputs":50,"sendFundsTXfee":150000,"sendFundsMaxTXfee":1000000,"recoveryFeePerKB":25000,"minimumFee":200000,"maximumFee":400000,"feePerKB":200000,"feeCheckInterval":3600000,"feeChangeTolerance":0.05,"marginFeeThreshold":0.9,"sliceSize":10000000,"bitcoinDust":10000,"sliceThreshold":10,"reservedTicks":2,"maxOrdersCreateUpdate":100,"maxPositionsMerge":20,"blockchainapi":{"provider":"insight","uri":"https://insight.coinpit.me/insight-api","socketuri":"https://insight.coinpit.me"},"links":{"blockcypher":"https://live.blockcypher.com/btc-testnet","blockexplorer":"https://testnet.blockexplorer.com","blocktrail":"https://www.blocktrail.com/tBTC"},"geofence":{"block":["UM"]},"noSignup":false,"maxLeverage":50,"features":{"apiKey":true}},"instruments":{"BTCUSD7Q25":{"type":"inverse","template":"BTCUSD","commission":0.0005,"reward":0,"stopcushion":5,"stopprice":2,"targetprice":3,"crossMarginInitialStop":50,"ticksize":1,"ticksperpoint":10,"contractusdvalue":100,"bandUpperLimit":0.01,"bandLowerLimit":0.01,"introducerReward":0,"introducedReward":0,"rewardsCalculationInterval":14400,"minMarketStop":1.6,"minLimitStop":1.6,"uplDecimalPlaces":8,"externalFeed":"coinpit-index#BTCUSD","expiryClass":"weekly","maxLeverage":100,"symbol":"BTCUSD7Q25","start":1502471700000,"expiry":1503681300000,"next":"BTCUSD7U01","status":"active"},"BTCUSD7Q18":{"type":"inverse","template":"BTCUSD","commission":0.0005,"reward":0,"stopcushion":5,"stopprice":2,"targetprice":3,"crossMarginInitialStop":50,"ticksize":1,"ticksperpoint":10,"contractusdvalue":100,"bandUpperLimit":0.01,"bandLowerLimit":0.01,"introducerReward":0,"introducedReward":0,"rewardsCalculationInterval":14400,"minMarketStop":1.6,"minLimitStop":1.6,"uplDecimalPlaces":8,"externalFeed":"coinpit-index#BTCUSD","expiryClass":"weekly","maxLeverage":100,"symbol":"BTCUSD7Q18","start":1501866900000,"expiry":1503076500000,"next":"BTCUSD7Q25","status":"active"}},"alias":{"BTCUSDF":"BTCUSD7Q25","BTCUSDW":"BTCUSD7Q18"}} 2017-08-17 00:06:57,313 - root - DEBUG - message {"method":"GET","uri":"/account","nonce":------------} 2017-08-17 00:06:59,209 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [engine.io transport selected] websocket 2017-08-17 00:06:59,209 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [engine.io heartbeat reset] 2017-08-17 00:06:59,210 - root - DEBUG - message {"method":"GET","uri":"/register","body":{"userid":-------------------------------------------------------------f"}}] 2017-08-17 00:06:59,210 - CP_Socket - INFO - event order_add 2017-08-17 00:06:59,210 - CP_Socket - INFO - event disconnect 2017-08-17 00:06:59,210 - CP_Socket - INFO - event order_error 2017-08-17 00:06:59,211 - CP_Socket - INFO - event connect_timeout 2017-08-17 00:06:59,211 - CP_Socket - INFO - event reconnect_failed 2017-08-17 00:06:59,211 - CP_Socket - INFO - event order_del 2017-08-17 00:06:59,211 - CP_Socket - INFO - event reconnect_error 2017-08-17 00:06:59,211 - CP_Socket - INFO - event priceband 2017-08-17 00:06:59,211 - CP_Socket - INFO - event config 2017-08-17 00:06:59,211 - CP_Socket - INFO - event order_patch 2017-08-17 00:06:59,211 - CP_Socket - INFO - event alias 2017-08-17 00:06:59,211 - CP_Socket - INFO - event readonly 2017-08-17 00:06:59,211 - CP_Socket - INFO - event order_update 2017-08-17 00:06:59,211 - CP_Socket - INFO - event account 2017-08-17 00:06:59,212 - CP_Socket - INFO - event connect_error 2017-08-17 00:06:59,212 - CP_Socket - INFO - event reconnect 2017-08-17 00:06:59,212 - CP_Socket - INFO - event auth_error 2017-08-17 00:06:59,212 - CP_Socket - INFO - event instruments 2017-08-17 00:06:59,212 - BM_Socket - INFO - Authenticating with API Key. Started thread 2017-08-17 00:06:59,332 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'0' 2017-08-17 00:06:59,333 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io connected] 2017-08-17 00:06:59,338 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["orderbook",{"BTCUSD7Q25":{"bid":4408.6,"ask":4410,"buy":[{"price":4408.6,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},{"price":4408.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4408.4,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},{"price":4408.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4408.2,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},{"price":4408.1,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q25"},{"price":4408,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.9,"numberOfOrders":1,"totalQuantity":6,"instrument":"BTCUSD7Q25"},{"price":4407.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4407,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4406.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4406.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4406.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":"NONE","numberOfOrders":5,"totalQuantity":18,"instrument":"BTCUSD7Q25"}],"sell":[{"price":4410,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},{"price":4410.1,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},{"price":4410.2,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},{"price":4410.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4410.4,"numberOfOrders":1,"totalQuantity":14,"instrument":"BTCUSD7Q25"},{"price":4410.5,"numberOfOrders":1,"totalQuantity":8,"instrument":"BTCUSD7Q25"},{"price":4410.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4410.7,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},{"price":4410.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4410.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":4411.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},{"price":"NONE","numberOfOrders":1,"totalQuantity":18,"instrument":"BTCUSD7Q25"}]},"BTCUSD7Q18":{"bid":4389.4,"ask":4390.8,"buy":[{"price":4389.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4389.3,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},{"price":4389.2,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},{"price":4389.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4389,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},{"price":4388.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4388,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},{"price":4387.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4387.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4387.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4387.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4387.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}],"sell":[{"price":4390.8,"numberOfOrders":1,"totalQuantity":9,"instrument":"BTCUSD7Q18"},{"price":4390.9,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},{"price":4391,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},{"price":4391.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4391.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4391.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4391.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4391.5,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},{"price":4391.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4391.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4391.8,"numberOfOrders":1,"totalQuantity":12,"instrument":"BTCUSD7Q18"},{"price":4391.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4392,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4392.1,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},{"price":4392.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4392.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4392.4,"numberOfOrders":1,"totalQuantity":19,"instrument":"BTCUSD7Q18"},{"price":4392.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4392.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},{"price":4392.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}]}}]' 2017-08-17 00:06:59,339 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["instruments",{"BTCUSD7Q25":{"type":"inverse","template":"BTCUSD","commission":0.0005,"reward":0,"stopcushion":5,"stopprice":2,"targetprice":3,"crossMarginInitialStop":50,"ticksize":1,"ticksperpoint":10,"contractusdvalue":100,"bandUpperLimit":0.01,"bandLowerLimit":0.01,"introducerReward":0,"introducedReward":0,"rewardsCalculationInterval":14400,"minMarketStop":1.6,"minLimitStop":1.6,"uplDecimalPlaces":8,"externalFeed":"coinpit-index#BTCUSD","expiryClass":"weekly","maxLeverage":100,"symbol":"BTCUSD7Q25","start":1502471700000,"expiry":1503681300000,"next":"BTCUSD7U01","status":"active"},"BTCUSD7Q18":{"type":"inverse","template":"BTCUSD","commission":0.0005,"reward":0,"stopcushion":5,"stopprice":2,"targetprice":3,"crossMarginInitialStop":50,"ticksize":1,"ticksperpoint":10,"contractusdvalue":100,"bandUpperLimit":0.01,"bandLowerLimit":0.01,"introducerReward":0,"introducedReward":0,"rewardsCalculationInterval":14400,"minMarketStop":1.6,"minLimitStop":1.6,"uplDecimalPlaces":8,"externalFeed":"coinpit-index#BTCUSD","expiryClass":"weekly","maxLeverage":100,"symbol":"BTCUSD7Q18","start":1501866900000,"expiry":1503076500000,"next":"BTCUSD7Q25","status":"active"}}]' 2017-08-17 00:06:59,339 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["version",{"version":"b5887a3140"}]' 2017-08-17 00:06:59,340 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["readonly",{"readonly":false}]' 2017-08-17 00:06:59,340 - Coinpit - DEBUG - on_read_only {'readonly': False} 2017-08-17 00:06:59,439 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4388.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4405.5,"time":1502928417067},{"type":"socket","name":"bitstamp","price":4380,"time":1502928416344},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378,"time":1502928417887},{"type":"rest","name":"itbit","price":4382.41,"time":1502928417017},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4395,"time":1502928417916}],"min":4344.8,"max":4432.6,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4388.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4405.5,"time":1502928417067},{"type":"socket","name":"bitstamp","price":4380,"time":1502928416344},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378,"time":1502928417887},{"type":"rest","name":"itbit","price":4382.41,"time":1502928417017},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4395,"time":1502928417916}],"min":4344.8,"max":4432.6,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:06:59,440 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4344.8, 'max': 4432.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928417067, 'price': 4405.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928416344, 'price': 4380, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928417887, 'price': 4378, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928417017, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928417916, 'price': 4395, 'name': 'kraken'}], 'price': 4388.7, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4344.8, 'max': 4432.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928417067, 'price': 4405.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928416344, 'price': 4380, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928417887, 'price': 4378, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928417017, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928417916, 'price': 4395, 'name': 'kraken'}], 'price': 4388.7, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:06:59,440 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["open_interest",{"BTCUSD7Q25":{"qty":18,"btc":0.40830938,"instrument":"BTCUSD7Q25"}}]' 2017-08-17 00:06:59,440 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["volume_24h",{"BTCUSD7Q25":{"qty":288,"btc":6.54870078,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"qty":270,"btc":6.21643501,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:06:59,441 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["delivery_price",{"BTCUSD7Q25":4385,"BTCUSD7Q18":4385}]' 2017-08-17 00:06:59,444 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4407":{"price":4407,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408":{"price":4408,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410":{"price":4410,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411":{"price":4411,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4408.6":{"price":4408.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.9":{"price":4411.9,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4408.5":{"price":4408.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.8":{"price":4411.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4408.4":{"price":4408.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.7":{"price":4411.7,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4408.3":{"price":4408.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.6":{"price":4411.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4408.2":{"price":4408.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.5":{"price":4411.5,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4408.1":{"price":4408.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.4":{"price":4411.4,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q25"},"4407.9":{"price":4407.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.3":{"price":4411.3,"numberOfOrders":1,"totalQuantity":6,"instrument":"BTCUSD7Q25"},"4407.8":{"price":4407.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.2":{"price":4411.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.7":{"price":4407.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.1":{"price":4411.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.6":{"price":4407.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.9":{"price":4410.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.5":{"price":4407.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.8":{"price":4410.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.4":{"price":4407.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.7":{"price":4410.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.3":{"price":4407.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.6":{"price":4410.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.2":{"price":4407.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.5":{"price":4410.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.1":{"price":4407.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.4":{"price":4410.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.9":{"price":4406.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.3":{"price":4410.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.8":{"price":4406.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.2":{"price":4410.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.7":{"price":4406.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.1":{"price":4410.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4410":{"price":4410,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411":{"price":4411,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414":{"price":4414,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4415":{"price":4415,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.1":{"price":4410.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.3":{"price":4413.3,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4410.2":{"price":4410.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.4":{"price":4413.4,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4410.3":{"price":4410.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.5":{"price":4413.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.4":{"price":4410.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.6":{"price":4413.6,"numberOfOrders":1,"totalQuantity":14,"instrument":"BTCUSD7Q25"},"4410.5":{"price":4410.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.7":{"price":4413.7,"numberOfOrders":1,"totalQuantity":8,"instrument":"BTCUSD7Q25"},"4410.6":{"price":4410.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.8":{"price":4413.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.7":{"price":4410.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.9":{"price":4413.9,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4410.8":{"price":4410.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.1":{"price":4414.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.9":{"price":4410.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.2":{"price":4414.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.1":{"price":4411.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.3":{"price":4414.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.2":{"price":4411.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.4":{"price":4414.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.3":{"price":4411.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.5":{"price":4414.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.4":{"price":4411.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.6":{"price":4414.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.5":{"price":4411.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.7":{"price":4414.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.6":{"price":4411.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.8":{"price":4414.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.7":{"price":4411.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.9":{"price":4414.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.8":{"price":4411.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4415.1":{"price":4415.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.9":{"price":4411.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4415.2":{"price":4415.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"bid":4411.9,"ask":4413.3}]' 2017-08-17 00:06:59,548 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q18","buy":{"4388":{"price":4388,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4389":{"price":4389,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391":{"price":4391,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4392":{"price":4392,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4389.4":{"price":4389.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.7":{"price":4392.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4389.3":{"price":4389.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.6":{"price":4392.6,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4389.2":{"price":4389.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.5":{"price":4392.5,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4389.1":{"price":4389.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.4":{"price":4392.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.9":{"price":4388.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.3":{"price":4392.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.8":{"price":4388.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.2":{"price":4392.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.7":{"price":4388.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.1":{"price":4392.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.6":{"price":4388.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.9":{"price":4391.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.5":{"price":4388.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.8":{"price":4391.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.4":{"price":4388.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.7":{"price":4391.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.3":{"price":4388.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.6":{"price":4391.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.2":{"price":4388.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.5":{"price":4391.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.1":{"price":4388.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.4":{"price":4391.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.9":{"price":4387.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.3":{"price":4391.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.8":{"price":4387.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.2":{"price":4391.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.7":{"price":4387.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.1":{"price":4391.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.6":{"price":4387.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.9":{"price":4390.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.5":{"price":4387.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.8":{"price":4390.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"sell":{"4391":{"price":4391,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392":{"price":4392,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395":{"price":4395,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4396":{"price":4396,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.8":{"price":4390.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.1":{"price":4394.1,"numberOfOrders":1,"totalQuantity":9,"instrument":"BTCUSD7Q18"},"4390.9":{"price":4390.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.2":{"price":4394.2,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4391.1":{"price":4391.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.3":{"price":4394.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.2":{"price":4391.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.4":{"price":4394.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.3":{"price":4391.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.5":{"price":4394.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.4":{"price":4391.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.6":{"price":4394.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.5":{"price":4391.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.7":{"price":4394.7,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4391.6":{"price":4391.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.8":{"price":4394.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.7":{"price":4391.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.9":{"price":4394.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.8":{"price":4391.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.1":{"price":4395.1,"numberOfOrders":1,"totalQuantity":12,"instrument":"BTCUSD7Q18"},"4391.9":{"price":4391.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.2":{"price":4395.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.1":{"price":4392.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.3":{"price":4395.3,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4392.2":{"price":4392.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.4":{"price":4395.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.3":{"price":4392.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.5":{"price":4395.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.4":{"price":4392.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.6":{"price":4395.6,"numberOfOrders":1,"totalQuantity":19,"instrument":"BTCUSD7Q18"},"4392.5":{"price":4392.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.7":{"price":4395.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.6":{"price":4392.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.8":{"price":4395.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.7":{"price":4392.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.9":{"price":4395.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"bid":4392.7,"ask":4394.1}]' 2017-08-17 00:06:59,549 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["server_time",1502928419299]' 2017-08-17 00:06:59,549 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["server-time",1502928419299]' 2017-08-17 00:06:59,549 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["affiliate",{"userid":"mw9ojk27HiaDMB5xXDhXGbiGsKz4XJ67WB","affiliateReward":0,"lifetimeAffiliateReward":0,"lifetimeTradingRebate":0}]' 2017-08-17 00:06:59,649 - websocket - ERROR - error from callback <bound method BM_Socket.on_error of <pymmbot.bitmex.bm_socket.BM_Socket object at 0x7f736cc1b390>>: on_error() takes 2 positional arguments but 3 were given File "/home/ubuntu/environments/my_env/lib/python3.5/site-packages/websocket_client-0.44.0-py3.5.egg/websocket/_app.py", line 269, in _callback callback(self, *args) 2017-08-17 00:06:59,650 - BM_Socket - DEBUG - Websocket Closed. 2017-08-17 00:07:00,413 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["volume_24h",{"BTCUSD7Q25":{"qty":508,"btc":11.53903773,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"qty":270,"btc":6.21643501,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:00,417 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["delivery_price",{"BTCUSD7Q25":4385,"BTCUSD7Q18":4385}]' 2017-08-17 00:07:00,916 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928420,"price":4387.7,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:00,973 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928420,"price":4387.7,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:00,974 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4387.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4405.6,"time":1502928420383},{"type":"socket","name":"bitstamp","price":4380,"time":1502928416344},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928419102},{"type":"rest","name":"itbit","price":4382.41,"time":1502928420024},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4393,"time":1502928420754}],"min":4343.8,"max":4431.6,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4387.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4405.6,"time":1502928420383},{"type":"socket","name":"bitstamp","price":4380,"time":1502928416344},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928419102},{"type":"rest","name":"itbit","price":4382.41,"time":1502928420024},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4393,"time":1502928420754}],"min":4343.8,"max":4431.6,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:00,974 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4343.8, 'max': 4431.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928420383, 'price': 4405.6, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928416344, 'price': 4380, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928419102, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928420024, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928420754, 'price': 4393, 'name': 'kraken'}], 'price': 4387.7, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4343.8, 'max': 4431.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928420383, 'price': 4405.6, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928416344, 'price': 4380, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928419102, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928420024, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928420754, 'price': 4393, 'name': 'kraken'}], 'price': 4387.7, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:01,834 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q18","buy":{"4390":{"price":4390,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4392":{"price":4392,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.7":{"price":4392.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.7":{"price":4390.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.6":{"price":4392.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.6":{"price":4390.6,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4392.5":{"price":4392.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.5":{"price":4390.5,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4392.4":{"price":4392.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.4":{"price":4390.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.3":{"price":4392.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.3":{"price":4390.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.2":{"price":4392.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.2":{"price":4390.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4392.1":{"price":4392.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.1":{"price":4390.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.9":{"price":4391.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4389.9":{"price":4389.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.8":{"price":4391.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4389.8":{"price":4389.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"sell":{"4394":{"price":4394,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4396":{"price":4396,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.1":{"price":4395.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.1":{"price":4393.1,"numberOfOrders":1,"totalQuantity":12,"instrument":"BTCUSD7Q18"},"4395.2":{"price":4395.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.2":{"price":4393.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4395.3":{"price":4395.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.3":{"price":4393.3,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4395.4":{"price":4395.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.4":{"price":4393.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4395.5":{"price":4395.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.5":{"price":4393.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4395.6":{"price":4395.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.6":{"price":4393.6,"numberOfOrders":1,"totalQuantity":19,"instrument":"BTCUSD7Q18"},"4395.7":{"price":4395.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.7":{"price":4393.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4395.8":{"price":4395.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.8":{"price":4393.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4395.9":{"price":4395.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.9":{"price":4393.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"bid":4391.7,"ask":4393.1}]' 2017-08-17 00:07:01,839 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4409":{"price":4409,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411":{"price":4411,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.9":{"price":4411.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.9":{"price":4409.9,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4411.8":{"price":4411.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.8":{"price":4409.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.7":{"price":4411.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.7":{"price":4409.7,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4411.6":{"price":4411.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.6":{"price":4409.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.5":{"price":4411.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.5":{"price":4409.5,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4411.4":{"price":4411.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.4":{"price":4409.4,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q25"},"4411.3":{"price":4411.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.3":{"price":4409.3,"numberOfOrders":1,"totalQuantity":6,"instrument":"BTCUSD7Q25"},"4411.2":{"price":4411.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.2":{"price":4409.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.1":{"price":4411.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.1":{"price":4409.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4413":{"price":4413,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4415":{"price":4415,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.3":{"price":4414.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.3":{"price":4412.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.4":{"price":4414.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.4":{"price":4412.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.5":{"price":4414.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.5":{"price":4412.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.6":{"price":4414.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.6":{"price":4412.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.7":{"price":4414.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.7":{"price":4412.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.8":{"price":4414.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.8":{"price":4412.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.9":{"price":4414.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.9":{"price":4412.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4415.1":{"price":4415.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.1":{"price":4413.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4415.2":{"price":4415.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.2":{"price":4413.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"bid":4410.9,"ask":4412.3}]' 2017-08-17 00:07:01,981 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928421,"price":4381.2,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:02,043 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928421,"price":4381.2,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:02,044 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4381.2,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4405.6,"time":1502928420383},{"type":"socket","name":"bitstamp","price":4380,"time":1502928416344},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928419102},{"type":"rest","name":"itbit","price":4382.41,"time":1502928421019},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4374,"time":1502928421774}],"min":4337.4,"max":4425,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4381.2,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4405.6,"time":1502928420383},{"type":"socket","name":"bitstamp","price":4380,"time":1502928416344},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928419102},{"type":"rest","name":"itbit","price":4382.41,"time":1502928421019},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4374,"time":1502928421774}],"min":4337.4,"max":4425,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:02,044 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4337.4, 'max': 4425, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928420383, 'price': 4405.6, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928416344, 'price': 4380, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928419102, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928421019, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928421774, 'price': 4374, 'name': 'kraken'}], 'price': 4381.2, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4337.4, 'max': 4425, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928420383, 'price': 4405.6, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928416344, 'price': 4380, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928419102, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928421019, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928421774, 'price': 4374, 'name': 'kraken'}], 'price': 4381.2, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:02,951 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q18","buy":{"4384":{"price":4384,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4385":{"price":4385,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4390":{"price":4390,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391":{"price":4391,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.7":{"price":4390.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4385.2":{"price":4385.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.6":{"price":4390.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4385.1":{"price":4385.1,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4390.5":{"price":4390.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.9":{"price":4384.9,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4390.4":{"price":4390.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.8":{"price":4384.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.3":{"price":4390.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.7":{"price":4384.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.2":{"price":4390.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.6":{"price":4384.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.1":{"price":4390.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.5":{"price":4384.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4389.9":{"price":4389.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.4":{"price":4384.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4389.8":{"price":4389.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.3":{"price":4384.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.7":{"price":4391.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.2":{"price":4384.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.6":{"price":4391.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4384.1":{"price":4384.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.5":{"price":4391.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.9":{"price":4383.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.4":{"price":4391.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.8":{"price":4383.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.3":{"price":4391.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.7":{"price":4383.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.2":{"price":4391.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.6":{"price":4383.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4391.1":{"price":4391.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.5":{"price":4383.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.9":{"price":4390.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.4":{"price":4383.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.8":{"price":4390.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4383.3":{"price":4383.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"sell":{"4387":{"price":4387,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388":{"price":4388,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4394":{"price":4394,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395":{"price":4395,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.1":{"price":4394.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4386.6":{"price":4386.6,"numberOfOrders":1,"totalQuantity":9,"instrument":"BTCUSD7Q18"},"4394.2":{"price":4394.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4386.7":{"price":4386.7,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4394.3":{"price":4394.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4386.8":{"price":4386.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4394.4":{"price":4394.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4386.9":{"price":4386.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4394.5":{"price":4394.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.1":{"price":4387.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4394.6":{"price":4394.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.2":{"price":4387.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4394.7":{"price":4394.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.3":{"price":4387.3,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4394.8":{"price":4394.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.4":{"price":4387.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4394.9":{"price":4394.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.5":{"price":4387.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.1":{"price":4393.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.6":{"price":4387.6,"numberOfOrders":1,"totalQuantity":12,"instrument":"BTCUSD7Q18"},"4393.2":{"price":4393.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.7":{"price":4387.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.3":{"price":4393.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.8":{"price":4387.8,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4393.4":{"price":4393.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4387.9":{"price":4387.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.5":{"price":4393.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.1":{"price":4388.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.6":{"price":4393.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.2":{"price":4388.2,"numberOfOrders":1,"totalQuantity":19,"instrument":"BTCUSD7Q18"},"4393.7":{"price":4393.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.3":{"price":4388.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.8":{"price":4393.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.4":{"price":4388.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.9":{"price":4393.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.5":{"price":4388.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"bid":4385.2,"ask":4386.6}]' 2017-08-17 00:07:03,472 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4403":{"price":4403,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4404":{"price":4404,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409":{"price":4409,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410":{"price":4410,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.9":{"price":4409.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404.4":{"price":4404.4,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4409.8":{"price":4409.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404.3":{"price":4404.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.7":{"price":4409.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404.2":{"price":4404.2,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4409.6":{"price":4409.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404.1":{"price":4404.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.5":{"price":4409.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.9":{"price":4403.9,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4409.4":{"price":4409.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.8":{"price":4403.8,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q25"},"4409.3":{"price":4409.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.7":{"price":4403.7,"numberOfOrders":1,"totalQuantity":6,"instrument":"BTCUSD7Q25"},"4409.2":{"price":4409.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.6":{"price":4403.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.1":{"price":4409.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.5":{"price":4403.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.9":{"price":4410.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.4":{"price":4403.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.8":{"price":4410.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.3":{"price":4403.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.7":{"price":4410.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4403.2":{"price":4403.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.6":{"price":4410.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4402.9":{"price":4402.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.5":{"price":4410.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4402.8":{"price":4402.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.4":{"price":4410.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4402.7":{"price":4402.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.3":{"price":4410.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4402.6":{"price":4402.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.2":{"price":4410.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4402.5":{"price":4402.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.1":{"price":4410.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4402.4":{"price":4402.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4406":{"price":4406,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407":{"price":4407,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4413":{"price":4413,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414":{"price":4414,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.3":{"price":4413.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4405.8":{"price":4405.8,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4413.4":{"price":4413.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4405.9":{"price":4405.9,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4413.5":{"price":4413.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.1":{"price":4406.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.6":{"price":4413.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.2":{"price":4406.2,"numberOfOrders":1,"totalQuantity":14,"instrument":"BTCUSD7Q25"},"4413.7":{"price":4413.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.3":{"price":4406.3,"numberOfOrders":1,"totalQuantity":8,"instrument":"BTCUSD7Q25"},"4413.8":{"price":4413.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.4":{"price":4406.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.9":{"price":4413.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.5":{"price":4406.5,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4414.1":{"price":4414.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.6":{"price":4406.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.2":{"price":4414.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.7":{"price":4406.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.3":{"price":4412.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.8":{"price":4406.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.4":{"price":4412.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.9":{"price":4406.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.5":{"price":4412.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.1":{"price":4407.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.6":{"price":4412.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.2":{"price":4407.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.7":{"price":4412.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.3":{"price":4407.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.8":{"price":4412.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.4":{"price":4407.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.9":{"price":4412.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.5":{"price":4407.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.1":{"price":4413.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.6":{"price":4407.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.2":{"price":4413.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.7":{"price":4407.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"bid":4404.4,"ask":4405.8}]' 2017-08-17 00:07:04,157 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928424,"price":4381.4,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:04,208 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928424,"price":4381.4,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:04,209 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4381.4,"lastProvider":"bitstamp","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4409.5,"time":1502928423701},{"type":"socket","name":"bitstamp","price":4380.45,"time":1502928424057},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928422396},{"type":"rest","name":"itbit","price":4382.41,"time":1502928424023},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4374,"time":1502928423934}],"min":4337.6,"max":4425.2,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4381.4,"lastProvider":"bitstamp","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4409.5,"time":1502928423701},{"type":"socket","name":"bitstamp","price":4380.45,"time":1502928424057},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928422396},{"type":"rest","name":"itbit","price":4382.41,"time":1502928424023},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4374,"time":1502928423934}],"min":4337.6,"max":4425.2,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:04,209 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'bitstamp', 'min': 4337.6, 'max': 4425.2, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928423701, 'price': 4409.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928424057, 'price': 4380.45, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928422396, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928424023, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928423934, 'price': 4374, 'name': 'kraken'}], 'price': 4381.4, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'bitstamp', 'min': 4337.6, 'max': 4425.2, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928423701, 'price': 4409.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928424057, 'price': 4380.45, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928422396, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928424023, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928423934, 'price': 4374, 'name': 'kraken'}], 'price': 4381.4, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:04,525 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4402.5":{"price":4402.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404.6":{"price":4404.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4402.4":{"price":4402.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404.5":{"price":4404.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4405.8":{"price":4405.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.8":{"price":4407.8,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4405.9":{"price":4405.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.9":{"price":4407.9,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"}},"bid":4404.6,"ask":4406}]' 2017-08-17 00:07:05,028 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q18","buy":{"4383.4":{"price":4383.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4385.4":{"price":4385.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4383.3":{"price":4383.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4385.3":{"price":4385.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"sell":{"4386.6":{"price":4386.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.6":{"price":4388.6,"numberOfOrders":1,"totalQuantity":9,"instrument":"BTCUSD7Q18"},"4386.7":{"price":4386.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388.7":{"price":4388.7,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"}},"bid":4385.4,"ask":4386.8}]' 2017-08-17 00:07:05,949 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928425,"price":4387.7,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:06,002 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928425,"price":4387.7,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:06,003 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4387.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4409.5,"time":1502928423701},{"type":"socket","name":"bitstamp","price":4380.45,"time":1502928424057},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928422396},{"type":"rest","name":"itbit","price":4382.41,"time":1502928425031},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4393.001,"time":1502928425850}],"min":4343.8,"max":4431.6,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4387.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4409.5,"time":1502928423701},{"type":"socket","name":"bitstamp","price":4380.45,"time":1502928424057},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928422396},{"type":"rest","name":"itbit","price":4382.41,"time":1502928425031},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4393.001,"time":1502928425850}],"min":4343.8,"max":4431.6,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:06,003 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4343.8, 'max': 4431.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928423701, 'price': 4409.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928424057, 'price': 4380.45, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928422396, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928425031, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928425850, 'price': 4393.001, 'name': 'kraken'}], 'price': 4387.7, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4343.8, 'max': 4431.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928423701, 'price': 4409.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928424057, 'price': 4380.45, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928422396, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928425031, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928425850, 'price': 4393.001, 'name': 'kraken'}], 'price': 4387.7, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:06,639 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q18","buy":{"4384":{"price":4384,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4385":{"price":4385,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390":{"price":4390,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4391":{"price":4391,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4385.2":{"price":4385.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.7":{"price":4391.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4385.1":{"price":4385.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.6":{"price":4391.6,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4384.9":{"price":4384.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.5":{"price":4391.5,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4384.8":{"price":4384.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.4":{"price":4391.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.7":{"price":4384.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.3":{"price":4391.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.6":{"price":4384.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.2":{"price":4391.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.5":{"price":4384.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.1":{"price":4391.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.4":{"price":4384.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.9":{"price":4390.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.3":{"price":4384.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.8":{"price":4390.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.2":{"price":4384.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.7":{"price":4390.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4384.1":{"price":4384.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.6":{"price":4390.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4383.9":{"price":4383.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.5":{"price":4390.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4383.8":{"price":4383.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.4":{"price":4390.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4383.7":{"price":4383.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.3":{"price":4390.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4383.6":{"price":4383.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.2":{"price":4390.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4383.5":{"price":4383.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4390.1":{"price":4390.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4385.4":{"price":4385.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4389.9":{"price":4389.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4385.3":{"price":4385.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4389.8":{"price":4389.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"sell":{"4387":{"price":4387,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4388":{"price":4388,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394":{"price":4394,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4395":{"price":4395,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4388.6":{"price":4388.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.1":{"price":4393.1,"numberOfOrders":1,"totalQuantity":9,"instrument":"BTCUSD7Q18"},"4388.7":{"price":4388.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.2":{"price":4393.2,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4386.8":{"price":4386.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.3":{"price":4393.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4386.9":{"price":4386.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.4":{"price":4393.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.1":{"price":4387.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.5":{"price":4393.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.2":{"price":4387.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.6":{"price":4393.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.3":{"price":4387.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.7":{"price":4393.7,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4387.4":{"price":4387.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.8":{"price":4393.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.5":{"price":4387.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4393.9":{"price":4393.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.6":{"price":4387.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.1":{"price":4394.1,"numberOfOrders":1,"totalQuantity":12,"instrument":"BTCUSD7Q18"},"4387.7":{"price":4387.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.2":{"price":4394.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4387.8":{"price":4387.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.3":{"price":4394.3,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4387.9":{"price":4387.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.4":{"price":4394.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.1":{"price":4388.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.5":{"price":4394.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.2":{"price":4388.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.6":{"price":4394.6,"numberOfOrders":1,"totalQuantity":19,"instrument":"BTCUSD7Q18"},"4388.3":{"price":4388.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.7":{"price":4394.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.4":{"price":4388.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.8":{"price":4394.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4388.5":{"price":4388.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4394.9":{"price":4394.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"bid":4391.7,"ask":4393.1}]' 2017-08-17 00:07:07,148 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4403":{"price":4403,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4404":{"price":4404,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409":{"price":4409,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410":{"price":4410,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4404.4":{"price":4404.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.9":{"price":4410.9,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4404.3":{"price":4404.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.8":{"price":4410.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4404.2":{"price":4404.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.7":{"price":4410.7,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4404.1":{"price":4404.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.6":{"price":4410.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4403.9":{"price":4403.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.5":{"price":4410.5,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4403.8":{"price":4403.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.4":{"price":4410.4,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q25"},"4403.7":{"price":4403.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.3":{"price":4410.3,"numberOfOrders":1,"totalQuantity":6,"instrument":"BTCUSD7Q25"},"4403.6":{"price":4403.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.2":{"price":4410.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4403.5":{"price":4403.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.1":{"price":4410.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4403.4":{"price":4403.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.9":{"price":4409.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4403.3":{"price":4403.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.8":{"price":4409.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4403.2":{"price":4403.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.7":{"price":4409.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4402.9":{"price":4402.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.6":{"price":4409.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4402.8":{"price":4402.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.5":{"price":4409.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4402.7":{"price":4402.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.4":{"price":4409.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4402.6":{"price":4402.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.3":{"price":4409.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4404.6":{"price":4404.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.2":{"price":4409.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4404.5":{"price":4404.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4409.1":{"price":4409.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4406":{"price":4406,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407":{"price":4407,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413":{"price":4413,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414":{"price":4414,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4407.8":{"price":4407.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.3":{"price":4412.3,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4407.9":{"price":4407.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.4":{"price":4412.4,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4406.1":{"price":4406.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.5":{"price":4412.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.2":{"price":4406.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.6":{"price":4412.6,"numberOfOrders":1,"totalQuantity":14,"instrument":"BTCUSD7Q25"},"4406.3":{"price":4406.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.7":{"price":4412.7,"numberOfOrders":1,"totalQuantity":8,"instrument":"BTCUSD7Q25"},"4406.4":{"price":4406.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.8":{"price":4412.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.5":{"price":4406.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4412.9":{"price":4412.9,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4406.6":{"price":4406.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.1":{"price":4413.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.7":{"price":4406.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.2":{"price":4413.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.8":{"price":4406.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.3":{"price":4413.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4406.9":{"price":4406.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.4":{"price":4413.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.1":{"price":4407.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.5":{"price":4413.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.2":{"price":4407.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.6":{"price":4413.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.3":{"price":4407.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.7":{"price":4413.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.4":{"price":4407.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.8":{"price":4413.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.5":{"price":4407.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4413.9":{"price":4413.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.6":{"price":4407.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.1":{"price":4414.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4407.7":{"price":4407.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.2":{"price":4414.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"bid":4410.9,"ask":4412.3}]' 2017-08-17 00:07:08,087 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928428,"price":4388.7,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:08,136 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928428,"price":4388.7,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:08,137 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4388.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4409.5,"time":1502928423701},{"type":"socket","name":"bitstamp","price":4380.45,"time":1502928424057},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928425934},{"type":"rest","name":"itbit","price":4382.41,"time":1502928427044},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4394.994,"time":1502928427990}],"min":4344.8,"max":4432.6,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4388.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4409.5,"time":1502928423701},{"type":"socket","name":"bitstamp","price":4380.45,"time":1502928424057},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928425934},{"type":"rest","name":"itbit","price":4382.41,"time":1502928427044},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4394.994,"time":1502928427990}],"min":4344.8,"max":4432.6,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:08,138 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4344.8, 'max': 4432.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928423701, 'price': 4409.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928424057, 'price': 4380.45, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928425934, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928427044, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928427990, 'price': 4394.994, 'name': 'kraken'}], 'price': 4388.7, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4344.8, 'max': 4432.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928423701, 'price': 4409.5, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928424057, 'price': 4380.45, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928425934, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928427044, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928427990, 'price': 4394.994, 'name': 'kraken'}], 'price': 4388.7, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:08,735 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4409":{"price":4409,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411":{"price":4411,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.9":{"price":4409.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.9":{"price":4411.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.8":{"price":4409.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.8":{"price":4411.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.7":{"price":4409.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.7":{"price":4411.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.6":{"price":4409.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.6":{"price":4411.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.5":{"price":4409.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.5":{"price":4411.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.4":{"price":4409.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.4":{"price":4411.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.3":{"price":4409.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.3":{"price":4411.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.2":{"price":4409.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.2":{"price":4411.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4409.1":{"price":4409.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.1":{"price":4411.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4413":{"price":4413,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4415":{"price":4415,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.3":{"price":4412.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.3":{"price":4414.3,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4412.4":{"price":4412.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.4":{"price":4414.4,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4412.5":{"price":4412.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.5":{"price":4414.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.6":{"price":4412.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.6":{"price":4414.6,"numberOfOrders":1,"totalQuantity":14,"instrument":"BTCUSD7Q25"},"4412.7":{"price":4412.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.7":{"price":4414.7,"numberOfOrders":1,"totalQuantity":8,"instrument":"BTCUSD7Q25"},"4412.8":{"price":4412.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.8":{"price":4414.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4412.9":{"price":4412.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.9":{"price":4414.9,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4413.1":{"price":4413.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4415.1":{"price":4415.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.2":{"price":4413.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4415.2":{"price":4415.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"bid":4411.9,"ask":4413.3}]' 2017-08-17 00:07:09,242 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q18","buy":{"4390":{"price":4390,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392":{"price":4392,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q18"},"4390.7":{"price":4390.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.7":{"price":4392.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.6":{"price":4390.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.6":{"price":4392.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.5":{"price":4390.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.5":{"price":4392.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.4":{"price":4390.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.4":{"price":4392.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.3":{"price":4390.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.3":{"price":4392.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.2":{"price":4390.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.2":{"price":4392.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4390.1":{"price":4390.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4392.1":{"price":4392.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4389.9":{"price":4389.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.9":{"price":4391.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4389.8":{"price":4389.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4391.8":{"price":4391.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"sell":{"4394":{"price":4394,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4396":{"price":4396,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.1":{"price":4393.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.1":{"price":4395.1,"numberOfOrders":1,"totalQuantity":9,"instrument":"BTCUSD7Q18"},"4393.2":{"price":4393.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.2":{"price":4395.2,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q18"},"4393.3":{"price":4393.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.3":{"price":4395.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.4":{"price":4393.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.4":{"price":4395.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.5":{"price":4393.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.5":{"price":4395.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.6":{"price":4393.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.6":{"price":4395.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.7":{"price":4393.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.7":{"price":4395.7,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q18"},"4393.8":{"price":4393.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.8":{"price":4395.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"},"4393.9":{"price":4393.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q18"},"4395.9":{"price":4395.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q18"}},"bid":4392.7,"ask":4394.1}]' 2017-08-17 00:07:11,001 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928430,"price":4385.4,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:11,062 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928430,"price":4385.4,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:11,063 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4385.4,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4408.8,"time":1502928430236},{"type":"socket","name":"bitstamp","price":4380.47,"time":1502928428813},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928429462},{"type":"rest","name":"itbit","price":4382.41,"time":1502928430058},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4388.421,"time":1502928430799}],"min":4341.5,"max":4429.3,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4385.4,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4408.8,"time":1502928430236},{"type":"socket","name":"bitstamp","price":4380.47,"time":1502928428813},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928429462},{"type":"rest","name":"itbit","price":4382.41,"time":1502928430058},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4388.421,"time":1502928430799}],"min":4341.5,"max":4429.3,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:11,063 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4341.5, 'max': 4429.3, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928430236, 'price': 4408.8, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928428813, 'price': 4380.47, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928429462, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928430058, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928430799, 'price': 4388.421, 'name': 'kraken'}], 'price': 4385.4, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4341.5, 'max': 4429.3, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928430236, 'price': 4408.8, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928428813, 'price': 4380.47, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928429462, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928430058, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928430799, 'price': 4388.421, 'name': 'kraken'}], 'price': 4385.4, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:11,210 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928431,"price":4388.7,"volume":0,"instrument":"BTCUSD7Q25"}]' 2017-08-17 00:07:11,225 - MMBot - ERROR - hedge_on_bitmex failed. Traceback (most recent call last): File "/home/ubuntu/environments/cpmmbot.py/pymmbot/mmbot.py", line 47, in initiate self.hedge_on_bitmex() File "/home/ubuntu/environments/cpmmbot.py/pymmbot/mmbot.py", line 197, in hedge_on_bitmex on_bitmex = self.get_total_position_in_bitmex() File "/home/ubuntu/environments/cpmmbot.py/pymmbot/mmbot.py", line 205, in get_total_position_in_bitmex position = self.bitmex.position()[0] File "/home/ubuntu/environments/cpmmbot.py/pymmbot/bitmex/bitmex.py", line 55, in position return self.socket.position() File "/home/ubuntu/environments/cpmmbot.py/pymmbot/bitmex/bm_socket.py", line 141, in position return self.data['position'] KeyError: 'position' 2017-08-17 00:07:11,264 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["trade",{"date":1502928431,"price":4388.7,"volume":0,"instrument":"BTCUSD7Q18"}]' 2017-08-17 00:07:11,265 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["priceband",{"BTCUSD7Q25":{"price":4388.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4408.8,"time":1502928430236},{"type":"socket","name":"bitstamp","price":4380.47,"time":1502928428813},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928429462},{"type":"rest","name":"itbit","price":4382.41,"time":1502928430058},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4394.994,"time":1502928430976}],"min":4344.8,"max":4432.6,"instrument":"BTCUSD7Q25"},"BTCUSD7Q18":{"price":4388.7,"lastProvider":"kraken","used":6,"providers":[{"type":"socket","name":"bitfinex","price":4408.8,"time":1502928430236},{"type":"socket","name":"bitstamp","price":4380.47,"time":1502928428813},{"type":"socket","name":"okcoin","price":4593.42,"time":1502928261886},{"type":"socket","name":"gdax","price":4378.77,"time":1502928429462},{"type":"rest","name":"itbit","price":4382.41,"time":1502928430058},{"type":"socket","name":"gemini","price":4322.28,"time":1502909859851,"expired":true},{"type":"rest","name":"kraken","price":4394.994,"time":1502928430976}],"min":4344.8,"max":4432.6,"instrument":"BTCUSD7Q18"}}]' 2017-08-17 00:07:11,265 - Coinpit - DEBUG - on_price_band {'BTCUSD7Q18': {'lastProvider': 'kraken', 'min': 4344.8, 'max': 4432.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928430236, 'price': 4408.8, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928428813, 'price': 4380.47, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928429462, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928430058, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928430976, 'price': 4394.994, 'name': 'kraken'}], 'price': 4388.7, 'instrument': 'BTCUSD7Q18'}, 'BTCUSD7Q25': {'lastProvider': 'kraken', 'min': 4344.8, 'max': 4432.6, 'used': 6, 'providers': [{'type': 'socket', 'time': 1502928430236, 'price': 4408.8, 'name': 'bitfinex'}, {'type': 'socket', 'time': 1502928428813, 'price': 4380.47, 'name': 'bitstamp'}, {'type': 'socket', 'time': 1502928261886, 'price': 4593.42, 'name': 'okcoin'}, {'type': 'socket', 'time': 1502928429462, 'price': 4378.77, 'name': 'gdax'}, {'type': 'rest', 'time': 1502928430058, 'price': 4382.41, 'name': 'itbit'}, {'type': 'socket', 'time': 1502909859851, 'expired': True, 'price': 4322.28, 'name': 'gemini'}, {'type': 'rest', 'time': 1502928430976, 'price': 4394.994, 'name': 'kraken'}], 'price': 4388.7, 'instrument': 'BTCUSD7Q25'}} 2017-08-17 00:07:11,859 - socketIO-client - DEBUG - live.coinpit.me:443/socket.io [socket.io packet received] b'2["difforderbook",{"instrument":"BTCUSD7Q25","buy":{"4407":{"price":4407,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4408":{"price":4408,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410":{"price":4410,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411":{"price":4411,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.9":{"price":4410.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408.6":{"price":4408.6,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4410.8":{"price":4410.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408.5":{"price":4408.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.7":{"price":4410.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408.4":{"price":4408.4,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4410.6":{"price":4410.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408.3":{"price":4408.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.5":{"price":4410.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408.2":{"price":4408.2,"numberOfOrders":1,"totalQuantity":5,"instrument":"BTCUSD7Q25"},"4410.4":{"price":4410.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4408.1":{"price":4408.1,"numberOfOrders":1,"totalQuantity":15,"instrument":"BTCUSD7Q25"},"4410.3":{"price":4410.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.9":{"price":4407.9,"numberOfOrders":1,"totalQuantity":6,"instrument":"BTCUSD7Q25"},"4410.2":{"price":4410.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.8":{"price":4407.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4410.1":{"price":4410.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.7":{"price":4407.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.9":{"price":4411.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.6":{"price":4407.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.8":{"price":4411.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.5":{"price":4407.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.7":{"price":4411.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.4":{"price":4407.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.6":{"price":4411.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.3":{"price":4407.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.5":{"price":4411.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.2":{"price":4407.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.4":{"price":4411.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4407.1":{"price":4407.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.3":{"price":4411.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.9":{"price":4406.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.2":{"price":4411.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.8":{"price":4406.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4411.1":{"price":4411.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4406.7":{"price":4406.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"sell":{"4410":{"price":4410,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4411":{"price":4411,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414":{"price":4414,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4415":{"price":4415,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4414.3":{"price":4414.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.1":{"price":4410.1,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4414.4":{"price":4414.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.2":{"price":4410.2,"numberOfOrders":1,"totalQuantity":10,"instrument":"BTCUSD7Q25"},"4414.5":{"price":4414.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.3":{"price":4410.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.6":{"price":4414.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.4":{"price":4410.4,"numberOfOrders":1,"totalQuantity":14,"instrument":"BTCUSD7Q25"},"4414.7":{"price":4414.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.5":{"price":4410.5,"numberOfOrders":1,"totalQuantity":8,"instrument":"BTCUSD7Q25"},"4414.8":{"price":4414.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.6":{"price":4410.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.9":{"price":4414.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.7":{"price":4410.7,"numberOfOrders":1,"totalQuantity":16,"instrument":"BTCUSD7Q25"},"4415.1":{"price":4415.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.8":{"price":4410.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4415.2":{"price":4415.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4410.9":{"price":4410.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.3":{"price":4413.3,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.1":{"price":4411.1,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.4":{"price":4413.4,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.2":{"price":4411.2,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.5":{"price":4413.5,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.3":{"price":4411.3,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.6":{"price":4413.6,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.4":{"price":4411.4,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.7":{"price":4413.7,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.5":{"price":4411.5,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.8":{"price":4413.8,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.6":{"price":4411.6,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4413.9":{"price":4413.9,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.7":{"price":4411.7,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.1":{"price":4414.1,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.8":{"price":4411.8,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"},"4414.2":{"price":4414.2,"numberOfOrders":0,"totalQuantity":0,"instrument":"BTCUSD7Q25"},"4411.9":{"price":4411.9,"numberOfOrders":1,"totalQuantity":20,"instrument":"BTCUSD7Q25"}},"bid":4408.6,"ask":4410}]' ^CTraceback (most recent call last): File "mmbot.py", line 9, in <module> bot.initiate() File "/home/ubuntu/environments/cpmmbot.py/pymmbot/mmbot.py", line 41, in initiate time.sleep(settings.HEDGE_INTERVAL) KeyboardInterrupt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I wonder whether I can get some help with my issues.
The bot is running on testnet but no orders are being placed (checked orderbook and open orders in user interface)
I also frequently catch this error:
ERROR - hedge_on_bitmex failed.
I have attached the bot output below.
Thanks
The text was updated successfully, but these errors were encountered: