[24.02.20] Removing float as it bypasses the 3d rule

This commit is contained in:
andrewso 2020-02-24 17:15:37 +00:00
parent d15c24da2b
commit d869d899b1

View File

@ -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)