adjust
This commit is contained in:
@@ -15,4 +15,10 @@ def getStockPosition(stock_code: str, xt_trader: xttrader.XtQuantTrader, account
|
||||
if pos.stock_code == stock_code:
|
||||
volume = pos.m_nVolume
|
||||
break
|
||||
return volume
|
||||
return volume
|
||||
|
||||
|
||||
def interact():
|
||||
"""执行后进入repl模式"""
|
||||
import code
|
||||
code.InteractiveConsole(locals=globals()).interact()
|
||||
Reference in New Issue
Block a user