[24.02.20] Removing float as it bypasses the 3d rule
This commit is contained in:
parent
d15c24da2b
commit
d869d899b1
@ -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')+'"'
|
timestamp = '"'+timestamp.strftime('%Y-%m-%dT%H:%M:%S+00:00')+'"'
|
||||||
type = '"'+c_type+'"'
|
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)
|
print(query)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user