python PyPI
Magnify icon
  • All Packages
    • JavaScript
    • Python
    • Go
  • Code Examples
    • JavaScript
    • Python
  • Categories
    • JavaScript - Popular
    • JavaScript - Healthiest
    • Python - Popular
    • Python - Healthiest
  • Developer Tools
    • Vulnerability DB
    • Code Checker
    • Snyk Learn
    • Blog
Sign Up
  1. Advisor
  2. backtesting
  3. functions
View all backtesting analysis

Most popular functions for backtesting

To help you get started, we’ve selected a few backtesting examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

  • 1

    backtesting.abstract_backtesting_test.DATA_FILES

    arrow
  • 2

    backtesting.backtest_broker.BacktestBroker

    arrow
  • 3

    backtesting.backtest_broker.BacktestBroker.get_price

    arrow
  • 4

    backtesting.backtest_broker.BacktestBroker.get_spread

    arrow
  • 5

    backtesting.backtest_broker.BacktestBroker.get_time

    arrow
  • 6

    backtesting.backtesting.Backtesting

    arrow
  • 7

    backtesting.backtesting.Backtesting.enabled

    arrow
  • 8

    backtesting.backtesting_enabled

    arrow
  • 9

    backtesting.BacktestingDataFileException

    arrow
  • 10

    backtesting.BacktestingEndedException

    arrow
  • 11

    backtesting.collector.data_collector.DataCollector

    arrow
  • 12

    backtesting.collector.data_file_manager.get_data_type

    arrow
  • 13

    backtesting.collector.data_file_manager.interpret_file_name

    arrow
  • 14

    backtesting.collector.data_file_manager.read_data_file

    arrow
  • 15

    backtesting.collector.data_parser.DataCollectorParser

    arrow
  • 16

    backtesting.collector.data_parser.DataCollectorParser.parse

    arrow
  • 17

    backtesting.strategy_optimizer.strategy_optimizer.StrategyOptimizer

    arrow
  • 18

    backtesting.strategy_optimizer.strategy_test_suite.StrategyTestSuite

    arrow
  • 19

    backtesting.strategy_optimizer.strategy_test_suite.StrategyTestSuite.SKIP_LONG_STEPS

    arrow
  • 20

    backtesting.strategy_optimizer.test_suite_result.TestSuiteResult

    arrow

Product

  • Partners
  • Developers & DevOps Features
  • Enterprise Features
  • Pricing
  • API Status

Resources

  • Vulnerability DB
  • Blog
  • Learn
  • Documentation
  • Snyk API
  • Research
  • FAQs
  • npm packages list
  • Python Code Examples
  • Browse all Python packages

Company

  • About us
  • Customers
  • Jobs at Snyk
  • Legal Terms
  • Privacy
  • Press Kit
  • Events
  • Secure by Design

Connect

  • Book a demo
  • Contact us
  • Support
  • Report a new vuln

Security

  • JavaScript Security
  • Kubernetes Security
  • Container Security
  • Open Source Security
  • Secure SDLC

Find us online

Track our development

Snyk|Open Source Security Platform © 2025 Snyk Ltd.