python: fix attribute

This commit is contained in:
なるみ 2022-04-22 16:58:00 +08:00
parent e240361494
commit fc8fff0fe4
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class Trade:
session=obj.session, session=obj.session,
exchange=obj.exchange, exchange=obj.exchange,
symbol=obj.symbol, symbol=obj.symbol,
id=obj.id, trade_id=obj.id,
price=parse_float(obj.price), price=parse_float(obj.price),
quantity=parse_float(obj.quantity), quantity=parse_float(obj.quantity),
created_at=parse_time(obj.created_at), created_at=parse_time(obj.created_at),

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "bbgo" name = "bbgo"
version = "0.1.7" version = "0.1.8"
description = "" description = ""
authors = ["なるみ <weaper@gmail.com>"] authors = ["なるみ <weaper@gmail.com>"]
packages = [ packages = [