From d869d899b1ea2020f38b7778f67c878e7d1e0bc3 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Mon, 24 Feb 2020 17:15:37 +0000 Subject: [PATCH] [24.02.20] Removing float as it bypasses the 3d rule --- src/pricing/collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pricing/collector.py b/src/pricing/collector.py index 6ecdd6a..5718139 100644 --- a/src/pricing/collector.py +++ b/src/pricing/collector.py @@ -85,7 +85,7 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price) timestamp = '"'+timestamp.strftime('%Y-%m-%dT%H:%M:%S+00:00')+'"' type = '"'+c_type+'"' - query = data % (timestamp, type, float(av_price), float(high), float(low), float(vol), float(o_price), float(c_price)) + query = data % (timestamp, type, av_price, high, low, vol, o_price, c_price) print(query)