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)