@ -436,11 +436,11 @@ class Local(util.Base):
"asset": ad[4],
"currency": ad[5],
"margin": ad[6],
"type": msgtype,
"ts": str(datetime.now().isoformat()),
"xtype": "platform",
"market": self.platform,
}
cast["type"] = msgtype
cast["ts"] = str(datetime.now().isoformat())
cast["xtype"] = "platorm"
cast["market"] = self.platform
self.es.index(index=settings.ES.MetaIndex, document=cast)
@inlineCallbacks