Align comment

This commit is contained in:
cclauss 2018-06-16 08:32:44 +02:00 committed by GitHub
parent 87ad5d4058
commit 8db91fa523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ class TwapAlgo(AlgoTemplate):
# 参数强制类型转换保证从CSV加载的配置正确
self.vtSymbol = str(setting['vtSymbol']) # 合约代码
self.direction = text_type(setting['direction']) # 买卖
self.direction = text_type(setting['direction']) # 买卖
self.targetPrice = float(setting['targetPrice']) # 目标价格
self.totalVolume = float(setting['totalVolume']) # 总数量
self.time = int(setting['time']) # 执行时间