代码: 全选
dir(bt)
['AbstractDataBase', 'All', 'Analyzer', 'And', 'Any', 'AutoDictList', 'AutoInfoClass', 'AutoOrderedDict', 'BackBroker', 'BacktraderError', 'BrokerBase', 'BuyOrder', 'CSVDataBase', 'CSVFeedBase', 'Cerebro', 'Cmp', 'CmpEx', 'CommInfoBase', 'CommissionInfo', 'DTFaker', 'DataAccessor', 'DataBase', 'DataClone', 'DataSeries', 'DivByZero', 'DivZeroByZero', 'DotDict', 'FeedBase', 'Filter', 'If', 'Indicator', 'IndicatorBase', 'ItemCollection', 'LineActions', 'LineAlias', 'LineBuffer', 'LineCoupler', 'LineDelay', 'LineIterator', 'LineMultiple', 'LineNum', 'LineOwnOperation', 'LinePlotterIndicator', 'LineRoot', 'LineSeries', 'LineSeriesMaker', 'LineSeriesStub', 'LineSingle', 'Lines', 'LinesCoupler', 'LinesOperation', 'Lines_LineSeries', 'Lines_LineSeries_LineSeriesStub', 'List', 'Logic', 'MAXINT', 'Max', 'MetaAbstractDataBase', 'MetaAnalyzer', 'MetaBroker', 'MetaCSVDataBase', 'MetaIndicator', 'MetaLineActions', 'MetaLineIterator', 'MetaLineSeries', 'MetaObserver', 'MetaParams', 'MetaSigStrategy', 'MetaStrategy', 'MetaTimeFrameAnalyzerBase', 'Min', 'MtLinePlotterIndicator', 'MultiCoupler', 'MultiLogic', 'MultiLogicReduce', 'NAN', 'OHLC', 'OHLCDateTime', 'Observer', 'ObserverBase', 'OptReturn', 'Or', 'Order', 'OrderBase', 'OrderData', 'OrderExecutionBit', 'OrderedDict', 'PandasMarketCalendar', 'Position', 'PseudoArray', 'Reduce', 'Replayer', 'ReplayerDaily', 'ReplayerMinutes', 'ReplayerMonthly', 'ReplayerSeconds', 'ReplayerTicks', 'ReplayerWeekly', 'Resampler', 'ResamplerDaily', 'ResamplerMinutes', 'ResamplerMonthly', 'ResamplerSeconds', 'ResamplerTicks', 'ResamplerWeekly', 'ResamplerYearly', 'SESSION_END', 'SESSION_START', 'SESSION_TIME', 'SIGNAL_LONG', 'SIGNAL_LONGEXIT', 'SIGNAL_LONGEXIT_ANY', 'SIGNAL_LONGEXIT_INV', 'SIGNAL_LONGSHORT', 'SIGNAL_LONG_ANY', 'SIGNAL_LONG_INV', 'SIGNAL_NONE', 'SIGNAL_SHORT', 'SIGNAL_SHORTEXIT', 'SIGNAL_SHORTEXIT_ANY', 'SIGNAL_SHORTEXIT_INV', 'SIGNAL_SHORT_ANY', 'SIGNAL_SHORT_INV', 'SellOrder', 'Signal', 'SignalStrategy', 'SignalTypes', 'SimpleFilterWrapper', 'SingleCoupler', 'Sizer', 'SizerBase', 'SizerFix', 'StopBuyOrder', 'StopLimitBuyOrder', 'StopLimitSellOrder', 'StopSellOrder', 'Store', 'Strategy', 'StrategyBase', 'StrategySkipError', 'Sum', 'TimeFrame', 'TimeFrameAnalyzerBase', 'Timer', 'Trade', 'TradeHistory', 'TradingCalendar', 'TradingCalendarBase', 'WriterBase', 'WriterFile', 'WriterStringIO', '__btversion__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'absolute_import', 'analyzer', 'analyzers', 'array', 'backtrader', 'broker', 'brokers', 'bt', 'calendar', 'cerebro', 'cmp', 'collections', 'comminfo', 'commissions', 'comms', 'copy', 'dataseries', 'date', 'date2num', 'datetime', 'division', 'errors', 'feed', 'feeds', 'filler', 'fillers', 'filter', 'filters', 'findowner', 'flt', 'functions', 'functools', 'ind', 'indicator', 'indicators', 'inspect', 'integer_types', 'io', 'islice', 'iteritems', 'itertools', 'itervalues', 'keys', 'linebuffer', 'lineiterator', 'lineroot', 'lineseries', 'map', 'math', 'mathsupport', 'metabase', 'multiprocessing', 'num2date', 'num2time', 'obs', 'observer', 'observers', 'operator', 'order', 'os', 'position', 'pp', 'print_function', 'range', 'resamplerfilter', 'signal', 'signals', 'sizer', 'sizers', 'store', 'stores', 'strategies', 'strategy', 'strats', 'string_types', 'studies', 'sys', 'talib', 'time2num', 'timedelta', 'timer', 'trade', 'tradingcal', 'tzparse', 'unicode_literals', 'utils', 'version', 'with_metaclass', 'writer', 'zip']