def QA_backtest_sell_available(self, __code): try: return self.account.sell_available[__code] except: return 0 # @lru_cache()