171 views
0

position = api.get_position(symbol)

填symbol,position会被wait_update更新

position = api.get_position()

不填symbol,position不会被wait_update更新

对么?

Answered question
0

都会更新,只是这时候的position是一个 dict, key是symbol,value 才是你真正想要的 position

Answered question