[23.09.2020] sending testing

This commit is contained in:
Andy Sotheran 2020-09-23 23:05:39 +01:00
parent 2feccc3a29
commit cef7b771ca

View File

@ -113,7 +113,7 @@ def sendToGateway(c_type, timestamp, av_price, high, low, vol, o_price, c_price)
def sentToArtemis(c_type, timestamp, av_price, high, low, vol, o_price, c_price):
strippedTimestamp = timestamp.replace(minute=0, second=0, microsecond=0)
timestamp = '"'+strippedTimestamp.strftime('%Y-%m-%dT%H:%M:%S')+'"'
timestamp = strippedTimestamp.strftime('%Y-%m-%dT%H:%M:%S')
message = {
"timestamp" : timestamp,