account = api.get_account() print(account.available)
from tqsdk import TqApi, TqAuth api = TqApi(auth=TqAuth("账号", "密码")) # 账号登录 quote = api.get_quote("SHFE.ag2106") # 订阅沪银2106的行情...
你的问题不太确切,是要判断是否跌破前三根K线的最低点吗?
我的也一样,改备用服务器就OK api = TqApi(_stock = False,