[增强] 增加转换字符串接口,供日志记录/调试使用
This commit is contained in:
parent
d867fda497
commit
d977f04f0f
@ -302,3 +302,5 @@ class PositionHolding:
|
||||
|
||||
return req_list
|
||||
|
||||
def to_str(self):
|
||||
return f'Long:{self.long_pos},yd:{self.long_yd},td:{self.long_td}; Short:{self.short_pos},yd:{self.short_yd},td:{self.short_yd}'
|
||||
|
Loading…
Reference in New Issue
Block a user