fix bug
This commit is contained in:
@@ -313,6 +313,7 @@ def format_holding(positions):
|
||||
stock = position.m_strInstrumentID + '.' + position.m_strExchangeID
|
||||
holding[stock] = {
|
||||
'StockCode': stock,
|
||||
'TradeID':position.m_strTradeID,
|
||||
'StockName': position.m_strInstrumentName,
|
||||
'Direction': position.m_nDirection,
|
||||
'Volume': position.m_nVolume,
|
||||
|
||||
Reference in New Issue
Block a user