openapi-sdk icon indicating copy to clipboard operation
openapi-sdk copied to clipboard

ImportError: cannot import name 'StockPosition' from 'openapi'

Open noneback opened this issue 1 month ago • 2 comments

import StockPosition有问题

from longport.openapi import (

ImportError: cannot import name 'StockPosition' from 'openapi' (unknown location)

noneback avatar Oct 21 '25 07:10 noneback

linux, python 3.12, longport 3.0.15

noneback avatar Oct 21 '25 07:10 noneback

trade api里面很多类import不了

noneback avatar Oct 21 '25 07:10 noneback