From b0ad79c1cda912c191597a1df46ccca3ef901db5 Mon Sep 17 00:00:00 2001 From: Martin Pelteshki <39273158+Al4ise@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:16:58 +0200 Subject: [PATCH] added instructions for disabling 2fa --- .../brokers.interactive_brokers.rst.txt | 131 +++++++++-------- docs/brokers.html | 4 +- docs/brokers.interactive_brokers.html | 135 ++++++++++-------- docs/index.html | 4 +- docs/searchindex.js | 2 +- .../brokers.interactive_brokers.doctree | Bin 40707 -> 41530 bytes docsrc/_build/doctrees/environment.pickle | Bin 566501 -> 566491 bytes .../brokers.interactive_brokers.rst.txt | 131 +++++++++-------- docsrc/_build/html/brokers.html | 4 +- .../html/brokers.interactive_brokers.html | 135 ++++++++++-------- docsrc/_build/html/index.html | 4 +- docsrc/_build/html/searchindex.js | 2 +- docsrc/brokers.interactive_brokers.rst | 131 +++++++++-------- 13 files changed, 379 insertions(+), 304 deletions(-) diff --git a/docs/_sources/brokers.interactive_brokers.rst.txt b/docs/_sources/brokers.interactive_brokers.rst.txt index 2e098410f..b13605583 100644 --- a/docs/_sources/brokers.interactive_brokers.rst.txt +++ b/docs/_sources/brokers.interactive_brokers.rst.txt @@ -1,14 +1,14 @@ Interactive Brokers =================== -Interactive Brokers is a brokerage firm that operates in most countries around the world. This makes it a great choice for investing and trading if you don't have access to our other supported platforms. +Interactive Brokers is a brokerage firm that operates in most countries around the world. It's a great choice for investing and trading, especially if you don't have access to other supported platforms. -**Note:** If you do have access to other supported brokers, compare their fee structures to see which one is the best deal for you. +**Note:** If you have access to other supported brokers, compare their fee structures to see which one offers the best deal for you. Market Data Subscriptions ------------------------- -To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various market data subscriptions depending on the exchanges and types of data you need. Here are some common subscriptions: +To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various subscriptions depending on the exchanges and types of data you need. Here are some common options: - **US Securities Snapshot and Futures Value Bundle** - **US Equity and Options Add-On Streaming Bundle** @@ -18,83 +18,87 @@ To access real-time market data, you need to subscribe to the appropriate market .. note:: - Different strategies may require different market data subscriptions. For our top options-related strategies, the OPRA (US Options Exchanges) should suffice. + Different strategies may require different market data subscriptions. For top options-related strategies, the **OPRA (US Options Exchanges)** subscription should suffice. **To subscribe to market data:** +.. important:: + Market data subscriptions are login-specific. Ensure you're logged in with the same credentials you plan to use with Lumibot before proceeding. + 1. Log in to the `IBKR Client Portal `_. 2. Navigate to the **Settings** menu. -.. image:: images/ib-main.png - :alt: IB Main Menu - :align: center - :class: with-border + .. image:: images/ib-main.png + :alt: IB Main Menu + :align: center 3. Under **Account Settings**, find the **Market Data Subscriptions** section. -.. image:: images/ib-settings.png - :alt: IB Settings - :align: center - :class: with-border + .. image:: images/ib-settings.png + :alt: IB Settings + :align: center 4. Click **Configure** and select the desired market data packages. -.. image:: images/ib-market-data-subscriptions.png - :alt: IB Market Data Subscriptions - :align: center - :class: with-border + .. image:: images/ib-market-data-subscriptions.png + :alt: IB Market Data Subscriptions + :align: center -5. Find your desired subscription +5. Find your desired subscription. 6. Follow the prompts to complete the subscription process. -**Note:** Market data subscriptions may incur additional fees. Be sure to review the costs associated with each package before subscribing. +**Note:** Market data subscriptions may incur additional fees. Review the costs associated with each package before subscribing. -Using a Paper Trading Account ------------------------------ +Two-Factor Authentication (2FA) +------------------------------- -When using a paper trading account, you should log in with your paper trading username and password. This allows you to practice trading without risking real money. +Interactive Brokers requires two-factor authentication (2FA) for account security. When using Lumibot, you'll receive 2FA notifications through the IB Key mobile app, which require manual approval. This can interrupt automated trading operations. -**Steps to get your paper trading username and password:** +**Important:** Automated handling of 2FA is not currently supported in Lumibot. -1. **Log in** to the **IBKR Client Portal** using your primary (live) account credentials. -2. Navigate to the **Settings** menu in the upper right corner. -3. Under **Account Settings**, find the **Paper Trading Account** section. -4. Click on **Configure** or **Request Paper Trading Account**. -5. Follow the prompts to set up your paper trading account. - - You may need to agree to terms and conditions. -6. Once the setup is complete, you'll receive a separate **username** and **password** for your paper trading account. -7. Use these credentials when logging into the paper trading environment and configuring your API connection. +**Possible Solution: Create a Secondary Username** -**Note:** The paper trading account is separate from your live account. Ensure you're using the correct credentials for each environment to avoid any login conflicts. +To enable fully automated trading, you can create a secondary username for your account that doesn't require 2FA. This approach is secure and convenient: + +- The primary account maintains full 2FA security for website access. +- The secondary account, used only for API connections, can operate without 2FA. +- Both accounts have separate access controls you can configure. -Automating Two-Factor Authentication ------------------------------------- +.. note:: -Currently, automating two-factor authentication (2FA) is not supported. Lumibot will send you 2FA notifications through IBKey, and you will need to respond to them manually. + When using a secondary account without 2FA: -Using a Secondary Account -------------------------- + - You'll need separate market data subscriptions for each user. + - If trading with both primary and secondary users, you'll pay for market data twice. + - Enhance security by: + - Setting a complex password. + - Restricting IP addresses for TWS/IBGateway access. + - Limiting the account's permissions to only what's needed. + - Keeping API connection details secure. + +See the **Using a Secondary Username** section below for detailed setup instructions. + +Using a Secondary Username +-------------------------- -Interactive Brokers only allows a single login at a time for any given set of credentials. This means you can't use the IBKR website while the API connection is running. If you try, it will disconnect the API connection, causing a re-authentication loop. +Interactive Brokers allows only one login at a time for any given set of credentials. Attempting to use the IBKR website while the API connection is running will disconnect the API connection, causing a re-authentication loop. -An easy solution is to stop the API connection before using the website, but that can be tedious. A more convenient solution is to create a **secondary username** for your account and use that for the API connection. +An easy solution is to stop the API connection before using the website, but this can be tedious. A more convenient solution is to create a **secondary username** for your account and use that for the API connection. **Steps to create a secondary username:** -1. **Log in** to the **IBKR Client Portal** with your primary username. +1. Log in to the **IBKR Client Portal** with your primary username. 2. Click on the **Settings** menu in the upper right corner. -3. Scroll to the bottom-left of the page and find the **Users & Access Rights** link. - - You may need to scroll down to see it. +3. Scroll down and find the **Users & Access Rights** link. 4. Click the **plus sign (+)** button in the **Users** header to add a new user. 5. Fill out the username and password fields for the new user. 6. Click through the settings pages, adjusting notifications and permissions as needed. - - Feel free to disable unnecessary notifications to avoid duplicate emails. 7. At the end of the process, you'll receive an email with a **confirmation code**. **Activating your secondary username:** 1. Log out and log back in using the **new secondary username and password**. -2. Enter the **confirmation code** you received via email. +2. Enter the **confirmation code** received via email. - **Note:** The code expires quickly, so act promptly. 3. You may be prompted to **change the password** for the secondary user. @@ -107,7 +111,24 @@ An easy solution is to stop the API connection before using the website, but tha - You'll see an EULA and a signature block. - Type your **name** (not the new user's name) and click **Submit**. -After completing these steps, your secondary credentials will be ready to use with the API connection. In the future, use your **primary credentials** on the website and the **secondary credentials** for the API connection. +After completing these steps, your secondary credentials will be ready to use with the API connection. Use your **primary credentials** on the website and the **secondary credentials** for the API connection. + +Using a Paper Trading Account +----------------------------- + +When using a paper trading account, log in with your paper trading username and password. This allows you to practice trading without risking real money. + +**Steps to get your paper trading username and password:** + +1. Log in to the **IBKR Client Portal** using your primary (live) account credentials. +2. Navigate to the **Settings** menu in the upper right corner. +3. Under **Account Settings**, find the **Paper Trading Account** section. +4. Click on **Configure** or **Request Paper Trading Account**. +5. Follow the prompts to set up your paper trading account. +6. Once the setup is complete, you'll receive a separate **username** and **password** for your paper trading account. +7. Use these credentials when logging into the paper trading environment and configuring your API connection. + +**Note:** The paper trading account is separate from your live account. Ensure you're using the correct credentials for each environment to avoid any login conflicts. Strategy Setup -------------- @@ -121,16 +142,16 @@ Add these variables to a `.env` file in the same directory as your strategy: * - **Secret** - **Description** - **Example** - * - IB_USERNAME + * - `IB_USERNAME` - Your Interactive Brokers username. - `user123` - * - IB_PASSWORD + * - `IB_PASSWORD` - Your Interactive Brokers password. - `password123` - * - ACCOUNT_ID + * - `ACCOUNT_ID` - (Optional) An Interactive Brokers subaccount to trade on. - `U17369206` - * - IB_API_URL + * - `IB_API_URL` - (Optional) The URL of your self-hosted Interactive Brokers REST API. - `https://localhost:8000` @@ -139,12 +160,10 @@ Example Strategy .. code-block:: python - from lumibot.traders import Trader - # We will get your credentials from the .env file - from lumibot.strategies.examples import Strangle - - trader = Trader() + from lumibot.traders import Trader + from lumibot.strategies.examples import Strangle - strategy = Strangle() - trader.add_strategy(strategy) - trader.run_all() \ No newline at end of file + trader = Trader() + strategy = Strangle() + trader.add_strategy(strategy) + trader.run_all() diff --git a/docs/brokers.html b/docs/brokers.html index 983f4592f..ee2f8cbee 100644 --- a/docs/brokers.html +++ b/docs/brokers.html @@ -428,9 +428,9 @@

Brokers
  • Interactive Brokers diff --git a/docs/brokers.interactive_brokers.html b/docs/brokers.interactive_brokers.html index 6361ba777..6d831c481 100644 --- a/docs/brokers.interactive_brokers.html +++ b/docs/brokers.interactive_brokers.html @@ -418,11 +418,11 @@
    Need Extra Help?

    Interactive Brokers

    -

    Interactive Brokers is a brokerage firm that operates in most countries around the world. This makes it a great choice for investing and trading if you don’t have access to our other supported platforms.

    -

    Note: If you do have access to other supported brokers, compare their fee structures to see which one is the best deal for you.

    +

    Interactive Brokers is a brokerage firm that operates in most countries around the world. It’s a great choice for investing and trading, especially if you don’t have access to other supported platforms.

    +

    Note: If you have access to other supported brokers, compare their fee structures to see which one offers the best deal for you.

    Market Data Subscriptions

    -

    To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various market data subscriptions depending on the exchanges and types of data you need. Here are some common subscriptions:

    +

    To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various subscriptions depending on the exchanges and types of data you need. Here are some common options:

    -
    -

    Using a Paper Trading Account

    -

    When using a paper trading account, you should log in with your paper trading username and password. This allows you to practice trading without risking real money.

    -

    Steps to get your paper trading username and password:

    -
      -
    1. Log in to the IBKR Client Portal using your primary (live) account credentials.

    2. -
    3. Navigate to the Settings menu in the upper right corner.

    4. -
    5. Under Account Settings, find the Paper Trading Account section.

    6. -
    7. Click on Configure or Request Paper Trading Account.

    8. -
    9. Follow the prompts to set up your paper trading account.

    10. -
    -
    -
      -
    • You may need to agree to terms and conditions.

    • +
      +

      Two-Factor Authentication (2FA)

      +

      Interactive Brokers requires two-factor authentication (2FA) for account security. When using Lumibot, you’ll receive 2FA notifications through the IB Key mobile app, which require manual approval. This can interrupt automated trading operations.

      +

      Important: Automated handling of 2FA is not currently supported in Lumibot.

      +

      Possible Solution: Create a Secondary Username

      +

      To enable fully automated trading, you can create a secondary username for your account that doesn’t require 2FA. This approach is secure and convenient:

      +
        +
      • The primary account maintains full 2FA security for website access.

      • +
      • The secondary account, used only for API connections, can operate without 2FA.

      • +
      • Both accounts have separate access controls you can configure.

      -
    -
      -
    1. Once the setup is complete, you’ll receive a separate username and password for your paper trading account.

    2. -
    3. Use these credentials when logging into the paper trading environment and configuring your API connection.

    4. -
    -

    Note: The paper trading account is separate from your live account. Ensure you’re using the correct credentials for each environment to avoid any login conflicts.

    -
    -
    -

    Automating Two-Factor Authentication

    -

    Currently, automating two-factor authentication (2FA) is not supported. Lumibot will send you 2FA notifications through IBKey, and you will need to respond to them manually.

    +
    +

    Note

    +

    When using a secondary account without 2FA:

    +
      +
    • You’ll need separate market data subscriptions for each user.

    • +
    • If trading with both primary and secondary users, you’ll pay for market data twice.

    • +
    • Enhance security by: +- Setting a complex password. +- Restricting IP addresses for TWS/IBGateway access. +- Limiting the account’s permissions to only what’s needed. +- Keeping API connection details secure.

    • +
    +
    +

    See the Using a Secondary Username section below for detailed setup instructions.

    -
    -

    Using a Secondary Account

    -

    Interactive Brokers only allows a single login at a time for any given set of credentials. This means you can’t use the IBKR website while the API connection is running. If you try, it will disconnect the API connection, causing a re-authentication loop.

    -

    An easy solution is to stop the API connection before using the website, but that can be tedious. A more convenient solution is to create a secondary username for your account and use that for the API connection.

    +
    +

    Using a Secondary Username

    +

    Interactive Brokers allows only one login at a time for any given set of credentials. Attempting to use the IBKR website while the API connection is running will disconnect the API connection, causing a re-authentication loop.

    +

    An easy solution is to stop the API connection before using the website, but this can be tedious. A more convenient solution is to create a secondary username for your account and use that for the API connection.

    Steps to create a secondary username:

      -
    1. Log in to the IBKR Client Portal with your primary username.

    2. +
    3. Log in to the IBKR Client Portal with your primary username.

    4. Click on the Settings menu in the upper right corner.

    5. -
    6. Scroll to the bottom-left of the page and find the Users & Access Rights link.

    7. -
    -
    -
      -
    • You may need to scroll down to see it.

    • -
    -
    -
      +
    1. Scroll down and find the Users & Access Rights link.

    2. Click the plus sign (+) button in the Users header to add a new user.

    3. Fill out the username and password fields for the new user.

    4. Click through the settings pages, adjusting notifications and permissions as needed.

    5. -
    -
    -
      -
    • Feel free to disable unnecessary notifications to avoid duplicate emails.

    • -
    -
    -
    1. At the end of the process, you’ll receive an email with a confirmation code.

    Activating your secondary username:

    1. Log out and log back in using the new secondary username and password.

    2. -
    3. Enter the confirmation code you received via email.

    4. +
    5. Enter the confirmation code received via email.

      @@ -530,7 +526,22 @@

      Using a Secondary Account +

      Using a Paper Trading Account

      +

      When using a paper trading account, log in with your paper trading username and password. This allows you to practice trading without risking real money.

      +

      Steps to get your paper trading username and password:

      +
        +
      1. Log in to the IBKR Client Portal using your primary (live) account credentials.

      2. +
      3. Navigate to the Settings menu in the upper right corner.

      4. +
      5. Under Account Settings, find the Paper Trading Account section.

      6. +
      7. Click on Configure or Request Paper Trading Account.

      8. +
      9. Follow the prompts to set up your paper trading account.

      10. +
      11. Once the setup is complete, you’ll receive a separate username and password for your paper trading account.

      12. +
      13. Use these credentials when logging into the paper trading environment and configuring your API connection.

      14. +
      +

      Note: The paper trading account is separate from your live account. Ensure you’re using the correct credentials for each environment to avoid any login conflicts.

    Strategy Setup

    @@ -550,19 +561,19 @@

    Strategy Setup

    IB_USERNAME

    +

    IB_USERNAME

    Your Interactive Brokers username.

    user123

    -

    IB_PASSWORD

    +

    IB_PASSWORD

    Your Interactive Brokers password.

    password123

    -

    ACCOUNT_ID

    +

    ACCOUNT_ID

    (Optional) An Interactive Brokers subaccount to trade on.

    U17369206

    -

    IB_API_URL

    +

    IB_API_URL

    (Optional) The URL of your self-hosted Interactive Brokers REST API.

    https://localhost:8000

    @@ -573,11 +584,9 @@

    Strategy Setup

    Example Strategy

    from lumibot.traders import Trader
    -# We will get your credentials from the .env file
     from lumibot.strategies.examples import Strangle
     
     trader = Trader()
    -
     strategy = Strangle()
     trader.add_strategy(strategy)
     trader.run_all()
    @@ -643,9 +652,9 @@ 

    Example StrategyInteractive Brokers diff --git a/docs/index.html b/docs/index.html index dd9d46bd2..63a7de16d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1022,9 +1022,9 @@

    Table of ContentsInteractive Brokers diff --git a/docs/searchindex.js b/docs/searchindex.js index 5877cc04c..0487bd533 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Account Management": [[48, null]], "Adding Trading Fees": [[25, "adding-trading-fees"]], "Additional Resources": [[26, "additional-resources"]], "Advanced Order Types": [[22, "advanced-order-types"]], "All Together": [[26, "all-together"]], "Alpaca": [[12, null]], "Alpaca Configuration": [[17, "alpaca-configuration"], [17, "id22"]], "Asset": [[19, null]], "Automating Two-Factor Authentication": [[14, "automating-two-factor-authentication"]], "Backtesting": [[0, null], [43, null]], "Backtesting Broker": [[43, "module-lumibot.backtesting.backtesting_broker"]], "Backtesting Function": [[1, null]], "Bars": [[20, null]], "Benefits of self.vars": [[196, "benefits-of-self-vars"]], "Broker Configuration": [[17, "broker-configuration"]], "Brokers": [[11, null]], "Chart Functions": [[61, null]], "Choosing Your Deployment Platform": [[17, "id1"]], "Choosing a Data Source": [[2, "choosing-a-data-source"]], "Coinbase Configuration": [[17, "coinbase-configuration"], [17, "id23"]], "Conclusion": [[2, "conclusion"], [17, "conclusion"]], "Configuration": [[16, "configuration"]], "Configuration Settings": [[13, "configuration-settings"]], "Contents:": [[0, null], [11, null], [18, null], [27, null], [47, null]], "Crypto Brokers (Using CCXT)": [[13, null]], "Data": [[21, null], [70, null]], "Data Source": [[44, "module-lumibot.data_sources.data_source"]], "Data Source Backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting"]], "Data Sources": [[44, null]], "Database Configuration": [[196, "database-configuration"]], "Database Storage Structure": [[196, "database-storage-structure"]], "DateTime": [[82, null]], "Deploying to Render": [[17, "id2"]], "Deploying to Replit": [[17, "id3"]], "Deployment Guide": [[17, null]], "Documentation": [[12, "module-lumibot.brokers.alpaca"], [19, "module-entities.asset"], [20, "module-entities.bars"], [22, "module-entities.order"], [45, "module-lumibot.strategies.strategy.Strategy"]], "Entities": [[18, null]], "Example Dataframe": [[5, "id1"]], "Example Strategy": [[14, "example-strategy"]], "Example Strategy for Deployment": [[17, "example-strategy-for-deployment"]], "Files Generated from Backtesting": [[0, "files-generated-from-backtesting"], [2, "files-generated-from-backtesting"]], "Final Steps": [[17, "final-steps"]], "Full Example Strategy": [[13, "full-example-strategy"], [16, "full-example-strategy"]], "General Environment Variables": [[17, "general-environment-variables"], [17, "id27"]], "Getting Started": [[16, "getting-started"], [26, "getting-started"]], "Getting Started With Lumibot": [[25, "getting-started-with-lumibot"]], "How It Works": [[196, "how-it-works"]], "How To Backtest": [[2, null]], "In Summary": [[5, "in-summary"]], "Indicators Files": [[2, "indicators-files"], [3, null]], "Indices and tables": [[26, "indices-and-tables"]], "Installing LumiBot": [[2, "installing-lumibot"]], "Interactive Brokers": [[14, null]], "Interactive Brokers Configuration": [[14, "id1"], [17, "interactive-brokers-configuration"], [17, "id25"]], "Interactive Brokers Legacy": [[15, null]], "Interactive Brokers-Legacy Configuration": [[17, "interactive-brokers-legacy-configuration"], [17, "id26"]], "Kraken Configuration": [[17, "kraken-configuration"], [17, "id24"]], "Lifecycle Methods": [[27, null]], "Logs CSV": [[4, null]], "Lumibot: Backtesting and Algorithmic Trading Library": [[26, null]], "Lumiwealth": [[25, "id1"]], "Market Data Subscriptions": [[14, "market-data-subscriptions"]], "Miscellaneous": [[101, null]], "Module contents": [[44, "module-lumibot.data_sources"]], "Need Extra Help?": [[26, "need-extra-help"]], "Options": [[124, null]], "Order": [[22, null]], "Order Management": [[142, null]], "Order With Legs": [[22, "order-with-legs"]], "Pandas": [[44, "module-lumibot.data_sources.pandas_data"]], "Pandas (CSV or other data)": [[5, null]], "Parameters": [[165, null]], "Polygon.io Backtesting": [[6, null]], "Position": [[23, null]], "Profiling to Improve Performance": [[25, "profiling-to-improve-performance"]], "Reference": [[28, "reference"], [29, "reference"], [30, "reference"], [31, "reference"], [32, "reference"], [33, "reference"], [34, "reference"], [35, "reference"], [36, "reference"], [37, "reference"], [38, "reference"], [39, "reference"], [40, "reference"], [42, "reference"]], "Running Your Strategy": [[13, "running-your-strategy"], [16, "running-your-strategy"]], "Running a Backtest with Polygon.io": [[2, "running-a-backtest-with-polygon-io"]], "Secrets Configuration": [[17, "secrets-configuration"]], "Step 1: Install Lumibot": [[26, "step-1-install-lumibot"]], "Step 1: Install the Package": [[25, "step-1-install-the-package"]], "Step 2: Create a Strategy for Backtesting": [[26, "step-2-create-a-strategy-for-backtesting"]], "Step 2: Import the Following Modules": [[25, "step-2-import-the-following-modules"]], "Step 3: Create an Alpaca Paper Trading Account": [[25, "step-3-create-an-alpaca-paper-trading-account"]], "Step 3: Take Your Bot Live": [[26, "step-3-take-your-bot-live"]], "Step 4: Configure Your API Keys": [[25, "step-4-configure-your-api-keys"]], "Step 5: Create a Strategy Class": [[25, "step-5-create-a-strategy-class"]], "Step 6: Instantiate the Trader, Alpaca, and Strategy Classes": [[25, "step-6-instantiate-the-trader-alpaca-and-strategy-classes"]], "Step 7: Backtest the Strategy (Optional)": [[25, "step-7-backtest-the-strategy-optional"]], "Step 8: Run the Strategy": [[25, "step-8-run-the-strategy"]], "Strategies": [[45, null]], "Strategy Methods": [[47, null]], "Strategy Properties": [[166, null]], "Strategy Setup": [[14, "strategy-setup"]], "Summary": [[41, null]], "Table of Contents": [[26, "table-of-contents"]], "Tearsheet HTML": [[2, "tearsheet-html"], [7, null]], "ThetaData Backtesting": [[8, null]], "Trader": [[46, "module-lumibot.traders.trader"]], "Traders": [[46, null]], "Trades Files": [[2, "trades-files"], [9, null]], "Tradier": [[16, null]], "Tradier Configuration": [[17, "tradier-configuration"], [17, "id21"]], "Trading Fee": [[24, null]], "Usage Guide": [[196, "usage-guide"]], "Using a Paper Trading Account": [[14, "using-a-paper-trading-account"]], "Using a Secondary Account": [[14, "using-a-secondary-account"]], "Variable Backup & Restore": [[196, null]], "What is Lumibot?": [[25, null]], "Yahoo": [[10, null], [44, "module-lumibot.data_sources.yahoo_data"]], "def after_market_closes": [[28, null]], "def before_market_closes": [[29, null]], "def before_market_opens": [[30, null]], "def before_starting_trading": [[31, null]], "def initialize": [[32, null]], "def on_abrupt_closing": [[33, null]], "def on_bot_crash": [[34, null]], "def on_canceled_order": [[35, null]], "def on_filled_order": [[36, null]], "def on_new_order": [[37, null]], "def on_parameters_updated": [[38, null]], "def on_partially_filled_order": [[39, null]], "def on_trading_iteration": [[40, null]], "def trace_stats": [[42, null]], "self.add_line": [[62, null], [66, null]], "self.add_marker": [[63, null], [67, null]], "self.await_market_to_close": [[102, null], [113, null]], "self.await_market_to_open": [[103, null], [114, null]], "self.cancel_open_orders": [[143, null], [154, null]], "self.cancel_order": [[144, null], [155, null]], "self.cancel_orders": [[145, null], [156, null]], "self.cancel_realtime_bars": [[71, null]], "self.cash": [[167, null], [182, null]], "self.create_order": [[146, null], [157, null]], "self.first_iteration": [[168, null], [183, null]], "self.get_asset_potential_total": [[147, null], [158, null]], "self.get_cash": [[49, null], [55, null]], "self.get_chain": [[125, null], [133, null]], "self.get_chains": [[126, null], [134, null]], "self.get_datetime": [[83, null], [92, null]], "self.get_datetime_range": [[84, null], [93, null]], "self.get_expiration": [[127, null], [135, null]], "self.get_greeks": [[128, null], [136, null]], "self.get_historical_prices": [[72, null]], "self.get_historical_prices_for_assets": [[73, null]], "self.get_last_day": [[85, null], [94, null]], "self.get_last_minute": [[86, null], [95, null]], "self.get_last_price": [[74, null]], "self.get_last_prices": [[75, null]], "self.get_lines_df": [[64, null], [68, null]], "self.get_markers_df": [[65, null], [69, null]], "self.get_multiplier": [[129, null], [137, null]], "self.get_next_trading_day": [[76, null], [130, null], [138, null]], "self.get_option_expiration_after_date": [[139, null]], "self.get_order": [[148, null], [159, null]], "self.get_orders": [[149, null], [160, null]], "self.get_parameters": [[50, null], [56, null], [104, null], [115, null]], "self.get_portfolio_value": [[51, null], [57, null]], "self.get_position": [[52, null], [58, null]], "self.get_positions": [[53, null], [59, null]], "self.get_quote": [[77, null]], "self.get_realtime_bars": [[78, null]], "self.get_round_day": [[87, null], [96, null]], "self.get_round_minute": [[88, null], [97, null]], "self.get_selling_order": [[150, null], [161, null]], "self.get_strikes": [[131, null], [140, null]], "self.get_timestamp": [[89, null], [98, null]], "self.get_yesterday_dividend": [[79, null]], "self.get_yesterday_dividends": [[80, null]], "self.initial_budget": [[169, null], [184, null]], "self.is_backtesting": [[170, null], [185, null]], "self.last_on_trading_iteration_datetime": [[171, null], [186, null]], "self.localize_datetime": [[90, null], [99, null]], "self.log_message": [[105, null], [116, null]], "self.minutes_before_closing": [[172, null], [187, null]], "self.minutes_before_opening": [[173, null], [188, null]], "self.name": [[174, null], [189, null]], "self.options_expiry_to_datetime_date": [[132, null], [141, null]], "self.portfolio_value": [[175, null], [190, null]], "self.pytz": [[176, null], [181, null], [191, null]], "self.quote_asset": [[177, null], [192, null]], "self.sell_all": [[151, null], [162, null]], "self.set_market": [[106, null], [117, null]], "self.set_parameters": [[54, null], [60, null]], "self.sleep": [[107, null], [118, null]], "self.sleeptime": [[178, null], [193, null]], "self.start_realtime_bars": [[81, null]], "self.submit_order": [[152, null], [163, null]], "self.submit_orders": [[153, null], [164, null]], "self.timezone": [[179, null], [194, null]], "self.to_default_timezone": [[91, null], [100, null]], "self.unspent_money": [[180, null], [195, null]], "self.update_parameters": [[108, null], [119, null]], "self.wait_for_order_execution": [[109, null], [120, null]], "self.wait_for_order_registration": [[110, null], [121, null]], "self.wait_for_orders_execution": [[111, null], [122, null]], "self.wait_for_orders_registration": [[112, null], [123, null]]}, "docnames": ["backtesting", "backtesting.backtesting_function", "backtesting.how_to_backtest", "backtesting.indicators_files", "backtesting.logs_csv", "backtesting.pandas", "backtesting.polygon", "backtesting.tearsheet_html", "backtesting.thetadata", "backtesting.trades_files", "backtesting.yahoo", "brokers", "brokers.alpaca", "brokers.ccxt", "brokers.interactive_brokers", "brokers.interactive_brokers_legacy", "brokers.tradier", "deployment", "entities", "entities.asset", "entities.bars", "entities.data", "entities.order", "entities.position", "entities.trading_fee", "getting_started", "index", "lifecycle_methods", "lifecycle_methods.after_market_closes", "lifecycle_methods.before_market_closes", "lifecycle_methods.before_market_opens", "lifecycle_methods.before_starting_trading", "lifecycle_methods.initialize", "lifecycle_methods.on_abrupt_closing", "lifecycle_methods.on_bot_crash", "lifecycle_methods.on_canceled_order", "lifecycle_methods.on_filled_order", "lifecycle_methods.on_new_order", "lifecycle_methods.on_parameters_updated", "lifecycle_methods.on_partially_filled_order", "lifecycle_methods.on_trading_iteration", "lifecycle_methods.summary", "lifecycle_methods.trace_stats", "lumibot.backtesting", "lumibot.data_sources", "lumibot.strategies", "lumibot.traders", "strategy_methods", "strategy_methods.account", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_cash", "strategy_methods.account/strategies.strategy.Strategy.get_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/strategies.strategy.Strategy.get_position", "strategy_methods.account/strategies.strategy.Strategy.get_positions", "strategy_methods.account/strategies.strategy.Strategy.set_parameters", "strategy_methods.chart", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df", "strategy_methods.chart/strategies.strategy.Strategy.add_line", "strategy_methods.chart/strategies.strategy.Strategy.add_marker", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df", "strategy_methods.data", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars", "strategy_methods.datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone", "strategy_methods.misc", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/strategies.strategy.Strategy.log_message", "strategy_methods.misc/strategies.strategy.Strategy.set_market", "strategy_methods.misc/strategies.strategy.Strategy.sleep", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.options", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.options/strategies.strategy.Strategy.get_chain", "strategy_methods.options/strategies.strategy.Strategy.get_chains", "strategy_methods.options/strategies.strategy.Strategy.get_expiration", "strategy_methods.options/strategies.strategy.Strategy.get_greeks", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date", "strategy_methods.options/strategies.strategy.Strategy.get_strikes", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/strategies.strategy.Strategy.create_order", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/strategies.strategy.Strategy.get_order", "strategy_methods.orders/strategies.strategy.Strategy.get_orders", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/strategies.strategy.Strategy.sell_all", "strategy_methods.orders/strategies.strategy.Strategy.submit_order", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders", "strategy_methods.parameters", "strategy_properties", "strategy_properties/lumibot.strategies.strategy.Strategy.cash", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/lumibot.strategies.strategy.Strategy.name", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money", "strategy_properties/lumibot.strategies.strategy.pytz", "strategy_properties/strategies.strategy.Strategy.cash", "strategy_properties/strategies.strategy.Strategy.first_iteration", "strategy_properties/strategies.strategy.Strategy.initial_budget", "strategy_properties/strategies.strategy.Strategy.is_backtesting", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/strategies.strategy.Strategy.name", "strategy_properties/strategies.strategy.Strategy.portfolio_value", "strategy_properties/strategies.strategy.Strategy.pytz", "strategy_properties/strategies.strategy.Strategy.quote_asset", "strategy_properties/strategies.strategy.Strategy.sleeptime", "strategy_properties/strategies.strategy.Strategy.timezone", "strategy_properties/strategies.strategy.Strategy.unspent_money", "vars"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["backtesting.rst", "backtesting.backtesting_function.rst", "backtesting.how_to_backtest.rst", "backtesting.indicators_files.rst", "backtesting.logs_csv.rst", "backtesting.pandas.rst", "backtesting.polygon.rst", "backtesting.tearsheet_html.rst", "backtesting.thetadata.rst", "backtesting.trades_files.rst", "backtesting.yahoo.rst", "brokers.rst", "brokers.alpaca.rst", "brokers.ccxt.rst", "brokers.interactive_brokers.rst", "brokers.interactive_brokers_legacy.rst", "brokers.tradier.rst", "deployment.rst", "entities.rst", "entities.asset.rst", "entities.bars.rst", "entities.data.rst", "entities.order.rst", "entities.position.rst", "entities.trading_fee.rst", "getting_started.rst", "index.rst", "lifecycle_methods.rst", "lifecycle_methods.after_market_closes.rst", "lifecycle_methods.before_market_closes.rst", "lifecycle_methods.before_market_opens.rst", "lifecycle_methods.before_starting_trading.rst", "lifecycle_methods.initialize.rst", "lifecycle_methods.on_abrupt_closing.rst", "lifecycle_methods.on_bot_crash.rst", "lifecycle_methods.on_canceled_order.rst", "lifecycle_methods.on_filled_order.rst", "lifecycle_methods.on_new_order.rst", "lifecycle_methods.on_parameters_updated.rst", "lifecycle_methods.on_partially_filled_order.rst", "lifecycle_methods.on_trading_iteration.rst", "lifecycle_methods.summary.rst", "lifecycle_methods.trace_stats.rst", "lumibot.backtesting.rst", "lumibot.data_sources.rst", "lumibot.strategies.rst", "lumibot.traders.rst", "strategy_methods.rst", "strategy_methods.account.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.chart.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.data.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars.rst", "strategy_methods.datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.misc.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.options.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.parameters.rst", "strategy_properties.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.cash.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.name.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money.rst", "strategy_properties/lumibot.strategies.strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.cash.rst", "strategy_properties/strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/strategies.strategy.Strategy.name.rst", "strategy_properties/strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/strategies.strategy.Strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/strategies.strategy.Strategy.timezone.rst", "strategy_properties/strategies.strategy.Strategy.unspent_money.rst", "vars.rst"], "indexentries": {"_asset_types (entities.asset.asset attribute)": [[19, "entities.asset.Asset._asset_types", false]], "_get_bars_dict() (entities.data.data method)": [[21, "entities.data.Data._get_bars_dict", false]], "_right (entities.asset.asset attribute)": [[19, "entities.asset.Asset._right", false]], "add_child_order() (entities.order.order method)": [[22, "entities.order.Order.add_child_order", false]], "add_line() (in module lumibot.strategies.strategy.strategy)": [[62, "lumibot.strategies.strategy.Strategy.add_line", false], [66, "lumibot.strategies.strategy.Strategy.add_line", false]], "add_marker() (in module lumibot.strategies.strategy.strategy)": [[63, "lumibot.strategies.strategy.Strategy.add_marker", false], [67, "lumibot.strategies.strategy.Strategy.add_marker", false]], "add_order() (entities.position.position method)": [[23, "entities.position.Position.add_order", false]], "add_strategy() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.add_strategy", false]], "add_transaction() (entities.order.order method)": [[22, "entities.order.Order.add_transaction", false]], "after_market_closes() (in module lumibot.strategies.strategy.strategy)": [[28, "lumibot.strategies.strategy.Strategy.after_market_closes", false]], "aggregate_bars() (entities.bars.bars method)": [[20, "entities.bars.Bars.aggregate_bars", false], [20, "id0", false]], "alpaca (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.Alpaca", false]], "api (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.api", false]], "asset (class in entities.asset)": [[19, "entities.asset.Asset", false]], "asset (entities.data.data attribute)": [[21, "entities.data.Data.asset", false]], "asset (entities.position.position attribute)": [[23, "entities.position.Position.asset", false]], "asset.assettype (class in entities.asset)": [[19, "entities.asset.Asset.AssetType", false]], "asset.optionright (class in entities.asset)": [[19, "entities.asset.Asset.OptionRight", false]], "asset_type (entities.asset.asset attribute)": [[19, "entities.asset.Asset.asset_type", false], [19, "id0", false]], "asset_type_map (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.ASSET_TYPE_MAP", false]], "asset_type_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.asset_type_must_be_one_of", false], [19, "id1", false]], "assetsmapping (class in entities.asset)": [[19, "entities.asset.AssetsMapping", false]], "available (entities.position.position attribute)": [[23, "entities.position.Position.available", false]], "available (entities.position.position property)": [[23, "id0", false]], "avg_fill_price (entities.order.order property)": [[22, "entities.order.Order.avg_fill_price", false]], "avg_fill_price (entities.position.position attribute)": [[23, "entities.position.Position.avg_fill_price", false]], "await_market_to_close() (in module lumibot.strategies.strategy.strategy)": [[102, "lumibot.strategies.strategy.Strategy.await_market_to_close", false], [113, "lumibot.strategies.strategy.Strategy.await_market_to_close", false]], "await_market_to_open() (in module lumibot.strategies.strategy.strategy)": [[103, "lumibot.strategies.strategy.Strategy.await_market_to_open", false], [114, "lumibot.strategies.strategy.Strategy.await_market_to_open", false]], "backtestingbroker (class in lumibot.backtesting.backtesting_broker)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker", false]], "bars (class in entities.bars)": [[20, "entities.bars.Bars", false]], "before_market_closes() (in module lumibot.strategies.strategy.strategy)": [[29, "lumibot.strategies.strategy.Strategy.before_market_closes", false]], "before_market_opens() (in module lumibot.strategies.strategy.strategy)": [[30, "lumibot.strategies.strategy.Strategy.before_market_opens", false]], "before_starting_trading() (in module lumibot.strategies.strategy.strategy)": [[31, "lumibot.strategies.strategy.Strategy.before_starting_trading", false]], "bracket (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.BRACKET", false]], "bracket (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.BRACKET", false]], "buy (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY", false]], "buy_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_CLOSE", false]], "buy_to_cover (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_COVER", false]], "buy_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_OPEN", false]], "calculate_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.calculate_greeks", false]], "calculate_trade_cost() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.calculate_trade_cost", false]], "call (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.CALL", false]], "cancel_open_orders() (in module lumibot.strategies.strategy.strategy)": [[143, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false], [154, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false]], "cancel_order() (in module lumibot.strategies.strategy.strategy)": [[144, "lumibot.strategies.strategy.Strategy.cancel_order", false], [155, "lumibot.strategies.strategy.Strategy.cancel_order", false]], "cancel_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cancel_order", false]], "cancel_order() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.cancel_order", false]], "cancel_orders() (in module lumibot.strategies.strategy.strategy)": [[145, "lumibot.strategies.strategy.Strategy.cancel_orders", false], [156, "lumibot.strategies.strategy.Strategy.cancel_orders", false]], "cancel_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[71, "lumibot.strategies.strategy.Strategy.cancel_realtime_bars", false]], "canceled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELED", false]], "cancelling (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELLING", false]], "cash (lumibot.strategies.strategy.strategy property)": [[167, "lumibot.strategies.strategy.Strategy.cash", false], [182, "lumibot.strategies.strategy.Strategy.cash", false]], "cash_pending() (entities.order.order method)": [[22, "entities.order.Order.cash_pending", false]], "cash_settle_options_contract() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cash_settle_options_contract", false]], "cash_settled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CASH_SETTLED", false]], "check_data() (entities.data.data method)": [[21, "entities.data.Data.check_data", false], [21, "id0", false]], "clean_trading_times() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.clean_trading_times", false]], "columns() (entities.data.data method)": [[21, "entities.data.Data.columns", false], [21, "id1", false]], "convert_timestep_str_to_timedelta() (lumibot.data_sources.data_source.datasource static method)": [[44, "lumibot.data_sources.data_source.DataSource.convert_timestep_str_to_timedelta", false]], "create_order() (in module lumibot.strategies.strategy.strategy)": [[146, "lumibot.strategies.strategy.Strategy.create_order", false], [157, "lumibot.strategies.strategy.Strategy.create_order", false]], "crypto (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.CRYPTO", false]], "data (class in entities.data)": [[21, "entities.data.Data", false]], "datalines (entities.data.data attribute)": [[21, "entities.data.Data.datalines", false]], "datasource (class in lumibot.data_sources.data_source)": [[44, "lumibot.data_sources.data_source.DataSource", false]], "datasourcebacktesting (class in lumibot.data_sources.data_source_backtesting)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting", false]], "date_end (entities.data.data attribute)": [[21, "entities.data.Data.date_end", false]], "date_start (entities.data.data attribute)": [[21, "entities.data.Data.date_start", false]], "datetime (lumibot.backtesting.backtesting_broker.backtestingbroker property)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.datetime", false]], "default_pytz (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_PYTZ", false]], "default_timezone (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_TIMEZONE", false]], "df (entities.data.data attribute)": [[21, "entities.data.Data.df", false]], "entities.asset": [[19, "module-entities.asset", false]], "entities.bars": [[20, "module-entities.bars", false]], "entities.data": [[21, "module-entities.data", false]], "entities.order": [[22, "module-entities.order", false]], "entities.position": [[23, "module-entities.position", false]], "entities.trading_fee": [[24, "module-entities.trading_fee", false]], "equivalent_status() (entities.order.order method)": [[22, "entities.order.Order.equivalent_status", false]], "error (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.ERROR", false]], "expiration (entities.asset.asset attribute)": [[19, "entities.asset.Asset.expiration", false], [19, "id2", false]], "expired (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.EXPIRED", false]], "filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.FILLED", false]], "filter() (entities.bars.bars method)": [[20, "entities.bars.Bars.filter", false]], "find_asset_in_data_store() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.find_asset_in_data_store", false]], "first_iteration (lumibot.strategies.strategy.strategy property)": [[168, "lumibot.strategies.strategy.Strategy.first_iteration", false], [183, "lumibot.strategies.strategy.Strategy.first_iteration", false]], "forex (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FOREX", false]], "from_dict() (entities.asset.asset class method)": [[19, "entities.asset.Asset.from_dict", false]], "from_dict() (entities.order.order class method)": [[22, "entities.order.Order.from_dict", false]], "from_dict() (entities.position.position class method)": [[23, "entities.position.Position.from_dict", false]], "future (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FUTURE", false]], "get_asset_by_name() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_name", false]], "get_asset_by_symbol() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_symbol", false]], "get_asset_potential_total() (in module lumibot.strategies.strategy.strategy)": [[147, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false], [158, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false]], "get_assets() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_assets", false]], "get_bars() (entities.data.data method)": [[21, "entities.data.Data.get_bars", false], [21, "id2", false]], "get_bars() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_bars", false]], "get_bars_between_dates() (entities.data.data method)": [[21, "entities.data.Data.get_bars_between_dates", false]], "get_cash() (in module lumibot.strategies.strategy.strategy)": [[49, "lumibot.strategies.strategy.Strategy.get_cash", false], [55, "lumibot.strategies.strategy.Strategy.get_cash", false]], "get_chain() (in module lumibot.strategies.strategy.strategy)": [[125, "lumibot.strategies.strategy.Strategy.get_chain", false], [133, "lumibot.strategies.strategy.Strategy.get_chain", false]], "get_chain_full_info() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chain_full_info", false]], "get_chains() (in module lumibot.strategies.strategy.strategy)": [[126, "lumibot.strategies.strategy.Strategy.get_chains", false], [134, "lumibot.strategies.strategy.Strategy.get_chains", false]], "get_chains() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chains", false]], "get_chains() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_chains", false]], "get_chains() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_chains", false]], "get_datetime() (in module lumibot.strategies.strategy.strategy)": [[83, "lumibot.strategies.strategy.Strategy.get_datetime", false], [92, "lumibot.strategies.strategy.Strategy.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime", false]], "get_datetime_range() (in module lumibot.strategies.strategy.strategy)": [[84, "lumibot.strategies.strategy.Strategy.get_datetime_range", false], [93, "lumibot.strategies.strategy.Strategy.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime_range", false]], "get_expiration() (in module lumibot.strategies.strategy.strategy)": [[127, "lumibot.strategies.strategy.Strategy.get_expiration", false], [135, "lumibot.strategies.strategy.Strategy.get_expiration", false]], "get_fill_price() (entities.order.order method)": [[22, "entities.order.Order.get_fill_price", false]], "get_greeks() (in module lumibot.strategies.strategy.strategy)": [[128, "lumibot.strategies.strategy.Strategy.get_greeks", false], [136, "lumibot.strategies.strategy.Strategy.get_greeks", false]], "get_historical_account_value() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_historical_account_value", false]], "get_historical_account_value() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.get_historical_account_value", false]], "get_historical_prices() (in module lumibot.strategies.strategy.strategy)": [[72, "lumibot.strategies.strategy.Strategy.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_historical_prices", false]], "get_historical_prices_for_assets() (in module lumibot.strategies.strategy.strategy)": [[73, "lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", false]], "get_increment() (entities.order.order method)": [[22, "entities.order.Order.get_increment", false]], "get_iter_count() (entities.data.data method)": [[21, "entities.data.Data.get_iter_count", false], [21, "id3", false]], "get_last_bar() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_last_bar", false]], "get_last_day() (in module lumibot.strategies.strategy.strategy)": [[85, "lumibot.strategies.strategy.Strategy.get_last_day", false], [94, "lumibot.strategies.strategy.Strategy.get_last_day", false]], "get_last_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_day", false]], "get_last_dividend() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_dividend", false], [20, "id1", false]], "get_last_minute() (in module lumibot.strategies.strategy.strategy)": [[86, "lumibot.strategies.strategy.Strategy.get_last_minute", false], [95, "lumibot.strategies.strategy.Strategy.get_last_minute", false]], "get_last_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_minute", false]], "get_last_price() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_price", false], [20, "id2", false]], "get_last_price() (entities.data.data method)": [[21, "entities.data.Data.get_last_price", false], [21, "id4", false]], "get_last_price() (in module lumibot.strategies.strategy.strategy)": [[74, "lumibot.strategies.strategy.Strategy.get_last_price", false]], "get_last_price() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_price", false]], "get_last_price() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_price", false]], "get_last_price() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_last_price", false]], "get_last_prices() (in module lumibot.strategies.strategy.strategy)": [[75, "lumibot.strategies.strategy.Strategy.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_prices", false]], "get_lines_df() (in module lumibot.strategies.strategy.strategy)": [[64, "lumibot.strategies.strategy.Strategy.get_lines_df", false], [68, "lumibot.strategies.strategy.Strategy.get_lines_df", false]], "get_markers_df() (in module lumibot.strategies.strategy.strategy)": [[65, "lumibot.strategies.strategy.Strategy.get_markers_df", false], [69, "lumibot.strategies.strategy.Strategy.get_markers_df", false]], "get_momentum() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_momentum", false], [20, "id3", false]], "get_multiplier() (in module lumibot.strategies.strategy.strategy)": [[129, "lumibot.strategies.strategy.Strategy.get_multiplier", false], [137, "lumibot.strategies.strategy.Strategy.get_multiplier", false]], "get_next_trading_day() (in module lumibot.strategies.strategy.strategy)": [[76, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [130, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [138, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false]], "get_option_expiration_after_date() (in module lumibot.strategies.strategy.strategy)": [[139, "lumibot.strategies.strategy.Strategy.get_option_expiration_after_date", false]], "get_order() (in module lumibot.strategies.strategy.strategy)": [[148, "lumibot.strategies.strategy.Strategy.get_order", false], [159, "lumibot.strategies.strategy.Strategy.get_order", false]], "get_orders() (in module lumibot.strategies.strategy.strategy)": [[149, "lumibot.strategies.strategy.Strategy.get_orders", false], [160, "lumibot.strategies.strategy.Strategy.get_orders", false]], "get_parameters() (in module lumibot.strategies.strategy.strategy)": [[50, "lumibot.strategies.strategy.Strategy.get_parameters", false], [56, "lumibot.strategies.strategy.Strategy.get_parameters", false], [104, "lumibot.strategies.strategy.Strategy.get_parameters", false], [115, "lumibot.strategies.strategy.Strategy.get_parameters", false]], "get_portfolio_value() (in module lumibot.strategies.strategy.strategy)": [[51, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false], [57, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false]], "get_position() (in module lumibot.strategies.strategy.strategy)": [[52, "lumibot.strategies.strategy.Strategy.get_position", false], [58, "lumibot.strategies.strategy.Strategy.get_position", false]], "get_positions() (in module lumibot.strategies.strategy.strategy)": [[53, "lumibot.strategies.strategy.Strategy.get_positions", false], [59, "lumibot.strategies.strategy.Strategy.get_positions", false]], "get_quote() (entities.data.data method)": [[21, "entities.data.Data.get_quote", false]], "get_quote() (in module lumibot.strategies.strategy.strategy)": [[77, "lumibot.strategies.strategy.Strategy.get_quote", false]], "get_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[78, "lumibot.strategies.strategy.Strategy.get_realtime_bars", false]], "get_round_day() (in module lumibot.strategies.strategy.strategy)": [[87, "lumibot.strategies.strategy.Strategy.get_round_day", false], [96, "lumibot.strategies.strategy.Strategy.get_round_day", false]], "get_round_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_day", false]], "get_round_minute() (in module lumibot.strategies.strategy.strategy)": [[88, "lumibot.strategies.strategy.Strategy.get_round_minute", false], [97, "lumibot.strategies.strategy.Strategy.get_round_minute", false]], "get_round_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_minute", false]], "get_selling_order() (entities.position.position method)": [[23, "entities.position.Position.get_selling_order", false]], "get_selling_order() (in module lumibot.strategies.strategy.strategy)": [[150, "lumibot.strategies.strategy.Strategy.get_selling_order", false], [161, "lumibot.strategies.strategy.Strategy.get_selling_order", false]], "get_start_datetime_and_ts_unit() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_start_datetime_and_ts_unit", false]], "get_strikes() (in module lumibot.strategies.strategy.strategy)": [[131, "lumibot.strategies.strategy.Strategy.get_strikes", false], [140, "lumibot.strategies.strategy.Strategy.get_strikes", false]], "get_strikes() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_strikes", false]], "get_strikes() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_strikes", false]], "get_time_to_close() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_close", false]], "get_time_to_close() (lumibot.brokers.alpaca.alpaca method)": [[12, "id0", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_close", false]], "get_time_to_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_open", false]], "get_time_to_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id1", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_open", false]], "get_timestamp() (in module lumibot.strategies.strategy.strategy)": [[89, "lumibot.strategies.strategy.Strategy.get_timestamp", false], [98, "lumibot.strategies.strategy.Strategy.get_timestamp", false]], "get_timestamp() (lumibot.brokers.alpaca.alpaca method)": [[12, "id2", false], [12, "lumibot.brokers.alpaca.Alpaca.get_timestamp", false]], "get_timestamp() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestamp", false]], "get_timestep() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestep", false]], "get_total_dividends() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_dividends", false]], "get_total_return() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return", false]], "get_total_return_pct() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct", false]], "get_total_return_pct_change() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct_change", false]], "get_total_stock_splits() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_stock_splits", false]], "get_total_volume() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_volume", false], [20, "id4", false]], "get_trading_days_pandas() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_trading_days_pandas", false]], "get_yesterday_dividend() (in module lumibot.strategies.strategy.strategy)": [[79, "lumibot.strategies.strategy.Strategy.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividend", false]], "get_yesterday_dividends() (in module lumibot.strategies.strategy.strategy)": [[80, "lumibot.strategies.strategy.Strategy.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividends", false]], "hold (entities.position.position attribute)": [[23, "entities.position.Position.hold", false]], "hold (entities.position.position property)": [[23, "id1", false]], "index (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.INDEX", false]], "initial_budget (lumibot.strategies.strategy.strategy property)": [[169, "lumibot.strategies.strategy.Strategy.initial_budget", false], [184, "lumibot.strategies.strategy.Strategy.initial_budget", false]], "initialize() (in module lumibot.strategies.strategy.strategy)": [[32, "lumibot.strategies.strategy.Strategy.initialize", false]], "is_active() (entities.order.order method)": [[22, "entities.order.Order.is_active", false]], "is_backtest_broker (lumibot.traders.trader.trader property)": [[46, "lumibot.traders.trader.Trader.is_backtest_broker", false]], "is_backtesting (lumibot.strategies.strategy.strategy property)": [[170, "lumibot.strategies.strategy.Strategy.is_backtesting", false], [185, "lumibot.strategies.strategy.Strategy.is_backtesting", false]], "is_backtesting_broker (lumibot.backtesting.backtesting_broker.backtestingbroker attribute)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.IS_BACKTESTING_BROKER", false]], "is_backtesting_data_source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.IS_BACKTESTING_DATA_SOURCE", false]], "is_backtesting_data_source (lumibot.data_sources.data_source_backtesting.datasourcebacktesting attribute)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.IS_BACKTESTING_DATA_SOURCE", false]], "is_buy_order() (entities.order.order method)": [[22, "entities.order.Order.is_buy_order", false]], "is_canceled() (entities.order.order method)": [[22, "entities.order.Order.is_canceled", false]], "is_filled() (entities.order.order method)": [[22, "entities.order.Order.is_filled", false]], "is_market_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.is_market_open", false]], "is_market_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id3", false], [12, "lumibot.brokers.alpaca.Alpaca.is_market_open", false]], "is_option() (entities.order.order method)": [[22, "entities.order.Order.is_option", false]], "is_parent() (entities.order.order method)": [[22, "entities.order.Order.is_parent", false]], "is_sell_order() (entities.order.order method)": [[22, "entities.order.Order.is_sell_order", false]], "is_valid() (entities.asset.asset method)": [[19, "entities.asset.Asset.is_valid", false]], "iter_index (entities.data.data attribute)": [[21, "entities.data.Data.iter_index", false]], "last_on_trading_iteration_datetime (lumibot.strategies.strategy.strategy property)": [[171, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false], [186, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false]], "limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.LIMIT", false]], "limit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.limit_order", false]], "load_data() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.load_data", false]], "localize_datetime() (in module lumibot.strategies.strategy.strategy)": [[90, "lumibot.strategies.strategy.Strategy.localize_datetime", false], [99, "lumibot.strategies.strategy.Strategy.localize_datetime", false]], "localize_datetime() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.localize_datetime", false]], "log_message() (in module lumibot.strategies.strategy.strategy)": [[105, "lumibot.strategies.strategy.Strategy.log_message", false], [116, "lumibot.strategies.strategy.Strategy.log_message", false]], "lumibot.backtesting.backtesting_broker": [[43, "module-lumibot.backtesting.backtesting_broker", false]], "lumibot.brokers.alpaca": [[12, "module-lumibot.brokers.alpaca", false]], "lumibot.data_sources": [[44, "module-lumibot.data_sources", false]], "lumibot.data_sources.data_source": [[44, "module-lumibot.data_sources.data_source", false]], "lumibot.data_sources.data_source_backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting", false]], "lumibot.data_sources.pandas_data": [[44, "module-lumibot.data_sources.pandas_data", false]], "lumibot.data_sources.yahoo_data": [[44, "module-lumibot.data_sources.yahoo_data", false]], "lumibot.strategies.strategy.strategy": [[45, "module-lumibot.strategies.strategy.Strategy", false]], "lumibot.traders.trader": [[46, "module-lumibot.traders.trader", false]], "map_asset_type() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.map_asset_type", false]], "market (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.MARKET", false]], "min_timestep (entities.data.data attribute)": [[21, "entities.data.Data.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.MIN_TIMESTEP", false]], "minutes_before_closing (lumibot.strategies.strategy.strategy property)": [[172, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false], [187, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false]], "minutes_before_opening (lumibot.strategies.strategy.strategy property)": [[173, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false], [188, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false]], "module": [[12, "module-lumibot.brokers.alpaca", false], [19, "module-entities.asset", false], [20, "module-entities.bars", false], [21, "module-entities.data", false], [22, "module-entities.order", false], [23, "module-entities.position", false], [24, "module-entities.trading_fee", false], [43, "module-lumibot.backtesting.backtesting_broker", false], [43, "module-lumibot.data_sources.data_source_backtesting", false], [44, "module-lumibot.data_sources", false], [44, "module-lumibot.data_sources.data_source", false], [44, "module-lumibot.data_sources.pandas_data", false], [44, "module-lumibot.data_sources.yahoo_data", false], [45, "module-lumibot.strategies.strategy.Strategy", false], [46, "module-lumibot.traders.trader", false]], "multileg (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.MULTILEG", false]], "multiplier (entities.asset.asset attribute)": [[19, "entities.asset.Asset.multiplier", false], [19, "id3", false]], "name (lumibot.strategies.strategy.strategy property)": [[174, "lumibot.strategies.strategy.Strategy.name", false], [189, "lumibot.strategies.strategy.Strategy.name", false]], "new (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.NEW", false]], "nobardatafound": [[20, "entities.bars.NoBarDataFound", false]], "oco (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OCO", false]], "oco (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OCO", false]], "on_abrupt_closing() (in module lumibot.strategies.strategy.strategy)": [[33, "lumibot.strategies.strategy.Strategy.on_abrupt_closing", false]], "on_bot_crash() (in module lumibot.strategies.strategy.strategy)": [[34, "lumibot.strategies.strategy.Strategy.on_bot_crash", false]], "on_canceled_order() (in module lumibot.strategies.strategy.strategy)": [[35, "lumibot.strategies.strategy.Strategy.on_canceled_order", false]], "on_filled_order() (in module lumibot.strategies.strategy.strategy)": [[36, "lumibot.strategies.strategy.Strategy.on_filled_order", false]], "on_new_order() (in module lumibot.strategies.strategy.strategy)": [[37, "lumibot.strategies.strategy.Strategy.on_new_order", false]], "on_parameters_updated() (in module lumibot.strategies.strategy.strategy)": [[38, "lumibot.strategies.strategy.Strategy.on_parameters_updated", false]], "on_partially_filled_order() (in module lumibot.strategies.strategy.strategy)": [[39, "lumibot.strategies.strategy.Strategy.on_partially_filled_order", false]], "on_trading_iteration() (in module lumibot.strategies.strategy.strategy)": [[40, "lumibot.strategies.strategy.Strategy.on_trading_iteration", false]], "open (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.OPEN", false]], "option (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.OPTION", false]], "options_expiry_to_datetime_date() (in module lumibot.strategies.strategy.strategy)": [[132, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false], [141, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false]], "order (class in entities.order)": [[22, "entities.order.Order", false]], "order.orderclass (class in entities.order)": [[22, "entities.order.Order.OrderClass", false]], "order.orderside (class in entities.order)": [[22, "entities.order.Order.OrderSide", false]], "order.orderstatus (class in entities.order)": [[22, "entities.order.Order.OrderStatus", false]], "order.ordertype (class in entities.order)": [[22, "entities.order.Order.OrderType", false]], "order.transaction (class in entities.order)": [[22, "entities.order.Order.Transaction", false]], "orderdata (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.OrderData", false]], "orders (entities.position.position attribute)": [[23, "entities.position.Position.orders", false]], "oto (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OTO", false]], "oto (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OTO", false]], "pandasdata (class in lumibot.data_sources.pandas_data)": [[44, "lumibot.data_sources.pandas_data.PandasData", false]], "parse_bar_list() (entities.bars.bars class method)": [[20, "entities.bars.Bars.parse_bar_list", false]], "partially_filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.PARTIALLY_FILLED", false]], "portfolio_value (lumibot.strategies.strategy.strategy property)": [[175, "lumibot.strategies.strategy.Strategy.portfolio_value", false], [190, "lumibot.strategies.strategy.Strategy.portfolio_value", false]], "position (class in entities.position)": [[23, "entities.position.Position", false]], "precision (entities.asset.asset attribute)": [[19, "entities.asset.Asset.precision", false], [19, "id4", false]], "price (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.price", false]], "process_expired_option_contracts() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_expired_option_contracts", false]], "process_pending_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_pending_orders", false]], "put (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.PUT", false]], "pytz (lumibot.strategies.strategy.strategy property)": [[176, "lumibot.strategies.strategy.Strategy.pytz", false], [181, "lumibot.strategies.strategy.Strategy.pytz", false], [191, "lumibot.strategies.strategy.Strategy.pytz", false]], "quantity (entities.order.order property)": [[22, "entities.order.Order.quantity", false]], "quantity (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.quantity", false]], "quantity (entities.position.position attribute)": [[23, "entities.position.Position.quantity", false]], "quantity (entities.position.position property)": [[23, "id2", false]], "query_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.query_greeks", false]], "quote_asset (lumibot.strategies.strategy.strategy property)": [[177, "lumibot.strategies.strategy.Strategy.quote_asset", false], [192, "lumibot.strategies.strategy.Strategy.quote_asset", false]], "repair_times_and_fill() (entities.data.data method)": [[21, "entities.data.Data.repair_times_and_fill", false], [21, "id5", false]], "right (entities.asset.asset attribute)": [[19, "entities.asset.Asset.right", false], [19, "id5", false]], "right_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.right_must_be_one_of", false], [19, "id6", false]], "run_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all", false]], "run_all_async() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all_async", false]], "run_backtest() (in module lumibot.strategies.strategy.strategy)": [[1, "lumibot.strategies.strategy.Strategy.run_backtest", false]], "sell (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL", false]], "sell_all() (in module lumibot.strategies.strategy.strategy)": [[151, "lumibot.strategies.strategy.Strategy.sell_all", false], [162, "lumibot.strategies.strategy.Strategy.sell_all", false]], "sell_short (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_SHORT", false]], "sell_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_CLOSE", false]], "sell_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_OPEN", false]], "set_canceled() (entities.order.order method)": [[22, "entities.order.Order.set_canceled", false]], "set_date_format() (entities.data.data method)": [[21, "entities.data.Data.set_date_format", false], [21, "id6", false]], "set_dates() (entities.data.data method)": [[21, "entities.data.Data.set_dates", false], [21, "id7", false]], "set_error() (entities.order.order method)": [[22, "entities.order.Order.set_error", false]], "set_filled() (entities.order.order method)": [[22, "entities.order.Order.set_filled", false]], "set_identifier() (entities.order.order method)": [[22, "entities.order.Order.set_identifier", false]], "set_market() (in module lumibot.strategies.strategy.strategy)": [[106, "lumibot.strategies.strategy.Strategy.set_market", false], [117, "lumibot.strategies.strategy.Strategy.set_market", false]], "set_new() (entities.order.order method)": [[22, "entities.order.Order.set_new", false]], "set_parameters() (in module lumibot.strategies.strategy.strategy)": [[54, "lumibot.strategies.strategy.Strategy.set_parameters", false], [60, "lumibot.strategies.strategy.Strategy.set_parameters", false]], "set_partially_filled() (entities.order.order method)": [[22, "entities.order.Order.set_partially_filled", false]], "set_times() (entities.data.data method)": [[21, "entities.data.Data.set_times", false], [21, "id8", false]], "should_continue() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.should_continue", false]], "sleep() (in module lumibot.strategies.strategy.strategy)": [[107, "lumibot.strategies.strategy.Strategy.sleep", false], [118, "lumibot.strategies.strategy.Strategy.sleep", false]], "sleeptime (lumibot.strategies.strategy.strategy property)": [[178, "lumibot.strategies.strategy.Strategy.sleeptime", false], [193, "lumibot.strategies.strategy.Strategy.sleeptime", false]], "source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.SOURCE", false]], "source (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.SOURCE", false]], "source (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.SOURCE", false]], "split() (entities.bars.bars method)": [[20, "entities.bars.Bars.split", false]], "start_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[81, "lumibot.strategies.strategy.Strategy.start_realtime_bars", false]], "status (entities.order.order property)": [[22, "entities.order.Order.status", false]], "stock (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.STOCK", false]], "stop (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP", false]], "stop_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.stop_all", false]], "stop_limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP_LIMIT", false]], "stop_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.stop_order", false]], "strategy (entities.position.position attribute)": [[23, "entities.position.Position.strategy", false]], "strike (entities.asset.asset attribute)": [[19, "entities.asset.Asset.strike", false], [19, "id7", false]], "submit_order() (in module lumibot.strategies.strategy.strategy)": [[152, "lumibot.strategies.strategy.Strategy.submit_order", false], [163, "lumibot.strategies.strategy.Strategy.submit_order", false]], "submit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_order", false]], "submit_orders() (in module lumibot.strategies.strategy.strategy)": [[153, "lumibot.strategies.strategy.Strategy.submit_orders", false], [164, "lumibot.strategies.strategy.Strategy.submit_orders", false]], "submit_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_orders", false]], "submitted (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.SUBMITTED", false]], "sybmol (entities.data.data attribute)": [[21, "entities.data.Data.sybmol", false]], "symbol (entities.asset.asset attribute)": [[19, "entities.asset.Asset.symbol", false], [19, "id8", false]], "symbol (entities.position.position attribute)": [[23, "entities.position.Position.symbol", false]], "symbol2asset() (entities.asset.asset class method)": [[19, "entities.asset.Asset.symbol2asset", false]], "timestep (entities.data.data attribute)": [[21, "entities.data.Data.timestep", false]], "timestep_mapping (entities.data.data attribute)": [[21, "entities.data.Data.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.TIMESTEP_MAPPING", false]], "timezone (lumibot.strategies.strategy.strategy property)": [[179, "lumibot.strategies.strategy.Strategy.timezone", false], [194, "lumibot.strategies.strategy.Strategy.timezone", false]], "to_datalines() (entities.data.data method)": [[21, "entities.data.Data.to_datalines", false], [21, "id9", false]], "to_default_timezone() (in module lumibot.strategies.strategy.strategy)": [[91, "lumibot.strategies.strategy.Strategy.to_default_timezone", false], [100, "lumibot.strategies.strategy.Strategy.to_default_timezone", false]], "to_default_timezone() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.to_default_timezone", false]], "to_dict() (entities.asset.asset method)": [[19, "entities.asset.Asset.to_dict", false]], "to_dict() (entities.order.order method)": [[22, "entities.order.Order.to_dict", false]], "to_dict() (entities.position.position method)": [[23, "entities.position.Position.to_dict", false]], "to_position() (entities.order.order method)": [[22, "entities.order.Order.to_position", false]], "to_request_fields() (lumibot.brokers.alpaca.orderdata method)": [[12, "lumibot.brokers.alpaca.OrderData.to_request_fields", false]], "trace_stats() (in module lumibot.strategies.strategy.strategy)": [[42, "lumibot.strategies.strategy.Strategy.trace_stats", false]], "trader (class in lumibot.traders.trader)": [[46, "lumibot.traders.trader.Trader", false]], "trading_hours_end (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_end", false]], "trading_hours_start (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_start", false]], "tradingfee (class in entities.trading_fee)": [[24, "entities.trading_fee.TradingFee", false]], "trail (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.TRAIL", false]], "trim_data() (entities.data.data method)": [[21, "entities.data.Data.trim_data", false], [21, "id10", false]], "underlying_asset (entities.asset.asset attribute)": [[19, "entities.asset.Asset.underlying_asset", false]], "unprocessed (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.UNPROCESSED", false]], "unspent_money (lumibot.strategies.strategy.strategy property)": [[180, "lumibot.strategies.strategy.Strategy.unspent_money", false], [195, "lumibot.strategies.strategy.Strategy.unspent_money", false]], "update_date_index() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.update_date_index", false]], "update_parameters() (in module lumibot.strategies.strategy.strategy)": [[108, "lumibot.strategies.strategy.Strategy.update_parameters", false], [119, "lumibot.strategies.strategy.Strategy.update_parameters", false]], "update_raw() (entities.order.order method)": [[22, "entities.order.Order.update_raw", false]], "update_trail_stop_price() (entities.order.order method)": [[22, "entities.order.Order.update_trail_stop_price", false]], "value_type() (entities.position.position method)": [[23, "entities.position.Position.value_type", false]], "wait_for_order_execution() (in module lumibot.strategies.strategy.strategy)": [[109, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false], [120, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false]], "wait_for_order_registration() (in module lumibot.strategies.strategy.strategy)": [[110, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false], [121, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false]], "wait_for_orders_execution() (in module lumibot.strategies.strategy.strategy)": [[111, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false], [122, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false]], "wait_for_orders_registration() (in module lumibot.strategies.strategy.strategy)": [[112, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false], [123, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false]], "wait_to_be_closed() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_closed", false]], "wait_to_be_registered() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_registered", false]], "was_transmitted() (entities.order.order method)": [[22, "entities.order.Order.was_transmitted", false]], "yahoodata (class in lumibot.data_sources.yahoo_data)": [[44, "lumibot.data_sources.yahoo_data.YahooData", false]]}, "objects": {"entities": [[19, 0, 0, "-", "asset"], [20, 0, 0, "-", "bars"], [21, 0, 0, "-", "data"], [22, 0, 0, "-", "order"], [23, 0, 0, "-", "position"], [24, 0, 0, "-", "trading_fee"]], "entities.asset": [[19, 1, 1, "", "Asset"], [19, 1, 1, "", "AssetsMapping"]], "entities.asset.Asset": [[19, 1, 1, "", "AssetType"], [19, 1, 1, "", "OptionRight"], [19, 2, 1, "", "_asset_types"], [19, 2, 1, "", "_right"], [19, 2, 1, "id0", "asset_type"], [19, 3, 1, "id1", "asset_type_must_be_one_of"], [19, 2, 1, "id2", "expiration"], [19, 3, 1, "", "from_dict"], [19, 3, 1, "", "is_valid"], [19, 2, 1, "id3", "multiplier"], [19, 2, 1, "id4", "precision"], [19, 2, 1, "id5", "right"], [19, 3, 1, "id6", "right_must_be_one_of"], [19, 2, 1, "id7", "strike"], [19, 2, 1, "id8", "symbol"], [19, 3, 1, "", "symbol2asset"], [19, 3, 1, "", "to_dict"], [19, 2, 1, "", "underlying_asset"]], "entities.asset.Asset.AssetType": [[19, 2, 1, "", "CRYPTO"], [19, 2, 1, "", "FOREX"], [19, 2, 1, "", "FUTURE"], [19, 2, 1, "", "INDEX"], [19, 2, 1, "", "OPTION"], [19, 2, 1, "", "STOCK"]], "entities.asset.Asset.OptionRight": [[19, 2, 1, "", "CALL"], [19, 2, 1, "", "PUT"]], "entities.bars": [[20, 1, 1, "", "Bars"], [20, 4, 1, "", "NoBarDataFound"]], "entities.bars.Bars": [[20, 3, 1, "id0", "aggregate_bars"], [20, 3, 1, "", "filter"], [20, 3, 1, "id1", "get_last_dividend"], [20, 3, 1, "id2", "get_last_price"], [20, 3, 1, "id3", "get_momentum"], [20, 3, 1, "", "get_total_dividends"], [20, 3, 1, "", "get_total_return"], [20, 3, 1, "", "get_total_return_pct"], [20, 3, 1, "", "get_total_return_pct_change"], [20, 3, 1, "", "get_total_stock_splits"], [20, 3, 1, "id4", "get_total_volume"], [20, 3, 1, "", "parse_bar_list"], [20, 3, 1, "", "split"]], "entities.data": [[21, 1, 1, "", "Data"]], "entities.data.Data": [[21, 2, 1, "", "MIN_TIMESTEP"], [21, 2, 1, "", "TIMESTEP_MAPPING"], [21, 3, 1, "", "_get_bars_dict"], [21, 2, 1, "", "asset"], [21, 3, 1, "id0", "check_data"], [21, 3, 1, "id1", "columns"], [21, 2, 1, "", "datalines"], [21, 2, 1, "", "date_end"], [21, 2, 1, "", "date_start"], [21, 2, 1, "", "df"], [21, 3, 1, "id2", "get_bars"], [21, 3, 1, "", "get_bars_between_dates"], [21, 3, 1, "id3", "get_iter_count"], [21, 3, 1, "id4", "get_last_price"], [21, 3, 1, "", "get_quote"], [21, 2, 1, "", "iter_index"], [21, 3, 1, "id5", "repair_times_and_fill"], [21, 3, 1, "id6", "set_date_format"], [21, 3, 1, "id7", "set_dates"], [21, 3, 1, "id8", "set_times"], [21, 2, 1, "", "sybmol"], [21, 2, 1, "", "timestep"], [21, 3, 1, "id9", "to_datalines"], [21, 2, 1, "", "trading_hours_end"], [21, 2, 1, "", "trading_hours_start"], [21, 3, 1, "id10", "trim_data"]], "entities.order": [[22, 1, 1, "", "Order"]], "entities.order.Order": [[22, 1, 1, "", "OrderClass"], [22, 1, 1, "", "OrderSide"], [22, 1, 1, "", "OrderStatus"], [22, 1, 1, "", "OrderType"], [22, 1, 1, "", "Transaction"], [22, 3, 1, "", "add_child_order"], [22, 3, 1, "", "add_transaction"], [22, 5, 1, "", "avg_fill_price"], [22, 3, 1, "", "cash_pending"], [22, 3, 1, "", "equivalent_status"], [22, 3, 1, "", "from_dict"], [22, 3, 1, "", "get_fill_price"], [22, 3, 1, "", "get_increment"], [22, 3, 1, "", "is_active"], [22, 3, 1, "", "is_buy_order"], [22, 3, 1, "", "is_canceled"], [22, 3, 1, "", "is_filled"], [22, 3, 1, "", "is_option"], [22, 3, 1, "", "is_parent"], [22, 3, 1, "", "is_sell_order"], [22, 5, 1, "", "quantity"], [22, 3, 1, "", "set_canceled"], [22, 3, 1, "", "set_error"], [22, 3, 1, "", "set_filled"], [22, 3, 1, "", "set_identifier"], [22, 3, 1, "", "set_new"], [22, 3, 1, "", "set_partially_filled"], [22, 5, 1, "", "status"], [22, 3, 1, "", "to_dict"], [22, 3, 1, "", "to_position"], [22, 3, 1, "", "update_raw"], [22, 3, 1, "", "update_trail_stop_price"], [22, 3, 1, "", "wait_to_be_closed"], [22, 3, 1, "", "wait_to_be_registered"], [22, 3, 1, "", "was_transmitted"]], "entities.order.Order.OrderClass": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "MULTILEG"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"]], "entities.order.Order.OrderSide": [[22, 2, 1, "", "BUY"], [22, 2, 1, "", "BUY_TO_CLOSE"], [22, 2, 1, "", "BUY_TO_COVER"], [22, 2, 1, "", "BUY_TO_OPEN"], [22, 2, 1, "", "SELL"], [22, 2, 1, "", "SELL_SHORT"], [22, 2, 1, "", "SELL_TO_CLOSE"], [22, 2, 1, "", "SELL_TO_OPEN"]], "entities.order.Order.OrderStatus": [[22, 2, 1, "", "CANCELED"], [22, 2, 1, "", "CANCELLING"], [22, 2, 1, "", "CASH_SETTLED"], [22, 2, 1, "", "ERROR"], [22, 2, 1, "", "EXPIRED"], [22, 2, 1, "", "FILLED"], [22, 2, 1, "", "NEW"], [22, 2, 1, "", "OPEN"], [22, 2, 1, "", "PARTIALLY_FILLED"], [22, 2, 1, "", "SUBMITTED"], [22, 2, 1, "", "UNPROCESSED"]], "entities.order.Order.OrderType": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "LIMIT"], [22, 2, 1, "", "MARKET"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"], [22, 2, 1, "", "STOP"], [22, 2, 1, "", "STOP_LIMIT"], [22, 2, 1, "", "TRAIL"]], "entities.order.Order.Transaction": [[22, 2, 1, "", "price"], [22, 2, 1, "", "quantity"]], "entities.position": [[23, 1, 1, "", "Position"]], "entities.position.Position": [[23, 3, 1, "", "add_order"], [23, 2, 1, "", "asset"], [23, 5, 1, "id0", "available"], [23, 2, 1, "", "avg_fill_price"], [23, 3, 1, "", "from_dict"], [23, 3, 1, "", "get_selling_order"], [23, 5, 1, "id1", "hold"], [23, 2, 1, "", "orders"], [23, 5, 1, "id2", "quantity"], [23, 2, 1, "", "strategy"], [23, 2, 1, "", "symbol"], [23, 3, 1, "", "to_dict"], [23, 3, 1, "", "value_type"]], "entities.trading_fee": [[24, 1, 1, "", "TradingFee"]], "lumibot": [[44, 0, 0, "-", "data_sources"]], "lumibot.backtesting": [[43, 0, 0, "-", "backtesting_broker"]], "lumibot.backtesting.backtesting_broker": [[43, 1, 1, "", "BacktestingBroker"]], "lumibot.backtesting.backtesting_broker.BacktestingBroker": [[43, 2, 1, "", "IS_BACKTESTING_BROKER"], [43, 3, 1, "", "calculate_trade_cost"], [43, 3, 1, "", "cancel_order"], [43, 3, 1, "", "cash_settle_options_contract"], [43, 5, 1, "", "datetime"], [43, 3, 1, "", "get_historical_account_value"], [43, 3, 1, "", "get_last_bar"], [43, 3, 1, "", "get_time_to_close"], [43, 3, 1, "", "get_time_to_open"], [43, 3, 1, "", "is_market_open"], [43, 3, 1, "", "limit_order"], [43, 3, 1, "", "process_expired_option_contracts"], [43, 3, 1, "", "process_pending_orders"], [43, 3, 1, "", "should_continue"], [43, 3, 1, "", "stop_order"], [43, 3, 1, "", "submit_order"], [43, 3, 1, "", "submit_orders"]], "lumibot.brokers": [[12, 0, 0, "-", "alpaca"]], "lumibot.brokers.alpaca": [[12, 1, 1, "", "Alpaca"], [12, 1, 1, "", "OrderData"]], "lumibot.brokers.alpaca.Alpaca": [[12, 2, 1, "", "ASSET_TYPE_MAP"], [12, 2, 1, "", "api"], [12, 3, 1, "", "cancel_order"], [12, 3, 1, "", "get_historical_account_value"], [12, 3, 1, "id0", "get_time_to_close"], [12, 3, 1, "id1", "get_time_to_open"], [12, 3, 1, "id2", "get_timestamp"], [12, 3, 1, "id3", "is_market_open"], [12, 3, 1, "", "map_asset_type"]], "lumibot.brokers.alpaca.OrderData": [[12, 3, 1, "", "to_request_fields"]], "lumibot.data_sources": [[44, 0, 0, "-", "data_source"], [43, 0, 0, "-", "data_source_backtesting"], [44, 0, 0, "-", "pandas_data"], [44, 0, 0, "-", "yahoo_data"]], "lumibot.data_sources.data_source": [[44, 1, 1, "", "DataSource"]], "lumibot.data_sources.data_source.DataSource": [[44, 2, 1, "", "DEFAULT_PYTZ"], [44, 2, 1, "", "DEFAULT_TIMEZONE"], [44, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "calculate_greeks"], [44, 3, 1, "", "convert_timestep_str_to_timedelta"], [44, 3, 1, "", "get_bars"], [44, 3, 1, "", "get_chain_full_info"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_datetime"], [44, 3, 1, "", "get_datetime_range"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_day"], [44, 3, 1, "", "get_last_minute"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_round_day"], [44, 3, 1, "", "get_round_minute"], [44, 3, 1, "", "get_strikes"], [44, 3, 1, "", "get_timestamp"], [44, 3, 1, "", "get_timestep"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "localize_datetime"], [44, 3, 1, "", "query_greeks"], [44, 3, 1, "", "to_default_timezone"]], "lumibot.data_sources.data_source_backtesting": [[43, 1, 1, "", "DataSourceBacktesting"]], "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting": [[43, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [43, 3, 1, "", "get_datetime"], [43, 3, 1, "", "get_datetime_range"]], "lumibot.data_sources.pandas_data": [[44, 1, 1, "", "PandasData"]], "lumibot.data_sources.pandas_data.PandasData": [[44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "clean_trading_times"], [44, 3, 1, "", "find_asset_in_data_store"], [44, 3, 1, "", "get_asset_by_name"], [44, 3, 1, "", "get_asset_by_symbol"], [44, 3, 1, "", "get_assets"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_start_datetime_and_ts_unit"], [44, 3, 1, "", "get_trading_days_pandas"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "load_data"], [44, 3, 1, "", "update_date_index"]], "lumibot.data_sources.yahoo_data": [[44, 1, 1, "", "YahooData"]], "lumibot.data_sources.yahoo_data.YahooData": [[44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_strikes"]], "lumibot.strategies.strategy": [[45, 0, 0, "-", "Strategy"]], "lumibot.strategies.strategy.Strategy": [[66, 6, 1, "", "add_line"], [67, 6, 1, "", "add_marker"], [28, 6, 1, "", "after_market_closes"], [113, 6, 1, "", "await_market_to_close"], [114, 6, 1, "", "await_market_to_open"], [29, 6, 1, "", "before_market_closes"], [30, 6, 1, "", "before_market_opens"], [31, 6, 1, "", "before_starting_trading"], [154, 6, 1, "", "cancel_open_orders"], [155, 6, 1, "", "cancel_order"], [156, 6, 1, "", "cancel_orders"], [71, 6, 1, "", "cancel_realtime_bars"], [182, 5, 1, "", "cash"], [157, 6, 1, "", "create_order"], [183, 5, 1, "", "first_iteration"], [158, 6, 1, "", "get_asset_potential_total"], [55, 6, 1, "", "get_cash"], [133, 6, 1, "", "get_chain"], [134, 6, 1, "", "get_chains"], [92, 6, 1, "", "get_datetime"], [93, 6, 1, "", "get_datetime_range"], [135, 6, 1, "", "get_expiration"], [136, 6, 1, "", "get_greeks"], [72, 6, 1, "", "get_historical_prices"], [73, 6, 1, "", "get_historical_prices_for_assets"], [94, 6, 1, "", "get_last_day"], [95, 6, 1, "", "get_last_minute"], [74, 6, 1, "", "get_last_price"], [75, 6, 1, "", "get_last_prices"], [68, 6, 1, "", "get_lines_df"], [69, 6, 1, "", "get_markers_df"], [137, 6, 1, "", "get_multiplier"], [138, 6, 1, "", "get_next_trading_day"], [139, 6, 1, "", "get_option_expiration_after_date"], [159, 6, 1, "", "get_order"], [160, 6, 1, "", "get_orders"], [115, 6, 1, "", "get_parameters"], [57, 6, 1, "", "get_portfolio_value"], [58, 6, 1, "", "get_position"], [59, 6, 1, "", "get_positions"], [77, 6, 1, "", "get_quote"], [78, 6, 1, "", "get_realtime_bars"], [96, 6, 1, "", "get_round_day"], [97, 6, 1, "", "get_round_minute"], [161, 6, 1, "", "get_selling_order"], [140, 6, 1, "", "get_strikes"], [98, 6, 1, "", "get_timestamp"], [79, 6, 1, "", "get_yesterday_dividend"], [80, 6, 1, "", "get_yesterday_dividends"], [184, 5, 1, "", "initial_budget"], [32, 6, 1, "", "initialize"], [185, 5, 1, "", "is_backtesting"], [186, 5, 1, "", "last_on_trading_iteration_datetime"], [99, 6, 1, "", "localize_datetime"], [116, 6, 1, "", "log_message"], [187, 5, 1, "", "minutes_before_closing"], [188, 5, 1, "", "minutes_before_opening"], [189, 5, 1, "", "name"], [33, 6, 1, "", "on_abrupt_closing"], [34, 6, 1, "", "on_bot_crash"], [35, 6, 1, "", "on_canceled_order"], [36, 6, 1, "", "on_filled_order"], [37, 6, 1, "", "on_new_order"], [38, 6, 1, "", "on_parameters_updated"], [39, 6, 1, "", "on_partially_filled_order"], [40, 6, 1, "", "on_trading_iteration"], [141, 6, 1, "", "options_expiry_to_datetime_date"], [190, 5, 1, "", "portfolio_value"], [191, 5, 1, "", "pytz"], [192, 5, 1, "", "quote_asset"], [1, 6, 1, "", "run_backtest"], [162, 6, 1, "", "sell_all"], [117, 6, 1, "", "set_market"], [60, 6, 1, "", "set_parameters"], [118, 6, 1, "", "sleep"], [193, 5, 1, "", "sleeptime"], [81, 6, 1, "", "start_realtime_bars"], [163, 6, 1, "", "submit_order"], [164, 6, 1, "", "submit_orders"], [194, 5, 1, "", "timezone"], [100, 6, 1, "", "to_default_timezone"], [42, 6, 1, "", "trace_stats"], [195, 5, 1, "", "unspent_money"], [119, 6, 1, "", "update_parameters"], [120, 6, 1, "", "wait_for_order_execution"], [121, 6, 1, "", "wait_for_order_registration"], [122, 6, 1, "", "wait_for_orders_execution"], [123, 6, 1, "", "wait_for_orders_registration"]], "lumibot.traders": [[46, 0, 0, "-", "trader"]], "lumibot.traders.trader": [[46, 1, 1, "", "Trader"]], "lumibot.traders.trader.Trader": [[46, 3, 1, "", "add_strategy"], [46, 5, 1, "", "is_backtest_broker"], [46, 3, 1, "", "run_all"], [46, 3, 1, "", "run_all_async"], [46, 3, 1, "", "stop_all"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "attribute", "Python attribute"], "3": ["py", "method", "Python method"], "4": ["py", "exception", "Python exception"], "5": ["py", "property", "Python property"], "6": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:attribute", "3": "py:method", "4": "py:exception", "5": "py:property", "6": "py:function"}, "terms": {"": [2, 3, 6, 7, 8, 13, 14, 16, 17, 18, 21, 25, 26, 38, 41, 46, 52, 58, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 94, 95, 96, 97, 98, 99, 100, 128, 136, 147, 158, 165, 178, 193, 196], "0": [13, 15, 17, 19, 21, 22, 23, 24, 25, 32, 42, 43, 44, 87, 88, 96, 97, 146, 152, 153, 157, 163, 164, 173, 188, 196], "00": [5, 44, 110, 121, 146, 152, 153, 157, 163, 164, 196], "000": [13, 25, 26], "0000": 5, "0001": 21, "000234": 12, "01": [5, 6, 8, 20, 25, 146, 147, 152, 157, 158, 163], "02": [5, 20], "04": [5, 44], "05": [6, 8, 146, 157, 196], "07": [44, 125, 126, 133, 134], "0830": 12, "09": 5, "0930": 12, "1": [1, 2, 5, 6, 7, 8, 10, 12, 13, 15, 16, 17, 19, 20, 21, 22, 31, 44, 72, 73, 84, 90, 91, 93, 99, 100, 128, 136, 139, 146, 152, 153, 157, 163, 164, 178, 193, 196], "10": [2, 6, 8, 13, 17, 19, 20, 32, 40, 44, 63, 67, 82, 127, 135, 152, 153, 163, 164, 165, 172, 173, 178, 187, 188, 193, 196], "100": [1, 5, 12, 13, 16, 19, 20, 25, 26, 32, 42, 44, 72, 73, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 128, 133, 134, 136, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164], "10000": [13, 25], "100000": 5, "102": 196, "10439": 5, "10m": [32, 178, 193], "11": [10, 17, 19, 26], "12": [10, 17, 19, 25, 26, 74], "123456": 17, "123456789": 17, "127": [15, 17], "13": [17, 127, 135], "14": [17, 196], "1400": 12, "15": [5, 17, 20, 32, 44, 72, 73], "155": 19, "15m": 44, "15min": 20, "16": [17, 74], "1600": 12, "1612172730": 12, "16808": 5, "17": [17, 19, 32], "18": 19, "180": 25, "180m": 25, "19": 44, "1990": 82, "1991": 82, "1d": [2, 6, 8, 20, 21, 40, 44], "1dai": 44, "1h": [20, 40], "1hour": 44, "1m": [5, 21, 44], "1minut": 44, "1month": [72, 73], "2": [2, 6, 17, 22, 30, 32, 62, 66, 72, 73, 111, 112, 122, 123, 153, 164, 178, 193], "20": [12, 13, 22, 32, 43, 165], "200": [1, 12, 36, 44, 73, 111, 112, 122, 123, 153, 164], "2018": [1, 20], "2019": [146, 157], "2020": [5, 10, 25, 26, 72, 90, 91, 99, 100, 147, 152, 158, 163], "20200101": [132, 141], "2021": [19, 32, 128, 136, 139], "2022": [74, 127, 135], "20221013": [129, 137], "2023": [2, 6, 8, 44, 125, 126, 133, 134, 196], "20h": 32, "213": [146, 157], "22": 5, "23": 21, "2359": [5, 21], "24": [13, 17, 32, 106, 117], "24h": 72, "25": [5, 17], "26": 19, "2793": 5, "2794": 5, "2796": 5, "2800": 5, "2d": [32, 178, 193], "2fa": 14, "2h": [178, 193], "3": [2, 12, 17, 146, 157], "30": [13, 40, 72, 73, 81, 196], "300": [36, 178, 193], "30am": 13, "31": [1, 5, 10, 25, 26, 44, 125, 126, 133, 134], "32": 5, "3233": 5, "3234": 5, "3235": 5, "3237": 5, "33": 5, "3306": [], "4": [2, 17, 26, 147, 158], "400": 22, "405": 22, "41000": [146, 157], "41250": [152, 163], "41300": [152, 163], "41325": [152, 163], "41d4": [], "420": 22, "446655440000": [], "48": 32, "5": [1, 2, 5, 6, 8, 17, 26, 32, 44, 72, 73, 106, 107, 117, 118, 146, 157, 165, 172, 178, 187, 193, 196], "50": [5, 22, 32, 146, 157, 178, 193], "500": [22, 36], "512000000": 17, "5432": 196, "55": 13, "550e8400": 196, "56": 5, "57": 5, "58": 5, "59": 21, "5d": 5, "5m": [32, 178, 193], "6": [17, 19, 26], "60": [1, 20, 173, 188], "600": 12, "7": [12, 13, 17, 26, 32, 106, 117], "7440": 5, "7496": 15, "7497": [15, 17], "75": 5, "7569": 5, "8": [17, 26], "80": [62, 66], "8000": [14, 17], "8203": 5, "8272": 5, "9": [13, 17, 32], "999": 15, "9wgjls3wixq54fcphwwzjcp8jcfjfkuwsryskkma": 17, "A": [1, 5, 7, 10, 12, 14, 22, 26, 44, 46, 52, 53, 58, 59, 77, 84, 93, 146, 153, 157, 164, 196], "And": [25, 72, 73], "As": [6, 8, 17], "At": [14, 25], "Be": 14, "By": [2, 17, 26, 34, 128, 136, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194], "For": [1, 2, 3, 5, 7, 10, 13, 14, 17, 19, 20, 22, 26, 28, 44, 49, 51, 55, 57, 109, 110, 111, 112, 120, 121, 122, 123, 146, 152, 153, 157, 163, 164, 165], "If": [1, 5, 6, 8, 12, 13, 14, 16, 17, 20, 21, 25, 26, 30, 32, 36, 40, 44, 72, 73, 74, 81, 102, 103, 105, 113, 114, 116, 131, 140, 143, 146, 151, 154, 157, 162], "In": [0, 6, 8, 13, 14, 17, 22, 43, 74, 75, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98], "It": [0, 4, 5, 6, 7, 8, 13, 15, 17, 19, 22, 23, 25, 26, 41, 43, 44, 74, 77, 146, 157], "NOT": 13, "Not": [43, 106, 117], "On": [14, 17], "One": [5, 17, 19, 22, 44, 146, 157], "Or": [25, 26, 165], "That": 16, "The": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 27, 28, 34, 35, 36, 37, 38, 39, 41, 43, 44, 45, 49, 50, 51, 54, 55, 56, 57, 60, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 104, 106, 108, 115, 117, 119, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 146, 147, 150, 151, 153, 157, 158, 161, 162, 164, 165, 167, 169, 171, 172, 173, 174, 175, 176, 177, 179, 181, 182, 184, 186, 187, 188, 189, 190, 191, 192, 194], "Their": 17, "Then": [5, 13, 16, 72], "There": [10, 11, 146, 157], "These": [0, 1, 2, 3, 4, 7, 10, 32, 45, 54, 60, 82], "To": [0, 6, 8, 10, 13, 14, 16, 17, 22, 25, 26, 72], "Will": [20, 25, 62, 63, 66, 67, 74, 75, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 151, 162, 176, 179, 181, 191, 194], "With": [2, 6, 8, 26], "_": [], "__getattr__": [], "__init__": [], "__main__": [2, 6, 8, 13], "__name__": [2, 6, 8, 13], "__setattr__": [], "_asset_typ": 19, "_get_bars_dict": 21, "_right": 19, "_vars_dict": [], "a716": [], "a7py0zidhxde6qkx8ojjknp7cd87hwku": 17, "aapl": [1, 2, 5, 6, 8, 10, 12, 16, 19, 20, 23, 26, 32, 35, 36, 37, 39, 72, 73, 145, 156], "aapl_pric": [10, 26], "abc": [43, 44], "abcdef1234567890abcdef1234567890abcdef1234": 17, "abl": 16, "about": [2, 9, 11, 26, 166], "abov": [2, 15, 19, 20, 32], "abrupt": 33, "abstract": [27, 41, 43, 44, 45], "accept": [5, 19], "access": [7, 14, 16, 17, 20, 25, 26, 165, 196], "access_token": 16, "accompani": 7, "accord": [82, 83, 89, 92, 98], "account": [2, 6, 8, 11, 12, 13, 15, 16, 17, 26, 43, 47, 49, 51, 53, 55, 57, 59, 61, 150, 161, 167, 182], "account_histori": 17, "account_id": [14, 17], "account_numb": 16, "accur": [20, 44], "achiev": [7, 22, 25, 26], "across": [2, 17], "act": 14, "action": [4, 17], "activ": [14, 17, 22, 26, 74, 75, 78, 152, 153, 163, 164], "activex": 15, "actual": [2, 13, 22, 41, 43, 175, 190], "ad": [5, 11, 13, 17, 19, 26, 72, 73], "add": [3, 5, 13, 14, 17, 19, 22, 25, 32, 43, 46, 62, 63, 66, 67], "add_chart_lin": [62, 66], "add_chart_mark": [63, 67], "add_child_ord": 22, "add_lin": [3, 26, 47], "add_mark": [3, 26, 47], "add_ord": 23, "add_strategi": [5, 12, 13, 14, 15, 16, 25, 26, 46], "add_transact": 22, "addit": [2, 14, 17, 19, 22, 146, 157], "addition": [5, 10, 20], "address": 17, "adjust": [1, 7, 14, 20, 21, 44], "adjust_for_delai": [43, 44, 83, 92], "advanc": [0, 2, 5, 25, 26, 146, 157], "advantag": [], "afa": 17, "affili": 6, "afford": 17, "after": [5, 6, 8, 13, 14, 17, 21, 26, 28, 30, 31, 40, 42, 44, 63, 67, 72, 76, 130, 138, 139, 196], "after_market_clos": [26, 27], "again": [40, 103, 114], "against": 26, "aggregate_bar": 20, "ago": [44, 72], "agre": 14, "aka": 5, "algorithm": [15, 17, 25], "alia": 22, "align": 17, "all": [1, 4, 5, 13, 17, 20, 21, 22, 25, 30, 33, 34, 43, 44, 45, 46, 51, 53, 57, 59, 72, 73, 125, 127, 128, 129, 131, 133, 135, 136, 137, 140, 143, 145, 146, 149, 150, 151, 154, 156, 157, 160, 161, 162, 165, 196], "all_vari": 196, "alloc": 10, "allow": [0, 2, 4, 5, 6, 8, 14, 17, 20, 22, 25, 26, 81, 146, 157, 165], "along": 9, "alpaca": [11, 20, 26, 72, 73], "alpaca_api_kei": 17, "alpaca_api_secret": 17, "alpaca_config": [12, 25, 26], "alpaca_is_pap": 17, "alpacastrategi": 12, "alreadi": [22, 30, 36, 41], "also": [5, 10, 15, 17, 22, 25, 26, 32, 43, 72, 146, 151, 157, 162, 166], "altern": 8, "alwai": [13, 30, 43, 106, 117, 167, 182], "america": [5, 20, 44, 176, 179, 181, 191, 194], "amount": [9, 13, 20, 22, 28, 44, 49, 51, 55, 57, 79, 80, 146, 157], "an": [0, 1, 2, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 19, 22, 23, 26, 34, 35, 36, 39, 40, 41, 43, 44, 52, 58, 72, 74, 75, 81, 102, 103, 105, 113, 114, 116, 126, 127, 131, 132, 134, 135, 140, 141, 144, 146, 147, 148, 152, 155, 157, 158, 159, 163, 165, 178, 193, 196], "analy": 26, "analysi": [2, 4, 13, 46], "analyt": 26, "analyz": 26, "ani": [0, 1, 2, 5, 6, 7, 8, 10, 13, 14, 15, 17, 21, 22, 25, 41, 43, 62, 66, 72, 73, 105, 116, 145, 156, 165], "annual": [7, 25, 26], "anoth": [], "another_var": [], "anyth": 10, "anytim": 19, "anywai": [], "api": [1, 2, 6, 8, 10, 12, 13, 14, 15, 16, 17, 20, 26, 44, 128, 136], "api_kei": [1, 12, 25, 26, 43, 44], "api_secret": [12, 25, 26], "apikei": 13, "appl": 23, "appli": [1, 17, 44], "applic": [17, 106, 117], "appropri": [14, 20], "ar": [0, 1, 2, 3, 5, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 38, 41, 44, 45, 47, 48, 53, 59, 61, 62, 63, 66, 67, 70, 73, 78, 81, 82, 101, 106, 117, 124, 125, 126, 128, 133, 134, 136, 142, 143, 146, 147, 149, 151, 153, 154, 157, 158, 160, 162, 164, 165, 167, 182, 196], "arg": [1, 21, 44], "argument": [8, 128, 136], "around": [14, 17, 18], "arrai": [17, 21], "arriv": 81, "arrow": [63, 67], "articl": [], "aset": [146, 152, 153, 157, 163, 164], "asex": [32, 106, 117], "ask": [14, 44, 77], "aspect": 2, "asset": [1, 2, 5, 9, 12, 13, 17, 18, 20, 21, 22, 23, 26, 33, 34, 35, 36, 37, 39, 40, 43, 44, 49, 51, 52, 53, 55, 57, 58, 59, 62, 66, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 147, 152, 153, 157, 158, 163, 164, 167, 177, 182, 192], "asset_bar": 30, "asset_bas": [72, 73, 152, 163], "asset_btc": [153, 164], "asset_eth": [153, 164], "asset_pric": [44, 128, 136], "asset_quot": [72, 73, 152, 153, 163, 164], "asset_symbol": 32, "asset_to_get": 13, "asset_typ": [1, 5, 13, 19, 20, 44, 72, 73, 74, 146, 147, 152, 153, 157, 158, 163, 164], "asset_type_map": 12, "asset_type_must_be_one_of": 19, "assetsmap": 19, "assettyp": [5, 13, 19, 146, 152, 153, 157, 163, 164], "assign": 196, "assist": 17, "associ": 14, "assset": [52, 58], "asterisk": [63, 67], "asx": [32, 106, 117], "async": 46, "async_": 46, "asynchron": 46, "attach": 21, "attain": [7, 146, 157], "attempt": [175, 190], "attribut": [19, 196], "attributeerror": [], "authent": [11, 26], "author": 14, "auto_adjust": [1, 44], "autom": [11, 17, 26], "automat": [1, 6, 8, 22, 146, 147, 157, 158, 196], "avail": [2, 9, 10, 17, 20, 21, 23, 26, 47, 72, 73, 106, 117, 128, 136, 153, 164, 167, 182], "averag": [2, 7, 22, 23], "avg_fill_pric": [22, 23], "avoid": 14, "await": [103, 114, 143, 154], "await_market_to_clos": [26, 47], "await_market_to_open": [26, 47], "awar": [5, 20], "back": [14, 196], "background": 17, "backtest": [4, 5, 7, 10, 17, 21, 22, 24, 32, 44, 46, 63, 67, 72, 73, 74, 75, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 170, 185], "backtesting_brok": 43, "backtesting_end": [1, 2, 5, 6, 8, 10, 25, 26, 32], "backtesting_start": [1, 2, 5, 6, 8, 10, 25, 26, 32, 43], "backtestingbrok": [5, 6, 8, 10, 43], "backtets": 77, "backup": 26, "backup_table_nam": 196, "backup_variables_to_db": [], "backward": [72, 73], "balanc": 22, "band": [7, 62, 66], "bar": [13, 18, 21, 26, 43, 44, 63, 67, 71, 72, 73, 74, 75, 78, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 128, 136], "bar_list": 20, "bars_agg": 20, "bars_list": 30, "base": [2, 7, 12, 13, 19, 20, 21, 22, 23, 24, 26, 40, 43, 44, 46, 72, 73, 74, 146, 157], "base_asset": [19, 152, 153, 163, 164], "bat": [32, 106, 117], "bband": 7, "becaus": [3, 5, 6, 8, 10, 17, 43], "becuas": 44, "been": [5, 10, 15, 22, 23, 35, 36, 37, 39, 43, 74, 78], "befor": [1, 2, 5, 7, 10, 13, 14, 15, 17, 20, 22, 25, 26, 29, 30, 31, 32, 40, 41, 42, 44, 72, 73, 102, 103, 113, 114, 151, 162, 172, 173, 187, 188, 196], "before_market_clos": [26, 27], "before_market_open": [26, 27, 173, 188], "before_starting_trad": [26, 27, 30], "begin": [2, 43], "beginn": 25, "behav": 17, "behavior": [0, 2], "behind": 19, "being": [26, 35, 36, 37, 38, 39, 44, 46, 72, 126, 134, 146, 157, 168, 183], "belong": 22, "below": [45, 47, 48, 61, 70, 74, 82, 101, 124, 142], "benchmark": [1, 2, 7], "benchmark_asset": [1, 2, 6, 8, 25], "benefit": 26, "best": [14, 17], "better": [7, 22, 146, 157], "between": [1, 2, 13, 20, 21, 26, 32, 72, 178, 193], "bid": [44, 77], "binanc": [13, 26], "bit": [6, 8], "bitcoin": 20, "black": [62, 63, 66, 67], "blacklist": 31, "blob": [15, 25, 26], "block": 14, "blue": [62, 63, 66, 67], "blueprint": 17, "bmf": [32, 106, 117], "boilerpl": [], "bolling": [7, 62, 66], "bool": [1, 22, 43, 44, 46, 72, 73, 74, 105, 116, 128, 136, 153, 164, 168, 170, 183, 185], "boolean": [12, 151, 153, 162, 164], "bot": [15, 17, 25, 32, 34, 45, 196], "both": [8, 22, 25, 30, 146, 157], "bottom": [14, 17], "bought": [36, 146, 157], "bowti": [63, 67], "box": 26, "bracket": [22, 146, 157], "broadcast": [105, 116], "broker": [1, 5, 12, 16, 19, 20, 22, 23, 24, 25, 26, 32, 35, 36, 37, 39, 44, 45, 72, 73, 74, 77, 81, 109, 110, 111, 112, 120, 121, 122, 123, 128, 136, 146, 152, 153, 157, 163, 164, 167, 182], "brokerag": [14, 17], "brown": [62, 63, 66, 67], "browser": [17, 25, 46], "bse": [32, 106, 117], "btc": [13, 19, 20, 72, 73, 74, 146, 152, 153, 157, 163, 164], "budget": [1, 5, 10, 17, 25, 32, 169, 184], "bug": 26, "bui": [1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 16, 19, 22, 25, 26, 36, 40, 45, 49, 55, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164, 167, 182], "build": [26, 27, 45], "built": [2, 5, 26], "bundl": 14, "busi": [29, 30], "butterfli": 17, "button": [14, 17], "buy_to_clos": 22, "buy_to_cov": 22, "buy_to_open": 22, "buy_trading_fe": [1, 25], "bvmf": [32, 106, 117], "byte": 17, "c": 14, "cach": [6, 8], "calcul": [13, 20, 22, 43, 44, 128, 136], "calculate_greek": 44, "calculate_trade_cost": 43, "calendar": [32, 76, 130, 138], "call": [1, 5, 6, 8, 19, 20, 22, 28, 32, 34, 35, 36, 38, 39, 40, 41, 42, 44, 72, 74, 75, 125, 126, 128, 133, 134, 136, 152, 163], "campu": [], "can": [2, 5, 6, 8, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 29, 32, 41, 44, 45, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 82, 101, 124, 128, 136, 142, 146, 157, 165, 166, 178, 193], "cancel": [12, 22, 30, 35, 43, 71, 109, 111, 120, 122, 142, 143, 144, 145, 146, 149, 151, 154, 155, 156, 157, 160, 162], "cancel_open_ord": [26, 30, 47, 151, 162], "cancel_ord": [12, 26, 43, 47, 149, 160], "cannot": 10, "capabl": [6, 8], "care": 41, "carri": 25, "case": [19, 21, 22], "cash": [9, 13, 22, 26, 28, 42, 43, 48, 49, 51, 55, 57, 61, 175, 177, 180, 190, 192, 195], "cash_pend": 22, "cash_settl": 22, "cash_settle_options_contract": 43, "categori": [45, 101], "caus": 14, "cboe": [125, 127, 129, 133, 135, 137], "cbot_agricultur": [32, 106, 117], "cbot_bond": [32, 106, 117], "cbot_equ": [32, 106, 117], "cbot_interestr": [32, 106, 117], "cbot_rat": [32, 106, 117], "ccxt": [11, 26], "central": [], "certain": [13, 63, 67], "cfd": 17, "cfe": [32, 106, 117], "chain": [22, 44, 124, 125, 126, 127, 129, 131, 133, 134, 135, 137, 140], "chain_data": 44, "challeng": 17, "chang": [5, 10, 12, 14, 16, 17, 20, 32], "chart": [26, 47, 62, 63, 64, 65, 66, 67, 68, 69], "check": [13, 17, 22, 26, 40, 43, 47, 72, 148, 149, 159, 160, 168, 170, 183, 185], "check_data": 21, "chf": [146, 157], "child": [22, 43], "child_ord": 22, "choic": [6, 8, 14, 17], "choos": [0, 15, 26], "chosen": [13, 16, 17], "chunk_siz": [12, 44, 73], "circl": [63, 67], "class": [1, 2, 5, 6, 8, 10, 12, 13, 16, 17, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 165, 196], "classmethod": [19, 20, 22, 23, 44], "clean_trading_tim": 44, "click": [14, 17], "client": [14, 15, 17], "client_id": 15, "close": [1, 5, 12, 13, 20, 21, 22, 28, 29, 32, 33, 40, 43, 51, 57, 72, 74, 75, 78, 81, 102, 103, 113, 114, 151, 162, 172, 187], "cme": [32, 74, 106, 117], "cme_agricultur": [32, 106, 117], "cme_bond": [32, 106, 117], "cme_equ": [32, 106, 117], "cme_interestr": [32, 106, 117], "cme_rat": [32, 106, 117], "code": [2, 5, 6, 7, 8, 13, 14, 17, 25, 26, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 62, 66, 102, 103, 113, 114, 165], "coin": [20, 146, 157], "coinbas": [13, 26], "coinbase_api_kei": 17, "coinbase_api_secret": 17, "coinbase_config": 13, "coinbase_is_sandbox": 17, "coinbasepro": 13, "coinbasepro_config": 13, "collect": [4, 5], "color": [13, 62, 63, 66, 67, 105, 116], "column": [5, 20, 21, 44, 78, 196], "com": [2, 7, 15, 16, 17, 25, 26], "combin": 22, "comex_agricultur": [32, 106, 117], "comfort": 25, "command": [2, 25, 26], "comment": 74, "commiss": 17, "commit": 17, "common": [13, 14], "commun": [25, 26], "compar": [1, 7, 14, 17], "comparison": 2, "compat": 17, "competit": 17, "complet": [13, 14, 15, 17, 22, 26, 74, 75], "complex": 25, "complic": 26, "compon": [27, 41, 196], "compound": [146, 157], "comprehens": [4, 25], "comput": [6, 8, 17, 25, 26], "conclus": [0, 26], "concurr": [], "condit": [2, 14, 22, 40], "condor": [7, 17], "confid": 2, "config": [1, 12, 13, 16, 17, 25, 43], "configur": [2, 11, 15, 26], "confirm": [14, 17], "conflict": [14, 196], "confus": 26, "connect": [12, 13, 14, 17, 105, 116], "connect_stream": [12, 43], "consequ": [], "consid": [5, 20, 177, 192], "consist": [], "consol": [17, 105, 116], "constantli": [13, 26], "construct": 22, "constructor": 32, "contain": [1, 3, 20, 21, 22, 40, 42, 44, 78, 152, 153, 163, 164], "context": 42, "continu": [22, 146, 157], "contract": [5, 19, 20, 22, 32, 43], "control": [178, 193], "conveni": 14, "convers": [19, 178, 193], "convert": [1, 19, 20, 22, 26, 43, 44, 132, 141, 146, 157], "convert_timestep_str_to_timedelta": 44, "copi": 25, "core": 41, "corner": [14, 17], "corpor": 19, "correct": [13, 14, 16], "correctli": 17, "correspond": [17, 35, 36, 37], "cost": [14, 17, 43], "could": [128, 136], "count": [21, 32, 78, 81, 196], "countri": 14, "coupon": [2, 6, 8], "cours": [25, 26], "cover": [17, 26], "crash": [34, 40, 196], "creat": [1, 2, 5, 6, 7, 8, 10, 13, 14, 16, 17, 19, 21, 22, 36, 44, 72, 125, 127, 129, 131, 133, 135, 137, 140, 142, 144, 145, 146, 155, 156, 157], "create_asset": [71, 72, 79], "create_ord": [1, 2, 5, 6, 8, 10, 12, 13, 19, 22, 25, 26, 40, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 152, 153, 155, 156, 163, 164], "creation": [], "credenti": [13, 14, 15], "credit": [6, 8, 153, 164], "critic": [], "cross": [63, 67], "crucial": [2, 17, 25], "cryoptocurr": 13, "crypto": [0, 1, 5, 7, 11, 17, 19, 20, 23, 26, 49, 51, 55, 57, 72, 74, 106, 117, 146, 152, 153, 157, 163, 164, 167, 175, 182, 190], "cryptocurr": [1, 2, 6, 8, 13, 17, 20, 72, 73, 74, 75, 146, 157], "csv": [0, 2, 3, 9, 21, 26, 44], "cta": 14, "cumul": 7, "currenc": [19, 72, 146, 157, 167, 175, 177, 182, 190, 192], "current": [12, 13, 14, 17, 21, 36, 37, 42, 43, 44, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 77, 78, 82, 83, 84, 85, 86, 87, 88, 89, 92, 93, 94, 95, 96, 97, 98, 128, 136, 143, 149, 153, 154, 160, 164, 167, 175, 178, 182, 190, 193, 196], "current_count": 196, "current_ema": 13, "current_macd": 13, "current_rsi": 13, "curv": 2, "custom": [2, 25, 32, 146, 157, 165], "custom_param": [22, 146, 157], "d": [32, 178, 193], "dai": [0, 1, 2, 5, 6, 8, 10, 17, 21, 22, 26, 30, 31, 32, 40, 44, 72, 73, 76, 79, 80, 84, 85, 86, 87, 93, 94, 95, 96, 130, 138, 146, 153, 157, 164, 178, 193], "daili": [0, 2, 5, 7, 10, 31, 72, 73], "darkblu": [62, 66], "darkgrai": [62, 66], "darkgreen": [62, 66], "darkr": [62, 66], "dash": [16, 62, 66], "dashboard": [6, 8, 25], "data": [0, 1, 3, 6, 8, 10, 11, 13, 18, 19, 20, 23, 26, 30, 31, 40, 45, 47, 62, 66, 71, 72, 73, 78, 81, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "data_sourc": [5, 12, 43, 44, 72, 73], "data_source_backtest": 43, "databas": [2, 5, 17, 26], "database_nam": 196, "datafram": [20, 21, 44, 64, 65, 68, 69, 72, 78, 81], "datalin": 21, "dataset": 2, "datasourc": [1, 8, 43, 44], "datasource_class": 1, "datasourcebacktest": [43, 44], "datatim": 82, "date": [0, 1, 2, 5, 6, 8, 10, 19, 21, 26, 32, 44, 74, 76, 82, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 141, 146, 157], "date_cr": 22, "date_end": 21, "date_start": 21, "daterang": 20, "datetim": [1, 2, 5, 6, 8, 10, 13, 19, 20, 21, 25, 26, 32, 43, 44, 47, 62, 63, 66, 67, 72, 76, 78, 81, 83, 84, 90, 91, 92, 93, 99, 100, 127, 130, 132, 135, 138, 139, 141, 146, 157, 171, 186], "datetime64": [5, 21], "datetime_end": [5, 43], "datetime_start": [5, 43], "db": 17, "db_connection_str": [17, 196], "dd": [76, 130, 138], "deal": [14, 26], "debit": [153, 164], "debug": [4, 46, 196], "decid": [17, 72], "decim": [23, 74, 75, 146, 147, 157, 158], "decis": [3, 4], "def": [1, 2, 5, 6, 8, 10, 12, 13, 16, 25, 26, 27, 41, 106, 117, 165, 172, 173, 178, 187, 188, 193, 196], "default": [1, 5, 10, 17, 19, 20, 21, 32, 34, 44, 45, 54, 60, 62, 63, 66, 67, 72, 73, 74, 76, 91, 100, 106, 117, 125, 127, 128, 129, 130, 133, 135, 136, 137, 138, 146, 151, 153, 157, 162, 164, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194, 196], "default_pytz": 44, "default_timezon": 44, "defin": [6, 7, 8, 13, 24, 27, 32, 41, 42, 43, 45, 165, 196], "definit": [], "delai": 44, "delet": 17, "delta": [7, 44, 128, 136], "demonstr": 13, "depend": [14, 17, 72, 73], "deploi": [2, 26], "deploy": 26, "deprec": [1, 15, 146, 157, 180, 195], "depric": 74, "describ": [26, 45], "descript": [1, 14, 17], "deseri": [], "design": [2, 17, 25, 27, 41], "desir": [13, 14, 21, 81, 128, 136], "detail": [0, 2, 3, 4, 9, 17, 19, 72, 148, 159], "detail_text": [62, 63, 66, 67], "determin": [6, 7, 8, 12, 22, 43, 106, 117, 146, 157, 166], "dev": [25, 26], "develop": [17, 26], "df": [5, 13, 20, 21, 30, 72, 73], "dialog": [], "diamond": [63, 67], "dict": [1, 21, 38, 42, 44, 46, 50, 54, 56, 60, 77, 104, 108, 115, 119, 146, 157], "dictionari": [1, 5, 8, 16, 36, 42, 43, 44, 46, 73, 77, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 157, 165], "differ": [2, 3, 5, 7, 11, 13, 14, 17, 20, 25, 26, 45], "differenti": 7, "difficult": 5, "digit": 15, "directli": [17, 43], "directori": [5, 14, 17], "disabl": [14, 15], "disconnect": 14, "discord": [17, 26], "discord_webhook_url": 17, "discov": [25, 26], "displai": [46, 62, 63, 66, 67], "displi": 46, "divid": 47, "dividend": [20, 44, 79, 80, 128, 136, 167, 182], "do": [1, 5, 10, 13, 14, 16, 20, 22, 25, 26, 38, 44, 47, 101, 146, 157], "doc": [], "docstr": 43, "document": [11, 13, 14, 17, 25, 26, 72], "doe": [43, 44, 77, 146, 157], "doesn": [], "dollar": [146, 157, 175, 190], "don": [13, 14, 17, 26], "done": 44, "dot": [62, 63, 66, 67], "down": [14, 17, 25, 33, 63, 67], "downgrad": 17, "download": [2, 5, 6, 8, 25, 26], "drawdown": [2, 7], "dsttzinfo": 44, "dt": [13, 21, 44, 62, 63, 66, 67, 90, 91, 99, 100, 139], "dt_index": 44, "dte": 7, "due": 19, "dump": [28, 42], "duplic": 14, "durat": [7, 32, 146, 153, 157, 164, 178, 193], "dure": [1, 2, 4, 7, 17, 45, 73], "e": [2, 9, 17, 19, 20, 21, 22, 23, 25, 72, 73, 74, 146, 147, 152, 157, 158, 163], "e29b": [], "each": [0, 1, 2, 3, 5, 7, 9, 13, 14, 20, 22, 26, 30, 32, 40, 41, 44, 45, 47, 53, 59, 72, 80, 126, 134, 149, 151, 160, 162, 196], "eas": 17, "easi": [6, 8, 14, 17, 25, 26], "easier": [5, 17], "easiest": 25, "easili": [10, 26, 32, 45], "eastern": 21, "edit": 17, "effect": 17, "effici": 196, "eg": [13, 17, 19, 20, 25, 44, 47, 49, 51, 55, 57, 62, 63, 66, 67, 70, 77, 82, 105, 116, 125, 126, 133, 134, 146, 157, 178, 193], "either": [5, 19, 21, 22, 72, 73, 74, 75], "elif": 36, "els": 43, "ema": 13, "ema_threshold": 165, "email": [7, 14], "empti": [53, 59], "en": 13, "enabl": [13, 15], "encount": 22, "end": [1, 2, 6, 7, 8, 10, 14, 20, 21, 26, 42], "end_dat": 21, "endpoint": 12, "engag": 17, "engin": [26, 41], "enhanc": 25, "enjoi": 25, "enough": [], "ensur": [5, 10, 14, 17, 21, 22, 25, 26, 146, 157], "enter": [14, 17, 19, 22, 31, 146, 157, 178, 193], "entir": 13, "entiti": [5, 13, 19, 20, 21, 22, 23, 24, 25, 26, 44, 72, 73, 80, 146, 152, 153, 157, 163, 164], "entri": [15, 22], "env": [14, 17, 196], "environ": [2, 14, 26, 196], "equal": [172, 173, 178, 187, 188, 193], "equiti": [2, 14, 51, 57], "equival": 22, "equivalent_statu": 22, "error": [13, 17, 22, 34], "error_messag": 22, "especi": [82, 196], "essenti": [2, 17], "est": 5, "etc": [5, 16, 20, 21, 40, 44, 45, 48, 61, 63, 67, 77, 148, 159], "etf": [2, 10], "eth": [20, 73, 146, 153, 157, 164], "ethereum": 20, "eula": 14, "eur": [19, 72, 73, 146, 152, 153, 157, 163, 164], "eurex": [32, 106, 117], "eurusd": 73, "evalu": 43, "even": [2, 6, 8, 30, 153, 164], "event": [4, 26, 33, 34, 35, 36, 37, 38, 39, 43, 63, 67], "everi": [2, 25, 32, 40, 43, 47, 81, 196], "everyth": [17, 26], "ew": [63, 67], "exactli": 26, "exampl": [1, 2, 6, 8, 11, 12, 15, 19, 20, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 52, 53, 58, 59, 62, 63, 66, 67, 71, 72, 73, 74, 75, 79, 80, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 105, 106, 107, 109, 110, 111, 112, 113, 114, 116, 117, 118, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 196], "example_strategi": [13, 25, 26], "exce": 20, "excel": 17, "except": [15, 20, 25, 26, 34], "exchang": [14, 21, 22, 44, 72, 73, 74, 75, 76, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 125, 126, 127, 129, 130, 131, 133, 134, 135, 137, 138, 140, 146, 157], "exchange_id": 13, "excut": [168, 183], "execud": [29, 30], "execut": [2, 9, 17, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 102, 103, 107, 109, 111, 113, 114, 118, 120, 122, 143, 152, 154, 163, 172, 173, 178, 187, 188, 193], "exist": [21, 54, 60], "exit": 22, "exp_dat": [44, 125, 126, 133, 134], "expect": [17, 25, 26, 128, 136], "expens": [17, 128, 136], "expert": [25, 26], "expertis": 26, "expir": [7, 14, 19, 22, 32, 44, 72, 74, 125, 126, 127, 128, 133, 134, 135, 136, 139, 146, 157], "expiration_d": [147, 152, 158, 163], "expiri": [19, 44, 127, 132, 135, 141], "expiry_d": [127, 132, 135, 141], "explain": 2, "exponenti": 7, "export": 2, "expri": 43, "extend": 81, "extens": 2, "extract": 72, "extrem": 22, "ey": 17, "f": [13, 16, 28, 35, 36, 38, 39, 42, 72, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 169, 171, 174, 176, 177, 179, 181, 184, 186, 189, 191, 192, 194, 196], "fact": [], "factor": [11, 26], "fairli": [], "fals": [1, 12, 13, 16, 17, 22, 25, 26, 32, 43, 44, 46, 73, 74, 83, 92, 105, 116, 128, 136, 146, 151, 157, 162], "familiar": 25, "fashion": [], "fast": [22, 25, 26], "faster": [2, 6, 8, 44], "favor": [146, 157], "featur": [0, 2, 6, 8, 26], "fee": [14, 17, 18, 26], "feel": 14, "fetch": [6, 8, 44, 126, 131, 134, 140], "few": [13, 17, 26, 101], "field": [14, 20, 22], "figur": 17, "file": [1, 4, 5, 7, 14, 15, 17, 25, 26, 101, 105, 116, 165, 196], "fill": [14, 17, 21, 22, 23, 36, 39, 43, 146, 157, 167, 182], "filter": 20, "final": [5, 6, 8, 10, 14, 26], "financ": [1, 2, 10, 26], "financi": [20, 25], "find": [13, 14, 15, 16, 17, 26, 44, 76, 127, 129, 130, 131, 135, 137, 138, 139, 140], "find_asset_in_data_stor": 44, "firm": 14, "first": [1, 5, 6, 8, 10, 13, 16, 17, 20, 21, 22, 25, 26, 30, 32, 73, 168, 178, 183, 193, 196], "first_iter": [1, 2, 5, 6, 8, 10, 26], "fit": [17, 101], "fix": [26, 81], "flat": 25, "flat_fe": [24, 25], "flexibl": [2, 5, 6, 8, 25], "float": [1, 5, 19, 20, 22, 23, 36, 39, 43, 44, 49, 51, 55, 57, 62, 63, 66, 67, 74, 75, 79, 80, 102, 103, 107, 113, 114, 118, 128, 131, 136, 140, 146, 147, 153, 157, 158, 164, 167, 169, 175, 182, 184, 190], "flow": 45, "focus": 17, "folder": [2, 5, 10, 13, 17], "follow": [2, 5, 6, 8, 13, 14, 15, 17, 19, 20, 22, 26, 27, 30, 41, 78, 165, 178, 193], "forc": [146, 157], "forex": [0, 2, 5, 6, 8, 12, 17, 19, 26, 44, 73, 74, 146, 152, 153, 157, 163, 164], "forget": 26, "form": [6, 21, 81, 106, 117, 127, 129, 135, 137, 167, 182], "format": [0, 5, 19, 21, 44, 76, 125, 126, 130, 132, 133, 134, 138, 141], "fortun": 26, "found": 26, "frame": 5, "framework": [2, 41], "free": [1, 2, 6, 8, 14, 17, 23, 26, 44, 128, 136], "frequenc": [20, 21], "frequent": 20, "friendli": 17, "from": [1, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 25, 26, 41, 42, 44, 45, 72, 73, 76, 80, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 140, 146, 152, 153, 157, 163, 164, 196], "from_dict": [19, 22, 23], "full": [2, 6, 8, 11, 26, 44, 125, 133], "function": [0, 2, 3, 13, 17, 21, 26, 32, 38, 41, 44, 47, 48, 82, 142], "further": [2, 17], "futur": [0, 5, 12, 14, 17, 19, 20, 26, 43, 44, 74, 146, 147, 152, 157, 158, 163, 180, 195], "g": [2, 9, 17, 20, 21, 22, 23, 25, 72, 73, 146, 157], "gain": 26, "gamma": [128, 136], "gatewai": [], "gbp": [19, 152, 163], "gear": [], "gener": [7, 10, 13, 16, 26, 151, 162], "get": [1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 17, 18, 20, 21, 22, 30, 31, 33, 38, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 70, 72, 73, 75, 77, 79, 80, 82, 104, 115, 124, 147, 148, 149, 150, 158, 159, 160, 161, 165, 166, 167, 172, 173, 175, 178, 182, 187, 188, 190, 193, 196], "get_asset": 44, "get_asset_by_nam": 44, "get_asset_by_symbol": 44, "get_asset_potential_tot": [26, 47], "get_bar": [20, 21, 44], "get_bars_between_d": 21, "get_cash": [26, 47], "get_chain": [26, 44, 47, 127, 129, 131, 135, 137, 140], "get_chain_full_info": 44, "get_datetim": [13, 26, 43, 44, 47], "get_datetime_rang": [26, 43, 44, 47], "get_expir": [26, 47], "get_fill_pric": 22, "get_func_stat": 25, "get_greek": [26, 47], "get_historical_account_valu": [12, 43], "get_historical_pric": [6, 8, 13, 20, 26, 31, 44, 47, 73], "get_historical_prices_for_asset": [26, 30, 47], "get_incr": 22, "get_iter_count": 21, "get_last_bar": 43, "get_last_dai": [26, 44, 47], "get_last_dividend": 20, "get_last_minut": [26, 44, 47], "get_last_pric": [2, 6, 8, 10, 13, 16, 20, 21, 26, 44, 47], "get_lines_df": [26, 47], "get_markers_df": [26, 47], "get_momentum": 20, "get_multipli": [26, 47], "get_next_option_expir": 139, "get_next_trading_dai": [26, 47], "get_ord": [13, 26, 47], "get_paramet": [26, 47, 165], "get_portfolio_valu": [26, 47], "get_posit": [13, 23, 26, 47, 150, 161], "get_quot": [21, 26, 47], "get_round_dai": [26, 44, 47], "get_round_minut": [26, 44, 47], "get_selling_ord": [23, 26, 47], "get_start_datetime_and_ts_unit": 44, "get_strik": [26, 44, 47], "get_symbol_bar": 70, "get_thread_stat": 25, "get_time_to_clos": [12, 43], "get_time_to_open": [12, 43], "get_timestamp": [12, 26, 44, 47], "get_timestep": 44, "get_total_dividend": 20, "get_total_return": 20, "get_total_return_pct": 20, "get_total_return_pct_chang": 20, "get_total_stock_split": 20, "get_total_volum": 20, "get_tracked_ord": [149, 160], "get_trading_days_panda": 44, "get_yesterday_dividend": [26, 44, 47], "getting_start": 15, "github": [13, 15, 17, 20, 25, 26], "give": [6, 8, 13, 131, 140], "given": [14, 20, 21, 43, 44, 52, 58, 71, 72, 73, 76, 84, 93, 125, 127, 129, 130, 131, 133, 135, 137, 138, 139, 140, 143, 148, 154, 159], "global": [15, 17, 20, 45], "go": [2, 5, 12, 15, 17, 25, 26], "goal": 7, "goe": [105, 116], "good": [26, 146, 157], "good_till_d": [22, 146, 157], "goog": [22, 42, 72, 73], "googl": 22, "google_symbol": 42, "gracefulli": 33, "grai": [62, 66], "graph": [7, 62, 63, 66, 67], "great": [14, 17], "greatli": [27, 41], "greek": [44, 124, 128, 136], "green": [13, 62, 63, 66, 67, 105, 116], "grouper_kwarg": 20, "growth": 7, "gtc": [146, 153, 157, 164], "gtd": [146, 157], "guarante": [146, 157], "guarente": [44, 125, 126, 133, 134], "guid": [2, 13, 16, 25, 26], "guidanc": 25, "h": [178, 193], "ha": [0, 7, 15, 20, 22, 26, 35, 36, 37, 39, 45, 71, 74, 78, 196], "handl": [], "happen": [171, 186], "happi": 17, "harm": 7, "hash": [63, 67], "have": [0, 1, 2, 5, 6, 8, 10, 14, 16, 17, 20, 22, 23, 25, 26, 28, 43, 47, 49, 51, 55, 57, 72, 78], "he": 41, "header": 14, "held": [175, 190], "hello": 40, "help": [2, 3, 6, 8, 25], "helper": [20, 22, 45], "here": [1, 2, 5, 6, 8, 11, 12, 13, 14, 15, 16, 17, 18, 25, 26, 41, 165, 166], "hex": [62, 66], "hexagon": [63, 67], "hexagon2": [63, 67], "hexagram": [63, 67], "high": [5, 20, 21, 25, 26, 43, 78, 81], "higher": 22, "highli": [15, 26], "histor": [2, 6, 8, 12, 13, 20, 26, 43, 44, 70, 72, 73], "histori": 17, "historical_limit": 20, "hkex": [32, 106, 117], "hold": [6, 8, 20, 22, 23, 26, 36], "home": 26, "hope": 25, "host": [14, 17], "hour": [13, 20, 21, 32, 40, 44, 72, 73, 106, 117, 178, 193], "hourglass": [63, 67], "hover": [62, 63, 66, 67], "how": [0, 3, 11, 12, 13, 17, 25, 26, 45, 72, 81, 166], "howev": [17, 22, 30, 32, 146, 157], "hr": [5, 21], "html": [0, 1, 3, 9, 20, 26], "http": [2, 6, 8, 12, 13, 14, 15, 16, 17, 20, 25, 26], "i": [0, 1, 2, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 26, 28, 29, 30, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 77, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 102, 103, 106, 113, 114, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 147, 149, 151, 153, 157, 158, 160, 162, 164, 166, 167, 168, 170, 172, 173, 177, 178, 182, 183, 185, 187, 188, 192, 193, 196], "ib": [19, 132, 141], "ib_api_url": [14, 17], "ib_password": [14, 17], "ib_subaccount": 17, "ib_usernam": [14, 17], "ibeam": [], "ibkei": 14, "ibkr": 14, "ibkrcampu": [], "ibm": [19, 145, 156], "ic": [32, 106, 117], "iceu": [32, 106, 117], "icon": [], "id": [2, 15, 17, 148, 159, 196], "ideal": [2, 17], "identifi": [2, 13, 19, 22, 148, 159], "idx": 21, "iepa": [32, 106, 117], "illustr": 41, "iloc": [13, 72], "imag": [], "implement": [7, 17, 26, 27, 41, 44, 46], "impli": [128, 136], "implied_volatil": [128, 136], "import": [0, 1, 2, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 26, 41, 42, 44, 45, 63, 67, 73, 80, 146, 152, 153, 157, 163, 164, 165], "importantfunct": 13, "importantli": 22, "improv": 26, "includ": [2, 3, 7, 9, 10, 13, 17, 19, 20, 26, 32, 41, 44, 54, 60, 72, 124, 146, 148, 157, 159, 175, 190], "include_after_hour": [44, 72, 73], "inclus": 20, "incred": 17, "incur": 14, "index": [5, 19, 20, 21, 26, 78], "indic": [0, 1, 5, 13, 46, 52, 53, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 153, 164], "indicators_fil": 1, "individu": [2, 26], "industri": 26, "infinit": [103, 114], "influenc": [3, 27, 41], "info": [44, 105, 116, 125, 126, 133, 134], "inform": [2, 3, 5, 9, 10, 13, 17, 43, 44, 77, 78, 126, 131, 134, 140, 146, 157, 166], "inherit": [6, 8, 45], "initi": [1, 2, 6, 8, 13, 15, 25, 26, 27, 41, 106, 117, 165, 169, 172, 173, 178, 184, 187, 188, 193], "initial_budget": 26, "input": [21, 102, 103, 113, 114], "insert": [], "insid": [47, 166, 172, 187], "insight": [0, 2], "instal": [0, 5, 10, 13, 15, 17], "instanc": [13, 196], "instanti": [13, 16, 26, 43], "instead": [1, 5, 17, 20, 43, 107, 118, 128, 136, 180, 195], "instruct": [17, 146, 152, 153, 157, 163, 164], "instrument": 20, "int": [1, 12, 19, 20, 21, 22, 36, 39, 44, 62, 63, 66, 67, 72, 73, 81, 84, 85, 86, 87, 88, 89, 93, 94, 95, 96, 97, 98, 102, 103, 113, 114, 146, 147, 157, 158, 172, 173, 178, 187, 188, 193], "integ": [72, 73, 178, 193], "integr": [6, 8], "intend": [5, 17], "inter": [0, 5], "interact": [11, 13, 20, 22, 26, 45, 72, 73, 74, 81], "interactive_brok": 15, "interactive_brokers_client_id": 17, "interactive_brokers_config": 15, "interactive_brokers_ip": 17, "interactive_brokers_port": 17, "interactivebrok": [15, 20], "interest": [7, 13, 44, 128, 136], "interfer": [], "intern": [17, 146, 157], "interpret": [2, 178, 193], "interrupt": [33, 196], "interupt": [33, 40], "interv": 5, "intervent": [], "intial": 78, "intra": [0, 5, 10], "intradai": 2, "introduc": 2, "invest": [7, 14, 26], "involv": 9, "io": [0, 13, 20, 26], "ip": [15, 17], "iron": 7, "is_act": 22, "is_backtest": [17, 26], "is_backtest_brok": 46, "is_backtesting_brok": 43, "is_backtesting_data_sourc": [43, 44], "is_buy_ord": 22, "is_cancel": 22, "is_fil": 22, "is_market_open": [12, 43], "is_multileg": [153, 164], "is_opt": 22, "is_par": 22, "is_sell_ord": 22, "is_valid": 19, "isn": [], "isol": [], "issu": 2, "item": [], "iter": [1, 2, 6, 8, 13, 21, 32, 40, 41, 168, 171, 183, 186, 196], "iter_index": 21, "its": [1, 6, 8, 22, 42], "itself": 17, "j": [27, 41], "jan": 82, "join": [25, 26], "jpx": [32, 106, 117], "json": 196, "june": 19, "just": [19, 26, 32, 36, 43, 146, 157], "keep": [17, 22, 23, 81, 146, 157], "keep_bar": 81, "kei": [1, 2, 3, 5, 6, 8, 12, 15, 16, 17, 21, 26, 46, 128, 136, 165, 196], "kept": 81, "keybord": 33, "keyerror": [], "keyword": 22, "kill": [], "kind": [1, 25], "know": [13, 18], "knowledg": [], "known": [44, 74, 75], "kraken": [13, 26, 146, 157], "kraken_api_kei": 17, "kraken_api_secret": 17, "kraken_config": 13, "kucoin": [13, 26], "kucoin_config": 13, "kwarg": [1, 12, 19, 21, 43, 44, 153, 164], "last": [5, 13, 20, 21, 22, 28, 30, 31, 42, 43, 44, 72, 73, 74, 75, 85, 86, 94, 95, 171, 186, 196], "last_dai": [85, 94], "last_minut": [86, 95], "last_ohlc": 72, "last_on_trading_iteration_datetim": 26, "last_pric": [13, 74, 75, 196], "last_upd": 196, "later": 32, "latest": [2, 5, 10, 13, 17, 25, 26, 72], "launch": 30, "layout": [], "learn": [11, 17, 25, 26], "least": [5, 41], "leav": [151, 162], "left": [14, 17, 63, 67], "leg": 26, "legaci": [11, 26], "len": 21, "length": [13, 21, 43, 44, 72, 73, 78, 84, 93], "less": [16, 146, 147, 157, 158], "let": 13, "level": [26, 63, 67, 105, 116], "leverag": [19, 146, 157], "librari": [5, 7, 13, 16, 17, 25], "lifecycl": [26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 47, 168, 172, 173, 178, 183, 187, 188, 193], "lightblu": [62, 66], "lightgrai": [62, 66], "lightgreen": [62, 66], "lightr": [62, 66], "like": [2, 5, 17, 21, 25, 26, 29, 30, 31, 32, 33, 43, 44, 165], "limit": [6, 8, 13, 17, 22, 43, 44, 72, 73, 81, 110, 121, 146, 152, 153, 157, 163, 164], "limit_ord": [43, 146, 157], "limit_pric": [13, 22, 43, 110, 121, 146, 152, 153, 157, 163, 164], "line": [3, 26, 46, 62, 63, 64, 66, 67, 68], "link": [6, 8, 14], "list": [1, 2, 13, 18, 19, 20, 23, 25, 31, 43, 44, 47, 48, 53, 59, 61, 70, 73, 75, 80, 82, 84, 93, 101, 106, 111, 112, 117, 122, 123, 124, 127, 129, 131, 135, 137, 140, 142, 145, 149, 153, 156, 160, 164, 166], "littl": [], "live": [1, 2, 12, 14, 15, 17, 20, 25, 43, 44, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117], "live_config": 17, "ll": [13, 14, 16, 26], "lmt": 44, "lmt_order": 13, "load": [5, 18, 21, 63, 67, 196], "load_data": 44, "load_variables_from_db": [], "local": [20, 21, 42, 44, 90, 91, 99, 100, 128, 136], "localhost": [14, 17, 196], "localize_datetim": [26, 44, 47], "localize_timezon": 21, "locat": 17, "log": [0, 1, 2, 7, 10, 14, 15, 16, 17, 19, 26, 42, 101, 105, 116], "log_messag": [13, 16, 20, 26, 28, 30, 33, 34, 35, 36, 37, 38, 39, 40, 42, 47, 52, 53, 58, 59, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 147, 148, 149, 158, 159, 160, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 179, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 194], "logfil": [1, 46], "logic": [27, 29, 30, 40, 41, 43, 45], "login": 14, "long": 22, "longer": 2, "longest": 7, "look": [2, 5, 15, 26], "loop": [14, 31, 40, 103, 114, 172, 187], "lose": [], "loss": [7, 22, 43, 62, 63, 66, 67, 146, 152, 153, 157, 163, 164], "lost": [], "lot": [17, 166], "low": [5, 17, 20, 21, 43, 78, 81], "lower": 21, "lse": [32, 106, 117], "luck": 26, "lumi": [2, 7, 8], "lumi10": [2, 6], "lumibot": [0, 1, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 22, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "lumiwealth": [7, 15, 26], "m": [178, 193], "mac": 26, "macd": 13, "machin": 2, "machinelearninglongshort": 25, "made": [25, 70, 82], "mai": [5, 13, 14, 17, 19, 22, 25, 72, 73, 81, 146, 157], "main": [17, 18, 22, 26, 33, 40, 45, 146, 157], "main_tick": 165, "maintain": 17, "major": [5, 10], "make": [2, 4, 5, 6, 8, 14, 17, 22, 25, 26, 74, 75], "maker": 24, "manag": [21, 22, 26, 47, 61, 124], "mandatori": [17, 19, 45, 146, 157], "mani": [6, 8, 13, 26, 32, 41, 81], "manual": [2, 14, 17], "map": 19, "map_asset_typ": 12, "margin": [13, 146, 157], "mark": [63, 67], "marker": [3, 46, 63, 65, 67, 69], "market": [2, 11, 12, 13, 17, 22, 25, 26, 28, 29, 30, 31, 32, 40, 43, 74, 75, 102, 103, 106, 109, 110, 111, 112, 113, 114, 117, 120, 121, 122, 123, 146, 151, 152, 153, 157, 162, 163, 164, 172, 173, 175, 187, 188, 190], "marketcalendar": [32, 106, 117], "martingal": 7, "master": 15, "match": [21, 44], "math": 26, "max": [7, 13], "max_bar": 32, "max_pric": 13, "max_work": [12, 43, 44, 73], "maximum": [7, 17, 44], "mean": 14, "meant": 124, "measur": [1, 7], "mechan": [], "memori": 17, "mention": 20, "menu": [14, 26], "merg": 21, "messag": [17, 101, 105, 116], "method": [1, 6, 8, 15, 19, 20, 22, 23, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 70, 101, 124, 125, 127, 129, 131, 133, 135, 137, 140, 165, 168, 172, 173, 178, 183, 187, 188, 193, 196], "metric": [2, 7], "might": [5, 13, 14, 17], "min": 20, "min_timestep": [21, 44], "mind": [], "minim": [], "minimum": 44, "minut": [1, 5, 13, 17, 20, 21, 25, 26, 29, 30, 32, 40, 43, 44, 72, 73, 84, 86, 88, 93, 95, 97, 102, 103, 113, 114, 172, 173, 178, 187, 188, 193], "minutes_before_clos": [1, 26, 29, 32, 40, 102, 113], "minutes_before_open": [1, 26, 30, 103, 114], "miscellan": [26, 47], "miss": 39, "mkt_order": 13, "mm": [76, 130, 138], "mnq": 32, "mobil": [], "mode": [0, 15, 17, 43, 170, 185], "modifi": [10, 25, 26], "modul": [5, 10, 26], "momentum": 20, "monei": [14, 16, 17, 25, 49, 51, 55, 57, 167, 182], "monitor": 17, "month": [17, 85, 94], "more": [0, 2, 3, 11, 13, 14, 16, 17, 18, 20, 25, 26, 43, 44, 47, 70, 72, 101, 124, 128, 136, 142], "most": [0, 5, 7, 14, 17, 20, 25, 41, 72, 78, 128, 136], "mostli": 43, "move": [2, 7, 22, 26], "movement": [22, 146, 157], "much": [5, 6, 8, 12, 44], "multileg": [22, 153, 164], "multipl": [2, 17, 143, 154, 196], "multipli": [19, 20, 36, 39, 44, 125, 126, 129, 131, 133, 134, 137, 140, 152, 163], "must": [1, 2, 5, 6, 8, 10, 12, 16, 21, 22, 41, 72, 73, 131, 140, 146, 157], "my": [17, 25], "my_custom_paramet": 32, "my_custom_stat": 42, "my_last_paramet": 32, "my_limit_pric": 22, "my_other_paramet": 32, "my_other_stat": 42, "my_paramet": 165, "my_stat": 42, "my_stop_loss_pric": 22, "my_stop_pric": 22, "my_take_profit_pric": 22, "my_trail_perc": 22, "my_trail_pric": 22, "mysql": [], "mystrategi": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 165], "n": [63, 67], "name": [0, 1, 5, 10, 14, 17, 19, 21, 25, 26, 32, 44, 46, 62, 63, 66, 67, 74, 105, 116, 165, 196], "namespac": 196, "nan": 21, "nasdaq": [14, 32, 106, 117], "navig": [14, 15, 17], "ne": [63, 67], "nearest": [87, 88, 96, 97], "necessari": [6, 8, 17, 43], "need": [2, 6, 8, 13, 14, 16, 17, 25, 27, 41, 43, 44, 72, 73, 77], "net": [2, 8, 51, 57], "network": 14, "new": [2, 5, 7, 14, 17, 19, 20, 22, 26, 36, 37, 43, 54, 60, 146, 157, 167, 182], "new_york": [20, 44, 176, 179, 181, 191, 194], "newer": 17, "nexpir": 19, "next": [5, 6, 8, 12, 17, 26, 40, 76, 130, 138, 139], "next_option_expir": 139, "next_trading_dai": [76, 130, 138], "nobardatafound": 20, "none": [1, 12, 13, 17, 19, 20, 21, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 44, 46, 49, 51, 52, 53, 54, 55, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 81, 84, 93, 102, 103, 105, 106, 107, 108, 113, 114, 116, 117, 118, 119, 128, 131, 136, 140, 143, 144, 145, 146, 148, 150, 151, 154, 155, 156, 157, 159, 161, 162], "normal": [5, 16, 131, 140], "notat": 196, "note": [5, 10, 13, 14, 15, 17, 20, 22, 43, 77, 146, 157], "notic": 26, "notif": [14, 17], "now": [16, 25, 44, 74], "num_period": 20, "number": [1, 12, 15, 16, 17, 21, 22, 29, 32, 44, 72, 73, 84, 87, 88, 93, 96, 97, 146, 157, 172, 173, 178, 187, 188, 193], "numpi": 21, "nuzcnprsxjxxouxrhqe5k2k1xnqlpckh2xcutifkcw": 17, "nw": [63, 67], "nyfe": [32, 106, 117], "nymex_agricultur": [32, 106, 117], "nyse": [14, 32, 76, 106, 117, 130, 138], "o": 22, "obect": [146, 157], "object": [1, 5, 10, 12, 18, 19, 20, 21, 22, 23, 24, 35, 36, 37, 39, 43, 44, 46, 52, 53, 58, 59, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 109, 110, 111, 112, 120, 121, 122, 123, 126, 131, 134, 140, 144, 145, 146, 147, 148, 149, 152, 153, 155, 156, 157, 158, 159, 160, 163, 164, 176, 181, 191, 196], "observ": 7, "obtain": [6, 8, 13, 44, 126, 127, 129, 131, 134, 135, 137, 140], "occur": 22, "oco": [22, 146, 152, 157, 163], "octagon": [63, 67], "off": [2, 6, 8], "offer": [2, 7, 14, 17, 26], "offici": 2, "often": 22, "ohlcv": [20, 21, 43], "on_abrupt_clos": [26, 27, 34], "on_bot_crash": [26, 27], "on_canceled_ord": [26, 27], "on_filled_ord": [26, 27], "on_new_ord": [26, 27], "on_parameters_upd": [26, 27], "on_partially_filled_ord": [26, 27], "on_start": [], "on_trading_inter": [12, 32], "on_trading_iter": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 27, 28, 41, 42, 47, 102, 103, 113, 114, 165, 168, 172, 178, 183, 187, 193, 196], "onc": [2, 14, 15, 16, 17, 22, 25, 26, 32, 41, 146, 157, 196], "one": [5, 7, 13, 14, 17, 22, 25, 26, 41, 43, 47, 72, 109, 120, 146, 153, 157, 164], "ones": [17, 41], "onli": [1, 5, 10, 13, 14, 15, 17, 19, 20, 21, 22, 23, 25, 26, 32, 41, 43, 44, 46, 72, 73, 74, 77, 81, 128, 136, 143, 153, 154, 164, 172, 187], "open": [1, 2, 5, 12, 17, 20, 21, 22, 25, 29, 30, 31, 40, 43, 63, 67, 72, 78, 81, 102, 103, 113, 114, 143, 144, 145, 149, 151, 154, 155, 156, 160, 162, 173, 188], "open_": 43, "open_interest": 44, "openbook": 14, "oper": [14, 17, 32, 41], "opra": 14, "opt_asset": [128, 136], "optim": [2, 7, 17, 26], "option": [0, 2, 6, 8, 9, 12, 14, 16, 17, 19, 20, 22, 26, 32, 36, 39, 41, 43, 44, 47, 72, 74, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 146, 152, 157, 163], "option_chain": 44, "option_pric": [128, 136], "option_typ": [128, 136], "optionright": 19, "options_expiry_to_datetime_d": [26, 47], "optionscondormartingal": 196, "orang": [62, 63, 66, 67], "order": [1, 2, 5, 6, 8, 9, 10, 12, 13, 18, 19, 23, 25, 26, 29, 30, 35, 36, 37, 39, 40, 41, 43, 47, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 182], "order1": [111, 112, 122, 123, 145, 153, 156, 164], "order2": [111, 112, 122, 123, 145, 153, 156, 164], "order_1": 22, "order_2": 22, "order_class": 22, "order_dict": 22, "order_id": [148, 159], "order_typ": [12, 153, 164], "orderclass": 22, "orderdata": 12, "ordersid": 22, "orderstatu": 22, "ordertyp": 22, "origin": [105, 116], "os": [32, 106, 117], "other": [0, 2, 6, 8, 10, 13, 14, 15, 17, 20, 22, 25, 26, 41, 62, 66, 77, 101, 146, 157, 167, 182, 196], "otherwis": [22, 36], "oto": [22, 146, 157], "our": [7, 13, 14, 17, 25, 26, 28], "out": [14, 26, 43, 47, 52, 58, 74], "output": 196, "outstand": 13, "over": [7, 19, 20, 25, 26, 62, 63, 66, 67], "overal": [1, 7], "overbought": [62, 63, 66, 67], "overhead": [], "overload": [27, 34, 41, 43], "overrid": [102, 103, 113, 114], "oversold": [62, 63, 66, 67], "overview": 2, "overwrit": [54, 60], "own": [2, 5, 6, 8, 12, 13, 16, 17, 23, 25, 26, 150, 161], "pace": 20, "packag": [14, 26], "page": [14, 16, 17, 26], "pai": [6, 8], "paid": [1, 2, 167, 182], "pair": [13, 20, 22, 44, 74, 75, 125, 126, 133, 134, 146, 157], "panda": [0, 2, 10, 20, 21, 26, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 78, 106, 117], "pandas_data": [1, 5, 25, 43, 44], "pandas_ta": 13, "pandasdata": [43, 44], "pandasdatabacktest": [1, 5, 25], "panel": [], "paper": [11, 12, 15, 16, 17, 26, 44], "paper_1": 17, "param": 44, "paramet": [1, 2, 6, 8, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 84, 87, 88, 90, 91, 93, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 150, 151, 152, 153, 154, 155, 156, 157, 158, 161, 162, 163, 164, 172, 187], "parent": 22, "parquet": 5, "parse_bar_list": 20, "part": [17, 22, 41, 153, 164, 165], "partial": [22, 39], "partial_fil": 22, "partially_fil": 22, "particular": [22, 125, 127, 129, 133, 135, 137], "particularli": 19, "pass": [1, 2, 5, 8, 10, 18, 28, 36, 40, 41, 45, 102, 103, 113, 114, 128, 136, 146, 157], "password": [2, 8, 13, 14, 17, 196], "password123": [14, 17], "past": [2, 22, 25], "path_to_your_databas": [], "pattern": [27, 41], "paus": [102, 103, 107, 113, 114, 118, 178, 193], "pcal": 44, "pd": [5, 20, 44], "peak": 7, "penetr": [146, 157], "pentagon": [63, 67], "per": [20, 44], "percent": [146, 157], "percent_fe": [24, 25], "percentag": [20, 25], "perfectli": 17, "perform": [0, 2, 3, 7, 17, 26, 41], "period": [1, 2, 5, 7, 13, 21, 81, 196], "permiss": [14, 19], "permit": [], "persist": 196, "perspect": 41, "pick": [5, 10, 17, 26], "pink": [62, 63, 66, 67], "pip": [2, 5, 10, 13, 25, 26], "pk7t6yvax6pmh1em20yn": 17, "place": [9, 13, 18, 146, 151, 157, 162], "plan": [2, 17], "platform": [14, 26], "pleas": [1, 2, 5, 6, 8, 10, 13, 15, 22, 72, 180, 195], "plot": [1, 10, 46, 63, 67], "plot_file_html": 1, "plu": [14, 105, 116, 175, 190], "png": [], "pnl": 22, "point": [3, 7, 9, 15, 22, 44, 62, 66, 72, 73, 147, 158], "polygon": [0, 1, 5, 8, 10, 17, 26], "polygon_api_kei": [1, 2, 17], "polygon_has_paid_subscript": 1, "polygon_max_memory_byt": 17, "polygondatabacktest": [1, 2, 6, 8], "polygondatasourc": 6, "pop": [], "popular": 13, "porfolio": 1, "port": [15, 17], "portal": 14, "portfolio": [7, 9, 13, 23, 28, 51, 57, 63, 67, 175, 190], "portfolio_valu": [2, 6, 8, 10, 13, 26, 28, 42, 177, 192], "posit": [1, 13, 18, 22, 26, 36, 39, 43, 45, 51, 52, 53, 57, 58, 59, 147, 150, 151, 158, 161, 162, 167, 175, 182, 190], "position_fil": [22, 146, 157], "possibl": [5, 32, 44, 62, 63, 66, 67, 153, 164], "post": [153, 164], "postgresql": 196, "potenti": [2, 25, 26, 147, 158], "power": [2, 6, 8, 17, 25, 26], "powershel": 26, "practic": 14, "pre": [26, 153, 164], "preced": 47, "precis": [19, 128, 136], "predetermin": 22, "prefix": [0, 105, 116], "presenc": 17, "present": [72, 73, 128, 136], "press": 17, "prevent": 196, "previou": [7, 79, 80], "previous": [], "price": [2, 6, 8, 9, 13, 16, 17, 19, 20, 21, 22, 23, 31, 36, 39, 43, 44, 45, 47, 62, 63, 66, 67, 70, 72, 73, 74, 75, 78, 128, 136, 146, 152, 153, 157, 163, 164], "primari": [14, 196], "print": [12, 42, 196], "print_al": 25, "printout": 19, "pro": 13, "probabl": 22, "problem": [], "proceed": [5, 10, 25], "process": [4, 6, 8, 14, 17, 25, 37, 39, 152, 153, 163, 164, 196], "process_expired_option_contract": 43, "process_pending_ord": 43, "product": 43, "prof": 25, "profil": 26, "profit": [17, 22, 25, 26, 43, 62, 63, 66, 67], "program": [107, 118, 165, 178, 193], "project": [2, 6, 8, 17], "prompt": 14, "promptli": 14, "proof": 14, "proper": 17, "properli": [], "properti": [22, 23, 26, 43, 45, 46, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195], "proven": 26, "provid": [0, 2, 4, 5, 6, 8, 9, 17, 20, 21, 44, 74, 75, 131, 140, 144, 145, 155, 156], "pstat": 25, "psycopg2": [], "pull": [40, 72], "purpl": [62, 63, 66, 67], "purpos": 17, "put": [5, 12, 16, 19, 25], "pv_dividend": [128, 136], "py": [15, 17, 25, 26], "pycharm": 2, "pymysql": [], "python": [2, 5, 25, 105, 116], "pytz": 26, "qqq": 1, "qtrz3zurd9244ahuw2aoyapgvyra": 16, "qtrz3zurl9244ahuw4aoyapgvyra": 17, "qty": [2, 6, 8], "quantiti": [1, 2, 6, 7, 8, 10, 12, 13, 22, 23, 25, 26, 36, 39, 52, 53, 58, 59, 146, 157], "quantstat": 7, "queri": [44, 128, 136], "query_greek": [44, 128, 136], "question": 7, "quick": 2, "quickli": [2, 14, 17, 25], "quot": [13, 19, 20, 21, 22, 44, 49, 51, 55, 57, 72, 73, 74, 75, 77, 146, 152, 153, 157, 163, 164, 175, 177, 190, 192], "quote_asset": [1, 13, 19, 23, 26, 152, 153, 163, 164], "r": 37, "rais": 34, "randint": 42, "random": 42, "random_numb": 42, "rang": [5, 13, 17, 20, 21], "rate": [1, 6, 8, 20, 44, 128, 136], "rather": 82, "ratio": [2, 7], "raw": [5, 20, 22], "re": [2, 11, 14, 17, 26, 82], "reach": [7, 25, 26, 43], "react": [27, 41], "read": [5, 15, 25, 44], "read_csv": 5, "readi": [2, 14, 17, 41, 146, 157], "readthedoc": 13, "real": [14, 16, 17, 25, 71, 78, 81], "receiv": [5, 14], "recent": [20, 72, 78], "recommend": [0, 15, 17, 25], "record": 26, "red": [62, 63, 66, 67, 105, 116], "redeploi": 17, "reduc": 17, "refer": [2, 3, 17, 26, 27], "refin": [4, 25], "regard": [], "regardless": 82, "regist": [22, 110, 112, 121, 123], "regular": 73, "regularli": 17, "reindex": 21, "reiniti": 31, "relat": [14, 17, 36], "reliabl": [], "remain": [12, 39, 43, 172, 187], "remaind": [146, 157], "rememb": [13, 26], "remov": [180, 195], "render": 26, "repair_times_and_fil": 21, "repl": 17, "replac": [2, 6, 8, 13], "replit": 26, "report": 28, "repositori": [13, 17], "repres": [19, 22, 44, 45, 72, 73, 126, 134], "represent": [12, 21, 22, 44, 72, 73], "request": 14, "requir": [0, 1, 2, 10, 13, 14, 15, 17, 19, 22, 74, 75, 146, 153, 157, 164], "reserv": 17, "reset": 31, "resist": [63, 67], "resourc": 25, "resov": [175, 190], "respect": 20, "respond": [2, 14], "respons": [], "rest": [12, 14, 17, 41], "restart": [17, 40], "restor": 26, "restric": [146, 157], "result": [2, 5, 6, 8, 10, 25, 26, 42], "resum": 196, "retreiv": 23, "retriev": [2, 19, 21, 74, 75, 78, 196], "return": [1, 7, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "review": [2, 14], "right": [14, 17, 19, 28, 63, 67, 72, 152, 163], "right_must_be_one_of": 19, "risk": [1, 7, 14, 25, 44, 128, 136], "risk_free_r": [1, 44, 128, 136], "robot": 26, "robust": [6, 8], "romad": 7, "round": [44, 87, 88, 96, 97], "round_dai": [87, 96], "round_minut": [88, 97], "row": [20, 42, 72, 73, 81], "rsi": [2, 13], "rtype": [22, 44], "rule": 20, "run": [0, 5, 6, 8, 10, 11, 12, 14, 17, 21, 26, 30, 32, 33, 34, 37, 44, 46, 81, 102, 103, 113, 114, 143, 145, 154, 156, 170, 185], "run_al": [5, 13, 14, 15, 16, 25, 26, 46], "run_all_async": 46, "run_backtest": [0, 1, 2, 5, 6, 8, 10, 25], "runtim": 196, "safe": [], "sai": [], "sale": [6, 8], "same": [5, 14, 17, 22, 26, 73], "sampl": [12, 26], "sandbox": [13, 17], "save": [1, 5, 10, 17, 25, 46, 196], "save_logfil": 1, "save_tearsheet": [1, 46], "scalabl": [17, 196], "scale": [7, 196], "scene": 19, "scope": 42, "screen": [], "script": 5, "scroll": [14, 17], "se": [63, 67], "seamlessli": 17, "search": [2, 26], "second": [1, 12, 22, 32, 40, 43, 73, 81, 101, 107, 118, 178, 193], "secondari": [11, 26], "secret": [12, 13, 14, 16, 25, 26], "section": [2, 14, 17, 25, 47], "secur": [2, 5, 10, 14, 19, 22], "see": [2, 13, 14, 15, 17, 19, 20, 25, 26, 44, 48, 61, 70, 82, 101, 124, 142], "seek": [52, 58, 144, 155], "select": [2, 14, 17], "self": [1, 2, 5, 6, 8, 10, 12, 13, 14, 16, 17, 19, 20, 22, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 47, 165], "sell": [1, 7, 9, 22, 23, 29, 33, 34, 36, 40, 43, 45, 146, 150, 151, 152, 153, 157, 161, 162, 163, 164], "sell_al": [26, 29, 33, 34, 47], "sell_short": 22, "sell_to_clos": 22, "sell_to_open": 22, "sell_trading_fe": [1, 25], "send": [14, 17, 105, 116], "sens": 47, "separ": [14, 17], "seri": 21, "serial": [], "server": [], "servic": [17, 105, 116], "session": [], "set": [1, 2, 6, 8, 11, 14, 15, 16, 17, 19, 20, 21, 22, 25, 26, 29, 32, 43, 44, 54, 60, 72, 73, 78, 106, 117, 125, 133, 146, 157, 165, 166, 172, 173, 178, 187, 188, 193, 196], "set_cancel": 22, "set_dat": 21, "set_date_format": 21, "set_error": 22, "set_fil": 22, "set_identifi": 22, "set_market": [13, 26, 32, 47], "set_new": 22, "set_paramet": [26, 47, 165], "set_partially_fil": 22, "set_tim": 21, "settings_fil": 1, "settl": 43, "settlement": 22, "setup": [0, 2, 11, 26], "sever": [0, 2, 10, 11, 45, 165], "share": [13, 16, 20, 22, 29, 31, 36, 39, 44, 146, 157, 175, 190], "sharp": [2, 7], "sheet": 2, "shift": [21, 44, 72, 73, 84, 87, 88, 93, 96, 97], "short": [22, 106, 117], "should": [5, 10, 14, 16, 20, 22, 27, 40, 43, 45, 74, 107, 118, 128, 136], "should_continu": 43, "should_use_last_clos": 74, "show": [1, 7, 52, 53, 58, 59, 147, 148, 149, 158, 159, 160], "show_ind": [1, 46], "show_plot": [1, 46], "show_tearsheet": [1, 46], "showcas": 7, "shown": [25, 26], "shut": 33, "side": [1, 2, 6, 8, 12, 22, 25, 36, 43, 146, 157], "sidebar": 17, "sign": 14, "signatur": 14, "similar": [13, 17, 30], "similarli": [], "simpl": [1, 5, 6, 8, 10, 16, 22, 26, 146, 157], "simple_start_ib": 15, "simple_start_single_fil": [25, 26], "simpli": [6, 8], "simplifi": [6, 8], "simultan": 44, "sinc": 13, "singl": [14, 20, 44, 144, 155], "situat": 5, "six": [32, 106, 117], "size": [63, 67, 81], "skill": 25, "skip": [17, 30], "sleep": [1, 2, 26, 40, 47, 101, 102, 113, 178, 193], "sleeptim": [1, 2, 6, 8, 13, 25, 26, 32, 40, 107, 118], "slightli": [], "slow": 25, "smart": [44, 125, 127, 129, 133, 135, 137, 146, 157], "smoothli": 17, "snakeviz": 25, "snapshot": [14, 42], "snapshot_befor": 42, "so": [6, 8, 10, 13, 14, 17, 19, 22, 25, 26, 47, 82, 128, 136], "socket": [15, 17], "socket_port": 15, "sold": [36, 51, 57, 146, 157], "solid": [62, 66], "solut": 14, "some": [5, 10, 14, 25, 26, 44, 45, 74, 146, 157], "some_var": [], "someth": [5, 13], "sometim": 25, "soon": 17, "sort": [127, 129, 131, 135, 137, 140], "sortino": 7, "sought": [52, 58, 147, 158], "sourc": [0, 5, 8, 13, 20, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "speak": [11, 41], "specif": [2, 7, 13, 17, 19, 22, 41, 44, 62, 66, 109, 120, 125, 126, 133, 134, 146, 157, 166], "specifi": [20, 22, 44, 72, 73, 146, 157, 196], "speed": [44, 178, 193], "spend": 25, "split": [20, 45], "spy": [1, 2, 5, 6, 8, 19, 22, 25, 30, 31, 32, 36, 40, 44, 71, 72, 73, 74, 75, 79, 80, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 144, 146, 150, 152, 153, 155, 157, 161, 163, 164, 165], "sqlalchemi": [], "sqlite": 17, "squar": [63, 67], "src": 17, "sse": [32, 106, 117], "standard": [], "star": [63, 67], "start": [1, 2, 5, 6, 7, 8, 10, 11, 13, 17, 20, 21, 30, 32, 44, 72, 73, 78, 81, 102, 113, 173, 188], "start_buff": 44, "start_dat": 21, "start_dt": 44, "startegi": 5, "starter": 17, "starting_posit": 1, "stat": [1, 28, 42], "state": [17, 166, 196], "static": 44, "statist": 2, "stats_fil": [1, 32], "statu": [22, 148, 149, 159, 160], "std": 44, "steea9fhiszntmpihqjudeqolitj0javz": 17, "step": [2, 5, 14], "stike": [44, 125, 133], "still": [146, 157], "stock": [0, 1, 2, 5, 6, 8, 9, 10, 12, 17, 19, 20, 21, 22, 23, 26, 32, 44, 106, 117, 126, 134, 146, 152, 157, 163], "stock_split": 20, "stop": [14, 22, 25, 32, 33, 40, 43, 62, 63, 66, 67, 102, 103, 113, 114, 146, 152, 153, 157, 163, 164, 172, 187, 196], "stop_al": 46, "stop_limit": [22, 146, 157], "stop_loss": [146, 152, 157, 163], "stop_loss_limit": [146, 157], "stop_loss_limit_pric": [22, 146, 157], "stop_loss_pric": [22, 146, 152, 157, 163], "stop_ord": 43, "stop_pric": [22, 43, 146, 152, 153, 157, 163, 164], "storag": 26, "store": 196, "str": [1, 19, 20, 21, 22, 23, 44, 52, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 84, 93, 105, 106, 116, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 153, 157, 164, 174, 178, 179, 189, 193, 194], "straightforward": 17, "strangl": [14, 15], "strat": 5, "strategi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "strategy_001": [], "strategy_1": 32, "strategy_2": 32, "strategy_executor": [13, 16], "strategy_id": [17, 196], "strategy_nam": 17, "stream": [14, 71, 78, 81], "strength": 2, "strictli": [5, 21], "strike": [9, 19, 44, 72, 126, 128, 131, 134, 136, 140, 146, 157], "strike1": [44, 125, 126, 133, 134], "strike2": [44, 125, 126, 133, 134], "strike_max": 44, "strike_min": 44, "strike_pric": [152, 163], "string": [1, 17, 19, 20, 21, 22, 44, 72, 73, 105, 116, 132, 141, 146, 157, 178, 193, 196], "strke": [44, 125, 133], "strongli": [], "structur": [14, 26], "studio": 2, "style": [62, 66], "sub": 26, "subaccount": [14, 17], "subaccount1": 17, "submiss": 22, "submit": [14, 22, 37, 43, 47, 142, 146, 152, 153, 157, 163, 164], "submit_ord": [1, 2, 5, 6, 8, 10, 13, 19, 22, 25, 26, 40, 43, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 146, 150, 155, 156, 157, 161], "subscrib": 14, "subscript": [1, 11, 26], "subsequ": [5, 6, 8], "success": 17, "successfulli": [35, 36, 37], "suffic": 14, "suffici": [146, 157], "suggest": 26, "suit": [2, 26], "suitabl": [2, 17], "sum": [20, 51, 57], "summari": [0, 6, 8, 26, 27], "super": 26, "suppli": [0, 10, 21], "supplier": 20, "support": [2, 6, 7, 8, 13, 14, 17, 21, 25, 26, 44, 63, 67, 128, 136, 146, 157], "sure": [2, 6, 8, 14, 25, 26], "sw": [63, 67], "swim": 26, "switch": 26, "sybmol": 21, "symbol": [1, 2, 5, 6, 8, 12, 13, 19, 20, 21, 22, 23, 25, 36, 44, 63, 67, 72, 73, 74, 146, 152, 153, 157, 163, 164], "symbol2asset": 19, "system": [151, 162], "t": [6, 8, 13, 14, 17, 26], "ta": 13, "tab": 17, "tabl": 196, "tag": [22, 153, 164], "tailor": 7, "take": [6, 8, 17, 22, 25, 41, 44, 62, 63, 66, 67, 73, 74, 75, 125, 133], "take_profit_pric": [22, 146, 152, 157, 163], "taken": 4, "taker": 24, "tall": [63, 67], "tase": [32, 106, 117], "task": 41, "tear": 2, "tearsheet": [0, 1, 26, 46], "tearsheet_fil": [1, 46], "technic": [2, 13, 41], "tediou": 14, "tell": 82, "term": [2, 14], "termin": [2, 13, 25, 26], "test": [0, 2, 15, 17], "text": [62, 63, 66, 67], "than": [16, 17, 44, 82, 146, 147, 157, 158], "thei": [3, 5, 11, 17, 20, 26, 41, 81, 128, 136], "them": [2, 11, 14, 17, 20, 22, 25, 26, 47, 48, 61, 70, 82, 101, 124, 142, 145, 156], "themselv": 20, "theoret": [128, 136], "therefor": [167, 182], "theta": [44, 128, 136], "thetadata": [0, 2, 26], "thetadata_password": 8, "thetadata_usernam": 8, "thetadatabacktest": 8, "thi": [1, 2, 5, 6, 8, 9, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 49, 51, 55, 57, 62, 63, 66, 67, 72, 73, 74, 75, 77, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 107, 118, 146, 153, 157, 164, 167, 168, 177, 178, 182, 183, 192, 193], "thin": [63, 67], "thing": 47, "think": [17, 82], "third": 5, "thoroughli": 15, "those": [13, 17, 166], "though": [146, 157], "thoughtfulli": [], "three": [0, 15, 20, 22], "threshold": [22, 146, 157], "throttl": 20, "through": [2, 13, 14, 17], "tick": 20, "ticker": [9, 19, 20, 32, 44, 81], "time": [3, 5, 6, 8, 9, 12, 13, 14, 17, 20, 21, 25, 32, 41, 43, 44, 45, 71, 72, 73, 78, 81, 82, 87, 88, 96, 97, 102, 103, 107, 113, 114, 118, 128, 136, 146, 157, 168, 178, 183, 193], "time_in_forc": [22, 146, 157], "timedelta": [44, 72, 73, 102, 103, 113, 114], "timefram": 20, "timeshift": [21, 43, 44, 72, 73, 84, 87, 88, 93, 96, 97], "timestamp": [2, 12, 20, 44, 62, 63, 66, 67, 85, 86, 87, 88, 89, 94, 95, 96, 97, 98, 196], "timestep": [5, 21, 43, 44, 72, 73, 84, 93], "timestep_map": [21, 44], "timezon": [20, 21, 26, 44, 90, 91, 99, 100, 176, 181, 191], "tip": 17, "titl": [], "tlt": [30, 52, 58, 73, 75, 80, 111, 112, 122, 123, 146, 147, 153, 157, 158, 164], "to_csv": 5, "to_datalin": 21, "to_default_timezon": [26, 44, 47], "to_dict": [19, 22, 23], "to_posit": 22, "to_request_field": 12, "todai": [17, 74, 82], "todo": [43, 74], "togeth": [5, 22, 25], "token": 17, "tool": [6, 8, 17, 26], "top": [14, 17, 26], "topic": 17, "total": [7, 20, 28, 51, 57, 147, 158, 175, 190], "totalview": 14, "tqqq": 25, "trace": 42, "trace_stat": [26, 27, 178, 193], "track": [19, 23, 26, 52, 53, 58, 59, 148, 149, 159, 160], "trade": [0, 1, 4, 5, 10, 11, 13, 15, 17, 18, 19, 20, 21, 22, 27, 30, 31, 32, 33, 40, 41, 43, 44, 45, 52, 58, 73, 74, 76, 78, 81, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 126, 130, 134, 138, 146, 157, 171, 186, 196], "trade_cost": 22, "trade_count": 196, "tradeapi": 12, "trader": [5, 6, 8, 10, 12, 13, 14, 15, 16, 26, 33], "trades_fil": 1, "tradest": 26, "tradier": [11, 26, 44, 77, 153, 164], "tradier_access_token": 17, "tradier_account_numb": 17, "tradier_config": 16, "tradier_is_pap": 17, "trading_fe": 24, "trading_fee_1": 25, "trading_fee_2": 25, "trading_hours_end": 21, "trading_hours_start": 21, "tradingcalendar": [32, 106, 117], "tradingfe": [1, 24, 25, 26], "trail": [22, 146, 152, 157, 163], "trail_perc": [22, 146, 157], "trail_pric": [22, 146, 157], "trailing_stop": [22, 146, 157], "trailing_stop_pric": [152, 163], "transact": [13, 22, 167, 182], "trashcan": 17, "tree": 26, "triangl": [63, 67], "trigger": [22, 146, 157], "trim": 21, "trim_data": 21, "troubleshoot": [], "trough": 7, "true": [1, 5, 12, 13, 16, 17, 22, 24, 25, 26, 32, 43, 44, 46, 72, 73, 74, 105, 116, 151, 162, 168, 170, 183, 185], "try": [14, 25, 146, 157], "tsx": [32, 106, 117], "tsxv": [32, 106, 117], "tupl": [22, 73], "tutori": [15, 26], "tw": [17, 20], "two": [2, 3, 11, 19, 22, 25, 26, 73, 145, 156], "twsapi": [], "type": [0, 1, 2, 5, 12, 14, 18, 19, 20, 21, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "typic": [17, 22, 165], "tz_local": 21, "u": [6, 7, 8, 13, 14, 21, 26, 175, 190], "u17369206": [14, 17], "ultra": 14, "under": [13, 14, 17, 25], "underli": [19, 21, 44, 128, 131, 136, 140], "underlying_asset": 19, "underlying_pric": [44, 128, 136], "understand": [2, 4, 25], "unexpect": [], "unexpectedli": [], "uniqu": 3, "unit": [17, 44, 146, 157, 178, 193], "unix": 12, "unless": 5, "unlik": 30, "unnecessari": [14, 17], "unprocess": 22, "unspent_monei": 26, "until": [6, 8, 12, 20, 102, 103, 113, 114, 146, 157], "up": [1, 2, 5, 6, 11, 14, 15, 17, 19, 25, 26, 44, 63, 67, 196], "updat": [20, 22, 26, 36, 38, 108, 119, 146, 157, 167, 182], "update_date_index": 44, "update_paramet": [26, 38, 47], "update_raw": 22, "update_trail_stop_pric": 22, "upgrad": [2, 5, 10, 25, 26], "upload": 14, "upon": [], "upper": 14, "url": [14, 17], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 76, 82, 101, 105, 107, 116, 118, 127, 128, 129, 130, 131, 135, 136, 137, 138, 140, 142, 146, 157, 165, 166, 167, 177, 178, 180, 182, 192, 193, 195, 196], "us_equ": 12, "us_futur": [32, 106, 117], "usag": [17, 26], "usd": [1, 19, 21, 72, 73, 74, 146, 152, 153, 157, 163, 164], "usdc": 1, "usdt": [1, 19, 49, 51, 55, 57, 72, 74, 146, 157], "user": [0, 2, 5, 10, 14, 17, 21, 25, 27, 41, 45, 46, 144, 146, 155, 157, 196], "user123": [14, 17], "userdict": 19, "usernam": [2, 8, 14, 17], "usual": [1, 47, 178, 193], "utc": 21, "util": [], "utm_campaign": 6, "utm_sourc": 6, "utp": 14, "v": [2, 7, 19], "v2": 7, "va12204793": 17, "va22904793": 16, "valid": [2, 19, 21, 22, 44, 125, 126, 133, 134, 146, 157], "valu": [1, 3, 5, 9, 12, 13, 14, 17, 19, 20, 21, 23, 28, 43, 45, 46, 48, 49, 51, 55, 57, 61, 62, 63, 66, 67, 72, 73, 128, 136, 153, 164, 175, 190, 196], "valuat": 1, "value_typ": 23, "var": 26, "var1": 196, "var2": 196, "variabl": [14, 26, 31, 42, 166], "variant": 22, "variat": 7, "varieti": 7, "variou": [2, 6, 7, 8, 14], "vars_backup": 196, "vcpu": 17, "ve": [2, 13, 16, 26], "vector": 26, "vega": [128, 136], "verbiag": [], "veri": [10, 17, 26], "verifi": 17, "versatil": [6, 8, 13, 17], "version": [2, 5, 7, 10, 17, 25, 26], "via": 14, "view": [4, 17], "visit": [7, 16, 17, 25, 26], "visual": [2, 3, 7, 25], "visualstudio": 2, "vital": 2, "vm": 17, "volatil": [7, 22, 128, 136], "volum": [5, 20, 21, 78, 81], "voyz": [], "vwap": [78, 81], "wa": [2, 12, 13, 27, 30, 33, 34, 41, 43, 72, 167, 182], "wait": [17, 22, 39, 109, 110, 111, 112, 120, 121, 122, 123], "wait_for_order_execut": [26, 47], "wait_for_order_registr": [26, 47], "wait_for_orders_execut": [26, 47], "wait_for_orders_registr": [26, 47], "wait_to_be_clos": 22, "wait_to_be_regist": 22, "walk": [2, 17], "want": [1, 2, 5, 8, 10, 12, 13, 16, 17, 25, 26, 41, 44, 62, 66], "was_transmit": 22, "we": [5, 6, 7, 8, 10, 11, 13, 14, 17, 25, 26, 28, 47, 72, 146, 157], "weak": 2, "wealth": 26, "web": [25, 46], "webhook": 17, "websit": [2, 7, 10, 13, 14, 16, 17], "week": [72, 73], "weight": 22, "welcom": 25, "well": 26, "were": [9, 26, 38], "what": [26, 47, 82, 177, 192], "whatev": 13, "when": [0, 1, 2, 5, 6, 8, 13, 14, 17, 19, 20, 22, 25, 26, 27, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 62, 63, 66, 67, 82, 146, 157, 167, 172, 182, 187, 196], "whenev": [167, 182], "where": [22, 25, 42, 146, 157], "whether": [1, 17, 22, 44, 46, 72, 82, 128, 136, 146, 157], "which": [2, 6, 7, 8, 9, 13, 14, 17, 20, 21, 22, 32, 41, 49, 51, 55, 57, 74, 75, 76, 77, 128, 130, 136, 138, 178, 193], "while": [14, 17], "white": [62, 63, 66, 67], "who": [5, 17, 52, 58, 147, 158], "whose": [44, 126, 134], "why": [2, 26], "wide": [13, 17, 63, 67], "width": [62, 66, 72, 73], "wiki": [], "window": 26, "wish": [5, 26], "within": [1, 17, 18, 107, 118, 143, 154], "without": [14, 17, 25, 131, 140], "won": [6, 8], "word": [22, 167, 182], "work": [0, 2, 5, 11, 15, 17, 25, 26, 72, 73, 77, 166], "worker": 17, "workstat": 15, "world": [14, 17], "would": [1, 2, 5, 16, 19, 25, 26, 44, 51, 57, 146, 157, 178, 193], "wrapper": 21, "write": [1, 2, 6, 8], "www": [8, 16], "x": [63, 67], "xam": [32, 106, 117], "xasx": [32, 106, 117], "xbkk": [32, 106, 117], "xbog": [32, 106, 117], "xbom": [32, 106, 117], "xbru": [32, 106, 117], "xbud": [32, 106, 117], "xbue": [32, 106, 117], "xcbf": [32, 106, 117], "xcse": [32, 106, 117], "xdub": [32, 106, 117], "xetr": [32, 106, 117], "xfra": [32, 106, 117], "xhel": [32, 106, 117], "xhkg": [32, 106, 117], "xice": [32, 106, 117], "xidx": [32, 106, 117], "xist": [32, 106, 117], "xjse": [32, 106, 117], "xkar": [32, 106, 117], "xkl": [32, 106, 117], "xkrx": [32, 106, 117], "xli": [32, 106, 117], "xlim": [32, 106, 117], "xlon": [32, 106, 117], "xmad": [32, 106, 117], "xmex": [32, 106, 117], "xmil": [32, 106, 117], "xmo": [32, 106, 117], "xny": [32, 106, 117], "xnze": [32, 106, 117], "xosl": [32, 106, 117], "xpar": [32, 106, 117], "xph": [32, 106, 117], "xpra": [32, 106, 117], "xse": [32, 106, 117], "xsgo": [32, 106, 117], "xshg": [32, 106, 117], "xsto": [32, 106, 117], "xswx": [32, 106, 117], "xtae": [32, 106, 117], "xtai": [32, 106, 117], "xtk": [32, 106, 117], "xtse": [32, 106, 117], "xwar": [32, 106, 117], "xwbo": [32, 106, 117], "xyz1234567890abcdef": 17, "y": [63, 67], "yahoo": [0, 1, 2, 5, 20, 26, 72, 73, 106, 117], "yahoo_data": 44, "yahoodata": 44, "yahoodatabacktest": [1, 10, 25, 26, 32], "yappi": 25, "year": [2, 6, 8], "yearli": 7, "yellow": [62, 63, 66, 67], "yet": [22, 46], "yf": [5, 44], "yfinanc": [5, 44], "yield": 20, "york": [5, 17], "you": [0, 1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22, 25, 26, 29, 32, 44, 47, 48, 49, 51, 55, 57, 61, 62, 66, 70, 72, 73, 82, 101, 124, 142, 146, 157, 165, 166, 178, 193], "your": [2, 5, 6, 7, 8, 10, 11, 12, 14, 15, 18, 20, 22, 40, 41, 47, 48, 49, 51, 55, 57, 61, 70, 82, 101, 146, 157, 165, 166, 178, 193, 196], "your_access_token": 16, "your_account_numb": 16, "your_alpaca_api_kei": [25, 26], "your_alpaca_secret": [25, 26], "your_api_kei": [12, 13], "your_api_secret": 12, "your_passphras": 13, "your_polygon_api_kei": [2, 6], "your_secret": 13, "your_secret_kei": 13, "yyyi": [76, 130, 138], "yyyymm": 19, "yyyymmdd": [19, 132, 141], "zero": [167, 182], "zone": [5, 20]}, "titles": ["Backtesting", "Backtesting Function", "How To Backtest", "Indicators Files", "Logs CSV", "Pandas (CSV or other data)", "Polygon.io Backtesting", "Tearsheet HTML", "ThetaData Backtesting", "Trades Files", "Yahoo", "Brokers", "Alpaca", "Crypto Brokers (Using CCXT)", "Interactive Brokers", "Interactive Brokers Legacy", "Tradier", "Deployment Guide", "Entities", "Asset", "Bars", "Data", "Order", "Position", "Trading Fee", "What is Lumibot?", "Lumibot: Backtesting and Algorithmic Trading Library", "Lifecycle Methods", "def after_market_closes", "def before_market_closes", "def before_market_opens", "def before_starting_trading", "def initialize", "def on_abrupt_closing", "def on_bot_crash", "def on_canceled_order", "def on_filled_order", "def on_new_order", "def on_parameters_updated", "def on_partially_filled_order", "def on_trading_iteration", "Summary", "def trace_stats", "Backtesting", "Data Sources", "Strategies", "Traders", "Strategy Methods", "Account Management", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "Chart Functions", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "Data", "self.cancel_realtime_bars", "self.get_historical_prices", "self.get_historical_prices_for_assets", "self.get_last_price", "self.get_last_prices", "self.get_next_trading_day", "self.get_quote", "self.get_realtime_bars", "self.get_yesterday_dividend", "self.get_yesterday_dividends", "self.start_realtime_bars", "DateTime", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "Miscellaneous", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "Options", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_strikes", "self.options_expiry_to_datetime_date", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_option_expiration_after_date", "self.get_strikes", "self.options_expiry_to_datetime_date", "Order Management", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "Parameters", "Strategy Properties", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "self.pytz", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "Variable Backup & Restore"], "titleterms": {"1": [25, 26], "2": [25, 26], "3": [25, 26], "4": 25, "5": 25, "6": 25, "7": 25, "8": 25, "In": 5, "It": 196, "To": 2, "With": [22, 25], "account": [14, 25, 48], "ad": 25, "add_lin": [62, 66], "add_mark": [63, 67], "addit": 26, "advanc": 22, "after_market_clos": 28, "algorithm": 26, "all": 26, "alpaca": [12, 17, 25], "an": 25, "api": 25, "ask": [], "asset": 19, "authent": 14, "autom": 14, "await_market_to_clos": [102, 113], "await_market_to_open": [103, 114], "backtest": [0, 1, 2, 6, 8, 25, 26, 43], "backup": 196, "bar": 20, "before_market_clos": 29, "before_market_open": 30, "before_starting_trad": 31, "benefit": 196, "bot": 26, "broker": [11, 13, 14, 15, 17, 43], "cancel_open_ord": [143, 154], "cancel_ord": [144, 145, 155, 156], "cancel_realtime_bar": 71, "cash": [167, 182], "ccxt": 13, "chart": 61, "choos": [2, 17], "class": 25, "coinbas": 17, "conclus": [2, 17], "configur": [13, 14, 16, 17, 25, 196], "content": [0, 11, 18, 26, 27, 44, 47], "creat": [25, 26], "create_ord": [146, 157], "crypto": 13, "csv": [4, 5], "data": [2, 5, 14, 21, 43, 44, 70], "databas": 196, "datafram": 5, "datetim": 82, "def": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "definit": [], "deploi": 17, "deploy": 17, "detail": [], "document": [12, 19, 20, 22, 45], "entiti": 18, "environ": 17, "exampl": [5, 13, 14, 16, 17], "extra": 26, "factor": 14, "fee": [24, 25], "file": [0, 2, 3, 9], "final": 17, "first_iter": [168, 183], "follow": 25, "frequent": [], "from": [0, 2], "full": [13, 16], "function": [1, 61], "gener": [0, 2, 17], "get": [16, 25, 26], "get_asset_potential_tot": [147, 158], "get_cash": [49, 55], "get_chain": [125, 126, 133, 134], "get_datetim": [83, 92], "get_datetime_rang": [84, 93], "get_expir": [127, 135], "get_greek": [128, 136], "get_historical_pric": 72, "get_historical_prices_for_asset": 73, "get_last_dai": [85, 94], "get_last_minut": [86, 95], "get_last_pric": [74, 75], "get_lines_df": [64, 68], "get_markers_df": [65, 69], "get_multipli": [129, 137], "get_next_trading_dai": [76, 130, 138], "get_option_expiration_after_d": 139, "get_ord": [148, 149, 159, 160], "get_paramet": [50, 56, 104, 115], "get_portfolio_valu": [51, 57], "get_posit": [52, 53, 58, 59], "get_quot": 77, "get_realtime_bar": 78, "get_round_dai": [87, 96], "get_round_minut": [88, 97], "get_selling_ord": [150, 161], "get_strik": [131, 140], "get_timestamp": [89, 98], "get_yesterday_dividend": [79, 80], "guid": [17, 196], "help": 26, "how": [2, 196], "html": [2, 7], "i": 25, "import": 25, "improv": 25, "indic": [2, 3, 26], "initi": 32, "initial_budget": [169, 184], "instal": [2, 25, 26], "instanti": 25, "interact": [14, 15, 17], "io": [2, 6], "is_backtest": [170, 185], "kei": 25, "kraken": 17, "last_on_trading_iteration_datetim": [171, 186], "leg": 22, "legaci": [15, 17], "librari": 26, "lifecycl": 27, "live": 26, "load": [], "localize_datetim": [90, 99], "log": 4, "log_messag": [105, 116], "lumibot": [2, 25, 26], "lumiwealth": 25, "manag": [48, 142], "market": 14, "method": [27, 47], "minutes_before_clos": [172, 187], "minutes_before_open": [173, 188], "miscellan": 101, "modul": [25, 44], "name": [174, 189], "need": 26, "note": [], "on_abrupt_clos": 33, "on_bot_crash": 34, "on_canceled_ord": 35, "on_filled_ord": 36, "on_new_ord": 37, "on_parameters_upd": 38, "on_partially_filled_ord": 39, "on_trading_iter": 40, "option": [25, 124], "options_expiry_to_datetime_d": [132, 141], "order": [22, 142], "other": 5, "packag": 25, "panda": [5, 44], "paper": [14, 25], "paramet": 165, "perform": 25, "platform": 17, "polygon": [2, 6], "portfolio_valu": [175, 190], "posit": 23, "profil": 25, "properti": 166, "pytz": [176, 181, 191], "question": [], "quote_asset": [177, 192], "refer": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "render": 17, "replit": 17, "resourc": 26, "restor": 196, "run": [2, 13, 16, 25], "secondari": 14, "secret": 17, "self": [49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "sell_al": [151, 162], "set": 13, "set_market": [106, 117], "set_paramet": [54, 60], "setup": 14, "sleep": [107, 118], "sleeptim": [178, 193], "sourc": [2, 43, 44], "start": [16, 25, 26], "start_realtime_bar": 81, "step": [17, 25, 26], "storag": 196, "strategi": [13, 14, 16, 17, 25, 26, 45, 47, 166], "structur": 196, "submit_ord": [152, 153, 163, 164], "subscript": 14, "summari": [5, 41], "tabl": 26, "take": 26, "tearsheet": [2, 7], "thetadata": 8, "timezon": [179, 194], "to_default_timezon": [91, 100], "togeth": 26, "trace_stat": 42, "trade": [2, 9, 14, 24, 25, 26], "trader": [25, 46], "tradier": [16, 17], "troubleshoot": [], "two": 14, "type": 22, "unspent_monei": [180, 195], "update_paramet": [108, 119], "us": [13, 14], "usag": 196, "var": 196, "variabl": [17, 196], "wait_for_order_execut": [109, 120], "wait_for_order_registr": [110, 121], "wait_for_orders_execut": [111, 122], "wait_for_orders_registr": [112, 123], "what": 25, "why": [], "work": 196, "yahoo": [10, 44], "your": [13, 16, 17, 25, 26]}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Account Management": [[48, null]], "Adding Trading Fees": [[25, "adding-trading-fees"]], "Additional Resources": [[26, "additional-resources"]], "Advanced Order Types": [[22, "advanced-order-types"]], "All Together": [[26, "all-together"]], "Alpaca": [[12, null]], "Alpaca Configuration": [[17, "alpaca-configuration"], [17, "id22"]], "Asset": [[19, null]], "Backtesting": [[0, null], [43, null]], "Backtesting Broker": [[43, "module-lumibot.backtesting.backtesting_broker"]], "Backtesting Function": [[1, null]], "Bars": [[20, null]], "Benefits of self.vars": [[196, "benefits-of-self-vars"]], "Broker Configuration": [[17, "broker-configuration"]], "Brokers": [[11, null]], "Chart Functions": [[61, null]], "Choosing Your Deployment Platform": [[17, "id1"]], "Choosing a Data Source": [[2, "choosing-a-data-source"]], "Coinbase Configuration": [[17, "coinbase-configuration"], [17, "id23"]], "Conclusion": [[2, "conclusion"], [17, "conclusion"]], "Configuration": [[16, "configuration"]], "Configuration Settings": [[13, "configuration-settings"]], "Contents:": [[0, null], [11, null], [18, null], [27, null], [47, null]], "Crypto Brokers (Using CCXT)": [[13, null]], "Data": [[21, null], [70, null]], "Data Source": [[44, "module-lumibot.data_sources.data_source"]], "Data Source Backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting"]], "Data Sources": [[44, null]], "Database Configuration": [[196, "database-configuration"]], "Database Storage Structure": [[196, "database-storage-structure"]], "DateTime": [[82, null]], "Deploying to Render": [[17, "id2"]], "Deploying to Replit": [[17, "id3"]], "Deployment Guide": [[17, null]], "Documentation": [[12, "module-lumibot.brokers.alpaca"], [19, "module-entities.asset"], [20, "module-entities.bars"], [22, "module-entities.order"], [45, "module-lumibot.strategies.strategy.Strategy"]], "Entities": [[18, null]], "Example Dataframe": [[5, "id1"]], "Example Strategy": [[14, "example-strategy"]], "Example Strategy for Deployment": [[17, "example-strategy-for-deployment"]], "Files Generated from Backtesting": [[0, "files-generated-from-backtesting"], [2, "files-generated-from-backtesting"]], "Final Steps": [[17, "final-steps"]], "Full Example Strategy": [[13, "full-example-strategy"], [16, "full-example-strategy"]], "General Environment Variables": [[17, "general-environment-variables"], [17, "id27"]], "Getting Started": [[16, "getting-started"], [26, "getting-started"]], "Getting Started With Lumibot": [[25, "getting-started-with-lumibot"]], "How It Works": [[196, "how-it-works"]], "How To Backtest": [[2, null]], "In Summary": [[5, "in-summary"]], "Indicators Files": [[2, "indicators-files"], [3, null]], "Indices and tables": [[26, "indices-and-tables"]], "Installing LumiBot": [[2, "installing-lumibot"]], "Interactive Brokers": [[14, null]], "Interactive Brokers Configuration": [[14, "id1"], [17, "interactive-brokers-configuration"], [17, "id25"]], "Interactive Brokers Legacy": [[15, null]], "Interactive Brokers-Legacy Configuration": [[17, "interactive-brokers-legacy-configuration"], [17, "id26"]], "Kraken Configuration": [[17, "kraken-configuration"], [17, "id24"]], "Lifecycle Methods": [[27, null]], "Logs CSV": [[4, null]], "Lumibot: Backtesting and Algorithmic Trading Library": [[26, null]], "Lumiwealth": [[25, "id1"]], "Market Data Subscriptions": [[14, "market-data-subscriptions"]], "Miscellaneous": [[101, null]], "Module contents": [[44, "module-lumibot.data_sources"]], "Need Extra Help?": [[26, "need-extra-help"]], "Options": [[124, null]], "Order": [[22, null]], "Order Management": [[142, null]], "Order With Legs": [[22, "order-with-legs"]], "Pandas": [[44, "module-lumibot.data_sources.pandas_data"]], "Pandas (CSV or other data)": [[5, null]], "Parameters": [[165, null]], "Polygon.io Backtesting": [[6, null]], "Position": [[23, null]], "Profiling to Improve Performance": [[25, "profiling-to-improve-performance"]], "Reference": [[28, "reference"], [29, "reference"], [30, "reference"], [31, "reference"], [32, "reference"], [33, "reference"], [34, "reference"], [35, "reference"], [36, "reference"], [37, "reference"], [38, "reference"], [39, "reference"], [40, "reference"], [42, "reference"]], "Running Your Strategy": [[13, "running-your-strategy"], [16, "running-your-strategy"]], "Running a Backtest with Polygon.io": [[2, "running-a-backtest-with-polygon-io"]], "Secrets Configuration": [[17, "secrets-configuration"]], "Step 1: Install Lumibot": [[26, "step-1-install-lumibot"]], "Step 1: Install the Package": [[25, "step-1-install-the-package"]], "Step 2: Create a Strategy for Backtesting": [[26, "step-2-create-a-strategy-for-backtesting"]], "Step 2: Import the Following Modules": [[25, "step-2-import-the-following-modules"]], "Step 3: Create an Alpaca Paper Trading Account": [[25, "step-3-create-an-alpaca-paper-trading-account"]], "Step 3: Take Your Bot Live": [[26, "step-3-take-your-bot-live"]], "Step 4: Configure Your API Keys": [[25, "step-4-configure-your-api-keys"]], "Step 5: Create a Strategy Class": [[25, "step-5-create-a-strategy-class"]], "Step 6: Instantiate the Trader, Alpaca, and Strategy Classes": [[25, "step-6-instantiate-the-trader-alpaca-and-strategy-classes"]], "Step 7: Backtest the Strategy (Optional)": [[25, "step-7-backtest-the-strategy-optional"]], "Step 8: Run the Strategy": [[25, "step-8-run-the-strategy"]], "Strategies": [[45, null]], "Strategy Methods": [[47, null]], "Strategy Properties": [[166, null]], "Strategy Setup": [[14, "strategy-setup"]], "Summary": [[41, null]], "Table of Contents": [[26, "table-of-contents"]], "Tearsheet HTML": [[2, "tearsheet-html"], [7, null]], "ThetaData Backtesting": [[8, null]], "Trader": [[46, "module-lumibot.traders.trader"]], "Traders": [[46, null]], "Trades Files": [[2, "trades-files"], [9, null]], "Tradier": [[16, null]], "Tradier Configuration": [[17, "tradier-configuration"], [17, "id21"]], "Trading Fee": [[24, null]], "Two-Factor Authentication (2FA)": [[14, "two-factor-authentication-2fa"]], "Usage Guide": [[196, "usage-guide"]], "Using a Paper Trading Account": [[14, "using-a-paper-trading-account"]], "Using a Secondary Username": [[14, "using-a-secondary-username"]], "Variable Backup & Restore": [[196, null]], "What is Lumibot?": [[25, null]], "Yahoo": [[10, null], [44, "module-lumibot.data_sources.yahoo_data"]], "def after_market_closes": [[28, null]], "def before_market_closes": [[29, null]], "def before_market_opens": [[30, null]], "def before_starting_trading": [[31, null]], "def initialize": [[32, null]], "def on_abrupt_closing": [[33, null]], "def on_bot_crash": [[34, null]], "def on_canceled_order": [[35, null]], "def on_filled_order": [[36, null]], "def on_new_order": [[37, null]], "def on_parameters_updated": [[38, null]], "def on_partially_filled_order": [[39, null]], "def on_trading_iteration": [[40, null]], "def trace_stats": [[42, null]], "self.add_line": [[62, null], [66, null]], "self.add_marker": [[63, null], [67, null]], "self.await_market_to_close": [[102, null], [113, null]], "self.await_market_to_open": [[103, null], [114, null]], "self.cancel_open_orders": [[143, null], [154, null]], "self.cancel_order": [[144, null], [155, null]], "self.cancel_orders": [[145, null], [156, null]], "self.cancel_realtime_bars": [[71, null]], "self.cash": [[167, null], [182, null]], "self.create_order": [[146, null], [157, null]], "self.first_iteration": [[168, null], [183, null]], "self.get_asset_potential_total": [[147, null], [158, null]], "self.get_cash": [[49, null], [55, null]], "self.get_chain": [[125, null], [133, null]], "self.get_chains": [[126, null], [134, null]], "self.get_datetime": [[83, null], [92, null]], "self.get_datetime_range": [[84, null], [93, null]], "self.get_expiration": [[127, null], [135, null]], "self.get_greeks": [[128, null], [136, null]], "self.get_historical_prices": [[72, null]], "self.get_historical_prices_for_assets": [[73, null]], "self.get_last_day": [[85, null], [94, null]], "self.get_last_minute": [[86, null], [95, null]], "self.get_last_price": [[74, null]], "self.get_last_prices": [[75, null]], "self.get_lines_df": [[64, null], [68, null]], "self.get_markers_df": [[65, null], [69, null]], "self.get_multiplier": [[129, null], [137, null]], "self.get_next_trading_day": [[76, null], [130, null], [138, null]], "self.get_option_expiration_after_date": [[139, null]], "self.get_order": [[148, null], [159, null]], "self.get_orders": [[149, null], [160, null]], "self.get_parameters": [[50, null], [56, null], [104, null], [115, null]], "self.get_portfolio_value": [[51, null], [57, null]], "self.get_position": [[52, null], [58, null]], "self.get_positions": [[53, null], [59, null]], "self.get_quote": [[77, null]], "self.get_realtime_bars": [[78, null]], "self.get_round_day": [[87, null], [96, null]], "self.get_round_minute": [[88, null], [97, null]], "self.get_selling_order": [[150, null], [161, null]], "self.get_strikes": [[131, null], [140, null]], "self.get_timestamp": [[89, null], [98, null]], "self.get_yesterday_dividend": [[79, null]], "self.get_yesterday_dividends": [[80, null]], "self.initial_budget": [[169, null], [184, null]], "self.is_backtesting": [[170, null], [185, null]], "self.last_on_trading_iteration_datetime": [[171, null], [186, null]], "self.localize_datetime": [[90, null], [99, null]], "self.log_message": [[105, null], [116, null]], "self.minutes_before_closing": [[172, null], [187, null]], "self.minutes_before_opening": [[173, null], [188, null]], "self.name": [[174, null], [189, null]], "self.options_expiry_to_datetime_date": [[132, null], [141, null]], "self.portfolio_value": [[175, null], [190, null]], "self.pytz": [[176, null], [181, null], [191, null]], "self.quote_asset": [[177, null], [192, null]], "self.sell_all": [[151, null], [162, null]], "self.set_market": [[106, null], [117, null]], "self.set_parameters": [[54, null], [60, null]], "self.sleep": [[107, null], [118, null]], "self.sleeptime": [[178, null], [193, null]], "self.start_realtime_bars": [[81, null]], "self.submit_order": [[152, null], [163, null]], "self.submit_orders": [[153, null], [164, null]], "self.timezone": [[179, null], [194, null]], "self.to_default_timezone": [[91, null], [100, null]], "self.unspent_money": [[180, null], [195, null]], "self.update_parameters": [[108, null], [119, null]], "self.wait_for_order_execution": [[109, null], [120, null]], "self.wait_for_order_registration": [[110, null], [121, null]], "self.wait_for_orders_execution": [[111, null], [122, null]], "self.wait_for_orders_registration": [[112, null], [123, null]]}, "docnames": ["backtesting", "backtesting.backtesting_function", "backtesting.how_to_backtest", "backtesting.indicators_files", "backtesting.logs_csv", "backtesting.pandas", "backtesting.polygon", "backtesting.tearsheet_html", "backtesting.thetadata", "backtesting.trades_files", "backtesting.yahoo", "brokers", "brokers.alpaca", "brokers.ccxt", "brokers.interactive_brokers", "brokers.interactive_brokers_legacy", "brokers.tradier", "deployment", "entities", "entities.asset", "entities.bars", "entities.data", "entities.order", "entities.position", "entities.trading_fee", "getting_started", "index", "lifecycle_methods", "lifecycle_methods.after_market_closes", "lifecycle_methods.before_market_closes", "lifecycle_methods.before_market_opens", "lifecycle_methods.before_starting_trading", "lifecycle_methods.initialize", "lifecycle_methods.on_abrupt_closing", "lifecycle_methods.on_bot_crash", "lifecycle_methods.on_canceled_order", "lifecycle_methods.on_filled_order", "lifecycle_methods.on_new_order", "lifecycle_methods.on_parameters_updated", "lifecycle_methods.on_partially_filled_order", "lifecycle_methods.on_trading_iteration", "lifecycle_methods.summary", "lifecycle_methods.trace_stats", "lumibot.backtesting", "lumibot.data_sources", "lumibot.strategies", "lumibot.traders", "strategy_methods", "strategy_methods.account", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_cash", "strategy_methods.account/strategies.strategy.Strategy.get_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/strategies.strategy.Strategy.get_position", "strategy_methods.account/strategies.strategy.Strategy.get_positions", "strategy_methods.account/strategies.strategy.Strategy.set_parameters", "strategy_methods.chart", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df", "strategy_methods.chart/strategies.strategy.Strategy.add_line", "strategy_methods.chart/strategies.strategy.Strategy.add_marker", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df", "strategy_methods.data", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars", "strategy_methods.datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone", "strategy_methods.misc", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/strategies.strategy.Strategy.log_message", "strategy_methods.misc/strategies.strategy.Strategy.set_market", "strategy_methods.misc/strategies.strategy.Strategy.sleep", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.options", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.options/strategies.strategy.Strategy.get_chain", "strategy_methods.options/strategies.strategy.Strategy.get_chains", "strategy_methods.options/strategies.strategy.Strategy.get_expiration", "strategy_methods.options/strategies.strategy.Strategy.get_greeks", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date", "strategy_methods.options/strategies.strategy.Strategy.get_strikes", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/strategies.strategy.Strategy.create_order", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/strategies.strategy.Strategy.get_order", "strategy_methods.orders/strategies.strategy.Strategy.get_orders", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/strategies.strategy.Strategy.sell_all", "strategy_methods.orders/strategies.strategy.Strategy.submit_order", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders", "strategy_methods.parameters", "strategy_properties", "strategy_properties/lumibot.strategies.strategy.Strategy.cash", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/lumibot.strategies.strategy.Strategy.name", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money", "strategy_properties/lumibot.strategies.strategy.pytz", "strategy_properties/strategies.strategy.Strategy.cash", "strategy_properties/strategies.strategy.Strategy.first_iteration", "strategy_properties/strategies.strategy.Strategy.initial_budget", "strategy_properties/strategies.strategy.Strategy.is_backtesting", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/strategies.strategy.Strategy.name", "strategy_properties/strategies.strategy.Strategy.portfolio_value", "strategy_properties/strategies.strategy.Strategy.pytz", "strategy_properties/strategies.strategy.Strategy.quote_asset", "strategy_properties/strategies.strategy.Strategy.sleeptime", "strategy_properties/strategies.strategy.Strategy.timezone", "strategy_properties/strategies.strategy.Strategy.unspent_money", "vars"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["backtesting.rst", "backtesting.backtesting_function.rst", "backtesting.how_to_backtest.rst", "backtesting.indicators_files.rst", "backtesting.logs_csv.rst", "backtesting.pandas.rst", "backtesting.polygon.rst", "backtesting.tearsheet_html.rst", "backtesting.thetadata.rst", "backtesting.trades_files.rst", "backtesting.yahoo.rst", "brokers.rst", "brokers.alpaca.rst", "brokers.ccxt.rst", "brokers.interactive_brokers.rst", "brokers.interactive_brokers_legacy.rst", "brokers.tradier.rst", "deployment.rst", "entities.rst", "entities.asset.rst", "entities.bars.rst", "entities.data.rst", "entities.order.rst", "entities.position.rst", "entities.trading_fee.rst", "getting_started.rst", "index.rst", "lifecycle_methods.rst", "lifecycle_methods.after_market_closes.rst", "lifecycle_methods.before_market_closes.rst", "lifecycle_methods.before_market_opens.rst", "lifecycle_methods.before_starting_trading.rst", "lifecycle_methods.initialize.rst", "lifecycle_methods.on_abrupt_closing.rst", "lifecycle_methods.on_bot_crash.rst", "lifecycle_methods.on_canceled_order.rst", "lifecycle_methods.on_filled_order.rst", "lifecycle_methods.on_new_order.rst", "lifecycle_methods.on_parameters_updated.rst", "lifecycle_methods.on_partially_filled_order.rst", "lifecycle_methods.on_trading_iteration.rst", "lifecycle_methods.summary.rst", "lifecycle_methods.trace_stats.rst", "lumibot.backtesting.rst", "lumibot.data_sources.rst", "lumibot.strategies.rst", "lumibot.traders.rst", "strategy_methods.rst", "strategy_methods.account.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.chart.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.data.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars.rst", "strategy_methods.datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.misc.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.options.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.parameters.rst", "strategy_properties.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.cash.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.name.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money.rst", "strategy_properties/lumibot.strategies.strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.cash.rst", "strategy_properties/strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/strategies.strategy.Strategy.name.rst", "strategy_properties/strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/strategies.strategy.Strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/strategies.strategy.Strategy.timezone.rst", "strategy_properties/strategies.strategy.Strategy.unspent_money.rst", "vars.rst"], "indexentries": {"_asset_types (entities.asset.asset attribute)": [[19, "entities.asset.Asset._asset_types", false]], "_get_bars_dict() (entities.data.data method)": [[21, "entities.data.Data._get_bars_dict", false]], "_right (entities.asset.asset attribute)": [[19, "entities.asset.Asset._right", false]], "add_child_order() (entities.order.order method)": [[22, "entities.order.Order.add_child_order", false]], "add_line() (in module lumibot.strategies.strategy.strategy)": [[62, "lumibot.strategies.strategy.Strategy.add_line", false], [66, "lumibot.strategies.strategy.Strategy.add_line", false]], "add_marker() (in module lumibot.strategies.strategy.strategy)": [[63, "lumibot.strategies.strategy.Strategy.add_marker", false], [67, "lumibot.strategies.strategy.Strategy.add_marker", false]], "add_order() (entities.position.position method)": [[23, "entities.position.Position.add_order", false]], "add_strategy() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.add_strategy", false]], "add_transaction() (entities.order.order method)": [[22, "entities.order.Order.add_transaction", false]], "after_market_closes() (in module lumibot.strategies.strategy.strategy)": [[28, "lumibot.strategies.strategy.Strategy.after_market_closes", false]], "aggregate_bars() (entities.bars.bars method)": [[20, "entities.bars.Bars.aggregate_bars", false], [20, "id0", false]], "alpaca (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.Alpaca", false]], "api (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.api", false]], "asset (class in entities.asset)": [[19, "entities.asset.Asset", false]], "asset (entities.data.data attribute)": [[21, "entities.data.Data.asset", false]], "asset (entities.position.position attribute)": [[23, "entities.position.Position.asset", false]], "asset.assettype (class in entities.asset)": [[19, "entities.asset.Asset.AssetType", false]], "asset.optionright (class in entities.asset)": [[19, "entities.asset.Asset.OptionRight", false]], "asset_type (entities.asset.asset attribute)": [[19, "entities.asset.Asset.asset_type", false], [19, "id0", false]], "asset_type_map (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.ASSET_TYPE_MAP", false]], "asset_type_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.asset_type_must_be_one_of", false], [19, "id1", false]], "assetsmapping (class in entities.asset)": [[19, "entities.asset.AssetsMapping", false]], "available (entities.position.position attribute)": [[23, "entities.position.Position.available", false]], "available (entities.position.position property)": [[23, "id0", false]], "avg_fill_price (entities.order.order property)": [[22, "entities.order.Order.avg_fill_price", false]], "avg_fill_price (entities.position.position attribute)": [[23, "entities.position.Position.avg_fill_price", false]], "await_market_to_close() (in module lumibot.strategies.strategy.strategy)": [[102, "lumibot.strategies.strategy.Strategy.await_market_to_close", false], [113, "lumibot.strategies.strategy.Strategy.await_market_to_close", false]], "await_market_to_open() (in module lumibot.strategies.strategy.strategy)": [[103, "lumibot.strategies.strategy.Strategy.await_market_to_open", false], [114, "lumibot.strategies.strategy.Strategy.await_market_to_open", false]], "backtestingbroker (class in lumibot.backtesting.backtesting_broker)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker", false]], "bars (class in entities.bars)": [[20, "entities.bars.Bars", false]], "before_market_closes() (in module lumibot.strategies.strategy.strategy)": [[29, "lumibot.strategies.strategy.Strategy.before_market_closes", false]], "before_market_opens() (in module lumibot.strategies.strategy.strategy)": [[30, "lumibot.strategies.strategy.Strategy.before_market_opens", false]], "before_starting_trading() (in module lumibot.strategies.strategy.strategy)": [[31, "lumibot.strategies.strategy.Strategy.before_starting_trading", false]], "bracket (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.BRACKET", false]], "bracket (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.BRACKET", false]], "buy (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY", false]], "buy_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_CLOSE", false]], "buy_to_cover (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_COVER", false]], "buy_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_OPEN", false]], "calculate_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.calculate_greeks", false]], "calculate_trade_cost() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.calculate_trade_cost", false]], "call (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.CALL", false]], "cancel_open_orders() (in module lumibot.strategies.strategy.strategy)": [[143, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false], [154, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false]], "cancel_order() (in module lumibot.strategies.strategy.strategy)": [[144, "lumibot.strategies.strategy.Strategy.cancel_order", false], [155, "lumibot.strategies.strategy.Strategy.cancel_order", false]], "cancel_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cancel_order", false]], "cancel_order() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.cancel_order", false]], "cancel_orders() (in module lumibot.strategies.strategy.strategy)": [[145, "lumibot.strategies.strategy.Strategy.cancel_orders", false], [156, "lumibot.strategies.strategy.Strategy.cancel_orders", false]], "cancel_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[71, "lumibot.strategies.strategy.Strategy.cancel_realtime_bars", false]], "canceled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELED", false]], "cancelling (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELLING", false]], "cash (lumibot.strategies.strategy.strategy property)": [[167, "lumibot.strategies.strategy.Strategy.cash", false], [182, "lumibot.strategies.strategy.Strategy.cash", false]], "cash_pending() (entities.order.order method)": [[22, "entities.order.Order.cash_pending", false]], "cash_settle_options_contract() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cash_settle_options_contract", false]], "cash_settled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CASH_SETTLED", false]], "check_data() (entities.data.data method)": [[21, "entities.data.Data.check_data", false], [21, "id0", false]], "clean_trading_times() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.clean_trading_times", false]], "columns() (entities.data.data method)": [[21, "entities.data.Data.columns", false], [21, "id1", false]], "convert_timestep_str_to_timedelta() (lumibot.data_sources.data_source.datasource static method)": [[44, "lumibot.data_sources.data_source.DataSource.convert_timestep_str_to_timedelta", false]], "create_order() (in module lumibot.strategies.strategy.strategy)": [[146, "lumibot.strategies.strategy.Strategy.create_order", false], [157, "lumibot.strategies.strategy.Strategy.create_order", false]], "crypto (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.CRYPTO", false]], "data (class in entities.data)": [[21, "entities.data.Data", false]], "datalines (entities.data.data attribute)": [[21, "entities.data.Data.datalines", false]], "datasource (class in lumibot.data_sources.data_source)": [[44, "lumibot.data_sources.data_source.DataSource", false]], "datasourcebacktesting (class in lumibot.data_sources.data_source_backtesting)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting", false]], "date_end (entities.data.data attribute)": [[21, "entities.data.Data.date_end", false]], "date_start (entities.data.data attribute)": [[21, "entities.data.Data.date_start", false]], "datetime (lumibot.backtesting.backtesting_broker.backtestingbroker property)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.datetime", false]], "default_pytz (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_PYTZ", false]], "default_timezone (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_TIMEZONE", false]], "df (entities.data.data attribute)": [[21, "entities.data.Data.df", false]], "entities.asset": [[19, "module-entities.asset", false]], "entities.bars": [[20, "module-entities.bars", false]], "entities.data": [[21, "module-entities.data", false]], "entities.order": [[22, "module-entities.order", false]], "entities.position": [[23, "module-entities.position", false]], "entities.trading_fee": [[24, "module-entities.trading_fee", false]], "equivalent_status() (entities.order.order method)": [[22, "entities.order.Order.equivalent_status", false]], "error (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.ERROR", false]], "expiration (entities.asset.asset attribute)": [[19, "entities.asset.Asset.expiration", false], [19, "id2", false]], "expired (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.EXPIRED", false]], "filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.FILLED", false]], "filter() (entities.bars.bars method)": [[20, "entities.bars.Bars.filter", false]], "find_asset_in_data_store() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.find_asset_in_data_store", false]], "first_iteration (lumibot.strategies.strategy.strategy property)": [[168, "lumibot.strategies.strategy.Strategy.first_iteration", false], [183, "lumibot.strategies.strategy.Strategy.first_iteration", false]], "forex (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FOREX", false]], "from_dict() (entities.asset.asset class method)": [[19, "entities.asset.Asset.from_dict", false]], "from_dict() (entities.order.order class method)": [[22, "entities.order.Order.from_dict", false]], "from_dict() (entities.position.position class method)": [[23, "entities.position.Position.from_dict", false]], "future (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FUTURE", false]], "get_asset_by_name() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_name", false]], "get_asset_by_symbol() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_symbol", false]], "get_asset_potential_total() (in module lumibot.strategies.strategy.strategy)": [[147, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false], [158, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false]], "get_assets() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_assets", false]], "get_bars() (entities.data.data method)": [[21, "entities.data.Data.get_bars", false], [21, "id2", false]], "get_bars() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_bars", false]], "get_bars_between_dates() (entities.data.data method)": [[21, "entities.data.Data.get_bars_between_dates", false]], "get_cash() (in module lumibot.strategies.strategy.strategy)": [[49, "lumibot.strategies.strategy.Strategy.get_cash", false], [55, "lumibot.strategies.strategy.Strategy.get_cash", false]], "get_chain() (in module lumibot.strategies.strategy.strategy)": [[125, "lumibot.strategies.strategy.Strategy.get_chain", false], [133, "lumibot.strategies.strategy.Strategy.get_chain", false]], "get_chain_full_info() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chain_full_info", false]], "get_chains() (in module lumibot.strategies.strategy.strategy)": [[126, "lumibot.strategies.strategy.Strategy.get_chains", false], [134, "lumibot.strategies.strategy.Strategy.get_chains", false]], "get_chains() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chains", false]], "get_chains() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_chains", false]], "get_chains() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_chains", false]], "get_datetime() (in module lumibot.strategies.strategy.strategy)": [[83, "lumibot.strategies.strategy.Strategy.get_datetime", false], [92, "lumibot.strategies.strategy.Strategy.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime", false]], "get_datetime_range() (in module lumibot.strategies.strategy.strategy)": [[84, "lumibot.strategies.strategy.Strategy.get_datetime_range", false], [93, "lumibot.strategies.strategy.Strategy.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime_range", false]], "get_expiration() (in module lumibot.strategies.strategy.strategy)": [[127, "lumibot.strategies.strategy.Strategy.get_expiration", false], [135, "lumibot.strategies.strategy.Strategy.get_expiration", false]], "get_fill_price() (entities.order.order method)": [[22, "entities.order.Order.get_fill_price", false]], "get_greeks() (in module lumibot.strategies.strategy.strategy)": [[128, "lumibot.strategies.strategy.Strategy.get_greeks", false], [136, "lumibot.strategies.strategy.Strategy.get_greeks", false]], "get_historical_account_value() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_historical_account_value", false]], "get_historical_account_value() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.get_historical_account_value", false]], "get_historical_prices() (in module lumibot.strategies.strategy.strategy)": [[72, "lumibot.strategies.strategy.Strategy.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_historical_prices", false]], "get_historical_prices_for_assets() (in module lumibot.strategies.strategy.strategy)": [[73, "lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", false]], "get_increment() (entities.order.order method)": [[22, "entities.order.Order.get_increment", false]], "get_iter_count() (entities.data.data method)": [[21, "entities.data.Data.get_iter_count", false], [21, "id3", false]], "get_last_bar() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_last_bar", false]], "get_last_day() (in module lumibot.strategies.strategy.strategy)": [[85, "lumibot.strategies.strategy.Strategy.get_last_day", false], [94, "lumibot.strategies.strategy.Strategy.get_last_day", false]], "get_last_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_day", false]], "get_last_dividend() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_dividend", false], [20, "id1", false]], "get_last_minute() (in module lumibot.strategies.strategy.strategy)": [[86, "lumibot.strategies.strategy.Strategy.get_last_minute", false], [95, "lumibot.strategies.strategy.Strategy.get_last_minute", false]], "get_last_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_minute", false]], "get_last_price() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_price", false], [20, "id2", false]], "get_last_price() (entities.data.data method)": [[21, "entities.data.Data.get_last_price", false], [21, "id4", false]], "get_last_price() (in module lumibot.strategies.strategy.strategy)": [[74, "lumibot.strategies.strategy.Strategy.get_last_price", false]], "get_last_price() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_price", false]], "get_last_price() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_price", false]], "get_last_price() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_last_price", false]], "get_last_prices() (in module lumibot.strategies.strategy.strategy)": [[75, "lumibot.strategies.strategy.Strategy.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_prices", false]], "get_lines_df() (in module lumibot.strategies.strategy.strategy)": [[64, "lumibot.strategies.strategy.Strategy.get_lines_df", false], [68, "lumibot.strategies.strategy.Strategy.get_lines_df", false]], "get_markers_df() (in module lumibot.strategies.strategy.strategy)": [[65, "lumibot.strategies.strategy.Strategy.get_markers_df", false], [69, "lumibot.strategies.strategy.Strategy.get_markers_df", false]], "get_momentum() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_momentum", false], [20, "id3", false]], "get_multiplier() (in module lumibot.strategies.strategy.strategy)": [[129, "lumibot.strategies.strategy.Strategy.get_multiplier", false], [137, "lumibot.strategies.strategy.Strategy.get_multiplier", false]], "get_next_trading_day() (in module lumibot.strategies.strategy.strategy)": [[76, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [130, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [138, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false]], "get_option_expiration_after_date() (in module lumibot.strategies.strategy.strategy)": [[139, "lumibot.strategies.strategy.Strategy.get_option_expiration_after_date", false]], "get_order() (in module lumibot.strategies.strategy.strategy)": [[148, "lumibot.strategies.strategy.Strategy.get_order", false], [159, "lumibot.strategies.strategy.Strategy.get_order", false]], "get_orders() (in module lumibot.strategies.strategy.strategy)": [[149, "lumibot.strategies.strategy.Strategy.get_orders", false], [160, "lumibot.strategies.strategy.Strategy.get_orders", false]], "get_parameters() (in module lumibot.strategies.strategy.strategy)": [[50, "lumibot.strategies.strategy.Strategy.get_parameters", false], [56, "lumibot.strategies.strategy.Strategy.get_parameters", false], [104, "lumibot.strategies.strategy.Strategy.get_parameters", false], [115, "lumibot.strategies.strategy.Strategy.get_parameters", false]], "get_portfolio_value() (in module lumibot.strategies.strategy.strategy)": [[51, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false], [57, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false]], "get_position() (in module lumibot.strategies.strategy.strategy)": [[52, "lumibot.strategies.strategy.Strategy.get_position", false], [58, "lumibot.strategies.strategy.Strategy.get_position", false]], "get_positions() (in module lumibot.strategies.strategy.strategy)": [[53, "lumibot.strategies.strategy.Strategy.get_positions", false], [59, "lumibot.strategies.strategy.Strategy.get_positions", false]], "get_quote() (entities.data.data method)": [[21, "entities.data.Data.get_quote", false]], "get_quote() (in module lumibot.strategies.strategy.strategy)": [[77, "lumibot.strategies.strategy.Strategy.get_quote", false]], "get_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[78, "lumibot.strategies.strategy.Strategy.get_realtime_bars", false]], "get_round_day() (in module lumibot.strategies.strategy.strategy)": [[87, "lumibot.strategies.strategy.Strategy.get_round_day", false], [96, "lumibot.strategies.strategy.Strategy.get_round_day", false]], "get_round_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_day", false]], "get_round_minute() (in module lumibot.strategies.strategy.strategy)": [[88, "lumibot.strategies.strategy.Strategy.get_round_minute", false], [97, "lumibot.strategies.strategy.Strategy.get_round_minute", false]], "get_round_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_minute", false]], "get_selling_order() (entities.position.position method)": [[23, "entities.position.Position.get_selling_order", false]], "get_selling_order() (in module lumibot.strategies.strategy.strategy)": [[150, "lumibot.strategies.strategy.Strategy.get_selling_order", false], [161, "lumibot.strategies.strategy.Strategy.get_selling_order", false]], "get_start_datetime_and_ts_unit() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_start_datetime_and_ts_unit", false]], "get_strikes() (in module lumibot.strategies.strategy.strategy)": [[131, "lumibot.strategies.strategy.Strategy.get_strikes", false], [140, "lumibot.strategies.strategy.Strategy.get_strikes", false]], "get_strikes() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_strikes", false]], "get_strikes() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_strikes", false]], "get_time_to_close() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_close", false]], "get_time_to_close() (lumibot.brokers.alpaca.alpaca method)": [[12, "id0", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_close", false]], "get_time_to_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_open", false]], "get_time_to_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id1", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_open", false]], "get_timestamp() (in module lumibot.strategies.strategy.strategy)": [[89, "lumibot.strategies.strategy.Strategy.get_timestamp", false], [98, "lumibot.strategies.strategy.Strategy.get_timestamp", false]], "get_timestamp() (lumibot.brokers.alpaca.alpaca method)": [[12, "id2", false], [12, "lumibot.brokers.alpaca.Alpaca.get_timestamp", false]], "get_timestamp() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestamp", false]], "get_timestep() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestep", false]], "get_total_dividends() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_dividends", false]], "get_total_return() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return", false]], "get_total_return_pct() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct", false]], "get_total_return_pct_change() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct_change", false]], "get_total_stock_splits() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_stock_splits", false]], "get_total_volume() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_volume", false], [20, "id4", false]], "get_trading_days_pandas() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_trading_days_pandas", false]], "get_yesterday_dividend() (in module lumibot.strategies.strategy.strategy)": [[79, "lumibot.strategies.strategy.Strategy.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividend", false]], "get_yesterday_dividends() (in module lumibot.strategies.strategy.strategy)": [[80, "lumibot.strategies.strategy.Strategy.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividends", false]], "hold (entities.position.position attribute)": [[23, "entities.position.Position.hold", false]], "hold (entities.position.position property)": [[23, "id1", false]], "index (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.INDEX", false]], "initial_budget (lumibot.strategies.strategy.strategy property)": [[169, "lumibot.strategies.strategy.Strategy.initial_budget", false], [184, "lumibot.strategies.strategy.Strategy.initial_budget", false]], "initialize() (in module lumibot.strategies.strategy.strategy)": [[32, "lumibot.strategies.strategy.Strategy.initialize", false]], "is_active() (entities.order.order method)": [[22, "entities.order.Order.is_active", false]], "is_backtest_broker (lumibot.traders.trader.trader property)": [[46, "lumibot.traders.trader.Trader.is_backtest_broker", false]], "is_backtesting (lumibot.strategies.strategy.strategy property)": [[170, "lumibot.strategies.strategy.Strategy.is_backtesting", false], [185, "lumibot.strategies.strategy.Strategy.is_backtesting", false]], "is_backtesting_broker (lumibot.backtesting.backtesting_broker.backtestingbroker attribute)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.IS_BACKTESTING_BROKER", false]], "is_backtesting_data_source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.IS_BACKTESTING_DATA_SOURCE", false]], "is_backtesting_data_source (lumibot.data_sources.data_source_backtesting.datasourcebacktesting attribute)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.IS_BACKTESTING_DATA_SOURCE", false]], "is_buy_order() (entities.order.order method)": [[22, "entities.order.Order.is_buy_order", false]], "is_canceled() (entities.order.order method)": [[22, "entities.order.Order.is_canceled", false]], "is_filled() (entities.order.order method)": [[22, "entities.order.Order.is_filled", false]], "is_market_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.is_market_open", false]], "is_market_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id3", false], [12, "lumibot.brokers.alpaca.Alpaca.is_market_open", false]], "is_option() (entities.order.order method)": [[22, "entities.order.Order.is_option", false]], "is_parent() (entities.order.order method)": [[22, "entities.order.Order.is_parent", false]], "is_sell_order() (entities.order.order method)": [[22, "entities.order.Order.is_sell_order", false]], "is_valid() (entities.asset.asset method)": [[19, "entities.asset.Asset.is_valid", false]], "iter_index (entities.data.data attribute)": [[21, "entities.data.Data.iter_index", false]], "last_on_trading_iteration_datetime (lumibot.strategies.strategy.strategy property)": [[171, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false], [186, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false]], "limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.LIMIT", false]], "limit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.limit_order", false]], "load_data() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.load_data", false]], "localize_datetime() (in module lumibot.strategies.strategy.strategy)": [[90, "lumibot.strategies.strategy.Strategy.localize_datetime", false], [99, "lumibot.strategies.strategy.Strategy.localize_datetime", false]], "localize_datetime() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.localize_datetime", false]], "log_message() (in module lumibot.strategies.strategy.strategy)": [[105, "lumibot.strategies.strategy.Strategy.log_message", false], [116, "lumibot.strategies.strategy.Strategy.log_message", false]], "lumibot.backtesting.backtesting_broker": [[43, "module-lumibot.backtesting.backtesting_broker", false]], "lumibot.brokers.alpaca": [[12, "module-lumibot.brokers.alpaca", false]], "lumibot.data_sources": [[44, "module-lumibot.data_sources", false]], "lumibot.data_sources.data_source": [[44, "module-lumibot.data_sources.data_source", false]], "lumibot.data_sources.data_source_backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting", false]], "lumibot.data_sources.pandas_data": [[44, "module-lumibot.data_sources.pandas_data", false]], "lumibot.data_sources.yahoo_data": [[44, "module-lumibot.data_sources.yahoo_data", false]], "lumibot.strategies.strategy.strategy": [[45, "module-lumibot.strategies.strategy.Strategy", false]], "lumibot.traders.trader": [[46, "module-lumibot.traders.trader", false]], "map_asset_type() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.map_asset_type", false]], "market (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.MARKET", false]], "min_timestep (entities.data.data attribute)": [[21, "entities.data.Data.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.MIN_TIMESTEP", false]], "minutes_before_closing (lumibot.strategies.strategy.strategy property)": [[172, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false], [187, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false]], "minutes_before_opening (lumibot.strategies.strategy.strategy property)": [[173, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false], [188, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false]], "module": [[12, "module-lumibot.brokers.alpaca", false], [19, "module-entities.asset", false], [20, "module-entities.bars", false], [21, "module-entities.data", false], [22, "module-entities.order", false], [23, "module-entities.position", false], [24, "module-entities.trading_fee", false], [43, "module-lumibot.backtesting.backtesting_broker", false], [43, "module-lumibot.data_sources.data_source_backtesting", false], [44, "module-lumibot.data_sources", false], [44, "module-lumibot.data_sources.data_source", false], [44, "module-lumibot.data_sources.pandas_data", false], [44, "module-lumibot.data_sources.yahoo_data", false], [45, "module-lumibot.strategies.strategy.Strategy", false], [46, "module-lumibot.traders.trader", false]], "multileg (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.MULTILEG", false]], "multiplier (entities.asset.asset attribute)": [[19, "entities.asset.Asset.multiplier", false], [19, "id3", false]], "name (lumibot.strategies.strategy.strategy property)": [[174, "lumibot.strategies.strategy.Strategy.name", false], [189, "lumibot.strategies.strategy.Strategy.name", false]], "new (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.NEW", false]], "nobardatafound": [[20, "entities.bars.NoBarDataFound", false]], "oco (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OCO", false]], "oco (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OCO", false]], "on_abrupt_closing() (in module lumibot.strategies.strategy.strategy)": [[33, "lumibot.strategies.strategy.Strategy.on_abrupt_closing", false]], "on_bot_crash() (in module lumibot.strategies.strategy.strategy)": [[34, "lumibot.strategies.strategy.Strategy.on_bot_crash", false]], "on_canceled_order() (in module lumibot.strategies.strategy.strategy)": [[35, "lumibot.strategies.strategy.Strategy.on_canceled_order", false]], "on_filled_order() (in module lumibot.strategies.strategy.strategy)": [[36, "lumibot.strategies.strategy.Strategy.on_filled_order", false]], "on_new_order() (in module lumibot.strategies.strategy.strategy)": [[37, "lumibot.strategies.strategy.Strategy.on_new_order", false]], "on_parameters_updated() (in module lumibot.strategies.strategy.strategy)": [[38, "lumibot.strategies.strategy.Strategy.on_parameters_updated", false]], "on_partially_filled_order() (in module lumibot.strategies.strategy.strategy)": [[39, "lumibot.strategies.strategy.Strategy.on_partially_filled_order", false]], "on_trading_iteration() (in module lumibot.strategies.strategy.strategy)": [[40, "lumibot.strategies.strategy.Strategy.on_trading_iteration", false]], "open (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.OPEN", false]], "option (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.OPTION", false]], "options_expiry_to_datetime_date() (in module lumibot.strategies.strategy.strategy)": [[132, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false], [141, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false]], "order (class in entities.order)": [[22, "entities.order.Order", false]], "order.orderclass (class in entities.order)": [[22, "entities.order.Order.OrderClass", false]], "order.orderside (class in entities.order)": [[22, "entities.order.Order.OrderSide", false]], "order.orderstatus (class in entities.order)": [[22, "entities.order.Order.OrderStatus", false]], "order.ordertype (class in entities.order)": [[22, "entities.order.Order.OrderType", false]], "order.transaction (class in entities.order)": [[22, "entities.order.Order.Transaction", false]], "orderdata (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.OrderData", false]], "orders (entities.position.position attribute)": [[23, "entities.position.Position.orders", false]], "oto (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OTO", false]], "oto (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OTO", false]], "pandasdata (class in lumibot.data_sources.pandas_data)": [[44, "lumibot.data_sources.pandas_data.PandasData", false]], "parse_bar_list() (entities.bars.bars class method)": [[20, "entities.bars.Bars.parse_bar_list", false]], "partially_filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.PARTIALLY_FILLED", false]], "portfolio_value (lumibot.strategies.strategy.strategy property)": [[175, "lumibot.strategies.strategy.Strategy.portfolio_value", false], [190, "lumibot.strategies.strategy.Strategy.portfolio_value", false]], "position (class in entities.position)": [[23, "entities.position.Position", false]], "precision (entities.asset.asset attribute)": [[19, "entities.asset.Asset.precision", false], [19, "id4", false]], "price (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.price", false]], "process_expired_option_contracts() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_expired_option_contracts", false]], "process_pending_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_pending_orders", false]], "put (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.PUT", false]], "pytz (lumibot.strategies.strategy.strategy property)": [[176, "lumibot.strategies.strategy.Strategy.pytz", false], [181, "lumibot.strategies.strategy.Strategy.pytz", false], [191, "lumibot.strategies.strategy.Strategy.pytz", false]], "quantity (entities.order.order property)": [[22, "entities.order.Order.quantity", false]], "quantity (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.quantity", false]], "quantity (entities.position.position attribute)": [[23, "entities.position.Position.quantity", false]], "quantity (entities.position.position property)": [[23, "id2", false]], "query_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.query_greeks", false]], "quote_asset (lumibot.strategies.strategy.strategy property)": [[177, "lumibot.strategies.strategy.Strategy.quote_asset", false], [192, "lumibot.strategies.strategy.Strategy.quote_asset", false]], "repair_times_and_fill() (entities.data.data method)": [[21, "entities.data.Data.repair_times_and_fill", false], [21, "id5", false]], "right (entities.asset.asset attribute)": [[19, "entities.asset.Asset.right", false], [19, "id5", false]], "right_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.right_must_be_one_of", false], [19, "id6", false]], "run_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all", false]], "run_all_async() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all_async", false]], "run_backtest() (in module lumibot.strategies.strategy.strategy)": [[1, "lumibot.strategies.strategy.Strategy.run_backtest", false]], "sell (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL", false]], "sell_all() (in module lumibot.strategies.strategy.strategy)": [[151, "lumibot.strategies.strategy.Strategy.sell_all", false], [162, "lumibot.strategies.strategy.Strategy.sell_all", false]], "sell_short (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_SHORT", false]], "sell_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_CLOSE", false]], "sell_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_OPEN", false]], "set_canceled() (entities.order.order method)": [[22, "entities.order.Order.set_canceled", false]], "set_date_format() (entities.data.data method)": [[21, "entities.data.Data.set_date_format", false], [21, "id6", false]], "set_dates() (entities.data.data method)": [[21, "entities.data.Data.set_dates", false], [21, "id7", false]], "set_error() (entities.order.order method)": [[22, "entities.order.Order.set_error", false]], "set_filled() (entities.order.order method)": [[22, "entities.order.Order.set_filled", false]], "set_identifier() (entities.order.order method)": [[22, "entities.order.Order.set_identifier", false]], "set_market() (in module lumibot.strategies.strategy.strategy)": [[106, "lumibot.strategies.strategy.Strategy.set_market", false], [117, "lumibot.strategies.strategy.Strategy.set_market", false]], "set_new() (entities.order.order method)": [[22, "entities.order.Order.set_new", false]], "set_parameters() (in module lumibot.strategies.strategy.strategy)": [[54, "lumibot.strategies.strategy.Strategy.set_parameters", false], [60, "lumibot.strategies.strategy.Strategy.set_parameters", false]], "set_partially_filled() (entities.order.order method)": [[22, "entities.order.Order.set_partially_filled", false]], "set_times() (entities.data.data method)": [[21, "entities.data.Data.set_times", false], [21, "id8", false]], "should_continue() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.should_continue", false]], "sleep() (in module lumibot.strategies.strategy.strategy)": [[107, "lumibot.strategies.strategy.Strategy.sleep", false], [118, "lumibot.strategies.strategy.Strategy.sleep", false]], "sleeptime (lumibot.strategies.strategy.strategy property)": [[178, "lumibot.strategies.strategy.Strategy.sleeptime", false], [193, "lumibot.strategies.strategy.Strategy.sleeptime", false]], "source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.SOURCE", false]], "source (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.SOURCE", false]], "source (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.SOURCE", false]], "split() (entities.bars.bars method)": [[20, "entities.bars.Bars.split", false]], "start_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[81, "lumibot.strategies.strategy.Strategy.start_realtime_bars", false]], "status (entities.order.order property)": [[22, "entities.order.Order.status", false]], "stock (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.STOCK", false]], "stop (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP", false]], "stop_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.stop_all", false]], "stop_limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP_LIMIT", false]], "stop_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.stop_order", false]], "strategy (entities.position.position attribute)": [[23, "entities.position.Position.strategy", false]], "strike (entities.asset.asset attribute)": [[19, "entities.asset.Asset.strike", false], [19, "id7", false]], "submit_order() (in module lumibot.strategies.strategy.strategy)": [[152, "lumibot.strategies.strategy.Strategy.submit_order", false], [163, "lumibot.strategies.strategy.Strategy.submit_order", false]], "submit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_order", false]], "submit_orders() (in module lumibot.strategies.strategy.strategy)": [[153, "lumibot.strategies.strategy.Strategy.submit_orders", false], [164, "lumibot.strategies.strategy.Strategy.submit_orders", false]], "submit_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_orders", false]], "submitted (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.SUBMITTED", false]], "sybmol (entities.data.data attribute)": [[21, "entities.data.Data.sybmol", false]], "symbol (entities.asset.asset attribute)": [[19, "entities.asset.Asset.symbol", false], [19, "id8", false]], "symbol (entities.position.position attribute)": [[23, "entities.position.Position.symbol", false]], "symbol2asset() (entities.asset.asset class method)": [[19, "entities.asset.Asset.symbol2asset", false]], "timestep (entities.data.data attribute)": [[21, "entities.data.Data.timestep", false]], "timestep_mapping (entities.data.data attribute)": [[21, "entities.data.Data.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.TIMESTEP_MAPPING", false]], "timezone (lumibot.strategies.strategy.strategy property)": [[179, "lumibot.strategies.strategy.Strategy.timezone", false], [194, "lumibot.strategies.strategy.Strategy.timezone", false]], "to_datalines() (entities.data.data method)": [[21, "entities.data.Data.to_datalines", false], [21, "id9", false]], "to_default_timezone() (in module lumibot.strategies.strategy.strategy)": [[91, "lumibot.strategies.strategy.Strategy.to_default_timezone", false], [100, "lumibot.strategies.strategy.Strategy.to_default_timezone", false]], "to_default_timezone() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.to_default_timezone", false]], "to_dict() (entities.asset.asset method)": [[19, "entities.asset.Asset.to_dict", false]], "to_dict() (entities.order.order method)": [[22, "entities.order.Order.to_dict", false]], "to_dict() (entities.position.position method)": [[23, "entities.position.Position.to_dict", false]], "to_position() (entities.order.order method)": [[22, "entities.order.Order.to_position", false]], "to_request_fields() (lumibot.brokers.alpaca.orderdata method)": [[12, "lumibot.brokers.alpaca.OrderData.to_request_fields", false]], "trace_stats() (in module lumibot.strategies.strategy.strategy)": [[42, "lumibot.strategies.strategy.Strategy.trace_stats", false]], "trader (class in lumibot.traders.trader)": [[46, "lumibot.traders.trader.Trader", false]], "trading_hours_end (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_end", false]], "trading_hours_start (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_start", false]], "tradingfee (class in entities.trading_fee)": [[24, "entities.trading_fee.TradingFee", false]], "trail (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.TRAIL", false]], "trim_data() (entities.data.data method)": [[21, "entities.data.Data.trim_data", false], [21, "id10", false]], "underlying_asset (entities.asset.asset attribute)": [[19, "entities.asset.Asset.underlying_asset", false]], "unprocessed (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.UNPROCESSED", false]], "unspent_money (lumibot.strategies.strategy.strategy property)": [[180, "lumibot.strategies.strategy.Strategy.unspent_money", false], [195, "lumibot.strategies.strategy.Strategy.unspent_money", false]], "update_date_index() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.update_date_index", false]], "update_parameters() (in module lumibot.strategies.strategy.strategy)": [[108, "lumibot.strategies.strategy.Strategy.update_parameters", false], [119, "lumibot.strategies.strategy.Strategy.update_parameters", false]], "update_raw() (entities.order.order method)": [[22, "entities.order.Order.update_raw", false]], "update_trail_stop_price() (entities.order.order method)": [[22, "entities.order.Order.update_trail_stop_price", false]], "value_type() (entities.position.position method)": [[23, "entities.position.Position.value_type", false]], "wait_for_order_execution() (in module lumibot.strategies.strategy.strategy)": [[109, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false], [120, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false]], "wait_for_order_registration() (in module lumibot.strategies.strategy.strategy)": [[110, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false], [121, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false]], "wait_for_orders_execution() (in module lumibot.strategies.strategy.strategy)": [[111, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false], [122, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false]], "wait_for_orders_registration() (in module lumibot.strategies.strategy.strategy)": [[112, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false], [123, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false]], "wait_to_be_closed() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_closed", false]], "wait_to_be_registered() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_registered", false]], "was_transmitted() (entities.order.order method)": [[22, "entities.order.Order.was_transmitted", false]], "yahoodata (class in lumibot.data_sources.yahoo_data)": [[44, "lumibot.data_sources.yahoo_data.YahooData", false]]}, "objects": {"entities": [[19, 0, 0, "-", "asset"], [20, 0, 0, "-", "bars"], [21, 0, 0, "-", "data"], [22, 0, 0, "-", "order"], [23, 0, 0, "-", "position"], [24, 0, 0, "-", "trading_fee"]], "entities.asset": [[19, 1, 1, "", "Asset"], [19, 1, 1, "", "AssetsMapping"]], "entities.asset.Asset": [[19, 1, 1, "", "AssetType"], [19, 1, 1, "", "OptionRight"], [19, 2, 1, "", "_asset_types"], [19, 2, 1, "", "_right"], [19, 2, 1, "id0", "asset_type"], [19, 3, 1, "id1", "asset_type_must_be_one_of"], [19, 2, 1, "id2", "expiration"], [19, 3, 1, "", "from_dict"], [19, 3, 1, "", "is_valid"], [19, 2, 1, "id3", "multiplier"], [19, 2, 1, "id4", "precision"], [19, 2, 1, "id5", "right"], [19, 3, 1, "id6", "right_must_be_one_of"], [19, 2, 1, "id7", "strike"], [19, 2, 1, "id8", "symbol"], [19, 3, 1, "", "symbol2asset"], [19, 3, 1, "", "to_dict"], [19, 2, 1, "", "underlying_asset"]], "entities.asset.Asset.AssetType": [[19, 2, 1, "", "CRYPTO"], [19, 2, 1, "", "FOREX"], [19, 2, 1, "", "FUTURE"], [19, 2, 1, "", "INDEX"], [19, 2, 1, "", "OPTION"], [19, 2, 1, "", "STOCK"]], "entities.asset.Asset.OptionRight": [[19, 2, 1, "", "CALL"], [19, 2, 1, "", "PUT"]], "entities.bars": [[20, 1, 1, "", "Bars"], [20, 4, 1, "", "NoBarDataFound"]], "entities.bars.Bars": [[20, 3, 1, "id0", "aggregate_bars"], [20, 3, 1, "", "filter"], [20, 3, 1, "id1", "get_last_dividend"], [20, 3, 1, "id2", "get_last_price"], [20, 3, 1, "id3", "get_momentum"], [20, 3, 1, "", "get_total_dividends"], [20, 3, 1, "", "get_total_return"], [20, 3, 1, "", "get_total_return_pct"], [20, 3, 1, "", "get_total_return_pct_change"], [20, 3, 1, "", "get_total_stock_splits"], [20, 3, 1, "id4", "get_total_volume"], [20, 3, 1, "", "parse_bar_list"], [20, 3, 1, "", "split"]], "entities.data": [[21, 1, 1, "", "Data"]], "entities.data.Data": [[21, 2, 1, "", "MIN_TIMESTEP"], [21, 2, 1, "", "TIMESTEP_MAPPING"], [21, 3, 1, "", "_get_bars_dict"], [21, 2, 1, "", "asset"], [21, 3, 1, "id0", "check_data"], [21, 3, 1, "id1", "columns"], [21, 2, 1, "", "datalines"], [21, 2, 1, "", "date_end"], [21, 2, 1, "", "date_start"], [21, 2, 1, "", "df"], [21, 3, 1, "id2", "get_bars"], [21, 3, 1, "", "get_bars_between_dates"], [21, 3, 1, "id3", "get_iter_count"], [21, 3, 1, "id4", "get_last_price"], [21, 3, 1, "", "get_quote"], [21, 2, 1, "", "iter_index"], [21, 3, 1, "id5", "repair_times_and_fill"], [21, 3, 1, "id6", "set_date_format"], [21, 3, 1, "id7", "set_dates"], [21, 3, 1, "id8", "set_times"], [21, 2, 1, "", "sybmol"], [21, 2, 1, "", "timestep"], [21, 3, 1, "id9", "to_datalines"], [21, 2, 1, "", "trading_hours_end"], [21, 2, 1, "", "trading_hours_start"], [21, 3, 1, "id10", "trim_data"]], "entities.order": [[22, 1, 1, "", "Order"]], "entities.order.Order": [[22, 1, 1, "", "OrderClass"], [22, 1, 1, "", "OrderSide"], [22, 1, 1, "", "OrderStatus"], [22, 1, 1, "", "OrderType"], [22, 1, 1, "", "Transaction"], [22, 3, 1, "", "add_child_order"], [22, 3, 1, "", "add_transaction"], [22, 5, 1, "", "avg_fill_price"], [22, 3, 1, "", "cash_pending"], [22, 3, 1, "", "equivalent_status"], [22, 3, 1, "", "from_dict"], [22, 3, 1, "", "get_fill_price"], [22, 3, 1, "", "get_increment"], [22, 3, 1, "", "is_active"], [22, 3, 1, "", "is_buy_order"], [22, 3, 1, "", "is_canceled"], [22, 3, 1, "", "is_filled"], [22, 3, 1, "", "is_option"], [22, 3, 1, "", "is_parent"], [22, 3, 1, "", "is_sell_order"], [22, 5, 1, "", "quantity"], [22, 3, 1, "", "set_canceled"], [22, 3, 1, "", "set_error"], [22, 3, 1, "", "set_filled"], [22, 3, 1, "", "set_identifier"], [22, 3, 1, "", "set_new"], [22, 3, 1, "", "set_partially_filled"], [22, 5, 1, "", "status"], [22, 3, 1, "", "to_dict"], [22, 3, 1, "", "to_position"], [22, 3, 1, "", "update_raw"], [22, 3, 1, "", "update_trail_stop_price"], [22, 3, 1, "", "wait_to_be_closed"], [22, 3, 1, "", "wait_to_be_registered"], [22, 3, 1, "", "was_transmitted"]], "entities.order.Order.OrderClass": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "MULTILEG"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"]], "entities.order.Order.OrderSide": [[22, 2, 1, "", "BUY"], [22, 2, 1, "", "BUY_TO_CLOSE"], [22, 2, 1, "", "BUY_TO_COVER"], [22, 2, 1, "", "BUY_TO_OPEN"], [22, 2, 1, "", "SELL"], [22, 2, 1, "", "SELL_SHORT"], [22, 2, 1, "", "SELL_TO_CLOSE"], [22, 2, 1, "", "SELL_TO_OPEN"]], "entities.order.Order.OrderStatus": [[22, 2, 1, "", "CANCELED"], [22, 2, 1, "", "CANCELLING"], [22, 2, 1, "", "CASH_SETTLED"], [22, 2, 1, "", "ERROR"], [22, 2, 1, "", "EXPIRED"], [22, 2, 1, "", "FILLED"], [22, 2, 1, "", "NEW"], [22, 2, 1, "", "OPEN"], [22, 2, 1, "", "PARTIALLY_FILLED"], [22, 2, 1, "", "SUBMITTED"], [22, 2, 1, "", "UNPROCESSED"]], "entities.order.Order.OrderType": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "LIMIT"], [22, 2, 1, "", "MARKET"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"], [22, 2, 1, "", "STOP"], [22, 2, 1, "", "STOP_LIMIT"], [22, 2, 1, "", "TRAIL"]], "entities.order.Order.Transaction": [[22, 2, 1, "", "price"], [22, 2, 1, "", "quantity"]], "entities.position": [[23, 1, 1, "", "Position"]], "entities.position.Position": [[23, 3, 1, "", "add_order"], [23, 2, 1, "", "asset"], [23, 5, 1, "id0", "available"], [23, 2, 1, "", "avg_fill_price"], [23, 3, 1, "", "from_dict"], [23, 3, 1, "", "get_selling_order"], [23, 5, 1, "id1", "hold"], [23, 2, 1, "", "orders"], [23, 5, 1, "id2", "quantity"], [23, 2, 1, "", "strategy"], [23, 2, 1, "", "symbol"], [23, 3, 1, "", "to_dict"], [23, 3, 1, "", "value_type"]], "entities.trading_fee": [[24, 1, 1, "", "TradingFee"]], "lumibot": [[44, 0, 0, "-", "data_sources"]], "lumibot.backtesting": [[43, 0, 0, "-", "backtesting_broker"]], "lumibot.backtesting.backtesting_broker": [[43, 1, 1, "", "BacktestingBroker"]], "lumibot.backtesting.backtesting_broker.BacktestingBroker": [[43, 2, 1, "", "IS_BACKTESTING_BROKER"], [43, 3, 1, "", "calculate_trade_cost"], [43, 3, 1, "", "cancel_order"], [43, 3, 1, "", "cash_settle_options_contract"], [43, 5, 1, "", "datetime"], [43, 3, 1, "", "get_historical_account_value"], [43, 3, 1, "", "get_last_bar"], [43, 3, 1, "", "get_time_to_close"], [43, 3, 1, "", "get_time_to_open"], [43, 3, 1, "", "is_market_open"], [43, 3, 1, "", "limit_order"], [43, 3, 1, "", "process_expired_option_contracts"], [43, 3, 1, "", "process_pending_orders"], [43, 3, 1, "", "should_continue"], [43, 3, 1, "", "stop_order"], [43, 3, 1, "", "submit_order"], [43, 3, 1, "", "submit_orders"]], "lumibot.brokers": [[12, 0, 0, "-", "alpaca"]], "lumibot.brokers.alpaca": [[12, 1, 1, "", "Alpaca"], [12, 1, 1, "", "OrderData"]], "lumibot.brokers.alpaca.Alpaca": [[12, 2, 1, "", "ASSET_TYPE_MAP"], [12, 2, 1, "", "api"], [12, 3, 1, "", "cancel_order"], [12, 3, 1, "", "get_historical_account_value"], [12, 3, 1, "id0", "get_time_to_close"], [12, 3, 1, "id1", "get_time_to_open"], [12, 3, 1, "id2", "get_timestamp"], [12, 3, 1, "id3", "is_market_open"], [12, 3, 1, "", "map_asset_type"]], "lumibot.brokers.alpaca.OrderData": [[12, 3, 1, "", "to_request_fields"]], "lumibot.data_sources": [[44, 0, 0, "-", "data_source"], [43, 0, 0, "-", "data_source_backtesting"], [44, 0, 0, "-", "pandas_data"], [44, 0, 0, "-", "yahoo_data"]], "lumibot.data_sources.data_source": [[44, 1, 1, "", "DataSource"]], "lumibot.data_sources.data_source.DataSource": [[44, 2, 1, "", "DEFAULT_PYTZ"], [44, 2, 1, "", "DEFAULT_TIMEZONE"], [44, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "calculate_greeks"], [44, 3, 1, "", "convert_timestep_str_to_timedelta"], [44, 3, 1, "", "get_bars"], [44, 3, 1, "", "get_chain_full_info"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_datetime"], [44, 3, 1, "", "get_datetime_range"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_day"], [44, 3, 1, "", "get_last_minute"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_round_day"], [44, 3, 1, "", "get_round_minute"], [44, 3, 1, "", "get_strikes"], [44, 3, 1, "", "get_timestamp"], [44, 3, 1, "", "get_timestep"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "localize_datetime"], [44, 3, 1, "", "query_greeks"], [44, 3, 1, "", "to_default_timezone"]], "lumibot.data_sources.data_source_backtesting": [[43, 1, 1, "", "DataSourceBacktesting"]], "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting": [[43, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [43, 3, 1, "", "get_datetime"], [43, 3, 1, "", "get_datetime_range"]], "lumibot.data_sources.pandas_data": [[44, 1, 1, "", "PandasData"]], "lumibot.data_sources.pandas_data.PandasData": [[44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "clean_trading_times"], [44, 3, 1, "", "find_asset_in_data_store"], [44, 3, 1, "", "get_asset_by_name"], [44, 3, 1, "", "get_asset_by_symbol"], [44, 3, 1, "", "get_assets"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_start_datetime_and_ts_unit"], [44, 3, 1, "", "get_trading_days_pandas"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "load_data"], [44, 3, 1, "", "update_date_index"]], "lumibot.data_sources.yahoo_data": [[44, 1, 1, "", "YahooData"]], "lumibot.data_sources.yahoo_data.YahooData": [[44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_strikes"]], "lumibot.strategies.strategy": [[45, 0, 0, "-", "Strategy"]], "lumibot.strategies.strategy.Strategy": [[66, 6, 1, "", "add_line"], [67, 6, 1, "", "add_marker"], [28, 6, 1, "", "after_market_closes"], [113, 6, 1, "", "await_market_to_close"], [114, 6, 1, "", "await_market_to_open"], [29, 6, 1, "", "before_market_closes"], [30, 6, 1, "", "before_market_opens"], [31, 6, 1, "", "before_starting_trading"], [154, 6, 1, "", "cancel_open_orders"], [155, 6, 1, "", "cancel_order"], [156, 6, 1, "", "cancel_orders"], [71, 6, 1, "", "cancel_realtime_bars"], [182, 5, 1, "", "cash"], [157, 6, 1, "", "create_order"], [183, 5, 1, "", "first_iteration"], [158, 6, 1, "", "get_asset_potential_total"], [55, 6, 1, "", "get_cash"], [133, 6, 1, "", "get_chain"], [134, 6, 1, "", "get_chains"], [92, 6, 1, "", "get_datetime"], [93, 6, 1, "", "get_datetime_range"], [135, 6, 1, "", "get_expiration"], [136, 6, 1, "", "get_greeks"], [72, 6, 1, "", "get_historical_prices"], [73, 6, 1, "", "get_historical_prices_for_assets"], [94, 6, 1, "", "get_last_day"], [95, 6, 1, "", "get_last_minute"], [74, 6, 1, "", "get_last_price"], [75, 6, 1, "", "get_last_prices"], [68, 6, 1, "", "get_lines_df"], [69, 6, 1, "", "get_markers_df"], [137, 6, 1, "", "get_multiplier"], [138, 6, 1, "", "get_next_trading_day"], [139, 6, 1, "", "get_option_expiration_after_date"], [159, 6, 1, "", "get_order"], [160, 6, 1, "", "get_orders"], [115, 6, 1, "", "get_parameters"], [57, 6, 1, "", "get_portfolio_value"], [58, 6, 1, "", "get_position"], [59, 6, 1, "", "get_positions"], [77, 6, 1, "", "get_quote"], [78, 6, 1, "", "get_realtime_bars"], [96, 6, 1, "", "get_round_day"], [97, 6, 1, "", "get_round_minute"], [161, 6, 1, "", "get_selling_order"], [140, 6, 1, "", "get_strikes"], [98, 6, 1, "", "get_timestamp"], [79, 6, 1, "", "get_yesterday_dividend"], [80, 6, 1, "", "get_yesterday_dividends"], [184, 5, 1, "", "initial_budget"], [32, 6, 1, "", "initialize"], [185, 5, 1, "", "is_backtesting"], [186, 5, 1, "", "last_on_trading_iteration_datetime"], [99, 6, 1, "", "localize_datetime"], [116, 6, 1, "", "log_message"], [187, 5, 1, "", "minutes_before_closing"], [188, 5, 1, "", "minutes_before_opening"], [189, 5, 1, "", "name"], [33, 6, 1, "", "on_abrupt_closing"], [34, 6, 1, "", "on_bot_crash"], [35, 6, 1, "", "on_canceled_order"], [36, 6, 1, "", "on_filled_order"], [37, 6, 1, "", "on_new_order"], [38, 6, 1, "", "on_parameters_updated"], [39, 6, 1, "", "on_partially_filled_order"], [40, 6, 1, "", "on_trading_iteration"], [141, 6, 1, "", "options_expiry_to_datetime_date"], [190, 5, 1, "", "portfolio_value"], [191, 5, 1, "", "pytz"], [192, 5, 1, "", "quote_asset"], [1, 6, 1, "", "run_backtest"], [162, 6, 1, "", "sell_all"], [117, 6, 1, "", "set_market"], [60, 6, 1, "", "set_parameters"], [118, 6, 1, "", "sleep"], [193, 5, 1, "", "sleeptime"], [81, 6, 1, "", "start_realtime_bars"], [163, 6, 1, "", "submit_order"], [164, 6, 1, "", "submit_orders"], [194, 5, 1, "", "timezone"], [100, 6, 1, "", "to_default_timezone"], [42, 6, 1, "", "trace_stats"], [195, 5, 1, "", "unspent_money"], [119, 6, 1, "", "update_parameters"], [120, 6, 1, "", "wait_for_order_execution"], [121, 6, 1, "", "wait_for_order_registration"], [122, 6, 1, "", "wait_for_orders_execution"], [123, 6, 1, "", "wait_for_orders_registration"]], "lumibot.traders": [[46, 0, 0, "-", "trader"]], "lumibot.traders.trader": [[46, 1, 1, "", "Trader"]], "lumibot.traders.trader.Trader": [[46, 3, 1, "", "add_strategy"], [46, 5, 1, "", "is_backtest_broker"], [46, 3, 1, "", "run_all"], [46, 3, 1, "", "run_all_async"], [46, 3, 1, "", "stop_all"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "attribute", "Python attribute"], "3": ["py", "method", "Python method"], "4": ["py", "exception", "Python exception"], "5": ["py", "property", "Python property"], "6": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:attribute", "3": "py:method", "4": "py:exception", "5": "py:property", "6": "py:function"}, "terms": {"": [2, 3, 6, 7, 8, 13, 14, 16, 17, 18, 21, 25, 26, 38, 41, 46, 52, 58, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 94, 95, 96, 97, 98, 99, 100, 128, 136, 147, 158, 165, 178, 193, 196], "0": [13, 15, 17, 19, 21, 22, 23, 24, 25, 32, 42, 43, 44, 87, 88, 96, 97, 146, 152, 153, 157, 163, 164, 173, 188, 196], "00": [5, 44, 110, 121, 146, 152, 153, 157, 163, 164, 196], "000": [13, 25, 26], "0000": 5, "0001": 21, "000234": 12, "01": [5, 6, 8, 20, 25, 146, 147, 152, 157, 158, 163], "02": [5, 20], "04": [5, 44], "05": [6, 8, 146, 157, 196], "07": [44, 125, 126, 133, 134], "0830": 12, "09": 5, "0930": 12, "1": [1, 2, 5, 6, 7, 8, 10, 12, 13, 15, 16, 17, 19, 20, 21, 22, 31, 44, 72, 73, 84, 90, 91, 93, 99, 100, 128, 136, 139, 146, 152, 153, 157, 163, 164, 178, 193, 196], "10": [2, 6, 8, 13, 17, 19, 20, 32, 40, 44, 63, 67, 82, 127, 135, 152, 153, 163, 164, 165, 172, 173, 178, 187, 188, 193, 196], "100": [1, 5, 12, 13, 16, 19, 20, 25, 26, 32, 42, 44, 72, 73, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 128, 133, 134, 136, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164], "10000": [13, 25], "100000": 5, "102": 196, "10439": 5, "10m": [32, 178, 193], "11": [10, 17, 19, 26], "12": [10, 17, 19, 25, 26, 74], "123456": 17, "123456789": 17, "127": [15, 17], "13": [17, 127, 135], "14": [17, 196], "1400": 12, "15": [5, 17, 20, 32, 44, 72, 73], "155": 19, "15m": 44, "15min": 20, "16": [17, 74], "1600": 12, "1612172730": 12, "16808": 5, "17": [17, 19, 32], "18": 19, "180": 25, "180m": 25, "19": 44, "1990": 82, "1991": 82, "1d": [2, 6, 8, 20, 21, 40, 44], "1dai": 44, "1h": [20, 40], "1hour": 44, "1m": [5, 21, 44], "1minut": 44, "1month": [72, 73], "2": [2, 6, 17, 22, 30, 32, 62, 66, 72, 73, 111, 112, 122, 123, 153, 164, 178, 193], "20": [12, 13, 22, 32, 43, 165], "200": [1, 12, 36, 44, 73, 111, 112, 122, 123, 153, 164], "2018": [1, 20], "2019": [146, 157], "2020": [5, 10, 25, 26, 72, 90, 91, 99, 100, 147, 152, 158, 163], "20200101": [132, 141], "2021": [19, 32, 128, 136, 139], "2022": [74, 127, 135], "20221013": [129, 137], "2023": [2, 6, 8, 44, 125, 126, 133, 134, 196], "20h": 32, "213": [146, 157], "22": 5, "23": 21, "2359": [5, 21], "24": [13, 17, 32, 106, 117], "24h": 72, "25": [5, 17], "26": 19, "2793": 5, "2794": 5, "2796": 5, "2800": 5, "2d": [32, 178, 193], "2fa": [11, 26], "2h": [178, 193], "3": [2, 12, 17, 146, 157], "30": [13, 40, 72, 73, 81, 196], "300": [36, 178, 193], "30am": 13, "31": [1, 5, 10, 25, 26, 44, 125, 126, 133, 134], "32": 5, "3233": 5, "3234": 5, "3235": 5, "3237": 5, "33": 5, "3306": [], "4": [2, 17, 26, 147, 158], "400": 22, "405": 22, "41000": [146, 157], "41250": [152, 163], "41300": [152, 163], "41325": [152, 163], "41d4": [], "420": 22, "446655440000": [], "48": 32, "5": [1, 2, 5, 6, 8, 17, 26, 32, 44, 72, 73, 106, 107, 117, 118, 146, 157, 165, 172, 178, 187, 193, 196], "50": [5, 22, 32, 146, 157, 178, 193], "500": [22, 36], "512000000": 17, "5432": 196, "55": 13, "550e8400": 196, "56": 5, "57": 5, "58": 5, "59": 21, "5d": 5, "5m": [32, 178, 193], "6": [17, 19, 26], "60": [1, 20, 173, 188], "600": 12, "7": [12, 13, 17, 26, 32, 106, 117], "7440": 5, "7496": 15, "7497": [15, 17], "75": 5, "7569": 5, "8": [17, 26], "80": [62, 66], "8000": [14, 17], "8203": 5, "8272": 5, "9": [13, 17, 32], "999": 15, "9wgjls3wixq54fcphwwzjcp8jcfjfkuwsryskkma": 17, "A": [1, 5, 7, 10, 12, 14, 22, 26, 44, 46, 52, 53, 58, 59, 77, 84, 93, 146, 153, 157, 164, 196], "And": [25, 72, 73], "As": [6, 8, 17], "At": [14, 25], "Be": [], "By": [2, 17, 26, 34, 128, 136, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194], "For": [1, 2, 3, 5, 7, 10, 13, 14, 17, 19, 20, 22, 26, 28, 44, 49, 51, 55, 57, 109, 110, 111, 112, 120, 121, 122, 123, 146, 152, 153, 157, 163, 164, 165], "If": [1, 5, 6, 8, 12, 13, 14, 16, 17, 20, 21, 25, 26, 30, 32, 36, 40, 44, 72, 73, 74, 81, 102, 103, 105, 113, 114, 116, 131, 140, 143, 146, 151, 154, 157, 162], "In": [0, 6, 8, 13, 17, 22, 43, 74, 75, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98], "It": [0, 4, 5, 6, 7, 8, 13, 14, 15, 17, 19, 22, 23, 25, 26, 41, 43, 44, 74, 77, 146, 157], "NOT": 13, "Not": [43, 106, 117], "On": [14, 17], "One": [5, 17, 19, 22, 44, 146, 157], "Or": [25, 26, 165], "That": 16, "The": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 27, 28, 34, 35, 36, 37, 38, 39, 41, 43, 44, 45, 49, 50, 51, 54, 55, 56, 57, 60, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 104, 106, 108, 115, 117, 119, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 146, 147, 150, 151, 153, 157, 158, 161, 162, 164, 165, 167, 169, 171, 172, 173, 174, 175, 176, 177, 179, 181, 182, 184, 186, 187, 188, 189, 190, 191, 192, 194], "Their": 17, "Then": [5, 13, 16, 72], "There": [10, 11, 146, 157], "These": [0, 1, 2, 3, 4, 7, 10, 32, 45, 54, 60, 82], "To": [0, 6, 8, 10, 13, 14, 16, 17, 22, 25, 26, 72], "Will": [20, 25, 62, 63, 66, 67, 74, 75, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 151, 162, 176, 179, 181, 191, 194], "With": [2, 6, 8, 26], "_": [], "__getattr__": [], "__init__": [], "__main__": [2, 6, 8, 13], "__name__": [2, 6, 8, 13], "__setattr__": [], "_asset_typ": 19, "_get_bars_dict": 21, "_right": 19, "_vars_dict": [], "a716": [], "a7py0zidhxde6qkx8ojjknp7cd87hwku": 17, "aapl": [1, 2, 5, 6, 8, 10, 12, 16, 19, 20, 23, 26, 32, 35, 36, 37, 39, 72, 73, 145, 156], "aapl_pric": [10, 26], "abc": [43, 44], "abcdef1234567890abcdef1234567890abcdef1234": 17, "abl": 16, "about": [2, 9, 11, 26, 166], "abov": [2, 15, 19, 20, 32], "abrupt": 33, "abstract": [27, 41, 43, 44, 45], "accept": [5, 19], "access": [7, 14, 16, 17, 20, 25, 26, 165, 196], "access_token": 16, "accompani": 7, "accord": [82, 83, 89, 92, 98], "account": [2, 6, 8, 11, 12, 13, 15, 16, 17, 26, 43, 47, 49, 51, 53, 55, 57, 59, 61, 150, 161, 167, 182], "account_histori": 17, "account_id": [14, 17], "account_numb": 16, "accur": [20, 44], "achiev": [7, 22, 25, 26], "across": [2, 17], "act": 14, "action": [4, 17], "activ": [14, 17, 22, 26, 74, 75, 78, 152, 153, 163, 164], "activex": 15, "actual": [2, 13, 22, 41, 43, 175, 190], "ad": [5, 11, 13, 17, 19, 26, 72, 73], "add": [3, 5, 13, 14, 17, 19, 22, 25, 32, 43, 46, 62, 63, 66, 67], "add_chart_lin": [62, 66], "add_chart_mark": [63, 67], "add_child_ord": 22, "add_lin": [3, 26, 47], "add_mark": [3, 26, 47], "add_ord": 23, "add_strategi": [5, 12, 13, 14, 15, 16, 25, 26, 46], "add_transact": 22, "addit": [2, 14, 17, 19, 22, 146, 157], "addition": [5, 10, 20], "address": [14, 17], "adjust": [1, 7, 14, 20, 21, 44], "adjust_for_delai": [43, 44, 83, 92], "advanc": [0, 2, 5, 25, 26, 146, 157], "advantag": [], "afa": 17, "affili": 6, "afford": 17, "after": [5, 6, 8, 13, 14, 17, 21, 26, 28, 30, 31, 40, 42, 44, 63, 67, 72, 76, 130, 138, 139, 196], "after_market_clos": [26, 27], "again": [40, 103, 114], "against": 26, "aggregate_bar": 20, "ago": [44, 72], "agre": [], "aka": 5, "algorithm": [15, 17, 25], "alia": 22, "align": 17, "all": [1, 4, 5, 13, 17, 20, 21, 22, 25, 30, 33, 34, 43, 44, 45, 46, 51, 53, 57, 59, 72, 73, 125, 127, 128, 129, 131, 133, 135, 136, 137, 140, 143, 145, 146, 149, 150, 151, 154, 156, 157, 160, 161, 162, 165, 196], "all_vari": 196, "alloc": 10, "allow": [0, 2, 4, 5, 6, 8, 14, 17, 20, 22, 25, 26, 81, 146, 157, 165], "along": 9, "alpaca": [11, 20, 26, 72, 73], "alpaca_api_kei": 17, "alpaca_api_secret": 17, "alpaca_config": [12, 25, 26], "alpaca_is_pap": 17, "alpacastrategi": 12, "alreadi": [22, 30, 36, 41], "also": [5, 10, 15, 17, 22, 25, 26, 32, 43, 72, 146, 151, 157, 162, 166], "altern": 8, "alwai": [13, 30, 43, 106, 117, 167, 182], "america": [5, 20, 44, 176, 179, 181, 191, 194], "amount": [9, 13, 20, 22, 28, 44, 49, 51, 55, 57, 79, 80, 146, 157], "an": [0, 1, 2, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 19, 22, 23, 26, 34, 35, 36, 39, 40, 41, 43, 44, 52, 58, 72, 74, 75, 81, 102, 103, 105, 113, 114, 116, 126, 127, 131, 132, 134, 135, 140, 141, 144, 146, 147, 148, 152, 155, 157, 158, 159, 163, 165, 178, 193, 196], "analy": 26, "analysi": [2, 4, 13, 46], "analyt": 26, "analyz": 26, "ani": [0, 1, 2, 5, 6, 7, 8, 10, 13, 14, 15, 17, 21, 22, 25, 41, 43, 62, 66, 72, 73, 105, 116, 145, 156, 165], "annual": [7, 25, 26], "anoth": [], "another_var": [], "anyth": 10, "anytim": 19, "anywai": [], "api": [1, 2, 6, 8, 10, 12, 13, 14, 15, 16, 17, 20, 26, 44, 128, 136], "api_kei": [1, 12, 25, 26, 43, 44], "api_secret": [12, 25, 26], "apikei": 13, "app": 14, "appl": 23, "appli": [1, 17, 44], "applic": [17, 106, 117], "approach": 14, "appropri": [14, 20], "approv": 14, "ar": [0, 1, 2, 3, 5, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 38, 41, 44, 45, 47, 48, 53, 59, 61, 62, 63, 66, 67, 70, 73, 78, 81, 82, 101, 106, 117, 124, 125, 126, 128, 133, 134, 136, 142, 143, 146, 147, 149, 151, 153, 154, 157, 158, 160, 162, 164, 165, 167, 182, 196], "arg": [1, 21, 44], "argument": [8, 128, 136], "around": [14, 17, 18], "arrai": [17, 21], "arriv": 81, "arrow": [63, 67], "articl": [], "aset": [146, 152, 153, 157, 163, 164], "asex": [32, 106, 117], "ask": [14, 44, 77], "aspect": 2, "asset": [1, 2, 5, 9, 12, 13, 17, 18, 20, 21, 22, 23, 26, 33, 34, 35, 36, 37, 39, 40, 43, 44, 49, 51, 52, 53, 55, 57, 58, 59, 62, 66, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 147, 152, 153, 157, 158, 163, 164, 167, 177, 182, 192], "asset_bar": 30, "asset_bas": [72, 73, 152, 163], "asset_btc": [153, 164], "asset_eth": [153, 164], "asset_pric": [44, 128, 136], "asset_quot": [72, 73, 152, 153, 163, 164], "asset_symbol": 32, "asset_to_get": 13, "asset_typ": [1, 5, 13, 19, 20, 44, 72, 73, 74, 146, 147, 152, 153, 157, 158, 163, 164], "asset_type_map": 12, "asset_type_must_be_one_of": 19, "assetsmap": 19, "assettyp": [5, 13, 19, 146, 152, 153, 157, 163, 164], "assign": 196, "assist": 17, "associ": 14, "assset": [52, 58], "asterisk": [63, 67], "asx": [32, 106, 117], "async": 46, "async_": 46, "asynchron": 46, "attach": 21, "attain": [7, 146, 157], "attempt": [14, 175, 190], "attribut": [19, 196], "attributeerror": [], "authent": [11, 26], "author": 14, "auto_adjust": [1, 44], "autom": [14, 17], "automat": [1, 6, 8, 22, 146, 147, 157, 158, 196], "avail": [2, 9, 10, 17, 20, 21, 23, 26, 47, 72, 73, 106, 117, 128, 136, 153, 164, 167, 182], "averag": [2, 7, 22, 23], "avg_fill_pric": [22, 23], "avoid": 14, "await": [103, 114, 143, 154], "await_market_to_clos": [26, 47], "await_market_to_open": [26, 47], "awar": [5, 20], "back": [14, 196], "background": 17, "backtest": [4, 5, 7, 10, 17, 21, 22, 24, 32, 44, 46, 63, 67, 72, 73, 74, 75, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 170, 185], "backtesting_brok": 43, "backtesting_end": [1, 2, 5, 6, 8, 10, 25, 26, 32], "backtesting_start": [1, 2, 5, 6, 8, 10, 25, 26, 32, 43], "backtestingbrok": [5, 6, 8, 10, 43], "backtets": 77, "backup": 26, "backup_table_nam": 196, "backup_variables_to_db": [], "backward": [72, 73], "balanc": 22, "band": [7, 62, 66], "bar": [13, 18, 21, 26, 43, 44, 63, 67, 71, 72, 73, 74, 75, 78, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 128, 136], "bar_list": 20, "bars_agg": 20, "bars_list": 30, "base": [2, 7, 12, 13, 19, 20, 21, 22, 23, 24, 26, 40, 43, 44, 46, 72, 73, 74, 146, 157], "base_asset": [19, 152, 153, 163, 164], "bat": [32, 106, 117], "bband": 7, "becaus": [3, 5, 6, 8, 10, 17, 43], "becuas": 44, "been": [5, 10, 15, 22, 23, 35, 36, 37, 39, 43, 74, 78], "befor": [1, 2, 5, 7, 10, 13, 14, 15, 17, 20, 22, 25, 26, 29, 30, 31, 32, 40, 41, 42, 44, 72, 73, 102, 103, 113, 114, 151, 162, 172, 173, 187, 188, 196], "before_market_clos": [26, 27], "before_market_open": [26, 27, 173, 188], "before_starting_trad": [26, 27, 30], "begin": [2, 43], "beginn": 25, "behav": 17, "behavior": [0, 2], "behind": 19, "being": [26, 35, 36, 37, 38, 39, 44, 46, 72, 126, 134, 146, 157, 168, 183], "belong": 22, "below": [14, 45, 47, 48, 61, 70, 74, 82, 101, 124, 142], "benchmark": [1, 2, 7], "benchmark_asset": [1, 2, 6, 8, 25], "benefit": 26, "best": [14, 17], "better": [7, 22, 146, 157], "between": [1, 2, 13, 20, 21, 26, 32, 72, 178, 193], "bid": [44, 77], "binanc": [13, 26], "bit": [6, 8], "bitcoin": 20, "black": [62, 63, 66, 67], "blacklist": 31, "blob": [15, 25, 26], "block": 14, "blue": [62, 63, 66, 67], "blueprint": 17, "bmf": [32, 106, 117], "boilerpl": [], "bolling": [7, 62, 66], "bool": [1, 22, 43, 44, 46, 72, 73, 74, 105, 116, 128, 136, 153, 164, 168, 170, 183, 185], "boolean": [12, 151, 153, 162, 164], "bot": [15, 17, 25, 32, 34, 45, 196], "both": [8, 14, 22, 25, 30, 146, 157], "bottom": 17, "bought": [36, 146, 157], "bowti": [63, 67], "box": 26, "bracket": [22, 146, 157], "broadcast": [105, 116], "broker": [1, 5, 12, 16, 19, 20, 22, 23, 24, 25, 26, 32, 35, 36, 37, 39, 44, 45, 72, 73, 74, 77, 81, 109, 110, 111, 112, 120, 121, 122, 123, 128, 136, 146, 152, 153, 157, 163, 164, 167, 182], "brokerag": [14, 17], "brown": [62, 63, 66, 67], "browser": [17, 25, 46], "bse": [32, 106, 117], "btc": [13, 19, 20, 72, 73, 74, 146, 152, 153, 157, 163, 164], "budget": [1, 5, 10, 17, 25, 32, 169, 184], "bug": 26, "bui": [1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 16, 19, 22, 25, 26, 36, 40, 45, 49, 55, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164, 167, 182], "build": [26, 27, 45], "built": [2, 5, 26], "bundl": 14, "busi": [29, 30], "butterfli": 17, "button": [14, 17], "buy_to_clos": 22, "buy_to_cov": 22, "buy_to_open": 22, "buy_trading_fe": [1, 25], "bvmf": [32, 106, 117], "byte": 17, "c": 14, "cach": [6, 8], "calcul": [13, 20, 22, 43, 44, 128, 136], "calculate_greek": 44, "calculate_trade_cost": 43, "calendar": [32, 76, 130, 138], "call": [1, 5, 6, 8, 19, 20, 22, 28, 32, 34, 35, 36, 38, 39, 40, 41, 42, 44, 72, 74, 75, 125, 126, 128, 133, 134, 136, 152, 163], "campu": [], "can": [2, 5, 6, 8, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 29, 32, 41, 44, 45, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 82, 101, 124, 128, 136, 142, 146, 157, 165, 166, 178, 193], "cancel": [12, 22, 30, 35, 43, 71, 109, 111, 120, 122, 142, 143, 144, 145, 146, 149, 151, 154, 155, 156, 157, 160, 162], "cancel_open_ord": [26, 30, 47, 151, 162], "cancel_ord": [12, 26, 43, 47, 149, 160], "cannot": 10, "capabl": [6, 8], "care": 41, "carri": 25, "case": [19, 21, 22], "cash": [9, 13, 22, 26, 28, 42, 43, 48, 49, 51, 55, 57, 61, 175, 177, 180, 190, 192, 195], "cash_pend": 22, "cash_settl": 22, "cash_settle_options_contract": 43, "categori": [45, 101], "caus": 14, "cboe": [125, 127, 129, 133, 135, 137], "cbot_agricultur": [32, 106, 117], "cbot_bond": [32, 106, 117], "cbot_equ": [32, 106, 117], "cbot_interestr": [32, 106, 117], "cbot_rat": [32, 106, 117], "ccxt": [11, 26], "central": [], "certain": [13, 63, 67], "cfd": 17, "cfe": [32, 106, 117], "chain": [22, 44, 124, 125, 126, 127, 129, 131, 133, 134, 135, 137, 140], "chain_data": 44, "challeng": 17, "chang": [5, 10, 12, 14, 16, 17, 20, 32], "chart": [26, 47, 62, 63, 64, 65, 66, 67, 68, 69], "check": [13, 17, 22, 26, 40, 43, 47, 72, 148, 149, 159, 160, 168, 170, 183, 185], "check_data": 21, "chf": [146, 157], "child": [22, 43], "child_ord": 22, "choic": [6, 8, 14, 17], "choos": [0, 15, 26], "chosen": [13, 16, 17], "chunk_siz": [12, 44, 73], "circl": [63, 67], "class": [1, 2, 5, 6, 8, 10, 12, 13, 16, 17, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 165, 196], "classmethod": [19, 20, 22, 23, 44], "clean_trading_tim": 44, "click": [14, 17], "client": [14, 15, 17], "client_id": 15, "close": [1, 5, 12, 13, 20, 21, 22, 28, 29, 32, 33, 40, 43, 51, 57, 72, 74, 75, 78, 81, 102, 103, 113, 114, 151, 162, 172, 187], "cme": [32, 74, 106, 117], "cme_agricultur": [32, 106, 117], "cme_bond": [32, 106, 117], "cme_equ": [32, 106, 117], "cme_interestr": [32, 106, 117], "cme_rat": [32, 106, 117], "code": [2, 5, 6, 7, 8, 13, 14, 17, 25, 26, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 62, 66, 102, 103, 113, 114, 165], "coin": [20, 146, 157], "coinbas": [13, 26], "coinbase_api_kei": 17, "coinbase_api_secret": 17, "coinbase_config": 13, "coinbase_is_sandbox": 17, "coinbasepro": 13, "coinbasepro_config": 13, "collect": [4, 5], "color": [13, 62, 63, 66, 67, 105, 116], "column": [5, 20, 21, 44, 78, 196], "com": [2, 7, 15, 16, 17, 25, 26], "combin": 22, "comex_agricultur": [32, 106, 117], "comfort": 25, "command": [2, 25, 26], "comment": 74, "commiss": 17, "commit": 17, "common": [13, 14], "commun": [25, 26], "compar": [1, 7, 14, 17], "comparison": 2, "compat": 17, "competit": 17, "complet": [13, 14, 15, 17, 22, 26, 74, 75], "complex": [14, 25], "complic": 26, "compon": [27, 41, 196], "compound": [146, 157], "comprehens": [4, 25], "comput": [6, 8, 17, 25, 26], "conclus": [0, 26], "concurr": [], "condit": [2, 22, 40], "condor": [7, 17], "confid": 2, "config": [1, 12, 13, 16, 17, 25, 43], "configur": [2, 11, 15, 26], "confirm": [14, 17], "conflict": [14, 196], "confus": 26, "connect": [12, 13, 14, 17, 105, 116], "connect_stream": [12, 43], "consequ": [], "consid": [5, 20, 177, 192], "consist": [], "consol": [17, 105, 116], "constantli": [13, 26], "construct": 22, "constructor": 32, "contain": [1, 3, 20, 21, 22, 40, 42, 44, 78, 152, 153, 163, 164], "context": 42, "continu": [22, 146, 157], "contract": [5, 19, 20, 22, 32, 43], "control": [14, 178, 193], "conveni": 14, "convers": [19, 178, 193], "convert": [1, 19, 20, 22, 26, 43, 44, 132, 141, 146, 157], "convert_timestep_str_to_timedelta": 44, "copi": 25, "core": 41, "corner": [14, 17], "corpor": 19, "correct": [13, 14, 16], "correctli": 17, "correspond": [17, 35, 36, 37], "cost": [14, 17, 43], "could": [128, 136], "count": [21, 32, 78, 81, 196], "countri": 14, "coupon": [2, 6, 8], "cours": [25, 26], "cover": [17, 26], "crash": [34, 40, 196], "creat": [1, 2, 5, 6, 7, 8, 10, 13, 14, 16, 17, 19, 21, 22, 36, 44, 72, 125, 127, 129, 131, 133, 135, 137, 140, 142, 144, 145, 146, 155, 156, 157], "create_asset": [71, 72, 79], "create_ord": [1, 2, 5, 6, 8, 10, 12, 13, 19, 22, 25, 26, 40, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 152, 153, 155, 156, 163, 164], "creation": [], "credenti": [13, 14, 15], "credit": [6, 8, 153, 164], "critic": [], "cross": [63, 67], "crucial": [2, 17, 25], "cryoptocurr": 13, "crypto": [0, 1, 5, 7, 11, 17, 19, 20, 23, 26, 49, 51, 55, 57, 72, 74, 106, 117, 146, 152, 153, 157, 163, 164, 167, 175, 182, 190], "cryptocurr": [1, 2, 6, 8, 13, 17, 20, 72, 73, 74, 75, 146, 157], "csv": [0, 2, 3, 9, 21, 26, 44], "cta": 14, "cumul": 7, "currenc": [19, 72, 146, 157, 167, 175, 177, 182, 190, 192], "current": [12, 13, 14, 17, 21, 36, 37, 42, 43, 44, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 77, 78, 82, 83, 84, 85, 86, 87, 88, 89, 92, 93, 94, 95, 96, 97, 98, 128, 136, 143, 149, 153, 154, 160, 164, 167, 175, 178, 182, 190, 193, 196], "current_count": 196, "current_ema": 13, "current_macd": 13, "current_rsi": 13, "curv": 2, "custom": [2, 25, 32, 146, 157, 165], "custom_param": [22, 146, 157], "d": [32, 178, 193], "dai": [0, 1, 2, 5, 6, 8, 10, 17, 21, 22, 26, 30, 31, 32, 40, 44, 72, 73, 76, 79, 80, 84, 85, 86, 87, 93, 94, 95, 96, 130, 138, 146, 153, 157, 164, 178, 193], "daili": [0, 2, 5, 7, 10, 31, 72, 73], "darkblu": [62, 66], "darkgrai": [62, 66], "darkgreen": [62, 66], "darkr": [62, 66], "dash": [16, 62, 66], "dashboard": [6, 8, 25], "data": [0, 1, 3, 6, 8, 10, 11, 13, 18, 19, 20, 23, 26, 30, 31, 40, 45, 47, 62, 66, 71, 72, 73, 78, 81, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "data_sourc": [5, 12, 43, 44, 72, 73], "data_source_backtest": 43, "databas": [2, 5, 17, 26], "database_nam": 196, "datafram": [20, 21, 44, 64, 65, 68, 69, 72, 78, 81], "datalin": 21, "dataset": 2, "datasourc": [1, 8, 43, 44], "datasource_class": 1, "datasourcebacktest": [43, 44], "datatim": 82, "date": [0, 1, 2, 5, 6, 8, 10, 19, 21, 26, 32, 44, 74, 76, 82, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 141, 146, 157], "date_cr": 22, "date_end": 21, "date_start": 21, "daterang": 20, "datetim": [1, 2, 5, 6, 8, 10, 13, 19, 20, 21, 25, 26, 32, 43, 44, 47, 62, 63, 66, 67, 72, 76, 78, 81, 83, 84, 90, 91, 92, 93, 99, 100, 127, 130, 132, 135, 138, 139, 141, 146, 157, 171, 186], "datetime64": [5, 21], "datetime_end": [5, 43], "datetime_start": [5, 43], "db": 17, "db_connection_str": [17, 196], "dd": [76, 130, 138], "deal": [14, 26], "debit": [153, 164], "debug": [4, 46, 196], "decid": [17, 72], "decim": [23, 74, 75, 146, 147, 157, 158], "decis": [3, 4], "def": [1, 2, 5, 6, 8, 10, 12, 13, 16, 25, 26, 27, 41, 106, 117, 165, 172, 173, 178, 187, 188, 193, 196], "default": [1, 5, 10, 17, 19, 20, 21, 32, 34, 44, 45, 54, 60, 62, 63, 66, 67, 72, 73, 74, 76, 91, 100, 106, 117, 125, 127, 128, 129, 130, 133, 135, 136, 137, 138, 146, 151, 153, 157, 162, 164, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194, 196], "default_pytz": 44, "default_timezon": 44, "defin": [6, 7, 8, 13, 24, 27, 32, 41, 42, 43, 45, 165, 196], "definit": [], "delai": 44, "delet": 17, "delta": [7, 44, 128, 136], "demonstr": 13, "depend": [14, 17, 72, 73], "deploi": [2, 26], "deploy": 26, "deprec": [1, 15, 146, 157, 180, 195], "depric": 74, "describ": [26, 45], "descript": [1, 14, 17], "deseri": [], "design": [2, 17, 25, 27, 41], "desir": [13, 14, 21, 81, 128, 136], "detail": [0, 2, 3, 4, 9, 14, 17, 19, 72, 148, 159], "detail_text": [62, 63, 66, 67], "determin": [6, 7, 8, 12, 22, 43, 106, 117, 146, 157, 166], "dev": [25, 26], "develop": [17, 26], "df": [5, 13, 20, 21, 30, 72, 73], "dialog": [], "diamond": [63, 67], "dict": [1, 21, 38, 42, 44, 46, 50, 54, 56, 60, 77, 104, 108, 115, 119, 146, 157], "dictionari": [1, 5, 8, 16, 36, 42, 43, 44, 46, 73, 77, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 157, 165], "differ": [2, 3, 5, 7, 11, 13, 14, 17, 20, 25, 26, 45], "differenti": 7, "difficult": 5, "digit": 15, "directli": [17, 43], "directori": [5, 14, 17], "disabl": 15, "disconnect": 14, "discord": [17, 26], "discord_webhook_url": 17, "discov": [25, 26], "displai": [46, 62, 63, 66, 67], "displi": 46, "divid": 47, "dividend": [20, 44, 79, 80, 128, 136, 167, 182], "do": [1, 5, 10, 13, 16, 20, 22, 25, 26, 38, 44, 47, 101, 146, 157], "doc": [], "docstr": 43, "document": [11, 13, 14, 17, 25, 26, 72], "doe": [43, 44, 77, 146, 157], "doesn": 14, "dollar": [146, 157, 175, 190], "don": [13, 14, 17, 26], "done": 44, "dot": [62, 63, 66, 67], "down": [14, 17, 25, 33, 63, 67], "downgrad": 17, "download": [2, 5, 6, 8, 25, 26], "drawdown": [2, 7], "dsttzinfo": 44, "dt": [13, 21, 44, 62, 63, 66, 67, 90, 91, 99, 100, 139], "dt_index": 44, "dte": 7, "due": 19, "dump": [28, 42], "duplic": [], "durat": [7, 32, 146, 153, 157, 164, 178, 193], "dure": [1, 2, 4, 7, 17, 45, 73], "e": [2, 9, 17, 19, 20, 21, 22, 23, 25, 72, 73, 74, 146, 147, 152, 157, 158, 163], "e29b": [], "each": [0, 1, 2, 3, 5, 7, 9, 13, 14, 20, 22, 26, 30, 32, 40, 41, 44, 45, 47, 53, 59, 72, 80, 126, 134, 149, 151, 160, 162, 196], "eas": 17, "easi": [6, 8, 14, 17, 25, 26], "easier": [5, 17], "easiest": 25, "easili": [10, 26, 32, 45], "eastern": 21, "edit": 17, "effect": 17, "effici": 196, "eg": [13, 17, 19, 20, 25, 44, 47, 49, 51, 55, 57, 62, 63, 66, 67, 70, 77, 82, 105, 116, 125, 126, 133, 134, 146, 157, 178, 193], "either": [5, 19, 21, 22, 72, 73, 74, 75], "elif": 36, "els": 43, "ema": 13, "ema_threshold": 165, "email": [7, 14], "empti": [53, 59], "en": 13, "enabl": [13, 14, 15], "encount": 22, "end": [1, 2, 6, 7, 8, 10, 14, 20, 21, 26, 42], "end_dat": 21, "endpoint": 12, "engag": 17, "engin": [26, 41], "enhanc": [14, 25], "enjoi": 25, "enough": [], "ensur": [5, 10, 14, 17, 21, 22, 25, 26, 146, 157], "enter": [14, 17, 19, 22, 31, 146, 157, 178, 193], "entir": 13, "entiti": [5, 13, 19, 20, 21, 22, 23, 24, 25, 26, 44, 72, 73, 80, 146, 152, 153, 157, 163, 164], "entri": [15, 22], "env": [14, 17, 196], "environ": [2, 14, 26, 196], "equal": [172, 173, 178, 187, 188, 193], "equiti": [2, 14, 51, 57], "equival": 22, "equivalent_statu": 22, "error": [13, 17, 22, 34], "error_messag": 22, "especi": [14, 82, 196], "essenti": [2, 17], "est": 5, "etc": [5, 16, 20, 21, 40, 44, 45, 48, 61, 63, 67, 77, 148, 159], "etf": [2, 10], "eth": [20, 73, 146, 153, 157, 164], "ethereum": 20, "eula": 14, "eur": [19, 72, 73, 146, 152, 153, 157, 163, 164], "eurex": [32, 106, 117], "eurusd": 73, "evalu": 43, "even": [2, 6, 8, 30, 153, 164], "event": [4, 26, 33, 34, 35, 36, 37, 38, 39, 43, 63, 67], "everi": [2, 25, 32, 40, 43, 47, 81, 196], "everyth": [17, 26], "ew": [63, 67], "exactli": 26, "exampl": [1, 2, 6, 8, 11, 12, 15, 19, 20, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 52, 53, 58, 59, 62, 63, 66, 67, 71, 72, 73, 74, 75, 79, 80, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 105, 106, 107, 109, 110, 111, 112, 113, 114, 116, 117, 118, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 196], "example_strategi": [13, 25, 26], "exce": 20, "excel": 17, "except": [15, 20, 25, 26, 34], "exchang": [14, 21, 22, 44, 72, 73, 74, 75, 76, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 125, 126, 127, 129, 130, 131, 133, 134, 135, 137, 138, 140, 146, 157], "exchange_id": 13, "excut": [168, 183], "execud": [29, 30], "execut": [2, 9, 17, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 102, 103, 107, 109, 111, 113, 114, 118, 120, 122, 143, 152, 154, 163, 172, 173, 178, 187, 188, 193], "exist": [21, 54, 60], "exit": 22, "exp_dat": [44, 125, 126, 133, 134], "expect": [17, 25, 26, 128, 136], "expens": [17, 128, 136], "expert": [25, 26], "expertis": 26, "expir": [7, 14, 19, 22, 32, 44, 72, 74, 125, 126, 127, 128, 133, 134, 135, 136, 139, 146, 157], "expiration_d": [147, 152, 158, 163], "expiri": [19, 44, 127, 132, 135, 141], "expiry_d": [127, 132, 135, 141], "explain": 2, "exponenti": 7, "export": 2, "expri": 43, "extend": 81, "extens": 2, "extract": 72, "extrem": 22, "ey": 17, "f": [13, 16, 28, 35, 36, 38, 39, 42, 72, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 169, 171, 174, 176, 177, 179, 181, 184, 186, 189, 191, 192, 194, 196], "fact": [], "factor": [11, 26], "fairli": [], "fals": [1, 12, 13, 16, 17, 22, 25, 26, 32, 43, 44, 46, 73, 74, 83, 92, 105, 116, 128, 136, 146, 151, 157, 162], "familiar": 25, "fashion": [], "fast": [22, 25, 26], "faster": [2, 6, 8, 44], "favor": [146, 157], "featur": [0, 2, 6, 8, 26], "fee": [14, 17, 18, 26], "feel": [], "fetch": [6, 8, 44, 126, 131, 134, 140], "few": [13, 17, 26, 101], "field": [14, 20, 22], "figur": 17, "file": [1, 4, 5, 7, 14, 15, 17, 25, 26, 101, 105, 116, 165, 196], "fill": [14, 17, 21, 22, 23, 36, 39, 43, 146, 157, 167, 182], "filter": 20, "final": [5, 6, 8, 10, 14, 26], "financ": [1, 2, 10, 26], "financi": [20, 25], "find": [13, 14, 15, 16, 17, 26, 44, 76, 127, 129, 130, 131, 135, 137, 138, 139, 140], "find_asset_in_data_stor": 44, "firm": 14, "first": [1, 5, 6, 8, 10, 13, 16, 17, 20, 21, 22, 25, 26, 30, 32, 73, 168, 178, 183, 193, 196], "first_iter": [1, 2, 5, 6, 8, 10, 26], "fit": [17, 101], "fix": [26, 81], "flat": 25, "flat_fe": [24, 25], "flexibl": [2, 5, 6, 8, 25], "float": [1, 5, 19, 20, 22, 23, 36, 39, 43, 44, 49, 51, 55, 57, 62, 63, 66, 67, 74, 75, 79, 80, 102, 103, 107, 113, 114, 118, 128, 131, 136, 140, 146, 147, 153, 157, 158, 164, 167, 169, 175, 182, 184, 190], "flow": 45, "focus": 17, "folder": [2, 5, 10, 13, 17], "follow": [2, 5, 6, 8, 13, 14, 15, 17, 19, 20, 22, 26, 27, 30, 41, 78, 165, 178, 193], "forc": [146, 157], "forex": [0, 2, 5, 6, 8, 12, 17, 19, 26, 44, 73, 74, 146, 152, 153, 157, 163, 164], "forget": 26, "form": [6, 21, 81, 106, 117, 127, 129, 135, 137, 167, 182], "format": [0, 5, 19, 21, 44, 76, 125, 126, 130, 132, 133, 134, 138, 141], "fortun": 26, "found": 26, "frame": 5, "framework": [2, 41], "free": [1, 2, 6, 8, 17, 23, 26, 44, 128, 136], "frequenc": [20, 21], "frequent": 20, "friendli": 17, "from": [1, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 25, 26, 41, 42, 44, 45, 72, 73, 76, 80, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 140, 146, 152, 153, 157, 163, 164, 196], "from_dict": [19, 22, 23], "full": [2, 6, 8, 11, 14, 26, 44, 125, 133], "fulli": 14, "function": [0, 2, 3, 13, 17, 21, 26, 32, 38, 41, 44, 47, 48, 82, 142], "further": [2, 17], "futur": [0, 5, 12, 14, 17, 19, 20, 26, 43, 44, 74, 146, 147, 152, 157, 158, 163, 180, 195], "g": [2, 9, 17, 20, 21, 22, 23, 25, 72, 73, 146, 157], "gain": 26, "gamma": [128, 136], "gatewai": [], "gbp": [19, 152, 163], "gear": [], "gener": [7, 10, 13, 16, 26, 151, 162], "get": [1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 17, 18, 20, 21, 22, 30, 31, 33, 38, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 70, 72, 73, 75, 77, 79, 80, 82, 104, 115, 124, 147, 148, 149, 150, 158, 159, 160, 161, 165, 166, 167, 172, 173, 175, 178, 182, 187, 188, 190, 193, 196], "get_asset": 44, "get_asset_by_nam": 44, "get_asset_by_symbol": 44, "get_asset_potential_tot": [26, 47], "get_bar": [20, 21, 44], "get_bars_between_d": 21, "get_cash": [26, 47], "get_chain": [26, 44, 47, 127, 129, 131, 135, 137, 140], "get_chain_full_info": 44, "get_datetim": [13, 26, 43, 44, 47], "get_datetime_rang": [26, 43, 44, 47], "get_expir": [26, 47], "get_fill_pric": 22, "get_func_stat": 25, "get_greek": [26, 47], "get_historical_account_valu": [12, 43], "get_historical_pric": [6, 8, 13, 20, 26, 31, 44, 47, 73], "get_historical_prices_for_asset": [26, 30, 47], "get_incr": 22, "get_iter_count": 21, "get_last_bar": 43, "get_last_dai": [26, 44, 47], "get_last_dividend": 20, "get_last_minut": [26, 44, 47], "get_last_pric": [2, 6, 8, 10, 13, 16, 20, 21, 26, 44, 47], "get_lines_df": [26, 47], "get_markers_df": [26, 47], "get_momentum": 20, "get_multipli": [26, 47], "get_next_option_expir": 139, "get_next_trading_dai": [26, 47], "get_ord": [13, 26, 47], "get_paramet": [26, 47, 165], "get_portfolio_valu": [26, 47], "get_posit": [13, 23, 26, 47, 150, 161], "get_quot": [21, 26, 47], "get_round_dai": [26, 44, 47], "get_round_minut": [26, 44, 47], "get_selling_ord": [23, 26, 47], "get_start_datetime_and_ts_unit": 44, "get_strik": [26, 44, 47], "get_symbol_bar": 70, "get_thread_stat": 25, "get_time_to_clos": [12, 43], "get_time_to_open": [12, 43], "get_timestamp": [12, 26, 44, 47], "get_timestep": 44, "get_total_dividend": 20, "get_total_return": 20, "get_total_return_pct": 20, "get_total_return_pct_chang": 20, "get_total_stock_split": 20, "get_total_volum": 20, "get_tracked_ord": [149, 160], "get_trading_days_panda": 44, "get_yesterday_dividend": [26, 44, 47], "getting_start": 15, "github": [13, 15, 17, 20, 25, 26], "give": [6, 8, 13, 131, 140], "given": [14, 20, 21, 43, 44, 52, 58, 71, 72, 73, 76, 84, 93, 125, 127, 129, 130, 131, 133, 135, 137, 138, 139, 140, 143, 148, 154, 159], "global": [15, 17, 20, 45], "go": [2, 5, 12, 15, 17, 25, 26], "goal": 7, "goe": [105, 116], "good": [26, 146, 157], "good_till_d": [22, 146, 157], "goog": [22, 42, 72, 73], "googl": 22, "google_symbol": 42, "gracefulli": 33, "grai": [62, 66], "graph": [7, 62, 63, 66, 67], "great": [14, 17], "greatli": [27, 41], "greek": [44, 124, 128, 136], "green": [13, 62, 63, 66, 67, 105, 116], "grouper_kwarg": 20, "growth": 7, "gtc": [146, 153, 157, 164], "gtd": [146, 157], "guarante": [146, 157], "guarente": [44, 125, 126, 133, 134], "guid": [2, 13, 16, 25, 26], "guidanc": 25, "h": [178, 193], "ha": [0, 7, 15, 20, 22, 26, 35, 36, 37, 39, 45, 71, 74, 78, 196], "handl": 14, "happen": [171, 186], "happi": 17, "harm": 7, "hash": [63, 67], "have": [0, 1, 2, 5, 6, 8, 10, 14, 16, 17, 20, 22, 23, 25, 26, 28, 43, 47, 49, 51, 55, 57, 72, 78], "he": 41, "header": 14, "held": [175, 190], "hello": 40, "help": [2, 3, 6, 8, 25], "helper": [20, 22, 45], "here": [1, 2, 5, 6, 8, 11, 12, 13, 14, 15, 16, 17, 18, 25, 26, 41, 165, 166], "hex": [62, 66], "hexagon": [63, 67], "hexagon2": [63, 67], "hexagram": [63, 67], "high": [5, 20, 21, 25, 26, 43, 78, 81], "higher": 22, "highli": [15, 26], "histor": [2, 6, 8, 12, 13, 20, 26, 43, 44, 70, 72, 73], "histori": 17, "historical_limit": 20, "hkex": [32, 106, 117], "hold": [6, 8, 20, 22, 23, 26, 36], "home": 26, "hope": 25, "host": [14, 17], "hour": [13, 20, 21, 32, 40, 44, 72, 73, 106, 117, 178, 193], "hourglass": [63, 67], "hover": [62, 63, 66, 67], "how": [0, 3, 11, 12, 13, 17, 25, 26, 45, 72, 81, 166], "howev": [17, 22, 30, 32, 146, 157], "hr": [5, 21], "html": [0, 1, 3, 9, 20, 26], "http": [2, 6, 8, 12, 13, 14, 15, 16, 17, 20, 25, 26], "i": [0, 1, 2, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 26, 28, 29, 30, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 77, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 102, 103, 106, 113, 114, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 147, 149, 151, 153, 157, 158, 160, 162, 164, 166, 167, 168, 170, 172, 173, 177, 178, 182, 183, 185, 187, 188, 192, 193, 196], "ib": [14, 19, 132, 141], "ib_api_url": [14, 17], "ib_password": [14, 17], "ib_subaccount": 17, "ib_usernam": [14, 17], "ibeam": [], "ibgatewai": 14, "ibkei": [], "ibkr": 14, "ibkrcampu": [], "ibm": [19, 145, 156], "ic": [32, 106, 117], "iceu": [32, 106, 117], "icon": [], "id": [2, 15, 17, 148, 159, 196], "ideal": [2, 17], "identifi": [2, 13, 19, 22, 148, 159], "idx": 21, "iepa": [32, 106, 117], "illustr": 41, "iloc": [13, 72], "imag": [], "implement": [7, 17, 26, 27, 41, 44, 46], "impli": [128, 136], "implied_volatil": [128, 136], "import": [0, 1, 2, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 26, 41, 42, 44, 45, 63, 67, 73, 80, 146, 152, 153, 157, 163, 164, 165], "importantfunct": 13, "importantli": 22, "improv": 26, "includ": [2, 3, 7, 9, 10, 13, 17, 19, 20, 26, 32, 41, 44, 54, 60, 72, 124, 146, 148, 157, 159, 175, 190], "include_after_hour": [44, 72, 73], "inclus": 20, "incred": 17, "incur": 14, "index": [5, 19, 20, 21, 26, 78], "indic": [0, 1, 5, 13, 46, 52, 53, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 153, 164], "indicators_fil": 1, "individu": [2, 26], "industri": 26, "infinit": [103, 114], "influenc": [3, 27, 41], "info": [44, 105, 116, 125, 126, 133, 134], "inform": [2, 3, 5, 9, 10, 13, 17, 43, 44, 77, 78, 126, 131, 134, 140, 146, 157, 166], "inherit": [6, 8, 45], "initi": [1, 2, 6, 8, 13, 15, 25, 26, 27, 41, 106, 117, 165, 169, 172, 173, 178, 184, 187, 188, 193], "initial_budget": 26, "input": [21, 102, 103, 113, 114], "insert": [], "insid": [47, 166, 172, 187], "insight": [0, 2], "instal": [0, 5, 10, 13, 15, 17], "instanc": [13, 196], "instanti": [13, 16, 26, 43], "instead": [1, 5, 17, 20, 43, 107, 118, 128, 136, 180, 195], "instruct": [14, 17, 146, 152, 153, 157, 163, 164], "instrument": 20, "int": [1, 12, 19, 20, 21, 22, 36, 39, 44, 62, 63, 66, 67, 72, 73, 81, 84, 85, 86, 87, 88, 89, 93, 94, 95, 96, 97, 98, 102, 103, 113, 114, 146, 147, 157, 158, 172, 173, 178, 187, 188, 193], "integ": [72, 73, 178, 193], "integr": [6, 8], "intend": [5, 17], "inter": [0, 5], "interact": [11, 13, 20, 22, 26, 45, 72, 73, 74, 81], "interactive_brok": 15, "interactive_brokers_client_id": 17, "interactive_brokers_config": 15, "interactive_brokers_ip": 17, "interactive_brokers_port": 17, "interactivebrok": [15, 20], "interest": [7, 13, 44, 128, 136], "interfer": [], "intern": [17, 146, 157], "interpret": [2, 178, 193], "interrupt": [14, 33, 196], "interupt": [33, 40], "interv": 5, "intervent": [], "intial": 78, "intra": [0, 5, 10], "intradai": 2, "introduc": 2, "invest": [7, 14, 26], "involv": 9, "io": [0, 13, 20, 26], "ip": [14, 15, 17], "iron": 7, "is_act": 22, "is_backtest": [17, 26], "is_backtest_brok": 46, "is_backtesting_brok": 43, "is_backtesting_data_sourc": [43, 44], "is_buy_ord": 22, "is_cancel": 22, "is_fil": 22, "is_market_open": [12, 43], "is_multileg": [153, 164], "is_opt": 22, "is_par": 22, "is_sell_ord": 22, "is_valid": 19, "isn": [], "isol": [], "issu": 2, "item": [], "iter": [1, 2, 6, 8, 13, 21, 32, 40, 41, 168, 171, 183, 186, 196], "iter_index": 21, "its": [1, 6, 8, 22, 42], "itself": 17, "j": [27, 41], "jan": 82, "join": [25, 26], "jpx": [32, 106, 117], "json": 196, "june": 19, "just": [19, 26, 32, 36, 43, 146, 157], "keep": [14, 17, 22, 23, 81, 146, 157], "keep_bar": 81, "kei": [1, 2, 3, 5, 6, 8, 12, 14, 15, 16, 17, 21, 26, 46, 128, 136, 165, 196], "kept": 81, "keybord": 33, "keyerror": [], "keyword": 22, "kill": [], "kind": [1, 25], "know": [13, 18], "knowledg": [], "known": [44, 74, 75], "kraken": [13, 26, 146, 157], "kraken_api_kei": 17, "kraken_api_secret": 17, "kraken_config": 13, "kucoin": [13, 26], "kucoin_config": 13, "kwarg": [1, 12, 19, 21, 43, 44, 153, 164], "last": [5, 13, 20, 21, 22, 28, 30, 31, 42, 43, 44, 72, 73, 74, 75, 85, 86, 94, 95, 171, 186, 196], "last_dai": [85, 94], "last_minut": [86, 95], "last_ohlc": 72, "last_on_trading_iteration_datetim": 26, "last_pric": [13, 74, 75, 196], "last_upd": 196, "later": 32, "latest": [2, 5, 10, 13, 17, 25, 26, 72], "launch": 30, "layout": [], "learn": [11, 17, 25, 26], "least": [5, 41], "leav": [151, 162], "left": [17, 63, 67], "leg": 26, "legaci": [11, 26], "len": 21, "length": [13, 21, 43, 44, 72, 73, 78, 84, 93], "less": [16, 146, 147, 157, 158], "let": 13, "level": [26, 63, 67, 105, 116], "leverag": [19, 146, 157], "librari": [5, 7, 13, 16, 17, 25], "lifecycl": [26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 47, 168, 172, 173, 178, 183, 187, 188, 193], "lightblu": [62, 66], "lightgrai": [62, 66], "lightgreen": [62, 66], "lightr": [62, 66], "like": [2, 5, 17, 21, 25, 26, 29, 30, 31, 32, 33, 43, 44, 165], "limit": [6, 8, 13, 14, 17, 22, 43, 44, 72, 73, 81, 110, 121, 146, 152, 153, 157, 163, 164], "limit_ord": [43, 146, 157], "limit_pric": [13, 22, 43, 110, 121, 146, 152, 153, 157, 163, 164], "line": [3, 26, 46, 62, 63, 64, 66, 67, 68], "link": [6, 8, 14], "list": [1, 2, 13, 18, 19, 20, 23, 25, 31, 43, 44, 47, 48, 53, 59, 61, 70, 73, 75, 80, 82, 84, 93, 101, 106, 111, 112, 117, 122, 123, 124, 127, 129, 131, 135, 137, 140, 142, 145, 149, 153, 156, 160, 164, 166], "littl": [], "live": [1, 2, 12, 14, 15, 17, 20, 25, 43, 44, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117], "live_config": 17, "ll": [13, 14, 16, 26], "lmt": 44, "lmt_order": 13, "load": [5, 18, 21, 63, 67, 196], "load_data": 44, "load_variables_from_db": [], "local": [20, 21, 42, 44, 90, 91, 99, 100, 128, 136], "localhost": [14, 17, 196], "localize_datetim": [26, 44, 47], "localize_timezon": 21, "locat": 17, "log": [0, 1, 2, 7, 10, 14, 15, 16, 17, 19, 26, 42, 101, 105, 116], "log_messag": [13, 16, 20, 26, 28, 30, 33, 34, 35, 36, 37, 38, 39, 40, 42, 47, 52, 53, 58, 59, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 147, 148, 149, 158, 159, 160, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 179, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 194], "logfil": [1, 46], "logic": [27, 29, 30, 40, 41, 43, 45], "login": 14, "long": 22, "longer": 2, "longest": 7, "look": [2, 5, 15, 26], "loop": [14, 31, 40, 103, 114, 172, 187], "lose": [], "loss": [7, 22, 43, 62, 63, 66, 67, 146, 152, 153, 157, 163, 164], "lost": [], "lot": [17, 166], "low": [5, 17, 20, 21, 43, 78, 81], "lower": 21, "lse": [32, 106, 117], "luck": 26, "lumi": [2, 7, 8], "lumi10": [2, 6], "lumibot": [0, 1, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 22, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "lumiwealth": [7, 15, 26], "m": [178, 193], "mac": 26, "macd": 13, "machin": 2, "machinelearninglongshort": 25, "made": [25, 70, 82], "mai": [5, 13, 14, 17, 19, 22, 25, 72, 73, 81, 146, 157], "main": [17, 18, 22, 26, 33, 40, 45, 146, 157], "main_tick": 165, "maintain": [14, 17], "major": [5, 10], "make": [2, 4, 5, 6, 8, 17, 22, 25, 26, 74, 75], "maker": 24, "manag": [21, 22, 26, 47, 61, 124], "mandatori": [17, 19, 45, 146, 157], "mani": [6, 8, 13, 26, 32, 41, 81], "manual": [2, 14, 17], "map": 19, "map_asset_typ": 12, "margin": [13, 146, 157], "mark": [63, 67], "marker": [3, 46, 63, 65, 67, 69], "market": [2, 11, 12, 13, 17, 22, 25, 26, 28, 29, 30, 31, 32, 40, 43, 74, 75, 102, 103, 106, 109, 110, 111, 112, 113, 114, 117, 120, 121, 122, 123, 146, 151, 152, 153, 157, 162, 163, 164, 172, 173, 175, 187, 188, 190], "marketcalendar": [32, 106, 117], "martingal": 7, "master": 15, "match": [21, 44], "math": 26, "max": [7, 13], "max_bar": 32, "max_pric": 13, "max_work": [12, 43, 44, 73], "maximum": [7, 17, 44], "mean": [], "meant": 124, "measur": [1, 7], "mechan": [], "memori": 17, "mention": 20, "menu": [14, 26], "merg": 21, "messag": [17, 101, 105, 116], "method": [1, 6, 8, 15, 19, 20, 22, 23, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 70, 101, 124, 125, 127, 129, 131, 133, 135, 137, 140, 165, 168, 172, 173, 178, 183, 187, 188, 193, 196], "metric": [2, 7], "might": [5, 13, 14, 17], "min": 20, "min_timestep": [21, 44], "mind": [], "minim": [], "minimum": 44, "minut": [1, 5, 13, 17, 20, 21, 25, 26, 29, 30, 32, 40, 43, 44, 72, 73, 84, 86, 88, 93, 95, 97, 102, 103, 113, 114, 172, 173, 178, 187, 188, 193], "minutes_before_clos": [1, 26, 29, 32, 40, 102, 113], "minutes_before_open": [1, 26, 30, 103, 114], "miscellan": [26, 47], "miss": 39, "mkt_order": 13, "mm": [76, 130, 138], "mnq": 32, "mobil": 14, "mode": [0, 15, 17, 43, 170, 185], "modifi": [10, 25, 26], "modul": [5, 10, 26], "momentum": 20, "monei": [14, 16, 17, 25, 49, 51, 55, 57, 167, 182], "monitor": 17, "month": [17, 85, 94], "more": [0, 2, 3, 11, 13, 14, 16, 17, 18, 20, 25, 26, 43, 44, 47, 70, 72, 101, 124, 128, 136, 142], "most": [0, 5, 7, 14, 17, 20, 25, 41, 72, 78, 128, 136], "mostli": 43, "move": [2, 7, 22, 26], "movement": [22, 146, 157], "much": [5, 6, 8, 12, 44], "multileg": [22, 153, 164], "multipl": [2, 17, 143, 154, 196], "multipli": [19, 20, 36, 39, 44, 125, 126, 129, 131, 133, 134, 137, 140, 152, 163], "must": [1, 2, 5, 6, 8, 10, 12, 16, 21, 22, 41, 72, 73, 131, 140, 146, 157], "my": [17, 25], "my_custom_paramet": 32, "my_custom_stat": 42, "my_last_paramet": 32, "my_limit_pric": 22, "my_other_paramet": 32, "my_other_stat": 42, "my_paramet": 165, "my_stat": 42, "my_stop_loss_pric": 22, "my_stop_pric": 22, "my_take_profit_pric": 22, "my_trail_perc": 22, "my_trail_pric": 22, "mysql": [], "mystrategi": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 165], "n": [63, 67], "name": [0, 1, 5, 10, 14, 17, 19, 21, 25, 26, 32, 44, 46, 62, 63, 66, 67, 74, 105, 116, 165, 196], "namespac": 196, "nan": 21, "nasdaq": [14, 32, 106, 117], "navig": [14, 15, 17], "ne": [63, 67], "nearest": [87, 88, 96, 97], "necessari": [6, 8, 17, 43], "need": [2, 6, 8, 13, 14, 16, 17, 25, 27, 41, 43, 44, 72, 73, 77], "net": [2, 8, 51, 57], "network": 14, "new": [2, 5, 7, 14, 17, 19, 20, 22, 26, 36, 37, 43, 54, 60, 146, 157, 167, 182], "new_york": [20, 44, 176, 179, 181, 191, 194], "newer": 17, "nexpir": 19, "next": [5, 6, 8, 12, 17, 26, 40, 76, 130, 138, 139], "next_option_expir": 139, "next_trading_dai": [76, 130, 138], "nobardatafound": 20, "none": [1, 12, 13, 17, 19, 20, 21, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 44, 46, 49, 51, 52, 53, 54, 55, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 81, 84, 93, 102, 103, 105, 106, 107, 108, 113, 114, 116, 117, 118, 119, 128, 131, 136, 140, 143, 144, 145, 146, 148, 150, 151, 154, 155, 156, 157, 159, 161, 162], "normal": [5, 16, 131, 140], "notat": 196, "note": [5, 10, 13, 14, 15, 17, 20, 22, 43, 77, 146, 157], "notic": 26, "notif": [14, 17], "now": [16, 25, 44, 74], "num_period": 20, "number": [1, 12, 15, 16, 17, 21, 22, 29, 32, 44, 72, 73, 84, 87, 88, 93, 96, 97, 146, 157, 172, 173, 178, 187, 188, 193], "numpi": 21, "nuzcnprsxjxxouxrhqe5k2k1xnqlpckh2xcutifkcw": 17, "nw": [63, 67], "nyfe": [32, 106, 117], "nymex_agricultur": [32, 106, 117], "nyse": [14, 32, 76, 106, 117, 130, 138], "o": 22, "obect": [146, 157], "object": [1, 5, 10, 12, 18, 19, 20, 21, 22, 23, 24, 35, 36, 37, 39, 43, 44, 46, 52, 53, 58, 59, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 109, 110, 111, 112, 120, 121, 122, 123, 126, 131, 134, 140, 144, 145, 146, 147, 148, 149, 152, 153, 155, 156, 157, 158, 159, 160, 163, 164, 176, 181, 191, 196], "observ": 7, "obtain": [6, 8, 13, 44, 126, 127, 129, 131, 134, 135, 137, 140], "occur": 22, "oco": [22, 146, 152, 157, 163], "octagon": [63, 67], "off": [2, 6, 8], "offer": [2, 7, 14, 17, 26], "offici": 2, "often": 22, "ohlcv": [20, 21, 43], "on_abrupt_clos": [26, 27, 34], "on_bot_crash": [26, 27], "on_canceled_ord": [26, 27], "on_filled_ord": [26, 27], "on_new_ord": [26, 27], "on_parameters_upd": [26, 27], "on_partially_filled_ord": [26, 27], "on_start": [], "on_trading_inter": [12, 32], "on_trading_iter": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 27, 28, 41, 42, 47, 102, 103, 113, 114, 165, 168, 172, 178, 183, 187, 193, 196], "onc": [2, 14, 15, 16, 17, 22, 25, 26, 32, 41, 146, 157, 196], "one": [5, 7, 13, 14, 17, 22, 25, 26, 41, 43, 47, 72, 109, 120, 146, 153, 157, 164], "ones": [17, 41], "onli": [1, 5, 10, 13, 14, 15, 17, 19, 20, 21, 22, 23, 25, 26, 32, 41, 43, 44, 46, 72, 73, 74, 77, 81, 128, 136, 143, 153, 154, 164, 172, 187], "open": [1, 2, 5, 12, 17, 20, 21, 22, 25, 29, 30, 31, 40, 43, 63, 67, 72, 78, 81, 102, 103, 113, 114, 143, 144, 145, 149, 151, 154, 155, 156, 160, 162, 173, 188], "open_": 43, "open_interest": 44, "openbook": 14, "oper": [14, 17, 32, 41], "opra": 14, "opt_asset": [128, 136], "optim": [2, 7, 17, 26], "option": [0, 2, 6, 8, 9, 12, 14, 16, 17, 19, 20, 22, 26, 32, 36, 39, 41, 43, 44, 47, 72, 74, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 146, 152, 157, 163], "option_chain": 44, "option_pric": [128, 136], "option_typ": [128, 136], "optionright": 19, "options_expiry_to_datetime_d": [26, 47], "optionscondormartingal": 196, "orang": [62, 63, 66, 67], "order": [1, 2, 5, 6, 8, 9, 10, 12, 13, 18, 19, 23, 25, 26, 29, 30, 35, 36, 37, 39, 40, 41, 43, 47, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 182], "order1": [111, 112, 122, 123, 145, 153, 156, 164], "order2": [111, 112, 122, 123, 145, 153, 156, 164], "order_1": 22, "order_2": 22, "order_class": 22, "order_dict": 22, "order_id": [148, 159], "order_typ": [12, 153, 164], "orderclass": 22, "orderdata": 12, "ordersid": 22, "orderstatu": 22, "ordertyp": 22, "origin": [105, 116], "os": [32, 106, 117], "other": [0, 2, 6, 8, 10, 13, 14, 15, 17, 20, 22, 25, 26, 41, 62, 66, 77, 101, 146, 157, 167, 182, 196], "otherwis": [22, 36], "oto": [22, 146, 157], "our": [7, 13, 17, 25, 26, 28], "out": [14, 26, 43, 47, 52, 58, 74], "output": 196, "outstand": 13, "over": [7, 19, 20, 25, 26, 62, 63, 66, 67], "overal": [1, 7], "overbought": [62, 63, 66, 67], "overhead": [], "overload": [27, 34, 41, 43], "overrid": [102, 103, 113, 114], "oversold": [62, 63, 66, 67], "overview": 2, "overwrit": [54, 60], "own": [2, 5, 6, 8, 12, 13, 16, 17, 23, 25, 26, 150, 161], "pace": 20, "packag": [14, 26], "page": [14, 16, 17, 26], "pai": [6, 8, 14], "paid": [1, 2, 167, 182], "pair": [13, 20, 22, 44, 74, 75, 125, 126, 133, 134, 146, 157], "panda": [0, 2, 10, 20, 21, 26, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 78, 106, 117], "pandas_data": [1, 5, 25, 43, 44], "pandas_ta": 13, "pandasdata": [43, 44], "pandasdatabacktest": [1, 5, 25], "panel": [], "paper": [11, 12, 15, 16, 17, 26, 44], "paper_1": 17, "param": 44, "paramet": [1, 2, 6, 8, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 84, 87, 88, 90, 91, 93, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 150, 151, 152, 153, 154, 155, 156, 157, 158, 161, 162, 163, 164, 172, 187], "parent": 22, "parquet": 5, "parse_bar_list": 20, "part": [17, 22, 41, 153, 164, 165], "partial": [22, 39], "partial_fil": 22, "partially_fil": 22, "particular": [22, 125, 127, 129, 133, 135, 137], "particularli": 19, "pass": [1, 2, 5, 8, 10, 18, 28, 36, 40, 41, 45, 102, 103, 113, 114, 128, 136, 146, 157], "password": [2, 8, 13, 14, 17, 196], "password123": [14, 17], "past": [2, 22, 25], "path_to_your_databas": [], "pattern": [27, 41], "paus": [102, 103, 107, 113, 114, 118, 178, 193], "pcal": 44, "pd": [5, 20, 44], "peak": 7, "penetr": [146, 157], "pentagon": [63, 67], "per": [20, 44], "percent": [146, 157], "percent_fe": [24, 25], "percentag": [20, 25], "perfectli": 17, "perform": [0, 2, 3, 7, 17, 26, 41], "period": [1, 2, 5, 7, 13, 21, 81, 196], "permiss": [14, 19], "permit": [], "persist": 196, "perspect": 41, "pick": [5, 10, 17, 26], "pink": [62, 63, 66, 67], "pip": [2, 5, 10, 13, 25, 26], "pk7t6yvax6pmh1em20yn": 17, "place": [9, 13, 18, 146, 151, 157, 162], "plan": [2, 14, 17], "platform": [14, 26], "pleas": [1, 2, 5, 6, 8, 10, 13, 15, 22, 72, 180, 195], "plot": [1, 10, 46, 63, 67], "plot_file_html": 1, "plu": [14, 105, 116, 175, 190], "png": [], "pnl": 22, "point": [3, 7, 9, 15, 22, 44, 62, 66, 72, 73, 147, 158], "polygon": [0, 1, 5, 8, 10, 17, 26], "polygon_api_kei": [1, 2, 17], "polygon_has_paid_subscript": 1, "polygon_max_memory_byt": 17, "polygondatabacktest": [1, 2, 6, 8], "polygondatasourc": 6, "pop": [], "popular": 13, "porfolio": 1, "port": [15, 17], "portal": 14, "portfolio": [7, 9, 13, 23, 28, 51, 57, 63, 67, 175, 190], "portfolio_valu": [2, 6, 8, 10, 13, 26, 28, 42, 177, 192], "posit": [1, 13, 18, 22, 26, 36, 39, 43, 45, 51, 52, 53, 57, 58, 59, 147, 150, 151, 158, 161, 162, 167, 175, 182, 190], "position_fil": [22, 146, 157], "possibl": [5, 14, 32, 44, 62, 63, 66, 67, 153, 164], "post": [153, 164], "postgresql": 196, "potenti": [2, 25, 26, 147, 158], "power": [2, 6, 8, 17, 25, 26], "powershel": 26, "practic": 14, "pre": [26, 153, 164], "preced": 47, "precis": [19, 128, 136], "predetermin": 22, "prefix": [0, 105, 116], "presenc": 17, "present": [72, 73, 128, 136], "press": 17, "prevent": 196, "previou": [7, 79, 80], "previous": [], "price": [2, 6, 8, 9, 13, 16, 17, 19, 20, 21, 22, 23, 31, 36, 39, 43, 44, 45, 47, 62, 63, 66, 67, 70, 72, 73, 74, 75, 78, 128, 136, 146, 152, 153, 157, 163, 164], "primari": [14, 196], "print": [12, 42, 196], "print_al": 25, "printout": 19, "pro": 13, "probabl": 22, "problem": [], "proceed": [5, 10, 14, 25], "process": [4, 6, 8, 14, 17, 25, 37, 39, 152, 153, 163, 164, 196], "process_expired_option_contract": 43, "process_pending_ord": 43, "product": 43, "prof": 25, "profil": 26, "profit": [17, 22, 25, 26, 43, 62, 63, 66, 67], "program": [107, 118, 165, 178, 193], "project": [2, 6, 8, 17], "prompt": 14, "promptli": 14, "proof": 14, "proper": 17, "properli": [], "properti": [22, 23, 26, 43, 45, 46, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195], "proven": 26, "provid": [0, 2, 4, 5, 6, 8, 9, 17, 20, 21, 44, 74, 75, 131, 140, 144, 145, 155, 156], "pstat": 25, "psycopg2": [], "pull": [40, 72], "purpl": [62, 63, 66, 67], "purpos": 17, "put": [5, 12, 16, 19, 25], "pv_dividend": [128, 136], "py": [15, 17, 25, 26], "pycharm": 2, "pymysql": [], "python": [2, 5, 25, 105, 116], "pytz": 26, "qqq": 1, "qtrz3zurd9244ahuw2aoyapgvyra": 16, "qtrz3zurl9244ahuw4aoyapgvyra": 17, "qty": [2, 6, 8], "quantiti": [1, 2, 6, 7, 8, 10, 12, 13, 22, 23, 25, 26, 36, 39, 52, 53, 58, 59, 146, 157], "quantstat": 7, "queri": [44, 128, 136], "query_greek": [44, 128, 136], "question": 7, "quick": 2, "quickli": [2, 14, 17, 25], "quot": [13, 19, 20, 21, 22, 44, 49, 51, 55, 57, 72, 73, 74, 75, 77, 146, 152, 153, 157, 163, 164, 175, 177, 190, 192], "quote_asset": [1, 13, 19, 23, 26, 152, 153, 163, 164], "r": 37, "rais": 34, "randint": 42, "random": 42, "random_numb": 42, "rang": [5, 13, 17, 20, 21], "rate": [1, 6, 8, 20, 44, 128, 136], "rather": 82, "ratio": [2, 7], "raw": [5, 20, 22], "re": [2, 11, 14, 17, 26, 82], "reach": [7, 25, 26, 43], "react": [27, 41], "read": [5, 15, 25, 44], "read_csv": 5, "readi": [2, 14, 17, 41, 146, 157], "readthedoc": 13, "real": [14, 16, 17, 25, 71, 78, 81], "receiv": [5, 14], "recent": [20, 72, 78], "recommend": [0, 15, 17, 25], "record": 26, "red": [62, 63, 66, 67, 105, 116], "redeploi": 17, "reduc": 17, "refer": [2, 3, 17, 26, 27], "refin": [4, 25], "regard": [], "regardless": 82, "regist": [22, 110, 112, 121, 123], "regular": 73, "regularli": 17, "reindex": 21, "reiniti": 31, "relat": [14, 17, 36], "reliabl": [], "remain": [12, 39, 43, 172, 187], "remaind": [146, 157], "rememb": [13, 26], "remov": [180, 195], "render": 26, "repair_times_and_fil": 21, "repl": 17, "replac": [2, 6, 8, 13], "replit": 26, "report": 28, "repositori": [13, 17], "repres": [19, 22, 44, 45, 72, 73, 126, 134], "represent": [12, 21, 22, 44, 72, 73], "request": 14, "requir": [0, 1, 2, 10, 13, 14, 15, 17, 19, 22, 74, 75, 146, 153, 157, 164], "reserv": 17, "reset": 31, "resist": [63, 67], "resourc": 25, "resov": [175, 190], "respect": 20, "respond": 2, "respons": [], "rest": [12, 14, 17, 41], "restart": [17, 40], "restor": 26, "restric": [146, 157], "restrict": 14, "result": [2, 5, 6, 8, 10, 25, 26, 42], "resum": 196, "retreiv": 23, "retriev": [2, 19, 21, 74, 75, 78, 196], "return": [1, 7, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "review": [2, 14], "right": [14, 17, 19, 28, 63, 67, 72, 152, 163], "right_must_be_one_of": 19, "risk": [1, 7, 14, 25, 44, 128, 136], "risk_free_r": [1, 44, 128, 136], "robot": 26, "robust": [6, 8], "romad": 7, "round": [44, 87, 88, 96, 97], "round_dai": [87, 96], "round_minut": [88, 97], "row": [20, 42, 72, 73, 81], "rsi": [2, 13], "rtype": [22, 44], "rule": 20, "run": [0, 5, 6, 8, 10, 11, 12, 14, 17, 21, 26, 30, 32, 33, 34, 37, 44, 46, 81, 102, 103, 113, 114, 143, 145, 154, 156, 170, 185], "run_al": [5, 13, 14, 15, 16, 25, 26, 46], "run_all_async": 46, "run_backtest": [0, 1, 2, 5, 6, 8, 10, 25], "runtim": 196, "safe": [], "sai": [], "sale": [6, 8], "same": [5, 14, 17, 22, 26, 73], "sampl": [12, 26], "sandbox": [13, 17], "save": [1, 5, 10, 17, 25, 46, 196], "save_logfil": 1, "save_tearsheet": [1, 46], "scalabl": [17, 196], "scale": [7, 196], "scene": 19, "scope": 42, "screen": [], "script": 5, "scroll": [14, 17], "se": [63, 67], "seamlessli": 17, "search": [2, 26], "second": [1, 12, 22, 32, 40, 43, 73, 81, 101, 107, 118, 178, 193], "secondari": [11, 26], "secret": [12, 13, 14, 16, 25, 26], "section": [2, 14, 17, 25, 47], "secur": [2, 5, 10, 14, 19, 22], "see": [2, 13, 14, 15, 17, 19, 20, 25, 26, 44, 48, 61, 70, 82, 101, 124, 142], "seek": [52, 58, 144, 155], "select": [2, 14, 17], "self": [1, 2, 5, 6, 8, 10, 12, 13, 14, 16, 17, 19, 20, 22, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 47, 165], "sell": [1, 7, 9, 22, 23, 29, 33, 34, 36, 40, 43, 45, 146, 150, 151, 152, 153, 157, 161, 162, 163, 164], "sell_al": [26, 29, 33, 34, 47], "sell_short": 22, "sell_to_clos": 22, "sell_to_open": 22, "sell_trading_fe": [1, 25], "send": [17, 105, 116], "sens": 47, "separ": [14, 17], "seri": 21, "serial": [], "server": [], "servic": [17, 105, 116], "session": [], "set": [1, 2, 6, 8, 11, 14, 15, 16, 17, 19, 20, 21, 22, 25, 26, 29, 32, 43, 44, 54, 60, 72, 73, 78, 106, 117, 125, 133, 146, 157, 165, 166, 172, 173, 178, 187, 188, 193, 196], "set_cancel": 22, "set_dat": 21, "set_date_format": 21, "set_error": 22, "set_fil": 22, "set_identifi": 22, "set_market": [13, 26, 32, 47], "set_new": 22, "set_paramet": [26, 47, 165], "set_partially_fil": 22, "set_tim": 21, "settings_fil": 1, "settl": 43, "settlement": 22, "setup": [0, 2, 11, 26], "sever": [0, 2, 10, 11, 45, 165], "share": [13, 16, 20, 22, 29, 31, 36, 39, 44, 146, 157, 175, 190], "sharp": [2, 7], "sheet": 2, "shift": [21, 44, 72, 73, 84, 87, 88, 93, 96, 97], "short": [22, 106, 117], "should": [5, 10, 14, 16, 20, 22, 27, 40, 43, 45, 74, 107, 118, 128, 136], "should_continu": 43, "should_use_last_clos": 74, "show": [1, 7, 52, 53, 58, 59, 147, 148, 149, 158, 159, 160], "show_ind": [1, 46], "show_plot": [1, 46], "show_tearsheet": [1, 46], "showcas": 7, "shown": [25, 26], "shut": 33, "side": [1, 2, 6, 8, 12, 22, 25, 36, 43, 146, 157], "sidebar": 17, "sign": 14, "signatur": 14, "similar": [13, 17, 30], "similarli": [], "simpl": [1, 5, 6, 8, 10, 16, 22, 26, 146, 157], "simple_start_ib": 15, "simple_start_single_fil": [25, 26], "simpli": [6, 8], "simplifi": [6, 8], "simultan": 44, "sinc": 13, "singl": [20, 44, 144, 155], "situat": 5, "six": [32, 106, 117], "size": [63, 67, 81], "skill": 25, "skip": [17, 30], "sleep": [1, 2, 26, 40, 47, 101, 102, 113, 178, 193], "sleeptim": [1, 2, 6, 8, 13, 25, 26, 32, 40, 107, 118], "slightli": [], "slow": 25, "smart": [44, 125, 127, 129, 133, 135, 137, 146, 157], "smoothli": 17, "snakeviz": 25, "snapshot": [14, 42], "snapshot_befor": 42, "so": [6, 8, 10, 13, 14, 17, 19, 22, 25, 26, 47, 82, 128, 136], "socket": [15, 17], "socket_port": 15, "sold": [36, 51, 57, 146, 157], "solid": [62, 66], "solut": 14, "some": [5, 10, 14, 25, 26, 44, 45, 74, 146, 157], "some_var": [], "someth": [5, 13], "sometim": 25, "soon": 17, "sort": [127, 129, 131, 135, 137, 140], "sortino": 7, "sought": [52, 58, 147, 158], "sourc": [0, 5, 8, 13, 20, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "speak": [11, 41], "specif": [2, 7, 13, 14, 17, 19, 22, 41, 44, 62, 66, 109, 120, 125, 126, 133, 134, 146, 157, 166], "specifi": [20, 22, 44, 72, 73, 146, 157, 196], "speed": [44, 178, 193], "spend": 25, "split": [20, 45], "spy": [1, 2, 5, 6, 8, 19, 22, 25, 30, 31, 32, 36, 40, 44, 71, 72, 73, 74, 75, 79, 80, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 144, 146, 150, 152, 153, 155, 157, 161, 163, 164, 165], "sqlalchemi": [], "sqlite": 17, "squar": [63, 67], "src": 17, "sse": [32, 106, 117], "standard": [], "star": [63, 67], "start": [1, 2, 5, 6, 7, 8, 10, 11, 13, 17, 20, 21, 30, 32, 44, 72, 73, 78, 81, 102, 113, 173, 188], "start_buff": 44, "start_dat": 21, "start_dt": 44, "startegi": 5, "starter": 17, "starting_posit": 1, "stat": [1, 28, 42], "state": [17, 166, 196], "static": 44, "statist": 2, "stats_fil": [1, 32], "statu": [22, 148, 149, 159, 160], "std": 44, "steea9fhiszntmpihqjudeqolitj0javz": 17, "step": [2, 5, 14], "stike": [44, 125, 133], "still": [146, 157], "stock": [0, 1, 2, 5, 6, 8, 9, 10, 12, 17, 19, 20, 21, 22, 23, 26, 32, 44, 106, 117, 126, 134, 146, 152, 157, 163], "stock_split": 20, "stop": [14, 22, 25, 32, 33, 40, 43, 62, 63, 66, 67, 102, 103, 113, 114, 146, 152, 153, 157, 163, 164, 172, 187, 196], "stop_al": 46, "stop_limit": [22, 146, 157], "stop_loss": [146, 152, 157, 163], "stop_loss_limit": [146, 157], "stop_loss_limit_pric": [22, 146, 157], "stop_loss_pric": [22, 146, 152, 157, 163], "stop_ord": 43, "stop_pric": [22, 43, 146, 152, 153, 157, 163, 164], "storag": 26, "store": 196, "str": [1, 19, 20, 21, 22, 23, 44, 52, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 84, 93, 105, 106, 116, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 153, 157, 164, 174, 178, 179, 189, 193, 194], "straightforward": 17, "strangl": [14, 15], "strat": 5, "strategi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "strategy_001": [], "strategy_1": 32, "strategy_2": 32, "strategy_executor": [13, 16], "strategy_id": [17, 196], "strategy_nam": 17, "stream": [14, 71, 78, 81], "strength": 2, "strictli": [5, 21], "strike": [9, 19, 44, 72, 126, 128, 131, 134, 136, 140, 146, 157], "strike1": [44, 125, 126, 133, 134], "strike2": [44, 125, 126, 133, 134], "strike_max": 44, "strike_min": 44, "strike_pric": [152, 163], "string": [1, 17, 19, 20, 21, 22, 44, 72, 73, 105, 116, 132, 141, 146, 157, 178, 193, 196], "strke": [44, 125, 133], "strongli": [], "structur": [14, 26], "studio": 2, "style": [62, 66], "sub": 26, "subaccount": [14, 17], "subaccount1": 17, "submiss": 22, "submit": [14, 22, 37, 43, 47, 142, 146, 152, 153, 157, 163, 164], "submit_ord": [1, 2, 5, 6, 8, 10, 13, 19, 22, 25, 26, 40, 43, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 146, 150, 155, 156, 157, 161], "subscrib": 14, "subscript": [1, 11, 26], "subsequ": [5, 6, 8], "success": 17, "successfulli": [35, 36, 37], "suffic": 14, "suffici": [146, 157], "suggest": 26, "suit": [2, 26], "suitabl": [2, 17], "sum": [20, 51, 57], "summari": [0, 6, 8, 26, 27], "super": 26, "suppli": [0, 10, 21], "supplier": 20, "support": [2, 6, 7, 8, 13, 14, 17, 21, 25, 26, 44, 63, 67, 128, 136, 146, 157], "sure": [2, 6, 8, 25, 26], "sw": [63, 67], "swim": 26, "switch": 26, "sybmol": 21, "symbol": [1, 2, 5, 6, 8, 12, 13, 19, 20, 21, 22, 23, 25, 36, 44, 63, 67, 72, 73, 74, 146, 152, 153, 157, 163, 164], "symbol2asset": 19, "system": [151, 162], "t": [6, 8, 13, 14, 17, 26], "ta": 13, "tab": 17, "tabl": 196, "tag": [22, 153, 164], "tailor": 7, "take": [6, 8, 17, 22, 25, 41, 44, 62, 63, 66, 67, 73, 74, 75, 125, 133], "take_profit_pric": [22, 146, 152, 157, 163], "taken": 4, "taker": 24, "tall": [63, 67], "tase": [32, 106, 117], "task": 41, "tear": 2, "tearsheet": [0, 1, 26, 46], "tearsheet_fil": [1, 46], "technic": [2, 13, 41], "tediou": 14, "tell": 82, "term": 2, "termin": [2, 13, 25, 26], "test": [0, 2, 15, 17], "text": [62, 63, 66, 67], "than": [16, 17, 44, 82, 146, 147, 157, 158], "thei": [3, 5, 11, 17, 20, 26, 41, 81, 128, 136], "them": [2, 11, 17, 20, 22, 25, 26, 47, 48, 61, 70, 82, 101, 124, 142, 145, 156], "themselv": 20, "theoret": [128, 136], "therefor": [167, 182], "theta": [44, 128, 136], "thetadata": [0, 2, 26], "thetadata_password": 8, "thetadata_usernam": 8, "thetadatabacktest": 8, "thi": [1, 2, 5, 6, 8, 9, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 49, 51, 55, 57, 62, 63, 66, 67, 72, 73, 74, 75, 77, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 107, 118, 146, 153, 157, 164, 167, 168, 177, 178, 182, 183, 192, 193], "thin": [63, 67], "thing": 47, "think": [17, 82], "third": 5, "thoroughli": 15, "those": [13, 17, 166], "though": [146, 157], "thoughtfulli": [], "three": [0, 15, 20, 22], "threshold": [22, 146, 157], "throttl": 20, "through": [2, 13, 14, 17], "tick": 20, "ticker": [9, 19, 20, 32, 44, 81], "time": [3, 5, 6, 8, 9, 12, 13, 14, 17, 20, 21, 25, 32, 41, 43, 44, 45, 71, 72, 73, 78, 81, 82, 87, 88, 96, 97, 102, 103, 107, 113, 114, 118, 128, 136, 146, 157, 168, 178, 183, 193], "time_in_forc": [22, 146, 157], "timedelta": [44, 72, 73, 102, 103, 113, 114], "timefram": 20, "timeshift": [21, 43, 44, 72, 73, 84, 87, 88, 93, 96, 97], "timestamp": [2, 12, 20, 44, 62, 63, 66, 67, 85, 86, 87, 88, 89, 94, 95, 96, 97, 98, 196], "timestep": [5, 21, 43, 44, 72, 73, 84, 93], "timestep_map": [21, 44], "timezon": [20, 21, 26, 44, 90, 91, 99, 100, 176, 181, 191], "tip": 17, "titl": [], "tlt": [30, 52, 58, 73, 75, 80, 111, 112, 122, 123, 146, 147, 153, 157, 158, 164], "to_csv": 5, "to_datalin": 21, "to_default_timezon": [26, 44, 47], "to_dict": [19, 22, 23], "to_posit": 22, "to_request_field": 12, "todai": [17, 74, 82], "todo": [43, 74], "togeth": [5, 22, 25], "token": 17, "tool": [6, 8, 17, 26], "top": [14, 17, 26], "topic": 17, "total": [7, 20, 28, 51, 57, 147, 158, 175, 190], "totalview": 14, "tqqq": 25, "trace": 42, "trace_stat": [26, 27, 178, 193], "track": [19, 23, 26, 52, 53, 58, 59, 148, 149, 159, 160], "trade": [0, 1, 4, 5, 10, 11, 13, 15, 17, 18, 19, 20, 21, 22, 27, 30, 31, 32, 33, 40, 41, 43, 44, 45, 52, 58, 73, 74, 76, 78, 81, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 126, 130, 134, 138, 146, 157, 171, 186, 196], "trade_cost": 22, "trade_count": 196, "tradeapi": 12, "trader": [5, 6, 8, 10, 12, 13, 14, 15, 16, 26, 33], "trades_fil": 1, "tradest": 26, "tradier": [11, 26, 44, 77, 153, 164], "tradier_access_token": 17, "tradier_account_numb": 17, "tradier_config": 16, "tradier_is_pap": 17, "trading_fe": 24, "trading_fee_1": 25, "trading_fee_2": 25, "trading_hours_end": 21, "trading_hours_start": 21, "tradingcalendar": [32, 106, 117], "tradingfe": [1, 24, 25, 26], "trail": [22, 146, 152, 157, 163], "trail_perc": [22, 146, 157], "trail_pric": [22, 146, 157], "trailing_stop": [22, 146, 157], "trailing_stop_pric": [152, 163], "transact": [13, 22, 167, 182], "trashcan": 17, "tree": 26, "triangl": [63, 67], "trigger": [22, 146, 157], "trim": 21, "trim_data": 21, "troubleshoot": [], "trough": 7, "true": [1, 5, 12, 13, 16, 17, 22, 24, 25, 26, 32, 43, 44, 46, 72, 73, 74, 105, 116, 151, 162, 168, 170, 183, 185], "try": [25, 146, 157], "tsx": [32, 106, 117], "tsxv": [32, 106, 117], "tupl": [22, 73], "tutori": [15, 26], "tw": [14, 17, 20], "twice": 14, "two": [2, 3, 11, 19, 22, 25, 26, 73, 145, 156], "twsapi": [], "type": [0, 1, 2, 5, 12, 14, 18, 19, 20, 21, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "typic": [17, 22, 165], "tz_local": 21, "u": [6, 7, 8, 13, 14, 21, 26, 175, 190], "u17369206": [14, 17], "ultra": 14, "under": [13, 14, 17, 25], "underli": [19, 21, 44, 128, 131, 136, 140], "underlying_asset": 19, "underlying_pric": [44, 128, 136], "understand": [2, 4, 25], "unexpect": [], "unexpectedli": [], "uniqu": 3, "unit": [17, 44, 146, 157, 178, 193], "unix": 12, "unless": 5, "unlik": 30, "unnecessari": 17, "unprocess": 22, "unspent_monei": 26, "until": [6, 8, 12, 20, 102, 103, 113, 114, 146, 157], "up": [1, 2, 5, 6, 11, 14, 15, 17, 19, 25, 26, 44, 63, 67, 196], "updat": [20, 22, 26, 36, 38, 108, 119, 146, 157, 167, 182], "update_date_index": 44, "update_paramet": [26, 38, 47], "update_raw": 22, "update_trail_stop_pric": 22, "upgrad": [2, 5, 10, 25, 26], "upload": 14, "upon": [], "upper": 14, "url": [14, 17], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 76, 82, 101, 105, 107, 116, 118, 127, 128, 129, 130, 131, 135, 136, 137, 138, 140, 142, 146, 157, 165, 166, 167, 177, 178, 180, 182, 192, 193, 195, 196], "us_equ": 12, "us_futur": [32, 106, 117], "usag": [17, 26], "usd": [1, 19, 21, 72, 73, 74, 146, 152, 153, 157, 163, 164], "usdc": 1, "usdt": [1, 19, 49, 51, 55, 57, 72, 74, 146, 157], "user": [0, 2, 5, 10, 14, 17, 21, 25, 27, 41, 45, 46, 144, 146, 155, 157, 196], "user123": [14, 17], "userdict": 19, "usernam": [2, 8, 11, 17, 26], "usual": [1, 47, 178, 193], "utc": 21, "util": [], "utm_campaign": 6, "utm_sourc": 6, "utp": 14, "v": [2, 7, 19], "v2": 7, "va12204793": 17, "va22904793": 16, "valid": [2, 19, 21, 22, 44, 125, 126, 133, 134, 146, 157], "valu": [1, 3, 5, 9, 12, 13, 14, 17, 19, 20, 21, 23, 28, 43, 45, 46, 48, 49, 51, 55, 57, 61, 62, 63, 66, 67, 72, 73, 128, 136, 153, 164, 175, 190, 196], "valuat": 1, "value_typ": 23, "var": 26, "var1": 196, "var2": 196, "variabl": [14, 26, 31, 42, 166], "variant": 22, "variat": 7, "varieti": 7, "variou": [2, 6, 7, 8, 14], "vars_backup": 196, "vcpu": 17, "ve": [2, 13, 16, 26], "vector": 26, "vega": [128, 136], "verbiag": [], "veri": [10, 17, 26], "verifi": 17, "versatil": [6, 8, 13, 17], "version": [2, 5, 7, 10, 17, 25, 26], "via": 14, "view": [4, 17], "visit": [7, 16, 17, 25, 26], "visual": [2, 3, 7, 25], "visualstudio": 2, "vital": 2, "vm": 17, "volatil": [7, 22, 128, 136], "volum": [5, 20, 21, 78, 81], "voyz": [], "vwap": [78, 81], "wa": [2, 12, 13, 27, 30, 33, 34, 41, 43, 72, 167, 182], "wait": [17, 22, 39, 109, 110, 111, 112, 120, 121, 122, 123], "wait_for_order_execut": [26, 47], "wait_for_order_registr": [26, 47], "wait_for_orders_execut": [26, 47], "wait_for_orders_registr": [26, 47], "wait_to_be_clos": 22, "wait_to_be_regist": 22, "walk": [2, 17], "want": [1, 2, 5, 8, 10, 12, 13, 16, 17, 25, 26, 41, 44, 62, 66], "was_transmit": 22, "we": [5, 6, 7, 8, 10, 11, 13, 17, 25, 26, 28, 47, 72, 146, 157], "weak": 2, "wealth": 26, "web": [25, 46], "webhook": 17, "websit": [2, 7, 10, 13, 14, 16, 17], "week": [72, 73], "weight": 22, "welcom": 25, "well": 26, "were": [9, 26, 38], "what": [14, 26, 47, 82, 177, 192], "whatev": 13, "when": [0, 1, 2, 5, 6, 8, 13, 14, 17, 19, 20, 22, 25, 26, 27, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 62, 63, 66, 67, 82, 146, 157, 167, 172, 182, 187, 196], "whenev": [167, 182], "where": [22, 25, 42, 146, 157], "whether": [1, 17, 22, 44, 46, 72, 82, 128, 136, 146, 157], "which": [2, 6, 7, 8, 9, 13, 14, 17, 20, 21, 22, 32, 41, 49, 51, 55, 57, 74, 75, 76, 77, 128, 130, 136, 138, 178, 193], "while": [14, 17], "white": [62, 63, 66, 67], "who": [5, 17, 52, 58, 147, 158], "whose": [44, 126, 134], "why": [2, 26], "wide": [13, 17, 63, 67], "width": [62, 66, 72, 73], "wiki": [], "window": 26, "wish": [5, 26], "within": [1, 17, 18, 107, 118, 143, 154], "without": [14, 17, 25, 131, 140], "won": [6, 8], "word": [22, 167, 182], "work": [0, 2, 5, 11, 15, 17, 25, 26, 72, 73, 77, 166], "worker": 17, "workstat": 15, "world": [14, 17], "would": [1, 2, 5, 16, 19, 25, 26, 44, 51, 57, 146, 157, 178, 193], "wrapper": 21, "write": [1, 2, 6, 8], "www": [8, 16], "x": [63, 67], "xam": [32, 106, 117], "xasx": [32, 106, 117], "xbkk": [32, 106, 117], "xbog": [32, 106, 117], "xbom": [32, 106, 117], "xbru": [32, 106, 117], "xbud": [32, 106, 117], "xbue": [32, 106, 117], "xcbf": [32, 106, 117], "xcse": [32, 106, 117], "xdub": [32, 106, 117], "xetr": [32, 106, 117], "xfra": [32, 106, 117], "xhel": [32, 106, 117], "xhkg": [32, 106, 117], "xice": [32, 106, 117], "xidx": [32, 106, 117], "xist": [32, 106, 117], "xjse": [32, 106, 117], "xkar": [32, 106, 117], "xkl": [32, 106, 117], "xkrx": [32, 106, 117], "xli": [32, 106, 117], "xlim": [32, 106, 117], "xlon": [32, 106, 117], "xmad": [32, 106, 117], "xmex": [32, 106, 117], "xmil": [32, 106, 117], "xmo": [32, 106, 117], "xny": [32, 106, 117], "xnze": [32, 106, 117], "xosl": [32, 106, 117], "xpar": [32, 106, 117], "xph": [32, 106, 117], "xpra": [32, 106, 117], "xse": [32, 106, 117], "xsgo": [32, 106, 117], "xshg": [32, 106, 117], "xsto": [32, 106, 117], "xswx": [32, 106, 117], "xtae": [32, 106, 117], "xtai": [32, 106, 117], "xtk": [32, 106, 117], "xtse": [32, 106, 117], "xwar": [32, 106, 117], "xwbo": [32, 106, 117], "xyz1234567890abcdef": 17, "y": [63, 67], "yahoo": [0, 1, 2, 5, 20, 26, 72, 73, 106, 117], "yahoo_data": 44, "yahoodata": 44, "yahoodatabacktest": [1, 10, 25, 26, 32], "yappi": 25, "year": [2, 6, 8], "yearli": 7, "yellow": [62, 63, 66, 67], "yet": [22, 46], "yf": [5, 44], "yfinanc": [5, 44], "yield": 20, "york": [5, 17], "you": [0, 1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22, 25, 26, 29, 32, 44, 47, 48, 49, 51, 55, 57, 61, 62, 66, 70, 72, 73, 82, 101, 124, 142, 146, 157, 165, 166, 178, 193], "your": [2, 5, 6, 7, 8, 10, 11, 12, 14, 15, 18, 20, 22, 40, 41, 47, 48, 49, 51, 55, 57, 61, 70, 82, 101, 146, 157, 165, 166, 178, 193, 196], "your_access_token": 16, "your_account_numb": 16, "your_alpaca_api_kei": [25, 26], "your_alpaca_secret": [25, 26], "your_api_kei": [12, 13], "your_api_secret": 12, "your_passphras": 13, "your_polygon_api_kei": [2, 6], "your_secret": 13, "your_secret_kei": 13, "yyyi": [76, 130, 138], "yyyymm": 19, "yyyymmdd": [19, 132, 141], "zero": [167, 182], "zone": [5, 20]}, "titles": ["Backtesting", "Backtesting Function", "How To Backtest", "Indicators Files", "Logs CSV", "Pandas (CSV or other data)", "Polygon.io Backtesting", "Tearsheet HTML", "ThetaData Backtesting", "Trades Files", "Yahoo", "Brokers", "Alpaca", "Crypto Brokers (Using CCXT)", "Interactive Brokers", "Interactive Brokers Legacy", "Tradier", "Deployment Guide", "Entities", "Asset", "Bars", "Data", "Order", "Position", "Trading Fee", "What is Lumibot?", "Lumibot: Backtesting and Algorithmic Trading Library", "Lifecycle Methods", "def after_market_closes", "def before_market_closes", "def before_market_opens", "def before_starting_trading", "def initialize", "def on_abrupt_closing", "def on_bot_crash", "def on_canceled_order", "def on_filled_order", "def on_new_order", "def on_parameters_updated", "def on_partially_filled_order", "def on_trading_iteration", "Summary", "def trace_stats", "Backtesting", "Data Sources", "Strategies", "Traders", "Strategy Methods", "Account Management", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "Chart Functions", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "Data", "self.cancel_realtime_bars", "self.get_historical_prices", "self.get_historical_prices_for_assets", "self.get_last_price", "self.get_last_prices", "self.get_next_trading_day", "self.get_quote", "self.get_realtime_bars", "self.get_yesterday_dividend", "self.get_yesterday_dividends", "self.start_realtime_bars", "DateTime", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "Miscellaneous", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "Options", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_strikes", "self.options_expiry_to_datetime_date", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_option_expiration_after_date", "self.get_strikes", "self.options_expiry_to_datetime_date", "Order Management", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "Parameters", "Strategy Properties", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "self.pytz", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "Variable Backup & Restore"], "titleterms": {"1": [25, 26], "2": [25, 26], "2fa": 14, "3": [25, 26], "4": 25, "5": 25, "6": 25, "7": 25, "8": 25, "In": 5, "It": 196, "To": 2, "With": [22, 25], "account": [14, 25, 48], "ad": 25, "add_lin": [62, 66], "add_mark": [63, 67], "addit": 26, "advanc": 22, "after_market_clos": 28, "algorithm": 26, "all": 26, "alpaca": [12, 17, 25], "an": 25, "api": 25, "ask": [], "asset": 19, "authent": 14, "autom": [], "await_market_to_clos": [102, 113], "await_market_to_open": [103, 114], "backtest": [0, 1, 2, 6, 8, 25, 26, 43], "backup": 196, "bar": 20, "before_market_clos": 29, "before_market_open": 30, "before_starting_trad": 31, "benefit": 196, "bot": 26, "broker": [11, 13, 14, 15, 17, 43], "cancel_open_ord": [143, 154], "cancel_ord": [144, 145, 155, 156], "cancel_realtime_bar": 71, "cash": [167, 182], "ccxt": 13, "chart": 61, "choos": [2, 17], "class": 25, "coinbas": 17, "conclus": [2, 17], "configur": [13, 14, 16, 17, 25, 196], "content": [0, 11, 18, 26, 27, 44, 47], "creat": [25, 26], "create_ord": [146, 157], "crypto": 13, "csv": [4, 5], "data": [2, 5, 14, 21, 43, 44, 70], "databas": 196, "datafram": 5, "datetim": 82, "def": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "definit": [], "deploi": 17, "deploy": 17, "detail": [], "document": [12, 19, 20, 22, 45], "entiti": 18, "environ": 17, "exampl": [5, 13, 14, 16, 17], "extra": 26, "factor": 14, "fee": [24, 25], "file": [0, 2, 3, 9], "final": 17, "first_iter": [168, 183], "follow": 25, "frequent": [], "from": [0, 2], "full": [13, 16], "function": [1, 61], "gener": [0, 2, 17], "get": [16, 25, 26], "get_asset_potential_tot": [147, 158], "get_cash": [49, 55], "get_chain": [125, 126, 133, 134], "get_datetim": [83, 92], "get_datetime_rang": [84, 93], "get_expir": [127, 135], "get_greek": [128, 136], "get_historical_pric": 72, "get_historical_prices_for_asset": 73, "get_last_dai": [85, 94], "get_last_minut": [86, 95], "get_last_pric": [74, 75], "get_lines_df": [64, 68], "get_markers_df": [65, 69], "get_multipli": [129, 137], "get_next_trading_dai": [76, 130, 138], "get_option_expiration_after_d": 139, "get_ord": [148, 149, 159, 160], "get_paramet": [50, 56, 104, 115], "get_portfolio_valu": [51, 57], "get_posit": [52, 53, 58, 59], "get_quot": 77, "get_realtime_bar": 78, "get_round_dai": [87, 96], "get_round_minut": [88, 97], "get_selling_ord": [150, 161], "get_strik": [131, 140], "get_timestamp": [89, 98], "get_yesterday_dividend": [79, 80], "guid": [17, 196], "help": 26, "how": [2, 196], "html": [2, 7], "i": 25, "import": 25, "improv": 25, "indic": [2, 3, 26], "initi": 32, "initial_budget": [169, 184], "instal": [2, 25, 26], "instanti": 25, "interact": [14, 15, 17], "io": [2, 6], "is_backtest": [170, 185], "kei": 25, "kraken": 17, "last_on_trading_iteration_datetim": [171, 186], "leg": 22, "legaci": [15, 17], "librari": 26, "lifecycl": 27, "live": 26, "load": [], "localize_datetim": [90, 99], "log": 4, "log_messag": [105, 116], "lumibot": [2, 25, 26], "lumiwealth": 25, "manag": [48, 142], "market": 14, "method": [27, 47], "minutes_before_clos": [172, 187], "minutes_before_open": [173, 188], "miscellan": 101, "modul": [25, 44], "name": [174, 189], "need": 26, "note": [], "on_abrupt_clos": 33, "on_bot_crash": 34, "on_canceled_ord": 35, "on_filled_ord": 36, "on_new_ord": 37, "on_parameters_upd": 38, "on_partially_filled_ord": 39, "on_trading_iter": 40, "option": [25, 124], "options_expiry_to_datetime_d": [132, 141], "order": [22, 142], "other": 5, "packag": 25, "panda": [5, 44], "paper": [14, 25], "paramet": 165, "perform": 25, "platform": 17, "polygon": [2, 6], "portfolio_valu": [175, 190], "posit": 23, "profil": 25, "properti": 166, "pytz": [176, 181, 191], "question": [], "quote_asset": [177, 192], "refer": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "render": 17, "replit": 17, "resourc": 26, "restor": 196, "run": [2, 13, 16, 25], "secondari": 14, "secret": 17, "self": [49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "sell_al": [151, 162], "set": 13, "set_market": [106, 117], "set_paramet": [54, 60], "setup": 14, "sleep": [107, 118], "sleeptim": [178, 193], "sourc": [2, 43, 44], "start": [16, 25, 26], "start_realtime_bar": 81, "step": [17, 25, 26], "storag": 196, "strategi": [13, 14, 16, 17, 25, 26, 45, 47, 166], "structur": 196, "submit_ord": [152, 153, 163, 164], "subscript": 14, "summari": [5, 41], "tabl": 26, "take": 26, "tearsheet": [2, 7], "thetadata": 8, "timezon": [179, 194], "to_default_timezon": [91, 100], "togeth": 26, "trace_stat": 42, "trade": [2, 9, 14, 24, 25, 26], "trader": [25, 46], "tradier": [16, 17], "troubleshoot": [], "two": 14, "type": 22, "unspent_monei": [180, 195], "update_paramet": [108, 119], "us": [13, 14], "usag": 196, "usernam": 14, "var": 196, "variabl": [17, 196], "wait_for_order_execut": [109, 120], "wait_for_order_registr": [110, 121], "wait_for_orders_execut": [111, 122], "wait_for_orders_registr": [112, 123], "what": 25, "why": [], "work": 196, "yahoo": [10, 44], "your": [13, 16, 17, 25, 26]}}) \ No newline at end of file diff --git a/docsrc/_build/doctrees/brokers.interactive_brokers.doctree b/docsrc/_build/doctrees/brokers.interactive_brokers.doctree index 0441c559190411ef6814d3314c62632f509e0c1c..d54aa5b1b9cc7decfe2a9e69a6e01700f86b463a 100644 GIT binary patch literal 41530 zcmd^IdypJQd6z8RNq2h7)?wL_J(g{BT5Iq8!r1cj^hC%y3EdsWfLYD%&fU)5+|IHy ztJ7f|L;%|&1Lm=WIFO=9coT|{5UNrXP=rSy;gw1OAu0aADGEXek5G^pLXzLtkLjM- z+1Z_yWC*y*r@NV+?yrB}qrd+8>+UlHZyNvOW$eFTgIBNEwbNr}xmSAP`E(tN|3r83Q6m2b|`t5#)0bnKB6>cAKACe3vtH4$`r8Do4BInI zgI8kCS;nm0STOvG=^JhxxT2eeT{9M3&o@eLvxdIoiP^xfWfZfFMYrLU$Be`NPO4|F zVd2YC#kEVQ%5C7=QD24;p3}zwb6IuWprW({Yvzd)8QTn?~8K?evX`2`-wY zlI3}Z?;0*zXc%6zUUwV5RW|C5>7&*KZ;Z2eB>2*W?9vlw9zW+!p^hxw5<&@y80Qi( zS-FDbu5u-Wt#TE_`fB`tE&kt$|93%jq*XT^{CmHw|ry2>6^w>v*?u?cAadeuz(|JB@}@#(g{qLG%{5$ z;KiB54MimF+taR8Uf2OA@7oKOvA}68gT~!V(`yzqnWTpkT!ehNOlr(}z2VjyHjIw` zl~IS;glY0%Wt82MwqA!*chv% zcc2gNL-eL#`__W?I=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Ivj1}6*Nc_$OrifJd_;}qU1GfA%!4TIPs!nVc z4qtrg#5O^Qx|j~j1-35oqJ88>Sf3GT?RoTgAMbhX@6uzCK3yH4#}DwpX@8y`@6qFT z^f-yGvI9N7KzG>xNRO!mkcAK5kilv0mb|?^l7}v;?1Vqau?IQsA&xo7@doWD`w(Z4 z0}XPJL7z2~*hnL56j#T(LDr?86ymzjHLR=)U3)YLc1Qo`IxR{76gc4MoH9Q~$=gA|dzmRrcdZO2}Fxy6i_F4rf66c>`QKtA~!qGmnGLiqfW_Oqw5J$eOVYQK~S%gC0_G$w9kS z+#LbjPzSBO7w%mS;-Pa&MLww@k7f5L{pcRRA3kLF^D4@73d$(EH{44<{-=TUDlXam zOBMI$0o+i#H{J{PF1w>kg94+J2S#Z~V3Y<2#>c7(Hx(7`!$BKWL&!ne=)huO(f-9U z%0cb-GK4$Gtm2Y`L=|^R05{Y@mV4obI_O`Y7-kDp)OiYOu+547#V{%;Ebz&N#{UC9 C9iTw~ diff --git a/docsrc/_build/doctrees/environment.pickle b/docsrc/_build/doctrees/environment.pickle index 6029a0a988ffbd8bbef7860b2450f992b4fbe06a..bd36efbfacb494693fc05dab1f29d006da3fe43b 100644 GIT binary patch delta 41200 zcmaI9cU)CR_dT4so!$gQK(J#0!Hx~EqM~3gToqJQuz-lYfL#$49d(RRLrm;FMvuM5 zZq#&RNi>NuMx(|w6OF!W&zuY1=llD-|J+$?X74?1PdR1Iy?3GV%?p)xYjyp+2IXdt z$jBWVm6w}7Br_v-c~Nz7ZH+OA7Yy>?C%cy8C%V)VCC{ubV)sg8fT1X!C-jKnImteJ zP;*}-y72#!Lq*!3R$t*$)f^z=`IR!#3`H&Z(w8@ynY|DSetu~ zGVzlg%8P58&1UYN5b5pisKDUC6Z4iMA1YsQQ!l9z9TO#%Jhoc+&dz}pu`JQXiyKzv zX+7Qe%GQqZR~I=;%vSMfAG4n*aJR(pYstQ>8jl=Q&A7a%DH#;u$j+FTIf@@|n8bfi zNaBV#Kh)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__*xF{oKO%XO zS8R>riz&?t7Fof*V(j1}hkq!AM3*#3I#I zETT#H_Q4`FBT@#GqLq=dwUnmYcp@J!qG1Bo34a;A8U2csQHyD+qphmlBVC73N4dU= zS{q^vW7bkaz%wDmiP&hX(E%B|m~aMqvY%U4J%amlq~tB392Czlp=l`EEv3mQ<}alj z>v6)?37QGO$I^8f&9L%Q@>03U49jo{N6M9Dgg0o+;Jje$lZ2O3TgdB{+dePXkxW{l zBU!lui&>2?_(n3!M-74F*(T20Ru!{|8dac$=!A&-R?d7agEv>=)*@lm$bz-F_0`BzYmvEY zCyse7e!C0c!07FJT0d%CeMkcI0g7O#2*`8GRyBz!$qd#%h{ zkLSD$IlG=FxD6=esW8TgI}W6^k^)9fGZ>NQF(b6;&ih_7ULG@=Dyu>I83rUjq6!y( z8zbLt!<3h_#0$iB2?N;wq>3iFdl>y5U&K_mIYZ*vWV>{91D zD>Ti>k68JCZp7u=&IpcMfewaw6W4pgHHU>f&sya>H5e)LPOa?Ugo|m7QGIAtZ|=6L zP_N(JM)^sTAKoGl#7RN8Z84g^Sq-vsf@`N7+l*1JGxD#jyweu!0Xi7Lbt|Z*An#Rx`N!R76E3~X-%8CI}- zCI(^ak(MFS@4c4(zLv}|CS$G16FX=mehBdT4jK#mK6xjSKx?C3W!0ZlqM^yjeu6h< zTFK>|SUT}WU18NZJ246&fo|V+$Q&cWy3%#5zVD6>_Fl*5W$P{)?@l)+yR6C0U6koQ zWdt==5L<PL&*^kT+Q;S?h~UMh5NHS!0nJZc{SoR644gBNOLtc6^vtY- z#fEKZ)h?Hy;Q}v$q+Me4h zuRQ1rpxR&W&>s0WZHK+L`yOl3&INTA>Zv*X%>laRa2C4NNir z)!ynUbvJ9a4*z&YVU87;|3mBl8gQmaHH(eZ79Cwg^0mfh+ AHvj+t diff --git a/docsrc/_build/html/_sources/brokers.interactive_brokers.rst.txt b/docsrc/_build/html/_sources/brokers.interactive_brokers.rst.txt index 2e098410f..b13605583 100644 --- a/docsrc/_build/html/_sources/brokers.interactive_brokers.rst.txt +++ b/docsrc/_build/html/_sources/brokers.interactive_brokers.rst.txt @@ -1,14 +1,14 @@ Interactive Brokers =================== -Interactive Brokers is a brokerage firm that operates in most countries around the world. This makes it a great choice for investing and trading if you don't have access to our other supported platforms. +Interactive Brokers is a brokerage firm that operates in most countries around the world. It's a great choice for investing and trading, especially if you don't have access to other supported platforms. -**Note:** If you do have access to other supported brokers, compare their fee structures to see which one is the best deal for you. +**Note:** If you have access to other supported brokers, compare their fee structures to see which one offers the best deal for you. Market Data Subscriptions ------------------------- -To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various market data subscriptions depending on the exchanges and types of data you need. Here are some common subscriptions: +To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various subscriptions depending on the exchanges and types of data you need. Here are some common options: - **US Securities Snapshot and Futures Value Bundle** - **US Equity and Options Add-On Streaming Bundle** @@ -18,83 +18,87 @@ To access real-time market data, you need to subscribe to the appropriate market .. note:: - Different strategies may require different market data subscriptions. For our top options-related strategies, the OPRA (US Options Exchanges) should suffice. + Different strategies may require different market data subscriptions. For top options-related strategies, the **OPRA (US Options Exchanges)** subscription should suffice. **To subscribe to market data:** +.. important:: + Market data subscriptions are login-specific. Ensure you're logged in with the same credentials you plan to use with Lumibot before proceeding. + 1. Log in to the `IBKR Client Portal `_. 2. Navigate to the **Settings** menu. -.. image:: images/ib-main.png - :alt: IB Main Menu - :align: center - :class: with-border + .. image:: images/ib-main.png + :alt: IB Main Menu + :align: center 3. Under **Account Settings**, find the **Market Data Subscriptions** section. -.. image:: images/ib-settings.png - :alt: IB Settings - :align: center - :class: with-border + .. image:: images/ib-settings.png + :alt: IB Settings + :align: center 4. Click **Configure** and select the desired market data packages. -.. image:: images/ib-market-data-subscriptions.png - :alt: IB Market Data Subscriptions - :align: center - :class: with-border + .. image:: images/ib-market-data-subscriptions.png + :alt: IB Market Data Subscriptions + :align: center -5. Find your desired subscription +5. Find your desired subscription. 6. Follow the prompts to complete the subscription process. -**Note:** Market data subscriptions may incur additional fees. Be sure to review the costs associated with each package before subscribing. +**Note:** Market data subscriptions may incur additional fees. Review the costs associated with each package before subscribing. -Using a Paper Trading Account ------------------------------ +Two-Factor Authentication (2FA) +------------------------------- -When using a paper trading account, you should log in with your paper trading username and password. This allows you to practice trading without risking real money. +Interactive Brokers requires two-factor authentication (2FA) for account security. When using Lumibot, you'll receive 2FA notifications through the IB Key mobile app, which require manual approval. This can interrupt automated trading operations. -**Steps to get your paper trading username and password:** +**Important:** Automated handling of 2FA is not currently supported in Lumibot. -1. **Log in** to the **IBKR Client Portal** using your primary (live) account credentials. -2. Navigate to the **Settings** menu in the upper right corner. -3. Under **Account Settings**, find the **Paper Trading Account** section. -4. Click on **Configure** or **Request Paper Trading Account**. -5. Follow the prompts to set up your paper trading account. - - You may need to agree to terms and conditions. -6. Once the setup is complete, you'll receive a separate **username** and **password** for your paper trading account. -7. Use these credentials when logging into the paper trading environment and configuring your API connection. +**Possible Solution: Create a Secondary Username** -**Note:** The paper trading account is separate from your live account. Ensure you're using the correct credentials for each environment to avoid any login conflicts. +To enable fully automated trading, you can create a secondary username for your account that doesn't require 2FA. This approach is secure and convenient: + +- The primary account maintains full 2FA security for website access. +- The secondary account, used only for API connections, can operate without 2FA. +- Both accounts have separate access controls you can configure. -Automating Two-Factor Authentication ------------------------------------- +.. note:: -Currently, automating two-factor authentication (2FA) is not supported. Lumibot will send you 2FA notifications through IBKey, and you will need to respond to them manually. + When using a secondary account without 2FA: -Using a Secondary Account -------------------------- + - You'll need separate market data subscriptions for each user. + - If trading with both primary and secondary users, you'll pay for market data twice. + - Enhance security by: + - Setting a complex password. + - Restricting IP addresses for TWS/IBGateway access. + - Limiting the account's permissions to only what's needed. + - Keeping API connection details secure. + +See the **Using a Secondary Username** section below for detailed setup instructions. + +Using a Secondary Username +-------------------------- -Interactive Brokers only allows a single login at a time for any given set of credentials. This means you can't use the IBKR website while the API connection is running. If you try, it will disconnect the API connection, causing a re-authentication loop. +Interactive Brokers allows only one login at a time for any given set of credentials. Attempting to use the IBKR website while the API connection is running will disconnect the API connection, causing a re-authentication loop. -An easy solution is to stop the API connection before using the website, but that can be tedious. A more convenient solution is to create a **secondary username** for your account and use that for the API connection. +An easy solution is to stop the API connection before using the website, but this can be tedious. A more convenient solution is to create a **secondary username** for your account and use that for the API connection. **Steps to create a secondary username:** -1. **Log in** to the **IBKR Client Portal** with your primary username. +1. Log in to the **IBKR Client Portal** with your primary username. 2. Click on the **Settings** menu in the upper right corner. -3. Scroll to the bottom-left of the page and find the **Users & Access Rights** link. - - You may need to scroll down to see it. +3. Scroll down and find the **Users & Access Rights** link. 4. Click the **plus sign (+)** button in the **Users** header to add a new user. 5. Fill out the username and password fields for the new user. 6. Click through the settings pages, adjusting notifications and permissions as needed. - - Feel free to disable unnecessary notifications to avoid duplicate emails. 7. At the end of the process, you'll receive an email with a **confirmation code**. **Activating your secondary username:** 1. Log out and log back in using the **new secondary username and password**. -2. Enter the **confirmation code** you received via email. +2. Enter the **confirmation code** received via email. - **Note:** The code expires quickly, so act promptly. 3. You may be prompted to **change the password** for the secondary user. @@ -107,7 +111,24 @@ An easy solution is to stop the API connection before using the website, but tha - You'll see an EULA and a signature block. - Type your **name** (not the new user's name) and click **Submit**. -After completing these steps, your secondary credentials will be ready to use with the API connection. In the future, use your **primary credentials** on the website and the **secondary credentials** for the API connection. +After completing these steps, your secondary credentials will be ready to use with the API connection. Use your **primary credentials** on the website and the **secondary credentials** for the API connection. + +Using a Paper Trading Account +----------------------------- + +When using a paper trading account, log in with your paper trading username and password. This allows you to practice trading without risking real money. + +**Steps to get your paper trading username and password:** + +1. Log in to the **IBKR Client Portal** using your primary (live) account credentials. +2. Navigate to the **Settings** menu in the upper right corner. +3. Under **Account Settings**, find the **Paper Trading Account** section. +4. Click on **Configure** or **Request Paper Trading Account**. +5. Follow the prompts to set up your paper trading account. +6. Once the setup is complete, you'll receive a separate **username** and **password** for your paper trading account. +7. Use these credentials when logging into the paper trading environment and configuring your API connection. + +**Note:** The paper trading account is separate from your live account. Ensure you're using the correct credentials for each environment to avoid any login conflicts. Strategy Setup -------------- @@ -121,16 +142,16 @@ Add these variables to a `.env` file in the same directory as your strategy: * - **Secret** - **Description** - **Example** - * - IB_USERNAME + * - `IB_USERNAME` - Your Interactive Brokers username. - `user123` - * - IB_PASSWORD + * - `IB_PASSWORD` - Your Interactive Brokers password. - `password123` - * - ACCOUNT_ID + * - `ACCOUNT_ID` - (Optional) An Interactive Brokers subaccount to trade on. - `U17369206` - * - IB_API_URL + * - `IB_API_URL` - (Optional) The URL of your self-hosted Interactive Brokers REST API. - `https://localhost:8000` @@ -139,12 +160,10 @@ Example Strategy .. code-block:: python - from lumibot.traders import Trader - # We will get your credentials from the .env file - from lumibot.strategies.examples import Strangle - - trader = Trader() + from lumibot.traders import Trader + from lumibot.strategies.examples import Strangle - strategy = Strangle() - trader.add_strategy(strategy) - trader.run_all() \ No newline at end of file + trader = Trader() + strategy = Strangle() + trader.add_strategy(strategy) + trader.run_all() diff --git a/docsrc/_build/html/brokers.html b/docsrc/_build/html/brokers.html index 983f4592f..ee2f8cbee 100644 --- a/docsrc/_build/html/brokers.html +++ b/docsrc/_build/html/brokers.html @@ -428,9 +428,9 @@

    Brokers

  • Interactive Brokers diff --git a/docsrc/_build/html/brokers.interactive_brokers.html b/docsrc/_build/html/brokers.interactive_brokers.html index 6361ba777..6d831c481 100644 --- a/docsrc/_build/html/brokers.interactive_brokers.html +++ b/docsrc/_build/html/brokers.interactive_brokers.html @@ -418,11 +418,11 @@
    Need Extra Help?

    Interactive Brokers

    -

    Interactive Brokers is a brokerage firm that operates in most countries around the world. This makes it a great choice for investing and trading if you don’t have access to our other supported platforms.

    -

    Note: If you do have access to other supported brokers, compare their fee structures to see which one is the best deal for you.

    +

    Interactive Brokers is a brokerage firm that operates in most countries around the world. It’s a great choice for investing and trading, especially if you don’t have access to other supported platforms.

    +

    Note: If you have access to other supported brokers, compare their fee structures to see which one offers the best deal for you.

    Market Data Subscriptions

    -

    To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various market data subscriptions depending on the exchanges and types of data you need. Here are some common subscriptions:

    +

    To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various subscriptions depending on the exchanges and types of data you need. Here are some common options:

    -
    -

    Using a Paper Trading Account

    -

    When using a paper trading account, you should log in with your paper trading username and password. This allows you to practice trading without risking real money.

    -

    Steps to get your paper trading username and password:

    -
      -
    1. Log in to the IBKR Client Portal using your primary (live) account credentials.

    2. -
    3. Navigate to the Settings menu in the upper right corner.

    4. -
    5. Under Account Settings, find the Paper Trading Account section.

    6. -
    7. Click on Configure or Request Paper Trading Account.

    8. -
    9. Follow the prompts to set up your paper trading account.

    10. -
    -
    -
      -
    • You may need to agree to terms and conditions.

    • +
      +

      Two-Factor Authentication (2FA)

      +

      Interactive Brokers requires two-factor authentication (2FA) for account security. When using Lumibot, you’ll receive 2FA notifications through the IB Key mobile app, which require manual approval. This can interrupt automated trading operations.

      +

      Important: Automated handling of 2FA is not currently supported in Lumibot.

      +

      Possible Solution: Create a Secondary Username

      +

      To enable fully automated trading, you can create a secondary username for your account that doesn’t require 2FA. This approach is secure and convenient:

      +
        +
      • The primary account maintains full 2FA security for website access.

      • +
      • The secondary account, used only for API connections, can operate without 2FA.

      • +
      • Both accounts have separate access controls you can configure.

      -
    -
      -
    1. Once the setup is complete, you’ll receive a separate username and password for your paper trading account.

    2. -
    3. Use these credentials when logging into the paper trading environment and configuring your API connection.

    4. -
    -

    Note: The paper trading account is separate from your live account. Ensure you’re using the correct credentials for each environment to avoid any login conflicts.

    -
    -
    -

    Automating Two-Factor Authentication

    -

    Currently, automating two-factor authentication (2FA) is not supported. Lumibot will send you 2FA notifications through IBKey, and you will need to respond to them manually.

    +
    +

    Note

    +

    When using a secondary account without 2FA:

    +
      +
    • You’ll need separate market data subscriptions for each user.

    • +
    • If trading with both primary and secondary users, you’ll pay for market data twice.

    • +
    • Enhance security by: +- Setting a complex password. +- Restricting IP addresses for TWS/IBGateway access. +- Limiting the account’s permissions to only what’s needed. +- Keeping API connection details secure.

    • +
    +
    +

    See the Using a Secondary Username section below for detailed setup instructions.

    -
    -

    Using a Secondary Account

    -

    Interactive Brokers only allows a single login at a time for any given set of credentials. This means you can’t use the IBKR website while the API connection is running. If you try, it will disconnect the API connection, causing a re-authentication loop.

    -

    An easy solution is to stop the API connection before using the website, but that can be tedious. A more convenient solution is to create a secondary username for your account and use that for the API connection.

    +
    +

    Using a Secondary Username

    +

    Interactive Brokers allows only one login at a time for any given set of credentials. Attempting to use the IBKR website while the API connection is running will disconnect the API connection, causing a re-authentication loop.

    +

    An easy solution is to stop the API connection before using the website, but this can be tedious. A more convenient solution is to create a secondary username for your account and use that for the API connection.

    Steps to create a secondary username:

      -
    1. Log in to the IBKR Client Portal with your primary username.

    2. +
    3. Log in to the IBKR Client Portal with your primary username.

    4. Click on the Settings menu in the upper right corner.

    5. -
    6. Scroll to the bottom-left of the page and find the Users & Access Rights link.

    7. -
    -
    -
      -
    • You may need to scroll down to see it.

    • -
    -
    -
      +
    1. Scroll down and find the Users & Access Rights link.

    2. Click the plus sign (+) button in the Users header to add a new user.

    3. Fill out the username and password fields for the new user.

    4. Click through the settings pages, adjusting notifications and permissions as needed.

    5. -
    -
    -
      -
    • Feel free to disable unnecessary notifications to avoid duplicate emails.

    • -
    -
    -
    1. At the end of the process, you’ll receive an email with a confirmation code.

    Activating your secondary username:

    1. Log out and log back in using the new secondary username and password.

    2. -
    3. Enter the confirmation code you received via email.

    4. +
    5. Enter the confirmation code received via email.

      @@ -530,7 +526,22 @@

      Using a Secondary Account +

      Using a Paper Trading Account

      +

      When using a paper trading account, log in with your paper trading username and password. This allows you to practice trading without risking real money.

      +

      Steps to get your paper trading username and password:

      +
        +
      1. Log in to the IBKR Client Portal using your primary (live) account credentials.

      2. +
      3. Navigate to the Settings menu in the upper right corner.

      4. +
      5. Under Account Settings, find the Paper Trading Account section.

      6. +
      7. Click on Configure or Request Paper Trading Account.

      8. +
      9. Follow the prompts to set up your paper trading account.

      10. +
      11. Once the setup is complete, you’ll receive a separate username and password for your paper trading account.

      12. +
      13. Use these credentials when logging into the paper trading environment and configuring your API connection.

      14. +
      +

      Note: The paper trading account is separate from your live account. Ensure you’re using the correct credentials for each environment to avoid any login conflicts.

    Strategy Setup

    @@ -550,19 +561,19 @@

    Strategy Setup

    IB_USERNAME

    +

    IB_USERNAME

    Your Interactive Brokers username.

    user123

    -

    IB_PASSWORD

    +

    IB_PASSWORD

    Your Interactive Brokers password.

    password123

    -

    ACCOUNT_ID

    +

    ACCOUNT_ID

    (Optional) An Interactive Brokers subaccount to trade on.

    U17369206

    -

    IB_API_URL

    +

    IB_API_URL

    (Optional) The URL of your self-hosted Interactive Brokers REST API.

    https://localhost:8000

    @@ -573,11 +584,9 @@

    Strategy Setup

    Example Strategy

    from lumibot.traders import Trader
    -# We will get your credentials from the .env file
     from lumibot.strategies.examples import Strangle
     
     trader = Trader()
    -
     strategy = Strangle()
     trader.add_strategy(strategy)
     trader.run_all()
    @@ -643,9 +652,9 @@ 

    Example StrategyInteractive Brokers diff --git a/docsrc/_build/html/index.html b/docsrc/_build/html/index.html index dd9d46bd2..63a7de16d 100644 --- a/docsrc/_build/html/index.html +++ b/docsrc/_build/html/index.html @@ -1022,9 +1022,9 @@

    Table of ContentsInteractive Brokers diff --git a/docsrc/_build/html/searchindex.js b/docsrc/_build/html/searchindex.js index 5877cc04c..0487bd533 100644 --- a/docsrc/_build/html/searchindex.js +++ b/docsrc/_build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Account Management": [[48, null]], "Adding Trading Fees": [[25, "adding-trading-fees"]], "Additional Resources": [[26, "additional-resources"]], "Advanced Order Types": [[22, "advanced-order-types"]], "All Together": [[26, "all-together"]], "Alpaca": [[12, null]], "Alpaca Configuration": [[17, "alpaca-configuration"], [17, "id22"]], "Asset": [[19, null]], "Automating Two-Factor Authentication": [[14, "automating-two-factor-authentication"]], "Backtesting": [[0, null], [43, null]], "Backtesting Broker": [[43, "module-lumibot.backtesting.backtesting_broker"]], "Backtesting Function": [[1, null]], "Bars": [[20, null]], "Benefits of self.vars": [[196, "benefits-of-self-vars"]], "Broker Configuration": [[17, "broker-configuration"]], "Brokers": [[11, null]], "Chart Functions": [[61, null]], "Choosing Your Deployment Platform": [[17, "id1"]], "Choosing a Data Source": [[2, "choosing-a-data-source"]], "Coinbase Configuration": [[17, "coinbase-configuration"], [17, "id23"]], "Conclusion": [[2, "conclusion"], [17, "conclusion"]], "Configuration": [[16, "configuration"]], "Configuration Settings": [[13, "configuration-settings"]], "Contents:": [[0, null], [11, null], [18, null], [27, null], [47, null]], "Crypto Brokers (Using CCXT)": [[13, null]], "Data": [[21, null], [70, null]], "Data Source": [[44, "module-lumibot.data_sources.data_source"]], "Data Source Backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting"]], "Data Sources": [[44, null]], "Database Configuration": [[196, "database-configuration"]], "Database Storage Structure": [[196, "database-storage-structure"]], "DateTime": [[82, null]], "Deploying to Render": [[17, "id2"]], "Deploying to Replit": [[17, "id3"]], "Deployment Guide": [[17, null]], "Documentation": [[12, "module-lumibot.brokers.alpaca"], [19, "module-entities.asset"], [20, "module-entities.bars"], [22, "module-entities.order"], [45, "module-lumibot.strategies.strategy.Strategy"]], "Entities": [[18, null]], "Example Dataframe": [[5, "id1"]], "Example Strategy": [[14, "example-strategy"]], "Example Strategy for Deployment": [[17, "example-strategy-for-deployment"]], "Files Generated from Backtesting": [[0, "files-generated-from-backtesting"], [2, "files-generated-from-backtesting"]], "Final Steps": [[17, "final-steps"]], "Full Example Strategy": [[13, "full-example-strategy"], [16, "full-example-strategy"]], "General Environment Variables": [[17, "general-environment-variables"], [17, "id27"]], "Getting Started": [[16, "getting-started"], [26, "getting-started"]], "Getting Started With Lumibot": [[25, "getting-started-with-lumibot"]], "How It Works": [[196, "how-it-works"]], "How To Backtest": [[2, null]], "In Summary": [[5, "in-summary"]], "Indicators Files": [[2, "indicators-files"], [3, null]], "Indices and tables": [[26, "indices-and-tables"]], "Installing LumiBot": [[2, "installing-lumibot"]], "Interactive Brokers": [[14, null]], "Interactive Brokers Configuration": [[14, "id1"], [17, "interactive-brokers-configuration"], [17, "id25"]], "Interactive Brokers Legacy": [[15, null]], "Interactive Brokers-Legacy Configuration": [[17, "interactive-brokers-legacy-configuration"], [17, "id26"]], "Kraken Configuration": [[17, "kraken-configuration"], [17, "id24"]], "Lifecycle Methods": [[27, null]], "Logs CSV": [[4, null]], "Lumibot: Backtesting and Algorithmic Trading Library": [[26, null]], "Lumiwealth": [[25, "id1"]], "Market Data Subscriptions": [[14, "market-data-subscriptions"]], "Miscellaneous": [[101, null]], "Module contents": [[44, "module-lumibot.data_sources"]], "Need Extra Help?": [[26, "need-extra-help"]], "Options": [[124, null]], "Order": [[22, null]], "Order Management": [[142, null]], "Order With Legs": [[22, "order-with-legs"]], "Pandas": [[44, "module-lumibot.data_sources.pandas_data"]], "Pandas (CSV or other data)": [[5, null]], "Parameters": [[165, null]], "Polygon.io Backtesting": [[6, null]], "Position": [[23, null]], "Profiling to Improve Performance": [[25, "profiling-to-improve-performance"]], "Reference": [[28, "reference"], [29, "reference"], [30, "reference"], [31, "reference"], [32, "reference"], [33, "reference"], [34, "reference"], [35, "reference"], [36, "reference"], [37, "reference"], [38, "reference"], [39, "reference"], [40, "reference"], [42, "reference"]], "Running Your Strategy": [[13, "running-your-strategy"], [16, "running-your-strategy"]], "Running a Backtest with Polygon.io": [[2, "running-a-backtest-with-polygon-io"]], "Secrets Configuration": [[17, "secrets-configuration"]], "Step 1: Install Lumibot": [[26, "step-1-install-lumibot"]], "Step 1: Install the Package": [[25, "step-1-install-the-package"]], "Step 2: Create a Strategy for Backtesting": [[26, "step-2-create-a-strategy-for-backtesting"]], "Step 2: Import the Following Modules": [[25, "step-2-import-the-following-modules"]], "Step 3: Create an Alpaca Paper Trading Account": [[25, "step-3-create-an-alpaca-paper-trading-account"]], "Step 3: Take Your Bot Live": [[26, "step-3-take-your-bot-live"]], "Step 4: Configure Your API Keys": [[25, "step-4-configure-your-api-keys"]], "Step 5: Create a Strategy Class": [[25, "step-5-create-a-strategy-class"]], "Step 6: Instantiate the Trader, Alpaca, and Strategy Classes": [[25, "step-6-instantiate-the-trader-alpaca-and-strategy-classes"]], "Step 7: Backtest the Strategy (Optional)": [[25, "step-7-backtest-the-strategy-optional"]], "Step 8: Run the Strategy": [[25, "step-8-run-the-strategy"]], "Strategies": [[45, null]], "Strategy Methods": [[47, null]], "Strategy Properties": [[166, null]], "Strategy Setup": [[14, "strategy-setup"]], "Summary": [[41, null]], "Table of Contents": [[26, "table-of-contents"]], "Tearsheet HTML": [[2, "tearsheet-html"], [7, null]], "ThetaData Backtesting": [[8, null]], "Trader": [[46, "module-lumibot.traders.trader"]], "Traders": [[46, null]], "Trades Files": [[2, "trades-files"], [9, null]], "Tradier": [[16, null]], "Tradier Configuration": [[17, "tradier-configuration"], [17, "id21"]], "Trading Fee": [[24, null]], "Usage Guide": [[196, "usage-guide"]], "Using a Paper Trading Account": [[14, "using-a-paper-trading-account"]], "Using a Secondary Account": [[14, "using-a-secondary-account"]], "Variable Backup & Restore": [[196, null]], "What is Lumibot?": [[25, null]], "Yahoo": [[10, null], [44, "module-lumibot.data_sources.yahoo_data"]], "def after_market_closes": [[28, null]], "def before_market_closes": [[29, null]], "def before_market_opens": [[30, null]], "def before_starting_trading": [[31, null]], "def initialize": [[32, null]], "def on_abrupt_closing": [[33, null]], "def on_bot_crash": [[34, null]], "def on_canceled_order": [[35, null]], "def on_filled_order": [[36, null]], "def on_new_order": [[37, null]], "def on_parameters_updated": [[38, null]], "def on_partially_filled_order": [[39, null]], "def on_trading_iteration": [[40, null]], "def trace_stats": [[42, null]], "self.add_line": [[62, null], [66, null]], "self.add_marker": [[63, null], [67, null]], "self.await_market_to_close": [[102, null], [113, null]], "self.await_market_to_open": [[103, null], [114, null]], "self.cancel_open_orders": [[143, null], [154, null]], "self.cancel_order": [[144, null], [155, null]], "self.cancel_orders": [[145, null], [156, null]], "self.cancel_realtime_bars": [[71, null]], "self.cash": [[167, null], [182, null]], "self.create_order": [[146, null], [157, null]], "self.first_iteration": [[168, null], [183, null]], "self.get_asset_potential_total": [[147, null], [158, null]], "self.get_cash": [[49, null], [55, null]], "self.get_chain": [[125, null], [133, null]], "self.get_chains": [[126, null], [134, null]], "self.get_datetime": [[83, null], [92, null]], "self.get_datetime_range": [[84, null], [93, null]], "self.get_expiration": [[127, null], [135, null]], "self.get_greeks": [[128, null], [136, null]], "self.get_historical_prices": [[72, null]], "self.get_historical_prices_for_assets": [[73, null]], "self.get_last_day": [[85, null], [94, null]], "self.get_last_minute": [[86, null], [95, null]], "self.get_last_price": [[74, null]], "self.get_last_prices": [[75, null]], "self.get_lines_df": [[64, null], [68, null]], "self.get_markers_df": [[65, null], [69, null]], "self.get_multiplier": [[129, null], [137, null]], "self.get_next_trading_day": [[76, null], [130, null], [138, null]], "self.get_option_expiration_after_date": [[139, null]], "self.get_order": [[148, null], [159, null]], "self.get_orders": [[149, null], [160, null]], "self.get_parameters": [[50, null], [56, null], [104, null], [115, null]], "self.get_portfolio_value": [[51, null], [57, null]], "self.get_position": [[52, null], [58, null]], "self.get_positions": [[53, null], [59, null]], "self.get_quote": [[77, null]], "self.get_realtime_bars": [[78, null]], "self.get_round_day": [[87, null], [96, null]], "self.get_round_minute": [[88, null], [97, null]], "self.get_selling_order": [[150, null], [161, null]], "self.get_strikes": [[131, null], [140, null]], "self.get_timestamp": [[89, null], [98, null]], "self.get_yesterday_dividend": [[79, null]], "self.get_yesterday_dividends": [[80, null]], "self.initial_budget": [[169, null], [184, null]], "self.is_backtesting": [[170, null], [185, null]], "self.last_on_trading_iteration_datetime": [[171, null], [186, null]], "self.localize_datetime": [[90, null], [99, null]], "self.log_message": [[105, null], [116, null]], "self.minutes_before_closing": [[172, null], [187, null]], "self.minutes_before_opening": [[173, null], [188, null]], "self.name": [[174, null], [189, null]], "self.options_expiry_to_datetime_date": [[132, null], [141, null]], "self.portfolio_value": [[175, null], [190, null]], "self.pytz": [[176, null], [181, null], [191, null]], "self.quote_asset": [[177, null], [192, null]], "self.sell_all": [[151, null], [162, null]], "self.set_market": [[106, null], [117, null]], "self.set_parameters": [[54, null], [60, null]], "self.sleep": [[107, null], [118, null]], "self.sleeptime": [[178, null], [193, null]], "self.start_realtime_bars": [[81, null]], "self.submit_order": [[152, null], [163, null]], "self.submit_orders": [[153, null], [164, null]], "self.timezone": [[179, null], [194, null]], "self.to_default_timezone": [[91, null], [100, null]], "self.unspent_money": [[180, null], [195, null]], "self.update_parameters": [[108, null], [119, null]], "self.wait_for_order_execution": [[109, null], [120, null]], "self.wait_for_order_registration": [[110, null], [121, null]], "self.wait_for_orders_execution": [[111, null], [122, null]], "self.wait_for_orders_registration": [[112, null], [123, null]]}, "docnames": ["backtesting", "backtesting.backtesting_function", "backtesting.how_to_backtest", "backtesting.indicators_files", "backtesting.logs_csv", "backtesting.pandas", "backtesting.polygon", "backtesting.tearsheet_html", "backtesting.thetadata", "backtesting.trades_files", "backtesting.yahoo", "brokers", "brokers.alpaca", "brokers.ccxt", "brokers.interactive_brokers", "brokers.interactive_brokers_legacy", "brokers.tradier", "deployment", "entities", "entities.asset", "entities.bars", "entities.data", "entities.order", "entities.position", "entities.trading_fee", "getting_started", "index", "lifecycle_methods", "lifecycle_methods.after_market_closes", "lifecycle_methods.before_market_closes", "lifecycle_methods.before_market_opens", "lifecycle_methods.before_starting_trading", "lifecycle_methods.initialize", "lifecycle_methods.on_abrupt_closing", "lifecycle_methods.on_bot_crash", "lifecycle_methods.on_canceled_order", "lifecycle_methods.on_filled_order", "lifecycle_methods.on_new_order", "lifecycle_methods.on_parameters_updated", "lifecycle_methods.on_partially_filled_order", "lifecycle_methods.on_trading_iteration", "lifecycle_methods.summary", "lifecycle_methods.trace_stats", "lumibot.backtesting", "lumibot.data_sources", "lumibot.strategies", "lumibot.traders", "strategy_methods", "strategy_methods.account", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_cash", "strategy_methods.account/strategies.strategy.Strategy.get_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/strategies.strategy.Strategy.get_position", "strategy_methods.account/strategies.strategy.Strategy.get_positions", "strategy_methods.account/strategies.strategy.Strategy.set_parameters", "strategy_methods.chart", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df", "strategy_methods.chart/strategies.strategy.Strategy.add_line", "strategy_methods.chart/strategies.strategy.Strategy.add_marker", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df", "strategy_methods.data", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars", "strategy_methods.datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone", "strategy_methods.misc", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/strategies.strategy.Strategy.log_message", "strategy_methods.misc/strategies.strategy.Strategy.set_market", "strategy_methods.misc/strategies.strategy.Strategy.sleep", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.options", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.options/strategies.strategy.Strategy.get_chain", "strategy_methods.options/strategies.strategy.Strategy.get_chains", "strategy_methods.options/strategies.strategy.Strategy.get_expiration", "strategy_methods.options/strategies.strategy.Strategy.get_greeks", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date", "strategy_methods.options/strategies.strategy.Strategy.get_strikes", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/strategies.strategy.Strategy.create_order", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/strategies.strategy.Strategy.get_order", "strategy_methods.orders/strategies.strategy.Strategy.get_orders", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/strategies.strategy.Strategy.sell_all", "strategy_methods.orders/strategies.strategy.Strategy.submit_order", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders", "strategy_methods.parameters", "strategy_properties", "strategy_properties/lumibot.strategies.strategy.Strategy.cash", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/lumibot.strategies.strategy.Strategy.name", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money", "strategy_properties/lumibot.strategies.strategy.pytz", "strategy_properties/strategies.strategy.Strategy.cash", "strategy_properties/strategies.strategy.Strategy.first_iteration", "strategy_properties/strategies.strategy.Strategy.initial_budget", "strategy_properties/strategies.strategy.Strategy.is_backtesting", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/strategies.strategy.Strategy.name", "strategy_properties/strategies.strategy.Strategy.portfolio_value", "strategy_properties/strategies.strategy.Strategy.pytz", "strategy_properties/strategies.strategy.Strategy.quote_asset", "strategy_properties/strategies.strategy.Strategy.sleeptime", "strategy_properties/strategies.strategy.Strategy.timezone", "strategy_properties/strategies.strategy.Strategy.unspent_money", "vars"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["backtesting.rst", "backtesting.backtesting_function.rst", "backtesting.how_to_backtest.rst", "backtesting.indicators_files.rst", "backtesting.logs_csv.rst", "backtesting.pandas.rst", "backtesting.polygon.rst", "backtesting.tearsheet_html.rst", "backtesting.thetadata.rst", "backtesting.trades_files.rst", "backtesting.yahoo.rst", "brokers.rst", "brokers.alpaca.rst", "brokers.ccxt.rst", "brokers.interactive_brokers.rst", "brokers.interactive_brokers_legacy.rst", "brokers.tradier.rst", "deployment.rst", "entities.rst", "entities.asset.rst", "entities.bars.rst", "entities.data.rst", "entities.order.rst", "entities.position.rst", "entities.trading_fee.rst", "getting_started.rst", "index.rst", "lifecycle_methods.rst", "lifecycle_methods.after_market_closes.rst", "lifecycle_methods.before_market_closes.rst", "lifecycle_methods.before_market_opens.rst", "lifecycle_methods.before_starting_trading.rst", "lifecycle_methods.initialize.rst", "lifecycle_methods.on_abrupt_closing.rst", "lifecycle_methods.on_bot_crash.rst", "lifecycle_methods.on_canceled_order.rst", "lifecycle_methods.on_filled_order.rst", "lifecycle_methods.on_new_order.rst", "lifecycle_methods.on_parameters_updated.rst", "lifecycle_methods.on_partially_filled_order.rst", "lifecycle_methods.on_trading_iteration.rst", "lifecycle_methods.summary.rst", "lifecycle_methods.trace_stats.rst", "lumibot.backtesting.rst", "lumibot.data_sources.rst", "lumibot.strategies.rst", "lumibot.traders.rst", "strategy_methods.rst", "strategy_methods.account.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.chart.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.data.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars.rst", "strategy_methods.datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.misc.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.options.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.parameters.rst", "strategy_properties.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.cash.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.name.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money.rst", "strategy_properties/lumibot.strategies.strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.cash.rst", "strategy_properties/strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/strategies.strategy.Strategy.name.rst", "strategy_properties/strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/strategies.strategy.Strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/strategies.strategy.Strategy.timezone.rst", "strategy_properties/strategies.strategy.Strategy.unspent_money.rst", "vars.rst"], "indexentries": {"_asset_types (entities.asset.asset attribute)": [[19, "entities.asset.Asset._asset_types", false]], "_get_bars_dict() (entities.data.data method)": [[21, "entities.data.Data._get_bars_dict", false]], "_right (entities.asset.asset attribute)": [[19, "entities.asset.Asset._right", false]], "add_child_order() (entities.order.order method)": [[22, "entities.order.Order.add_child_order", false]], "add_line() (in module lumibot.strategies.strategy.strategy)": [[62, "lumibot.strategies.strategy.Strategy.add_line", false], [66, "lumibot.strategies.strategy.Strategy.add_line", false]], "add_marker() (in module lumibot.strategies.strategy.strategy)": [[63, "lumibot.strategies.strategy.Strategy.add_marker", false], [67, "lumibot.strategies.strategy.Strategy.add_marker", false]], "add_order() (entities.position.position method)": [[23, "entities.position.Position.add_order", false]], "add_strategy() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.add_strategy", false]], "add_transaction() (entities.order.order method)": [[22, "entities.order.Order.add_transaction", false]], "after_market_closes() (in module lumibot.strategies.strategy.strategy)": [[28, "lumibot.strategies.strategy.Strategy.after_market_closes", false]], "aggregate_bars() (entities.bars.bars method)": [[20, "entities.bars.Bars.aggregate_bars", false], [20, "id0", false]], "alpaca (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.Alpaca", false]], "api (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.api", false]], "asset (class in entities.asset)": [[19, "entities.asset.Asset", false]], "asset (entities.data.data attribute)": [[21, "entities.data.Data.asset", false]], "asset (entities.position.position attribute)": [[23, "entities.position.Position.asset", false]], "asset.assettype (class in entities.asset)": [[19, "entities.asset.Asset.AssetType", false]], "asset.optionright (class in entities.asset)": [[19, "entities.asset.Asset.OptionRight", false]], "asset_type (entities.asset.asset attribute)": [[19, "entities.asset.Asset.asset_type", false], [19, "id0", false]], "asset_type_map (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.ASSET_TYPE_MAP", false]], "asset_type_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.asset_type_must_be_one_of", false], [19, "id1", false]], "assetsmapping (class in entities.asset)": [[19, "entities.asset.AssetsMapping", false]], "available (entities.position.position attribute)": [[23, "entities.position.Position.available", false]], "available (entities.position.position property)": [[23, "id0", false]], "avg_fill_price (entities.order.order property)": [[22, "entities.order.Order.avg_fill_price", false]], "avg_fill_price (entities.position.position attribute)": [[23, "entities.position.Position.avg_fill_price", false]], "await_market_to_close() (in module lumibot.strategies.strategy.strategy)": [[102, "lumibot.strategies.strategy.Strategy.await_market_to_close", false], [113, "lumibot.strategies.strategy.Strategy.await_market_to_close", false]], "await_market_to_open() (in module lumibot.strategies.strategy.strategy)": [[103, "lumibot.strategies.strategy.Strategy.await_market_to_open", false], [114, "lumibot.strategies.strategy.Strategy.await_market_to_open", false]], "backtestingbroker (class in lumibot.backtesting.backtesting_broker)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker", false]], "bars (class in entities.bars)": [[20, "entities.bars.Bars", false]], "before_market_closes() (in module lumibot.strategies.strategy.strategy)": [[29, "lumibot.strategies.strategy.Strategy.before_market_closes", false]], "before_market_opens() (in module lumibot.strategies.strategy.strategy)": [[30, "lumibot.strategies.strategy.Strategy.before_market_opens", false]], "before_starting_trading() (in module lumibot.strategies.strategy.strategy)": [[31, "lumibot.strategies.strategy.Strategy.before_starting_trading", false]], "bracket (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.BRACKET", false]], "bracket (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.BRACKET", false]], "buy (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY", false]], "buy_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_CLOSE", false]], "buy_to_cover (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_COVER", false]], "buy_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_OPEN", false]], "calculate_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.calculate_greeks", false]], "calculate_trade_cost() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.calculate_trade_cost", false]], "call (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.CALL", false]], "cancel_open_orders() (in module lumibot.strategies.strategy.strategy)": [[143, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false], [154, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false]], "cancel_order() (in module lumibot.strategies.strategy.strategy)": [[144, "lumibot.strategies.strategy.Strategy.cancel_order", false], [155, "lumibot.strategies.strategy.Strategy.cancel_order", false]], "cancel_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cancel_order", false]], "cancel_order() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.cancel_order", false]], "cancel_orders() (in module lumibot.strategies.strategy.strategy)": [[145, "lumibot.strategies.strategy.Strategy.cancel_orders", false], [156, "lumibot.strategies.strategy.Strategy.cancel_orders", false]], "cancel_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[71, "lumibot.strategies.strategy.Strategy.cancel_realtime_bars", false]], "canceled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELED", false]], "cancelling (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELLING", false]], "cash (lumibot.strategies.strategy.strategy property)": [[167, "lumibot.strategies.strategy.Strategy.cash", false], [182, "lumibot.strategies.strategy.Strategy.cash", false]], "cash_pending() (entities.order.order method)": [[22, "entities.order.Order.cash_pending", false]], "cash_settle_options_contract() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cash_settle_options_contract", false]], "cash_settled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CASH_SETTLED", false]], "check_data() (entities.data.data method)": [[21, "entities.data.Data.check_data", false], [21, "id0", false]], "clean_trading_times() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.clean_trading_times", false]], "columns() (entities.data.data method)": [[21, "entities.data.Data.columns", false], [21, "id1", false]], "convert_timestep_str_to_timedelta() (lumibot.data_sources.data_source.datasource static method)": [[44, "lumibot.data_sources.data_source.DataSource.convert_timestep_str_to_timedelta", false]], "create_order() (in module lumibot.strategies.strategy.strategy)": [[146, "lumibot.strategies.strategy.Strategy.create_order", false], [157, "lumibot.strategies.strategy.Strategy.create_order", false]], "crypto (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.CRYPTO", false]], "data (class in entities.data)": [[21, "entities.data.Data", false]], "datalines (entities.data.data attribute)": [[21, "entities.data.Data.datalines", false]], "datasource (class in lumibot.data_sources.data_source)": [[44, "lumibot.data_sources.data_source.DataSource", false]], "datasourcebacktesting (class in lumibot.data_sources.data_source_backtesting)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting", false]], "date_end (entities.data.data attribute)": [[21, "entities.data.Data.date_end", false]], "date_start (entities.data.data attribute)": [[21, "entities.data.Data.date_start", false]], "datetime (lumibot.backtesting.backtesting_broker.backtestingbroker property)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.datetime", false]], "default_pytz (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_PYTZ", false]], "default_timezone (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_TIMEZONE", false]], "df (entities.data.data attribute)": [[21, "entities.data.Data.df", false]], "entities.asset": [[19, "module-entities.asset", false]], "entities.bars": [[20, "module-entities.bars", false]], "entities.data": [[21, "module-entities.data", false]], "entities.order": [[22, "module-entities.order", false]], "entities.position": [[23, "module-entities.position", false]], "entities.trading_fee": [[24, "module-entities.trading_fee", false]], "equivalent_status() (entities.order.order method)": [[22, "entities.order.Order.equivalent_status", false]], "error (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.ERROR", false]], "expiration (entities.asset.asset attribute)": [[19, "entities.asset.Asset.expiration", false], [19, "id2", false]], "expired (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.EXPIRED", false]], "filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.FILLED", false]], "filter() (entities.bars.bars method)": [[20, "entities.bars.Bars.filter", false]], "find_asset_in_data_store() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.find_asset_in_data_store", false]], "first_iteration (lumibot.strategies.strategy.strategy property)": [[168, "lumibot.strategies.strategy.Strategy.first_iteration", false], [183, "lumibot.strategies.strategy.Strategy.first_iteration", false]], "forex (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FOREX", false]], "from_dict() (entities.asset.asset class method)": [[19, "entities.asset.Asset.from_dict", false]], "from_dict() (entities.order.order class method)": [[22, "entities.order.Order.from_dict", false]], "from_dict() (entities.position.position class method)": [[23, "entities.position.Position.from_dict", false]], "future (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FUTURE", false]], "get_asset_by_name() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_name", false]], "get_asset_by_symbol() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_symbol", false]], "get_asset_potential_total() (in module lumibot.strategies.strategy.strategy)": [[147, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false], [158, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false]], "get_assets() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_assets", false]], "get_bars() (entities.data.data method)": [[21, "entities.data.Data.get_bars", false], [21, "id2", false]], "get_bars() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_bars", false]], "get_bars_between_dates() (entities.data.data method)": [[21, "entities.data.Data.get_bars_between_dates", false]], "get_cash() (in module lumibot.strategies.strategy.strategy)": [[49, "lumibot.strategies.strategy.Strategy.get_cash", false], [55, "lumibot.strategies.strategy.Strategy.get_cash", false]], "get_chain() (in module lumibot.strategies.strategy.strategy)": [[125, "lumibot.strategies.strategy.Strategy.get_chain", false], [133, "lumibot.strategies.strategy.Strategy.get_chain", false]], "get_chain_full_info() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chain_full_info", false]], "get_chains() (in module lumibot.strategies.strategy.strategy)": [[126, "lumibot.strategies.strategy.Strategy.get_chains", false], [134, "lumibot.strategies.strategy.Strategy.get_chains", false]], "get_chains() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chains", false]], "get_chains() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_chains", false]], "get_chains() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_chains", false]], "get_datetime() (in module lumibot.strategies.strategy.strategy)": [[83, "lumibot.strategies.strategy.Strategy.get_datetime", false], [92, "lumibot.strategies.strategy.Strategy.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime", false]], "get_datetime_range() (in module lumibot.strategies.strategy.strategy)": [[84, "lumibot.strategies.strategy.Strategy.get_datetime_range", false], [93, "lumibot.strategies.strategy.Strategy.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime_range", false]], "get_expiration() (in module lumibot.strategies.strategy.strategy)": [[127, "lumibot.strategies.strategy.Strategy.get_expiration", false], [135, "lumibot.strategies.strategy.Strategy.get_expiration", false]], "get_fill_price() (entities.order.order method)": [[22, "entities.order.Order.get_fill_price", false]], "get_greeks() (in module lumibot.strategies.strategy.strategy)": [[128, "lumibot.strategies.strategy.Strategy.get_greeks", false], [136, "lumibot.strategies.strategy.Strategy.get_greeks", false]], "get_historical_account_value() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_historical_account_value", false]], "get_historical_account_value() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.get_historical_account_value", false]], "get_historical_prices() (in module lumibot.strategies.strategy.strategy)": [[72, "lumibot.strategies.strategy.Strategy.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_historical_prices", false]], "get_historical_prices_for_assets() (in module lumibot.strategies.strategy.strategy)": [[73, "lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", false]], "get_increment() (entities.order.order method)": [[22, "entities.order.Order.get_increment", false]], "get_iter_count() (entities.data.data method)": [[21, "entities.data.Data.get_iter_count", false], [21, "id3", false]], "get_last_bar() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_last_bar", false]], "get_last_day() (in module lumibot.strategies.strategy.strategy)": [[85, "lumibot.strategies.strategy.Strategy.get_last_day", false], [94, "lumibot.strategies.strategy.Strategy.get_last_day", false]], "get_last_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_day", false]], "get_last_dividend() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_dividend", false], [20, "id1", false]], "get_last_minute() (in module lumibot.strategies.strategy.strategy)": [[86, "lumibot.strategies.strategy.Strategy.get_last_minute", false], [95, "lumibot.strategies.strategy.Strategy.get_last_minute", false]], "get_last_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_minute", false]], "get_last_price() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_price", false], [20, "id2", false]], "get_last_price() (entities.data.data method)": [[21, "entities.data.Data.get_last_price", false], [21, "id4", false]], "get_last_price() (in module lumibot.strategies.strategy.strategy)": [[74, "lumibot.strategies.strategy.Strategy.get_last_price", false]], "get_last_price() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_price", false]], "get_last_price() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_price", false]], "get_last_price() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_last_price", false]], "get_last_prices() (in module lumibot.strategies.strategy.strategy)": [[75, "lumibot.strategies.strategy.Strategy.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_prices", false]], "get_lines_df() (in module lumibot.strategies.strategy.strategy)": [[64, "lumibot.strategies.strategy.Strategy.get_lines_df", false], [68, "lumibot.strategies.strategy.Strategy.get_lines_df", false]], "get_markers_df() (in module lumibot.strategies.strategy.strategy)": [[65, "lumibot.strategies.strategy.Strategy.get_markers_df", false], [69, "lumibot.strategies.strategy.Strategy.get_markers_df", false]], "get_momentum() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_momentum", false], [20, "id3", false]], "get_multiplier() (in module lumibot.strategies.strategy.strategy)": [[129, "lumibot.strategies.strategy.Strategy.get_multiplier", false], [137, "lumibot.strategies.strategy.Strategy.get_multiplier", false]], "get_next_trading_day() (in module lumibot.strategies.strategy.strategy)": [[76, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [130, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [138, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false]], "get_option_expiration_after_date() (in module lumibot.strategies.strategy.strategy)": [[139, "lumibot.strategies.strategy.Strategy.get_option_expiration_after_date", false]], "get_order() (in module lumibot.strategies.strategy.strategy)": [[148, "lumibot.strategies.strategy.Strategy.get_order", false], [159, "lumibot.strategies.strategy.Strategy.get_order", false]], "get_orders() (in module lumibot.strategies.strategy.strategy)": [[149, "lumibot.strategies.strategy.Strategy.get_orders", false], [160, "lumibot.strategies.strategy.Strategy.get_orders", false]], "get_parameters() (in module lumibot.strategies.strategy.strategy)": [[50, "lumibot.strategies.strategy.Strategy.get_parameters", false], [56, "lumibot.strategies.strategy.Strategy.get_parameters", false], [104, "lumibot.strategies.strategy.Strategy.get_parameters", false], [115, "lumibot.strategies.strategy.Strategy.get_parameters", false]], "get_portfolio_value() (in module lumibot.strategies.strategy.strategy)": [[51, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false], [57, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false]], "get_position() (in module lumibot.strategies.strategy.strategy)": [[52, "lumibot.strategies.strategy.Strategy.get_position", false], [58, "lumibot.strategies.strategy.Strategy.get_position", false]], "get_positions() (in module lumibot.strategies.strategy.strategy)": [[53, "lumibot.strategies.strategy.Strategy.get_positions", false], [59, "lumibot.strategies.strategy.Strategy.get_positions", false]], "get_quote() (entities.data.data method)": [[21, "entities.data.Data.get_quote", false]], "get_quote() (in module lumibot.strategies.strategy.strategy)": [[77, "lumibot.strategies.strategy.Strategy.get_quote", false]], "get_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[78, "lumibot.strategies.strategy.Strategy.get_realtime_bars", false]], "get_round_day() (in module lumibot.strategies.strategy.strategy)": [[87, "lumibot.strategies.strategy.Strategy.get_round_day", false], [96, "lumibot.strategies.strategy.Strategy.get_round_day", false]], "get_round_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_day", false]], "get_round_minute() (in module lumibot.strategies.strategy.strategy)": [[88, "lumibot.strategies.strategy.Strategy.get_round_minute", false], [97, "lumibot.strategies.strategy.Strategy.get_round_minute", false]], "get_round_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_minute", false]], "get_selling_order() (entities.position.position method)": [[23, "entities.position.Position.get_selling_order", false]], "get_selling_order() (in module lumibot.strategies.strategy.strategy)": [[150, "lumibot.strategies.strategy.Strategy.get_selling_order", false], [161, "lumibot.strategies.strategy.Strategy.get_selling_order", false]], "get_start_datetime_and_ts_unit() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_start_datetime_and_ts_unit", false]], "get_strikes() (in module lumibot.strategies.strategy.strategy)": [[131, "lumibot.strategies.strategy.Strategy.get_strikes", false], [140, "lumibot.strategies.strategy.Strategy.get_strikes", false]], "get_strikes() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_strikes", false]], "get_strikes() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_strikes", false]], "get_time_to_close() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_close", false]], "get_time_to_close() (lumibot.brokers.alpaca.alpaca method)": [[12, "id0", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_close", false]], "get_time_to_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_open", false]], "get_time_to_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id1", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_open", false]], "get_timestamp() (in module lumibot.strategies.strategy.strategy)": [[89, "lumibot.strategies.strategy.Strategy.get_timestamp", false], [98, "lumibot.strategies.strategy.Strategy.get_timestamp", false]], "get_timestamp() (lumibot.brokers.alpaca.alpaca method)": [[12, "id2", false], [12, "lumibot.brokers.alpaca.Alpaca.get_timestamp", false]], "get_timestamp() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestamp", false]], "get_timestep() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestep", false]], "get_total_dividends() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_dividends", false]], "get_total_return() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return", false]], "get_total_return_pct() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct", false]], "get_total_return_pct_change() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct_change", false]], "get_total_stock_splits() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_stock_splits", false]], "get_total_volume() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_volume", false], [20, "id4", false]], "get_trading_days_pandas() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_trading_days_pandas", false]], "get_yesterday_dividend() (in module lumibot.strategies.strategy.strategy)": [[79, "lumibot.strategies.strategy.Strategy.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividend", false]], "get_yesterday_dividends() (in module lumibot.strategies.strategy.strategy)": [[80, "lumibot.strategies.strategy.Strategy.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividends", false]], "hold (entities.position.position attribute)": [[23, "entities.position.Position.hold", false]], "hold (entities.position.position property)": [[23, "id1", false]], "index (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.INDEX", false]], "initial_budget (lumibot.strategies.strategy.strategy property)": [[169, "lumibot.strategies.strategy.Strategy.initial_budget", false], [184, "lumibot.strategies.strategy.Strategy.initial_budget", false]], "initialize() (in module lumibot.strategies.strategy.strategy)": [[32, "lumibot.strategies.strategy.Strategy.initialize", false]], "is_active() (entities.order.order method)": [[22, "entities.order.Order.is_active", false]], "is_backtest_broker (lumibot.traders.trader.trader property)": [[46, "lumibot.traders.trader.Trader.is_backtest_broker", false]], "is_backtesting (lumibot.strategies.strategy.strategy property)": [[170, "lumibot.strategies.strategy.Strategy.is_backtesting", false], [185, "lumibot.strategies.strategy.Strategy.is_backtesting", false]], "is_backtesting_broker (lumibot.backtesting.backtesting_broker.backtestingbroker attribute)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.IS_BACKTESTING_BROKER", false]], "is_backtesting_data_source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.IS_BACKTESTING_DATA_SOURCE", false]], "is_backtesting_data_source (lumibot.data_sources.data_source_backtesting.datasourcebacktesting attribute)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.IS_BACKTESTING_DATA_SOURCE", false]], "is_buy_order() (entities.order.order method)": [[22, "entities.order.Order.is_buy_order", false]], "is_canceled() (entities.order.order method)": [[22, "entities.order.Order.is_canceled", false]], "is_filled() (entities.order.order method)": [[22, "entities.order.Order.is_filled", false]], "is_market_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.is_market_open", false]], "is_market_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id3", false], [12, "lumibot.brokers.alpaca.Alpaca.is_market_open", false]], "is_option() (entities.order.order method)": [[22, "entities.order.Order.is_option", false]], "is_parent() (entities.order.order method)": [[22, "entities.order.Order.is_parent", false]], "is_sell_order() (entities.order.order method)": [[22, "entities.order.Order.is_sell_order", false]], "is_valid() (entities.asset.asset method)": [[19, "entities.asset.Asset.is_valid", false]], "iter_index (entities.data.data attribute)": [[21, "entities.data.Data.iter_index", false]], "last_on_trading_iteration_datetime (lumibot.strategies.strategy.strategy property)": [[171, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false], [186, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false]], "limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.LIMIT", false]], "limit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.limit_order", false]], "load_data() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.load_data", false]], "localize_datetime() (in module lumibot.strategies.strategy.strategy)": [[90, "lumibot.strategies.strategy.Strategy.localize_datetime", false], [99, "lumibot.strategies.strategy.Strategy.localize_datetime", false]], "localize_datetime() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.localize_datetime", false]], "log_message() (in module lumibot.strategies.strategy.strategy)": [[105, "lumibot.strategies.strategy.Strategy.log_message", false], [116, "lumibot.strategies.strategy.Strategy.log_message", false]], "lumibot.backtesting.backtesting_broker": [[43, "module-lumibot.backtesting.backtesting_broker", false]], "lumibot.brokers.alpaca": [[12, "module-lumibot.brokers.alpaca", false]], "lumibot.data_sources": [[44, "module-lumibot.data_sources", false]], "lumibot.data_sources.data_source": [[44, "module-lumibot.data_sources.data_source", false]], "lumibot.data_sources.data_source_backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting", false]], "lumibot.data_sources.pandas_data": [[44, "module-lumibot.data_sources.pandas_data", false]], "lumibot.data_sources.yahoo_data": [[44, "module-lumibot.data_sources.yahoo_data", false]], "lumibot.strategies.strategy.strategy": [[45, "module-lumibot.strategies.strategy.Strategy", false]], "lumibot.traders.trader": [[46, "module-lumibot.traders.trader", false]], "map_asset_type() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.map_asset_type", false]], "market (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.MARKET", false]], "min_timestep (entities.data.data attribute)": [[21, "entities.data.Data.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.MIN_TIMESTEP", false]], "minutes_before_closing (lumibot.strategies.strategy.strategy property)": [[172, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false], [187, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false]], "minutes_before_opening (lumibot.strategies.strategy.strategy property)": [[173, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false], [188, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false]], "module": [[12, "module-lumibot.brokers.alpaca", false], [19, "module-entities.asset", false], [20, "module-entities.bars", false], [21, "module-entities.data", false], [22, "module-entities.order", false], [23, "module-entities.position", false], [24, "module-entities.trading_fee", false], [43, "module-lumibot.backtesting.backtesting_broker", false], [43, "module-lumibot.data_sources.data_source_backtesting", false], [44, "module-lumibot.data_sources", false], [44, "module-lumibot.data_sources.data_source", false], [44, "module-lumibot.data_sources.pandas_data", false], [44, "module-lumibot.data_sources.yahoo_data", false], [45, "module-lumibot.strategies.strategy.Strategy", false], [46, "module-lumibot.traders.trader", false]], "multileg (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.MULTILEG", false]], "multiplier (entities.asset.asset attribute)": [[19, "entities.asset.Asset.multiplier", false], [19, "id3", false]], "name (lumibot.strategies.strategy.strategy property)": [[174, "lumibot.strategies.strategy.Strategy.name", false], [189, "lumibot.strategies.strategy.Strategy.name", false]], "new (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.NEW", false]], "nobardatafound": [[20, "entities.bars.NoBarDataFound", false]], "oco (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OCO", false]], "oco (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OCO", false]], "on_abrupt_closing() (in module lumibot.strategies.strategy.strategy)": [[33, "lumibot.strategies.strategy.Strategy.on_abrupt_closing", false]], "on_bot_crash() (in module lumibot.strategies.strategy.strategy)": [[34, "lumibot.strategies.strategy.Strategy.on_bot_crash", false]], "on_canceled_order() (in module lumibot.strategies.strategy.strategy)": [[35, "lumibot.strategies.strategy.Strategy.on_canceled_order", false]], "on_filled_order() (in module lumibot.strategies.strategy.strategy)": [[36, "lumibot.strategies.strategy.Strategy.on_filled_order", false]], "on_new_order() (in module lumibot.strategies.strategy.strategy)": [[37, "lumibot.strategies.strategy.Strategy.on_new_order", false]], "on_parameters_updated() (in module lumibot.strategies.strategy.strategy)": [[38, "lumibot.strategies.strategy.Strategy.on_parameters_updated", false]], "on_partially_filled_order() (in module lumibot.strategies.strategy.strategy)": [[39, "lumibot.strategies.strategy.Strategy.on_partially_filled_order", false]], "on_trading_iteration() (in module lumibot.strategies.strategy.strategy)": [[40, "lumibot.strategies.strategy.Strategy.on_trading_iteration", false]], "open (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.OPEN", false]], "option (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.OPTION", false]], "options_expiry_to_datetime_date() (in module lumibot.strategies.strategy.strategy)": [[132, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false], [141, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false]], "order (class in entities.order)": [[22, "entities.order.Order", false]], "order.orderclass (class in entities.order)": [[22, "entities.order.Order.OrderClass", false]], "order.orderside (class in entities.order)": [[22, "entities.order.Order.OrderSide", false]], "order.orderstatus (class in entities.order)": [[22, "entities.order.Order.OrderStatus", false]], "order.ordertype (class in entities.order)": [[22, "entities.order.Order.OrderType", false]], "order.transaction (class in entities.order)": [[22, "entities.order.Order.Transaction", false]], "orderdata (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.OrderData", false]], "orders (entities.position.position attribute)": [[23, "entities.position.Position.orders", false]], "oto (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OTO", false]], "oto (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OTO", false]], "pandasdata (class in lumibot.data_sources.pandas_data)": [[44, "lumibot.data_sources.pandas_data.PandasData", false]], "parse_bar_list() (entities.bars.bars class method)": [[20, "entities.bars.Bars.parse_bar_list", false]], "partially_filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.PARTIALLY_FILLED", false]], "portfolio_value (lumibot.strategies.strategy.strategy property)": [[175, "lumibot.strategies.strategy.Strategy.portfolio_value", false], [190, "lumibot.strategies.strategy.Strategy.portfolio_value", false]], "position (class in entities.position)": [[23, "entities.position.Position", false]], "precision (entities.asset.asset attribute)": [[19, "entities.asset.Asset.precision", false], [19, "id4", false]], "price (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.price", false]], "process_expired_option_contracts() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_expired_option_contracts", false]], "process_pending_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_pending_orders", false]], "put (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.PUT", false]], "pytz (lumibot.strategies.strategy.strategy property)": [[176, "lumibot.strategies.strategy.Strategy.pytz", false], [181, "lumibot.strategies.strategy.Strategy.pytz", false], [191, "lumibot.strategies.strategy.Strategy.pytz", false]], "quantity (entities.order.order property)": [[22, "entities.order.Order.quantity", false]], "quantity (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.quantity", false]], "quantity (entities.position.position attribute)": [[23, "entities.position.Position.quantity", false]], "quantity (entities.position.position property)": [[23, "id2", false]], "query_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.query_greeks", false]], "quote_asset (lumibot.strategies.strategy.strategy property)": [[177, "lumibot.strategies.strategy.Strategy.quote_asset", false], [192, "lumibot.strategies.strategy.Strategy.quote_asset", false]], "repair_times_and_fill() (entities.data.data method)": [[21, "entities.data.Data.repair_times_and_fill", false], [21, "id5", false]], "right (entities.asset.asset attribute)": [[19, "entities.asset.Asset.right", false], [19, "id5", false]], "right_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.right_must_be_one_of", false], [19, "id6", false]], "run_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all", false]], "run_all_async() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all_async", false]], "run_backtest() (in module lumibot.strategies.strategy.strategy)": [[1, "lumibot.strategies.strategy.Strategy.run_backtest", false]], "sell (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL", false]], "sell_all() (in module lumibot.strategies.strategy.strategy)": [[151, "lumibot.strategies.strategy.Strategy.sell_all", false], [162, "lumibot.strategies.strategy.Strategy.sell_all", false]], "sell_short (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_SHORT", false]], "sell_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_CLOSE", false]], "sell_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_OPEN", false]], "set_canceled() (entities.order.order method)": [[22, "entities.order.Order.set_canceled", false]], "set_date_format() (entities.data.data method)": [[21, "entities.data.Data.set_date_format", false], [21, "id6", false]], "set_dates() (entities.data.data method)": [[21, "entities.data.Data.set_dates", false], [21, "id7", false]], "set_error() (entities.order.order method)": [[22, "entities.order.Order.set_error", false]], "set_filled() (entities.order.order method)": [[22, "entities.order.Order.set_filled", false]], "set_identifier() (entities.order.order method)": [[22, "entities.order.Order.set_identifier", false]], "set_market() (in module lumibot.strategies.strategy.strategy)": [[106, "lumibot.strategies.strategy.Strategy.set_market", false], [117, "lumibot.strategies.strategy.Strategy.set_market", false]], "set_new() (entities.order.order method)": [[22, "entities.order.Order.set_new", false]], "set_parameters() (in module lumibot.strategies.strategy.strategy)": [[54, "lumibot.strategies.strategy.Strategy.set_parameters", false], [60, "lumibot.strategies.strategy.Strategy.set_parameters", false]], "set_partially_filled() (entities.order.order method)": [[22, "entities.order.Order.set_partially_filled", false]], "set_times() (entities.data.data method)": [[21, "entities.data.Data.set_times", false], [21, "id8", false]], "should_continue() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.should_continue", false]], "sleep() (in module lumibot.strategies.strategy.strategy)": [[107, "lumibot.strategies.strategy.Strategy.sleep", false], [118, "lumibot.strategies.strategy.Strategy.sleep", false]], "sleeptime (lumibot.strategies.strategy.strategy property)": [[178, "lumibot.strategies.strategy.Strategy.sleeptime", false], [193, "lumibot.strategies.strategy.Strategy.sleeptime", false]], "source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.SOURCE", false]], "source (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.SOURCE", false]], "source (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.SOURCE", false]], "split() (entities.bars.bars method)": [[20, "entities.bars.Bars.split", false]], "start_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[81, "lumibot.strategies.strategy.Strategy.start_realtime_bars", false]], "status (entities.order.order property)": [[22, "entities.order.Order.status", false]], "stock (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.STOCK", false]], "stop (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP", false]], "stop_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.stop_all", false]], "stop_limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP_LIMIT", false]], "stop_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.stop_order", false]], "strategy (entities.position.position attribute)": [[23, "entities.position.Position.strategy", false]], "strike (entities.asset.asset attribute)": [[19, "entities.asset.Asset.strike", false], [19, "id7", false]], "submit_order() (in module lumibot.strategies.strategy.strategy)": [[152, "lumibot.strategies.strategy.Strategy.submit_order", false], [163, "lumibot.strategies.strategy.Strategy.submit_order", false]], "submit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_order", false]], "submit_orders() (in module lumibot.strategies.strategy.strategy)": [[153, "lumibot.strategies.strategy.Strategy.submit_orders", false], [164, "lumibot.strategies.strategy.Strategy.submit_orders", false]], "submit_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_orders", false]], "submitted (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.SUBMITTED", false]], "sybmol (entities.data.data attribute)": [[21, "entities.data.Data.sybmol", false]], "symbol (entities.asset.asset attribute)": [[19, "entities.asset.Asset.symbol", false], [19, "id8", false]], "symbol (entities.position.position attribute)": [[23, "entities.position.Position.symbol", false]], "symbol2asset() (entities.asset.asset class method)": [[19, "entities.asset.Asset.symbol2asset", false]], "timestep (entities.data.data attribute)": [[21, "entities.data.Data.timestep", false]], "timestep_mapping (entities.data.data attribute)": [[21, "entities.data.Data.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.TIMESTEP_MAPPING", false]], "timezone (lumibot.strategies.strategy.strategy property)": [[179, "lumibot.strategies.strategy.Strategy.timezone", false], [194, "lumibot.strategies.strategy.Strategy.timezone", false]], "to_datalines() (entities.data.data method)": [[21, "entities.data.Data.to_datalines", false], [21, "id9", false]], "to_default_timezone() (in module lumibot.strategies.strategy.strategy)": [[91, "lumibot.strategies.strategy.Strategy.to_default_timezone", false], [100, "lumibot.strategies.strategy.Strategy.to_default_timezone", false]], "to_default_timezone() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.to_default_timezone", false]], "to_dict() (entities.asset.asset method)": [[19, "entities.asset.Asset.to_dict", false]], "to_dict() (entities.order.order method)": [[22, "entities.order.Order.to_dict", false]], "to_dict() (entities.position.position method)": [[23, "entities.position.Position.to_dict", false]], "to_position() (entities.order.order method)": [[22, "entities.order.Order.to_position", false]], "to_request_fields() (lumibot.brokers.alpaca.orderdata method)": [[12, "lumibot.brokers.alpaca.OrderData.to_request_fields", false]], "trace_stats() (in module lumibot.strategies.strategy.strategy)": [[42, "lumibot.strategies.strategy.Strategy.trace_stats", false]], "trader (class in lumibot.traders.trader)": [[46, "lumibot.traders.trader.Trader", false]], "trading_hours_end (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_end", false]], "trading_hours_start (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_start", false]], "tradingfee (class in entities.trading_fee)": [[24, "entities.trading_fee.TradingFee", false]], "trail (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.TRAIL", false]], "trim_data() (entities.data.data method)": [[21, "entities.data.Data.trim_data", false], [21, "id10", false]], "underlying_asset (entities.asset.asset attribute)": [[19, "entities.asset.Asset.underlying_asset", false]], "unprocessed (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.UNPROCESSED", false]], "unspent_money (lumibot.strategies.strategy.strategy property)": [[180, "lumibot.strategies.strategy.Strategy.unspent_money", false], [195, "lumibot.strategies.strategy.Strategy.unspent_money", false]], "update_date_index() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.update_date_index", false]], "update_parameters() (in module lumibot.strategies.strategy.strategy)": [[108, "lumibot.strategies.strategy.Strategy.update_parameters", false], [119, "lumibot.strategies.strategy.Strategy.update_parameters", false]], "update_raw() (entities.order.order method)": [[22, "entities.order.Order.update_raw", false]], "update_trail_stop_price() (entities.order.order method)": [[22, "entities.order.Order.update_trail_stop_price", false]], "value_type() (entities.position.position method)": [[23, "entities.position.Position.value_type", false]], "wait_for_order_execution() (in module lumibot.strategies.strategy.strategy)": [[109, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false], [120, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false]], "wait_for_order_registration() (in module lumibot.strategies.strategy.strategy)": [[110, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false], [121, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false]], "wait_for_orders_execution() (in module lumibot.strategies.strategy.strategy)": [[111, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false], [122, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false]], "wait_for_orders_registration() (in module lumibot.strategies.strategy.strategy)": [[112, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false], [123, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false]], "wait_to_be_closed() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_closed", false]], "wait_to_be_registered() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_registered", false]], "was_transmitted() (entities.order.order method)": [[22, "entities.order.Order.was_transmitted", false]], "yahoodata (class in lumibot.data_sources.yahoo_data)": [[44, "lumibot.data_sources.yahoo_data.YahooData", false]]}, "objects": {"entities": [[19, 0, 0, "-", "asset"], [20, 0, 0, "-", "bars"], [21, 0, 0, "-", "data"], [22, 0, 0, "-", "order"], [23, 0, 0, "-", "position"], [24, 0, 0, "-", "trading_fee"]], "entities.asset": [[19, 1, 1, "", "Asset"], [19, 1, 1, "", "AssetsMapping"]], "entities.asset.Asset": [[19, 1, 1, "", "AssetType"], [19, 1, 1, "", "OptionRight"], [19, 2, 1, "", "_asset_types"], [19, 2, 1, "", "_right"], [19, 2, 1, "id0", "asset_type"], [19, 3, 1, "id1", "asset_type_must_be_one_of"], [19, 2, 1, "id2", "expiration"], [19, 3, 1, "", "from_dict"], [19, 3, 1, "", "is_valid"], [19, 2, 1, "id3", "multiplier"], [19, 2, 1, "id4", "precision"], [19, 2, 1, "id5", "right"], [19, 3, 1, "id6", "right_must_be_one_of"], [19, 2, 1, "id7", "strike"], [19, 2, 1, "id8", "symbol"], [19, 3, 1, "", "symbol2asset"], [19, 3, 1, "", "to_dict"], [19, 2, 1, "", "underlying_asset"]], "entities.asset.Asset.AssetType": [[19, 2, 1, "", "CRYPTO"], [19, 2, 1, "", "FOREX"], [19, 2, 1, "", "FUTURE"], [19, 2, 1, "", "INDEX"], [19, 2, 1, "", "OPTION"], [19, 2, 1, "", "STOCK"]], "entities.asset.Asset.OptionRight": [[19, 2, 1, "", "CALL"], [19, 2, 1, "", "PUT"]], "entities.bars": [[20, 1, 1, "", "Bars"], [20, 4, 1, "", "NoBarDataFound"]], "entities.bars.Bars": [[20, 3, 1, "id0", "aggregate_bars"], [20, 3, 1, "", "filter"], [20, 3, 1, "id1", "get_last_dividend"], [20, 3, 1, "id2", "get_last_price"], [20, 3, 1, "id3", "get_momentum"], [20, 3, 1, "", "get_total_dividends"], [20, 3, 1, "", "get_total_return"], [20, 3, 1, "", "get_total_return_pct"], [20, 3, 1, "", "get_total_return_pct_change"], [20, 3, 1, "", "get_total_stock_splits"], [20, 3, 1, "id4", "get_total_volume"], [20, 3, 1, "", "parse_bar_list"], [20, 3, 1, "", "split"]], "entities.data": [[21, 1, 1, "", "Data"]], "entities.data.Data": [[21, 2, 1, "", "MIN_TIMESTEP"], [21, 2, 1, "", "TIMESTEP_MAPPING"], [21, 3, 1, "", "_get_bars_dict"], [21, 2, 1, "", "asset"], [21, 3, 1, "id0", "check_data"], [21, 3, 1, "id1", "columns"], [21, 2, 1, "", "datalines"], [21, 2, 1, "", "date_end"], [21, 2, 1, "", "date_start"], [21, 2, 1, "", "df"], [21, 3, 1, "id2", "get_bars"], [21, 3, 1, "", "get_bars_between_dates"], [21, 3, 1, "id3", "get_iter_count"], [21, 3, 1, "id4", "get_last_price"], [21, 3, 1, "", "get_quote"], [21, 2, 1, "", "iter_index"], [21, 3, 1, "id5", "repair_times_and_fill"], [21, 3, 1, "id6", "set_date_format"], [21, 3, 1, "id7", "set_dates"], [21, 3, 1, "id8", "set_times"], [21, 2, 1, "", "sybmol"], [21, 2, 1, "", "timestep"], [21, 3, 1, "id9", "to_datalines"], [21, 2, 1, "", "trading_hours_end"], [21, 2, 1, "", "trading_hours_start"], [21, 3, 1, "id10", "trim_data"]], "entities.order": [[22, 1, 1, "", "Order"]], "entities.order.Order": [[22, 1, 1, "", "OrderClass"], [22, 1, 1, "", "OrderSide"], [22, 1, 1, "", "OrderStatus"], [22, 1, 1, "", "OrderType"], [22, 1, 1, "", "Transaction"], [22, 3, 1, "", "add_child_order"], [22, 3, 1, "", "add_transaction"], [22, 5, 1, "", "avg_fill_price"], [22, 3, 1, "", "cash_pending"], [22, 3, 1, "", "equivalent_status"], [22, 3, 1, "", "from_dict"], [22, 3, 1, "", "get_fill_price"], [22, 3, 1, "", "get_increment"], [22, 3, 1, "", "is_active"], [22, 3, 1, "", "is_buy_order"], [22, 3, 1, "", "is_canceled"], [22, 3, 1, "", "is_filled"], [22, 3, 1, "", "is_option"], [22, 3, 1, "", "is_parent"], [22, 3, 1, "", "is_sell_order"], [22, 5, 1, "", "quantity"], [22, 3, 1, "", "set_canceled"], [22, 3, 1, "", "set_error"], [22, 3, 1, "", "set_filled"], [22, 3, 1, "", "set_identifier"], [22, 3, 1, "", "set_new"], [22, 3, 1, "", "set_partially_filled"], [22, 5, 1, "", "status"], [22, 3, 1, "", "to_dict"], [22, 3, 1, "", "to_position"], [22, 3, 1, "", "update_raw"], [22, 3, 1, "", "update_trail_stop_price"], [22, 3, 1, "", "wait_to_be_closed"], [22, 3, 1, "", "wait_to_be_registered"], [22, 3, 1, "", "was_transmitted"]], "entities.order.Order.OrderClass": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "MULTILEG"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"]], "entities.order.Order.OrderSide": [[22, 2, 1, "", "BUY"], [22, 2, 1, "", "BUY_TO_CLOSE"], [22, 2, 1, "", "BUY_TO_COVER"], [22, 2, 1, "", "BUY_TO_OPEN"], [22, 2, 1, "", "SELL"], [22, 2, 1, "", "SELL_SHORT"], [22, 2, 1, "", "SELL_TO_CLOSE"], [22, 2, 1, "", "SELL_TO_OPEN"]], "entities.order.Order.OrderStatus": [[22, 2, 1, "", "CANCELED"], [22, 2, 1, "", "CANCELLING"], [22, 2, 1, "", "CASH_SETTLED"], [22, 2, 1, "", "ERROR"], [22, 2, 1, "", "EXPIRED"], [22, 2, 1, "", "FILLED"], [22, 2, 1, "", "NEW"], [22, 2, 1, "", "OPEN"], [22, 2, 1, "", "PARTIALLY_FILLED"], [22, 2, 1, "", "SUBMITTED"], [22, 2, 1, "", "UNPROCESSED"]], "entities.order.Order.OrderType": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "LIMIT"], [22, 2, 1, "", "MARKET"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"], [22, 2, 1, "", "STOP"], [22, 2, 1, "", "STOP_LIMIT"], [22, 2, 1, "", "TRAIL"]], "entities.order.Order.Transaction": [[22, 2, 1, "", "price"], [22, 2, 1, "", "quantity"]], "entities.position": [[23, 1, 1, "", "Position"]], "entities.position.Position": [[23, 3, 1, "", "add_order"], [23, 2, 1, "", "asset"], [23, 5, 1, "id0", "available"], [23, 2, 1, "", "avg_fill_price"], [23, 3, 1, "", "from_dict"], [23, 3, 1, "", "get_selling_order"], [23, 5, 1, "id1", "hold"], [23, 2, 1, "", "orders"], [23, 5, 1, "id2", "quantity"], [23, 2, 1, "", "strategy"], [23, 2, 1, "", "symbol"], [23, 3, 1, "", "to_dict"], [23, 3, 1, "", "value_type"]], "entities.trading_fee": [[24, 1, 1, "", "TradingFee"]], "lumibot": [[44, 0, 0, "-", "data_sources"]], "lumibot.backtesting": [[43, 0, 0, "-", "backtesting_broker"]], "lumibot.backtesting.backtesting_broker": [[43, 1, 1, "", "BacktestingBroker"]], "lumibot.backtesting.backtesting_broker.BacktestingBroker": [[43, 2, 1, "", "IS_BACKTESTING_BROKER"], [43, 3, 1, "", "calculate_trade_cost"], [43, 3, 1, "", "cancel_order"], [43, 3, 1, "", "cash_settle_options_contract"], [43, 5, 1, "", "datetime"], [43, 3, 1, "", "get_historical_account_value"], [43, 3, 1, "", "get_last_bar"], [43, 3, 1, "", "get_time_to_close"], [43, 3, 1, "", "get_time_to_open"], [43, 3, 1, "", "is_market_open"], [43, 3, 1, "", "limit_order"], [43, 3, 1, "", "process_expired_option_contracts"], [43, 3, 1, "", "process_pending_orders"], [43, 3, 1, "", "should_continue"], [43, 3, 1, "", "stop_order"], [43, 3, 1, "", "submit_order"], [43, 3, 1, "", "submit_orders"]], "lumibot.brokers": [[12, 0, 0, "-", "alpaca"]], "lumibot.brokers.alpaca": [[12, 1, 1, "", "Alpaca"], [12, 1, 1, "", "OrderData"]], "lumibot.brokers.alpaca.Alpaca": [[12, 2, 1, "", "ASSET_TYPE_MAP"], [12, 2, 1, "", "api"], [12, 3, 1, "", "cancel_order"], [12, 3, 1, "", "get_historical_account_value"], [12, 3, 1, "id0", "get_time_to_close"], [12, 3, 1, "id1", "get_time_to_open"], [12, 3, 1, "id2", "get_timestamp"], [12, 3, 1, "id3", "is_market_open"], [12, 3, 1, "", "map_asset_type"]], "lumibot.brokers.alpaca.OrderData": [[12, 3, 1, "", "to_request_fields"]], "lumibot.data_sources": [[44, 0, 0, "-", "data_source"], [43, 0, 0, "-", "data_source_backtesting"], [44, 0, 0, "-", "pandas_data"], [44, 0, 0, "-", "yahoo_data"]], "lumibot.data_sources.data_source": [[44, 1, 1, "", "DataSource"]], "lumibot.data_sources.data_source.DataSource": [[44, 2, 1, "", "DEFAULT_PYTZ"], [44, 2, 1, "", "DEFAULT_TIMEZONE"], [44, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "calculate_greeks"], [44, 3, 1, "", "convert_timestep_str_to_timedelta"], [44, 3, 1, "", "get_bars"], [44, 3, 1, "", "get_chain_full_info"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_datetime"], [44, 3, 1, "", "get_datetime_range"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_day"], [44, 3, 1, "", "get_last_minute"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_round_day"], [44, 3, 1, "", "get_round_minute"], [44, 3, 1, "", "get_strikes"], [44, 3, 1, "", "get_timestamp"], [44, 3, 1, "", "get_timestep"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "localize_datetime"], [44, 3, 1, "", "query_greeks"], [44, 3, 1, "", "to_default_timezone"]], "lumibot.data_sources.data_source_backtesting": [[43, 1, 1, "", "DataSourceBacktesting"]], "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting": [[43, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [43, 3, 1, "", "get_datetime"], [43, 3, 1, "", "get_datetime_range"]], "lumibot.data_sources.pandas_data": [[44, 1, 1, "", "PandasData"]], "lumibot.data_sources.pandas_data.PandasData": [[44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "clean_trading_times"], [44, 3, 1, "", "find_asset_in_data_store"], [44, 3, 1, "", "get_asset_by_name"], [44, 3, 1, "", "get_asset_by_symbol"], [44, 3, 1, "", "get_assets"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_start_datetime_and_ts_unit"], [44, 3, 1, "", "get_trading_days_pandas"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "load_data"], [44, 3, 1, "", "update_date_index"]], "lumibot.data_sources.yahoo_data": [[44, 1, 1, "", "YahooData"]], "lumibot.data_sources.yahoo_data.YahooData": [[44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_strikes"]], "lumibot.strategies.strategy": [[45, 0, 0, "-", "Strategy"]], "lumibot.strategies.strategy.Strategy": [[66, 6, 1, "", "add_line"], [67, 6, 1, "", "add_marker"], [28, 6, 1, "", "after_market_closes"], [113, 6, 1, "", "await_market_to_close"], [114, 6, 1, "", "await_market_to_open"], [29, 6, 1, "", "before_market_closes"], [30, 6, 1, "", "before_market_opens"], [31, 6, 1, "", "before_starting_trading"], [154, 6, 1, "", "cancel_open_orders"], [155, 6, 1, "", "cancel_order"], [156, 6, 1, "", "cancel_orders"], [71, 6, 1, "", "cancel_realtime_bars"], [182, 5, 1, "", "cash"], [157, 6, 1, "", "create_order"], [183, 5, 1, "", "first_iteration"], [158, 6, 1, "", "get_asset_potential_total"], [55, 6, 1, "", "get_cash"], [133, 6, 1, "", "get_chain"], [134, 6, 1, "", "get_chains"], [92, 6, 1, "", "get_datetime"], [93, 6, 1, "", "get_datetime_range"], [135, 6, 1, "", "get_expiration"], [136, 6, 1, "", "get_greeks"], [72, 6, 1, "", "get_historical_prices"], [73, 6, 1, "", "get_historical_prices_for_assets"], [94, 6, 1, "", "get_last_day"], [95, 6, 1, "", "get_last_minute"], [74, 6, 1, "", "get_last_price"], [75, 6, 1, "", "get_last_prices"], [68, 6, 1, "", "get_lines_df"], [69, 6, 1, "", "get_markers_df"], [137, 6, 1, "", "get_multiplier"], [138, 6, 1, "", "get_next_trading_day"], [139, 6, 1, "", "get_option_expiration_after_date"], [159, 6, 1, "", "get_order"], [160, 6, 1, "", "get_orders"], [115, 6, 1, "", "get_parameters"], [57, 6, 1, "", "get_portfolio_value"], [58, 6, 1, "", "get_position"], [59, 6, 1, "", "get_positions"], [77, 6, 1, "", "get_quote"], [78, 6, 1, "", "get_realtime_bars"], [96, 6, 1, "", "get_round_day"], [97, 6, 1, "", "get_round_minute"], [161, 6, 1, "", "get_selling_order"], [140, 6, 1, "", "get_strikes"], [98, 6, 1, "", "get_timestamp"], [79, 6, 1, "", "get_yesterday_dividend"], [80, 6, 1, "", "get_yesterday_dividends"], [184, 5, 1, "", "initial_budget"], [32, 6, 1, "", "initialize"], [185, 5, 1, "", "is_backtesting"], [186, 5, 1, "", "last_on_trading_iteration_datetime"], [99, 6, 1, "", "localize_datetime"], [116, 6, 1, "", "log_message"], [187, 5, 1, "", "minutes_before_closing"], [188, 5, 1, "", "minutes_before_opening"], [189, 5, 1, "", "name"], [33, 6, 1, "", "on_abrupt_closing"], [34, 6, 1, "", "on_bot_crash"], [35, 6, 1, "", "on_canceled_order"], [36, 6, 1, "", "on_filled_order"], [37, 6, 1, "", "on_new_order"], [38, 6, 1, "", "on_parameters_updated"], [39, 6, 1, "", "on_partially_filled_order"], [40, 6, 1, "", "on_trading_iteration"], [141, 6, 1, "", "options_expiry_to_datetime_date"], [190, 5, 1, "", "portfolio_value"], [191, 5, 1, "", "pytz"], [192, 5, 1, "", "quote_asset"], [1, 6, 1, "", "run_backtest"], [162, 6, 1, "", "sell_all"], [117, 6, 1, "", "set_market"], [60, 6, 1, "", "set_parameters"], [118, 6, 1, "", "sleep"], [193, 5, 1, "", "sleeptime"], [81, 6, 1, "", "start_realtime_bars"], [163, 6, 1, "", "submit_order"], [164, 6, 1, "", "submit_orders"], [194, 5, 1, "", "timezone"], [100, 6, 1, "", "to_default_timezone"], [42, 6, 1, "", "trace_stats"], [195, 5, 1, "", "unspent_money"], [119, 6, 1, "", "update_parameters"], [120, 6, 1, "", "wait_for_order_execution"], [121, 6, 1, "", "wait_for_order_registration"], [122, 6, 1, "", "wait_for_orders_execution"], [123, 6, 1, "", "wait_for_orders_registration"]], "lumibot.traders": [[46, 0, 0, "-", "trader"]], "lumibot.traders.trader": [[46, 1, 1, "", "Trader"]], "lumibot.traders.trader.Trader": [[46, 3, 1, "", "add_strategy"], [46, 5, 1, "", "is_backtest_broker"], [46, 3, 1, "", "run_all"], [46, 3, 1, "", "run_all_async"], [46, 3, 1, "", "stop_all"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "attribute", "Python attribute"], "3": ["py", "method", "Python method"], "4": ["py", "exception", "Python exception"], "5": ["py", "property", "Python property"], "6": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:attribute", "3": "py:method", "4": "py:exception", "5": "py:property", "6": "py:function"}, "terms": {"": [2, 3, 6, 7, 8, 13, 14, 16, 17, 18, 21, 25, 26, 38, 41, 46, 52, 58, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 94, 95, 96, 97, 98, 99, 100, 128, 136, 147, 158, 165, 178, 193, 196], "0": [13, 15, 17, 19, 21, 22, 23, 24, 25, 32, 42, 43, 44, 87, 88, 96, 97, 146, 152, 153, 157, 163, 164, 173, 188, 196], "00": [5, 44, 110, 121, 146, 152, 153, 157, 163, 164, 196], "000": [13, 25, 26], "0000": 5, "0001": 21, "000234": 12, "01": [5, 6, 8, 20, 25, 146, 147, 152, 157, 158, 163], "02": [5, 20], "04": [5, 44], "05": [6, 8, 146, 157, 196], "07": [44, 125, 126, 133, 134], "0830": 12, "09": 5, "0930": 12, "1": [1, 2, 5, 6, 7, 8, 10, 12, 13, 15, 16, 17, 19, 20, 21, 22, 31, 44, 72, 73, 84, 90, 91, 93, 99, 100, 128, 136, 139, 146, 152, 153, 157, 163, 164, 178, 193, 196], "10": [2, 6, 8, 13, 17, 19, 20, 32, 40, 44, 63, 67, 82, 127, 135, 152, 153, 163, 164, 165, 172, 173, 178, 187, 188, 193, 196], "100": [1, 5, 12, 13, 16, 19, 20, 25, 26, 32, 42, 44, 72, 73, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 128, 133, 134, 136, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164], "10000": [13, 25], "100000": 5, "102": 196, "10439": 5, "10m": [32, 178, 193], "11": [10, 17, 19, 26], "12": [10, 17, 19, 25, 26, 74], "123456": 17, "123456789": 17, "127": [15, 17], "13": [17, 127, 135], "14": [17, 196], "1400": 12, "15": [5, 17, 20, 32, 44, 72, 73], "155": 19, "15m": 44, "15min": 20, "16": [17, 74], "1600": 12, "1612172730": 12, "16808": 5, "17": [17, 19, 32], "18": 19, "180": 25, "180m": 25, "19": 44, "1990": 82, "1991": 82, "1d": [2, 6, 8, 20, 21, 40, 44], "1dai": 44, "1h": [20, 40], "1hour": 44, "1m": [5, 21, 44], "1minut": 44, "1month": [72, 73], "2": [2, 6, 17, 22, 30, 32, 62, 66, 72, 73, 111, 112, 122, 123, 153, 164, 178, 193], "20": [12, 13, 22, 32, 43, 165], "200": [1, 12, 36, 44, 73, 111, 112, 122, 123, 153, 164], "2018": [1, 20], "2019": [146, 157], "2020": [5, 10, 25, 26, 72, 90, 91, 99, 100, 147, 152, 158, 163], "20200101": [132, 141], "2021": [19, 32, 128, 136, 139], "2022": [74, 127, 135], "20221013": [129, 137], "2023": [2, 6, 8, 44, 125, 126, 133, 134, 196], "20h": 32, "213": [146, 157], "22": 5, "23": 21, "2359": [5, 21], "24": [13, 17, 32, 106, 117], "24h": 72, "25": [5, 17], "26": 19, "2793": 5, "2794": 5, "2796": 5, "2800": 5, "2d": [32, 178, 193], "2fa": 14, "2h": [178, 193], "3": [2, 12, 17, 146, 157], "30": [13, 40, 72, 73, 81, 196], "300": [36, 178, 193], "30am": 13, "31": [1, 5, 10, 25, 26, 44, 125, 126, 133, 134], "32": 5, "3233": 5, "3234": 5, "3235": 5, "3237": 5, "33": 5, "3306": [], "4": [2, 17, 26, 147, 158], "400": 22, "405": 22, "41000": [146, 157], "41250": [152, 163], "41300": [152, 163], "41325": [152, 163], "41d4": [], "420": 22, "446655440000": [], "48": 32, "5": [1, 2, 5, 6, 8, 17, 26, 32, 44, 72, 73, 106, 107, 117, 118, 146, 157, 165, 172, 178, 187, 193, 196], "50": [5, 22, 32, 146, 157, 178, 193], "500": [22, 36], "512000000": 17, "5432": 196, "55": 13, "550e8400": 196, "56": 5, "57": 5, "58": 5, "59": 21, "5d": 5, "5m": [32, 178, 193], "6": [17, 19, 26], "60": [1, 20, 173, 188], "600": 12, "7": [12, 13, 17, 26, 32, 106, 117], "7440": 5, "7496": 15, "7497": [15, 17], "75": 5, "7569": 5, "8": [17, 26], "80": [62, 66], "8000": [14, 17], "8203": 5, "8272": 5, "9": [13, 17, 32], "999": 15, "9wgjls3wixq54fcphwwzjcp8jcfjfkuwsryskkma": 17, "A": [1, 5, 7, 10, 12, 14, 22, 26, 44, 46, 52, 53, 58, 59, 77, 84, 93, 146, 153, 157, 164, 196], "And": [25, 72, 73], "As": [6, 8, 17], "At": [14, 25], "Be": 14, "By": [2, 17, 26, 34, 128, 136, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194], "For": [1, 2, 3, 5, 7, 10, 13, 14, 17, 19, 20, 22, 26, 28, 44, 49, 51, 55, 57, 109, 110, 111, 112, 120, 121, 122, 123, 146, 152, 153, 157, 163, 164, 165], "If": [1, 5, 6, 8, 12, 13, 14, 16, 17, 20, 21, 25, 26, 30, 32, 36, 40, 44, 72, 73, 74, 81, 102, 103, 105, 113, 114, 116, 131, 140, 143, 146, 151, 154, 157, 162], "In": [0, 6, 8, 13, 14, 17, 22, 43, 74, 75, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98], "It": [0, 4, 5, 6, 7, 8, 13, 15, 17, 19, 22, 23, 25, 26, 41, 43, 44, 74, 77, 146, 157], "NOT": 13, "Not": [43, 106, 117], "On": [14, 17], "One": [5, 17, 19, 22, 44, 146, 157], "Or": [25, 26, 165], "That": 16, "The": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 27, 28, 34, 35, 36, 37, 38, 39, 41, 43, 44, 45, 49, 50, 51, 54, 55, 56, 57, 60, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 104, 106, 108, 115, 117, 119, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 146, 147, 150, 151, 153, 157, 158, 161, 162, 164, 165, 167, 169, 171, 172, 173, 174, 175, 176, 177, 179, 181, 182, 184, 186, 187, 188, 189, 190, 191, 192, 194], "Their": 17, "Then": [5, 13, 16, 72], "There": [10, 11, 146, 157], "These": [0, 1, 2, 3, 4, 7, 10, 32, 45, 54, 60, 82], "To": [0, 6, 8, 10, 13, 14, 16, 17, 22, 25, 26, 72], "Will": [20, 25, 62, 63, 66, 67, 74, 75, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 151, 162, 176, 179, 181, 191, 194], "With": [2, 6, 8, 26], "_": [], "__getattr__": [], "__init__": [], "__main__": [2, 6, 8, 13], "__name__": [2, 6, 8, 13], "__setattr__": [], "_asset_typ": 19, "_get_bars_dict": 21, "_right": 19, "_vars_dict": [], "a716": [], "a7py0zidhxde6qkx8ojjknp7cd87hwku": 17, "aapl": [1, 2, 5, 6, 8, 10, 12, 16, 19, 20, 23, 26, 32, 35, 36, 37, 39, 72, 73, 145, 156], "aapl_pric": [10, 26], "abc": [43, 44], "abcdef1234567890abcdef1234567890abcdef1234": 17, "abl": 16, "about": [2, 9, 11, 26, 166], "abov": [2, 15, 19, 20, 32], "abrupt": 33, "abstract": [27, 41, 43, 44, 45], "accept": [5, 19], "access": [7, 14, 16, 17, 20, 25, 26, 165, 196], "access_token": 16, "accompani": 7, "accord": [82, 83, 89, 92, 98], "account": [2, 6, 8, 11, 12, 13, 15, 16, 17, 26, 43, 47, 49, 51, 53, 55, 57, 59, 61, 150, 161, 167, 182], "account_histori": 17, "account_id": [14, 17], "account_numb": 16, "accur": [20, 44], "achiev": [7, 22, 25, 26], "across": [2, 17], "act": 14, "action": [4, 17], "activ": [14, 17, 22, 26, 74, 75, 78, 152, 153, 163, 164], "activex": 15, "actual": [2, 13, 22, 41, 43, 175, 190], "ad": [5, 11, 13, 17, 19, 26, 72, 73], "add": [3, 5, 13, 14, 17, 19, 22, 25, 32, 43, 46, 62, 63, 66, 67], "add_chart_lin": [62, 66], "add_chart_mark": [63, 67], "add_child_ord": 22, "add_lin": [3, 26, 47], "add_mark": [3, 26, 47], "add_ord": 23, "add_strategi": [5, 12, 13, 14, 15, 16, 25, 26, 46], "add_transact": 22, "addit": [2, 14, 17, 19, 22, 146, 157], "addition": [5, 10, 20], "address": 17, "adjust": [1, 7, 14, 20, 21, 44], "adjust_for_delai": [43, 44, 83, 92], "advanc": [0, 2, 5, 25, 26, 146, 157], "advantag": [], "afa": 17, "affili": 6, "afford": 17, "after": [5, 6, 8, 13, 14, 17, 21, 26, 28, 30, 31, 40, 42, 44, 63, 67, 72, 76, 130, 138, 139, 196], "after_market_clos": [26, 27], "again": [40, 103, 114], "against": 26, "aggregate_bar": 20, "ago": [44, 72], "agre": 14, "aka": 5, "algorithm": [15, 17, 25], "alia": 22, "align": 17, "all": [1, 4, 5, 13, 17, 20, 21, 22, 25, 30, 33, 34, 43, 44, 45, 46, 51, 53, 57, 59, 72, 73, 125, 127, 128, 129, 131, 133, 135, 136, 137, 140, 143, 145, 146, 149, 150, 151, 154, 156, 157, 160, 161, 162, 165, 196], "all_vari": 196, "alloc": 10, "allow": [0, 2, 4, 5, 6, 8, 14, 17, 20, 22, 25, 26, 81, 146, 157, 165], "along": 9, "alpaca": [11, 20, 26, 72, 73], "alpaca_api_kei": 17, "alpaca_api_secret": 17, "alpaca_config": [12, 25, 26], "alpaca_is_pap": 17, "alpacastrategi": 12, "alreadi": [22, 30, 36, 41], "also": [5, 10, 15, 17, 22, 25, 26, 32, 43, 72, 146, 151, 157, 162, 166], "altern": 8, "alwai": [13, 30, 43, 106, 117, 167, 182], "america": [5, 20, 44, 176, 179, 181, 191, 194], "amount": [9, 13, 20, 22, 28, 44, 49, 51, 55, 57, 79, 80, 146, 157], "an": [0, 1, 2, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 19, 22, 23, 26, 34, 35, 36, 39, 40, 41, 43, 44, 52, 58, 72, 74, 75, 81, 102, 103, 105, 113, 114, 116, 126, 127, 131, 132, 134, 135, 140, 141, 144, 146, 147, 148, 152, 155, 157, 158, 159, 163, 165, 178, 193, 196], "analy": 26, "analysi": [2, 4, 13, 46], "analyt": 26, "analyz": 26, "ani": [0, 1, 2, 5, 6, 7, 8, 10, 13, 14, 15, 17, 21, 22, 25, 41, 43, 62, 66, 72, 73, 105, 116, 145, 156, 165], "annual": [7, 25, 26], "anoth": [], "another_var": [], "anyth": 10, "anytim": 19, "anywai": [], "api": [1, 2, 6, 8, 10, 12, 13, 14, 15, 16, 17, 20, 26, 44, 128, 136], "api_kei": [1, 12, 25, 26, 43, 44], "api_secret": [12, 25, 26], "apikei": 13, "appl": 23, "appli": [1, 17, 44], "applic": [17, 106, 117], "appropri": [14, 20], "ar": [0, 1, 2, 3, 5, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 38, 41, 44, 45, 47, 48, 53, 59, 61, 62, 63, 66, 67, 70, 73, 78, 81, 82, 101, 106, 117, 124, 125, 126, 128, 133, 134, 136, 142, 143, 146, 147, 149, 151, 153, 154, 157, 158, 160, 162, 164, 165, 167, 182, 196], "arg": [1, 21, 44], "argument": [8, 128, 136], "around": [14, 17, 18], "arrai": [17, 21], "arriv": 81, "arrow": [63, 67], "articl": [], "aset": [146, 152, 153, 157, 163, 164], "asex": [32, 106, 117], "ask": [14, 44, 77], "aspect": 2, "asset": [1, 2, 5, 9, 12, 13, 17, 18, 20, 21, 22, 23, 26, 33, 34, 35, 36, 37, 39, 40, 43, 44, 49, 51, 52, 53, 55, 57, 58, 59, 62, 66, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 147, 152, 153, 157, 158, 163, 164, 167, 177, 182, 192], "asset_bar": 30, "asset_bas": [72, 73, 152, 163], "asset_btc": [153, 164], "asset_eth": [153, 164], "asset_pric": [44, 128, 136], "asset_quot": [72, 73, 152, 153, 163, 164], "asset_symbol": 32, "asset_to_get": 13, "asset_typ": [1, 5, 13, 19, 20, 44, 72, 73, 74, 146, 147, 152, 153, 157, 158, 163, 164], "asset_type_map": 12, "asset_type_must_be_one_of": 19, "assetsmap": 19, "assettyp": [5, 13, 19, 146, 152, 153, 157, 163, 164], "assign": 196, "assist": 17, "associ": 14, "assset": [52, 58], "asterisk": [63, 67], "asx": [32, 106, 117], "async": 46, "async_": 46, "asynchron": 46, "attach": 21, "attain": [7, 146, 157], "attempt": [175, 190], "attribut": [19, 196], "attributeerror": [], "authent": [11, 26], "author": 14, "auto_adjust": [1, 44], "autom": [11, 17, 26], "automat": [1, 6, 8, 22, 146, 147, 157, 158, 196], "avail": [2, 9, 10, 17, 20, 21, 23, 26, 47, 72, 73, 106, 117, 128, 136, 153, 164, 167, 182], "averag": [2, 7, 22, 23], "avg_fill_pric": [22, 23], "avoid": 14, "await": [103, 114, 143, 154], "await_market_to_clos": [26, 47], "await_market_to_open": [26, 47], "awar": [5, 20], "back": [14, 196], "background": 17, "backtest": [4, 5, 7, 10, 17, 21, 22, 24, 32, 44, 46, 63, 67, 72, 73, 74, 75, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 170, 185], "backtesting_brok": 43, "backtesting_end": [1, 2, 5, 6, 8, 10, 25, 26, 32], "backtesting_start": [1, 2, 5, 6, 8, 10, 25, 26, 32, 43], "backtestingbrok": [5, 6, 8, 10, 43], "backtets": 77, "backup": 26, "backup_table_nam": 196, "backup_variables_to_db": [], "backward": [72, 73], "balanc": 22, "band": [7, 62, 66], "bar": [13, 18, 21, 26, 43, 44, 63, 67, 71, 72, 73, 74, 75, 78, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 128, 136], "bar_list": 20, "bars_agg": 20, "bars_list": 30, "base": [2, 7, 12, 13, 19, 20, 21, 22, 23, 24, 26, 40, 43, 44, 46, 72, 73, 74, 146, 157], "base_asset": [19, 152, 153, 163, 164], "bat": [32, 106, 117], "bband": 7, "becaus": [3, 5, 6, 8, 10, 17, 43], "becuas": 44, "been": [5, 10, 15, 22, 23, 35, 36, 37, 39, 43, 74, 78], "befor": [1, 2, 5, 7, 10, 13, 14, 15, 17, 20, 22, 25, 26, 29, 30, 31, 32, 40, 41, 42, 44, 72, 73, 102, 103, 113, 114, 151, 162, 172, 173, 187, 188, 196], "before_market_clos": [26, 27], "before_market_open": [26, 27, 173, 188], "before_starting_trad": [26, 27, 30], "begin": [2, 43], "beginn": 25, "behav": 17, "behavior": [0, 2], "behind": 19, "being": [26, 35, 36, 37, 38, 39, 44, 46, 72, 126, 134, 146, 157, 168, 183], "belong": 22, "below": [45, 47, 48, 61, 70, 74, 82, 101, 124, 142], "benchmark": [1, 2, 7], "benchmark_asset": [1, 2, 6, 8, 25], "benefit": 26, "best": [14, 17], "better": [7, 22, 146, 157], "between": [1, 2, 13, 20, 21, 26, 32, 72, 178, 193], "bid": [44, 77], "binanc": [13, 26], "bit": [6, 8], "bitcoin": 20, "black": [62, 63, 66, 67], "blacklist": 31, "blob": [15, 25, 26], "block": 14, "blue": [62, 63, 66, 67], "blueprint": 17, "bmf": [32, 106, 117], "boilerpl": [], "bolling": [7, 62, 66], "bool": [1, 22, 43, 44, 46, 72, 73, 74, 105, 116, 128, 136, 153, 164, 168, 170, 183, 185], "boolean": [12, 151, 153, 162, 164], "bot": [15, 17, 25, 32, 34, 45, 196], "both": [8, 22, 25, 30, 146, 157], "bottom": [14, 17], "bought": [36, 146, 157], "bowti": [63, 67], "box": 26, "bracket": [22, 146, 157], "broadcast": [105, 116], "broker": [1, 5, 12, 16, 19, 20, 22, 23, 24, 25, 26, 32, 35, 36, 37, 39, 44, 45, 72, 73, 74, 77, 81, 109, 110, 111, 112, 120, 121, 122, 123, 128, 136, 146, 152, 153, 157, 163, 164, 167, 182], "brokerag": [14, 17], "brown": [62, 63, 66, 67], "browser": [17, 25, 46], "bse": [32, 106, 117], "btc": [13, 19, 20, 72, 73, 74, 146, 152, 153, 157, 163, 164], "budget": [1, 5, 10, 17, 25, 32, 169, 184], "bug": 26, "bui": [1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 16, 19, 22, 25, 26, 36, 40, 45, 49, 55, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164, 167, 182], "build": [26, 27, 45], "built": [2, 5, 26], "bundl": 14, "busi": [29, 30], "butterfli": 17, "button": [14, 17], "buy_to_clos": 22, "buy_to_cov": 22, "buy_to_open": 22, "buy_trading_fe": [1, 25], "bvmf": [32, 106, 117], "byte": 17, "c": 14, "cach": [6, 8], "calcul": [13, 20, 22, 43, 44, 128, 136], "calculate_greek": 44, "calculate_trade_cost": 43, "calendar": [32, 76, 130, 138], "call": [1, 5, 6, 8, 19, 20, 22, 28, 32, 34, 35, 36, 38, 39, 40, 41, 42, 44, 72, 74, 75, 125, 126, 128, 133, 134, 136, 152, 163], "campu": [], "can": [2, 5, 6, 8, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 29, 32, 41, 44, 45, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 82, 101, 124, 128, 136, 142, 146, 157, 165, 166, 178, 193], "cancel": [12, 22, 30, 35, 43, 71, 109, 111, 120, 122, 142, 143, 144, 145, 146, 149, 151, 154, 155, 156, 157, 160, 162], "cancel_open_ord": [26, 30, 47, 151, 162], "cancel_ord": [12, 26, 43, 47, 149, 160], "cannot": 10, "capabl": [6, 8], "care": 41, "carri": 25, "case": [19, 21, 22], "cash": [9, 13, 22, 26, 28, 42, 43, 48, 49, 51, 55, 57, 61, 175, 177, 180, 190, 192, 195], "cash_pend": 22, "cash_settl": 22, "cash_settle_options_contract": 43, "categori": [45, 101], "caus": 14, "cboe": [125, 127, 129, 133, 135, 137], "cbot_agricultur": [32, 106, 117], "cbot_bond": [32, 106, 117], "cbot_equ": [32, 106, 117], "cbot_interestr": [32, 106, 117], "cbot_rat": [32, 106, 117], "ccxt": [11, 26], "central": [], "certain": [13, 63, 67], "cfd": 17, "cfe": [32, 106, 117], "chain": [22, 44, 124, 125, 126, 127, 129, 131, 133, 134, 135, 137, 140], "chain_data": 44, "challeng": 17, "chang": [5, 10, 12, 14, 16, 17, 20, 32], "chart": [26, 47, 62, 63, 64, 65, 66, 67, 68, 69], "check": [13, 17, 22, 26, 40, 43, 47, 72, 148, 149, 159, 160, 168, 170, 183, 185], "check_data": 21, "chf": [146, 157], "child": [22, 43], "child_ord": 22, "choic": [6, 8, 14, 17], "choos": [0, 15, 26], "chosen": [13, 16, 17], "chunk_siz": [12, 44, 73], "circl": [63, 67], "class": [1, 2, 5, 6, 8, 10, 12, 13, 16, 17, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 165, 196], "classmethod": [19, 20, 22, 23, 44], "clean_trading_tim": 44, "click": [14, 17], "client": [14, 15, 17], "client_id": 15, "close": [1, 5, 12, 13, 20, 21, 22, 28, 29, 32, 33, 40, 43, 51, 57, 72, 74, 75, 78, 81, 102, 103, 113, 114, 151, 162, 172, 187], "cme": [32, 74, 106, 117], "cme_agricultur": [32, 106, 117], "cme_bond": [32, 106, 117], "cme_equ": [32, 106, 117], "cme_interestr": [32, 106, 117], "cme_rat": [32, 106, 117], "code": [2, 5, 6, 7, 8, 13, 14, 17, 25, 26, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 62, 66, 102, 103, 113, 114, 165], "coin": [20, 146, 157], "coinbas": [13, 26], "coinbase_api_kei": 17, "coinbase_api_secret": 17, "coinbase_config": 13, "coinbase_is_sandbox": 17, "coinbasepro": 13, "coinbasepro_config": 13, "collect": [4, 5], "color": [13, 62, 63, 66, 67, 105, 116], "column": [5, 20, 21, 44, 78, 196], "com": [2, 7, 15, 16, 17, 25, 26], "combin": 22, "comex_agricultur": [32, 106, 117], "comfort": 25, "command": [2, 25, 26], "comment": 74, "commiss": 17, "commit": 17, "common": [13, 14], "commun": [25, 26], "compar": [1, 7, 14, 17], "comparison": 2, "compat": 17, "competit": 17, "complet": [13, 14, 15, 17, 22, 26, 74, 75], "complex": 25, "complic": 26, "compon": [27, 41, 196], "compound": [146, 157], "comprehens": [4, 25], "comput": [6, 8, 17, 25, 26], "conclus": [0, 26], "concurr": [], "condit": [2, 14, 22, 40], "condor": [7, 17], "confid": 2, "config": [1, 12, 13, 16, 17, 25, 43], "configur": [2, 11, 15, 26], "confirm": [14, 17], "conflict": [14, 196], "confus": 26, "connect": [12, 13, 14, 17, 105, 116], "connect_stream": [12, 43], "consequ": [], "consid": [5, 20, 177, 192], "consist": [], "consol": [17, 105, 116], "constantli": [13, 26], "construct": 22, "constructor": 32, "contain": [1, 3, 20, 21, 22, 40, 42, 44, 78, 152, 153, 163, 164], "context": 42, "continu": [22, 146, 157], "contract": [5, 19, 20, 22, 32, 43], "control": [178, 193], "conveni": 14, "convers": [19, 178, 193], "convert": [1, 19, 20, 22, 26, 43, 44, 132, 141, 146, 157], "convert_timestep_str_to_timedelta": 44, "copi": 25, "core": 41, "corner": [14, 17], "corpor": 19, "correct": [13, 14, 16], "correctli": 17, "correspond": [17, 35, 36, 37], "cost": [14, 17, 43], "could": [128, 136], "count": [21, 32, 78, 81, 196], "countri": 14, "coupon": [2, 6, 8], "cours": [25, 26], "cover": [17, 26], "crash": [34, 40, 196], "creat": [1, 2, 5, 6, 7, 8, 10, 13, 14, 16, 17, 19, 21, 22, 36, 44, 72, 125, 127, 129, 131, 133, 135, 137, 140, 142, 144, 145, 146, 155, 156, 157], "create_asset": [71, 72, 79], "create_ord": [1, 2, 5, 6, 8, 10, 12, 13, 19, 22, 25, 26, 40, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 152, 153, 155, 156, 163, 164], "creation": [], "credenti": [13, 14, 15], "credit": [6, 8, 153, 164], "critic": [], "cross": [63, 67], "crucial": [2, 17, 25], "cryoptocurr": 13, "crypto": [0, 1, 5, 7, 11, 17, 19, 20, 23, 26, 49, 51, 55, 57, 72, 74, 106, 117, 146, 152, 153, 157, 163, 164, 167, 175, 182, 190], "cryptocurr": [1, 2, 6, 8, 13, 17, 20, 72, 73, 74, 75, 146, 157], "csv": [0, 2, 3, 9, 21, 26, 44], "cta": 14, "cumul": 7, "currenc": [19, 72, 146, 157, 167, 175, 177, 182, 190, 192], "current": [12, 13, 14, 17, 21, 36, 37, 42, 43, 44, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 77, 78, 82, 83, 84, 85, 86, 87, 88, 89, 92, 93, 94, 95, 96, 97, 98, 128, 136, 143, 149, 153, 154, 160, 164, 167, 175, 178, 182, 190, 193, 196], "current_count": 196, "current_ema": 13, "current_macd": 13, "current_rsi": 13, "curv": 2, "custom": [2, 25, 32, 146, 157, 165], "custom_param": [22, 146, 157], "d": [32, 178, 193], "dai": [0, 1, 2, 5, 6, 8, 10, 17, 21, 22, 26, 30, 31, 32, 40, 44, 72, 73, 76, 79, 80, 84, 85, 86, 87, 93, 94, 95, 96, 130, 138, 146, 153, 157, 164, 178, 193], "daili": [0, 2, 5, 7, 10, 31, 72, 73], "darkblu": [62, 66], "darkgrai": [62, 66], "darkgreen": [62, 66], "darkr": [62, 66], "dash": [16, 62, 66], "dashboard": [6, 8, 25], "data": [0, 1, 3, 6, 8, 10, 11, 13, 18, 19, 20, 23, 26, 30, 31, 40, 45, 47, 62, 66, 71, 72, 73, 78, 81, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "data_sourc": [5, 12, 43, 44, 72, 73], "data_source_backtest": 43, "databas": [2, 5, 17, 26], "database_nam": 196, "datafram": [20, 21, 44, 64, 65, 68, 69, 72, 78, 81], "datalin": 21, "dataset": 2, "datasourc": [1, 8, 43, 44], "datasource_class": 1, "datasourcebacktest": [43, 44], "datatim": 82, "date": [0, 1, 2, 5, 6, 8, 10, 19, 21, 26, 32, 44, 74, 76, 82, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 141, 146, 157], "date_cr": 22, "date_end": 21, "date_start": 21, "daterang": 20, "datetim": [1, 2, 5, 6, 8, 10, 13, 19, 20, 21, 25, 26, 32, 43, 44, 47, 62, 63, 66, 67, 72, 76, 78, 81, 83, 84, 90, 91, 92, 93, 99, 100, 127, 130, 132, 135, 138, 139, 141, 146, 157, 171, 186], "datetime64": [5, 21], "datetime_end": [5, 43], "datetime_start": [5, 43], "db": 17, "db_connection_str": [17, 196], "dd": [76, 130, 138], "deal": [14, 26], "debit": [153, 164], "debug": [4, 46, 196], "decid": [17, 72], "decim": [23, 74, 75, 146, 147, 157, 158], "decis": [3, 4], "def": [1, 2, 5, 6, 8, 10, 12, 13, 16, 25, 26, 27, 41, 106, 117, 165, 172, 173, 178, 187, 188, 193, 196], "default": [1, 5, 10, 17, 19, 20, 21, 32, 34, 44, 45, 54, 60, 62, 63, 66, 67, 72, 73, 74, 76, 91, 100, 106, 117, 125, 127, 128, 129, 130, 133, 135, 136, 137, 138, 146, 151, 153, 157, 162, 164, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194, 196], "default_pytz": 44, "default_timezon": 44, "defin": [6, 7, 8, 13, 24, 27, 32, 41, 42, 43, 45, 165, 196], "definit": [], "delai": 44, "delet": 17, "delta": [7, 44, 128, 136], "demonstr": 13, "depend": [14, 17, 72, 73], "deploi": [2, 26], "deploy": 26, "deprec": [1, 15, 146, 157, 180, 195], "depric": 74, "describ": [26, 45], "descript": [1, 14, 17], "deseri": [], "design": [2, 17, 25, 27, 41], "desir": [13, 14, 21, 81, 128, 136], "detail": [0, 2, 3, 4, 9, 17, 19, 72, 148, 159], "detail_text": [62, 63, 66, 67], "determin": [6, 7, 8, 12, 22, 43, 106, 117, 146, 157, 166], "dev": [25, 26], "develop": [17, 26], "df": [5, 13, 20, 21, 30, 72, 73], "dialog": [], "diamond": [63, 67], "dict": [1, 21, 38, 42, 44, 46, 50, 54, 56, 60, 77, 104, 108, 115, 119, 146, 157], "dictionari": [1, 5, 8, 16, 36, 42, 43, 44, 46, 73, 77, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 157, 165], "differ": [2, 3, 5, 7, 11, 13, 14, 17, 20, 25, 26, 45], "differenti": 7, "difficult": 5, "digit": 15, "directli": [17, 43], "directori": [5, 14, 17], "disabl": [14, 15], "disconnect": 14, "discord": [17, 26], "discord_webhook_url": 17, "discov": [25, 26], "displai": [46, 62, 63, 66, 67], "displi": 46, "divid": 47, "dividend": [20, 44, 79, 80, 128, 136, 167, 182], "do": [1, 5, 10, 13, 14, 16, 20, 22, 25, 26, 38, 44, 47, 101, 146, 157], "doc": [], "docstr": 43, "document": [11, 13, 14, 17, 25, 26, 72], "doe": [43, 44, 77, 146, 157], "doesn": [], "dollar": [146, 157, 175, 190], "don": [13, 14, 17, 26], "done": 44, "dot": [62, 63, 66, 67], "down": [14, 17, 25, 33, 63, 67], "downgrad": 17, "download": [2, 5, 6, 8, 25, 26], "drawdown": [2, 7], "dsttzinfo": 44, "dt": [13, 21, 44, 62, 63, 66, 67, 90, 91, 99, 100, 139], "dt_index": 44, "dte": 7, "due": 19, "dump": [28, 42], "duplic": 14, "durat": [7, 32, 146, 153, 157, 164, 178, 193], "dure": [1, 2, 4, 7, 17, 45, 73], "e": [2, 9, 17, 19, 20, 21, 22, 23, 25, 72, 73, 74, 146, 147, 152, 157, 158, 163], "e29b": [], "each": [0, 1, 2, 3, 5, 7, 9, 13, 14, 20, 22, 26, 30, 32, 40, 41, 44, 45, 47, 53, 59, 72, 80, 126, 134, 149, 151, 160, 162, 196], "eas": 17, "easi": [6, 8, 14, 17, 25, 26], "easier": [5, 17], "easiest": 25, "easili": [10, 26, 32, 45], "eastern": 21, "edit": 17, "effect": 17, "effici": 196, "eg": [13, 17, 19, 20, 25, 44, 47, 49, 51, 55, 57, 62, 63, 66, 67, 70, 77, 82, 105, 116, 125, 126, 133, 134, 146, 157, 178, 193], "either": [5, 19, 21, 22, 72, 73, 74, 75], "elif": 36, "els": 43, "ema": 13, "ema_threshold": 165, "email": [7, 14], "empti": [53, 59], "en": 13, "enabl": [13, 15], "encount": 22, "end": [1, 2, 6, 7, 8, 10, 14, 20, 21, 26, 42], "end_dat": 21, "endpoint": 12, "engag": 17, "engin": [26, 41], "enhanc": 25, "enjoi": 25, "enough": [], "ensur": [5, 10, 14, 17, 21, 22, 25, 26, 146, 157], "enter": [14, 17, 19, 22, 31, 146, 157, 178, 193], "entir": 13, "entiti": [5, 13, 19, 20, 21, 22, 23, 24, 25, 26, 44, 72, 73, 80, 146, 152, 153, 157, 163, 164], "entri": [15, 22], "env": [14, 17, 196], "environ": [2, 14, 26, 196], "equal": [172, 173, 178, 187, 188, 193], "equiti": [2, 14, 51, 57], "equival": 22, "equivalent_statu": 22, "error": [13, 17, 22, 34], "error_messag": 22, "especi": [82, 196], "essenti": [2, 17], "est": 5, "etc": [5, 16, 20, 21, 40, 44, 45, 48, 61, 63, 67, 77, 148, 159], "etf": [2, 10], "eth": [20, 73, 146, 153, 157, 164], "ethereum": 20, "eula": 14, "eur": [19, 72, 73, 146, 152, 153, 157, 163, 164], "eurex": [32, 106, 117], "eurusd": 73, "evalu": 43, "even": [2, 6, 8, 30, 153, 164], "event": [4, 26, 33, 34, 35, 36, 37, 38, 39, 43, 63, 67], "everi": [2, 25, 32, 40, 43, 47, 81, 196], "everyth": [17, 26], "ew": [63, 67], "exactli": 26, "exampl": [1, 2, 6, 8, 11, 12, 15, 19, 20, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 52, 53, 58, 59, 62, 63, 66, 67, 71, 72, 73, 74, 75, 79, 80, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 105, 106, 107, 109, 110, 111, 112, 113, 114, 116, 117, 118, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 196], "example_strategi": [13, 25, 26], "exce": 20, "excel": 17, "except": [15, 20, 25, 26, 34], "exchang": [14, 21, 22, 44, 72, 73, 74, 75, 76, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 125, 126, 127, 129, 130, 131, 133, 134, 135, 137, 138, 140, 146, 157], "exchange_id": 13, "excut": [168, 183], "execud": [29, 30], "execut": [2, 9, 17, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 102, 103, 107, 109, 111, 113, 114, 118, 120, 122, 143, 152, 154, 163, 172, 173, 178, 187, 188, 193], "exist": [21, 54, 60], "exit": 22, "exp_dat": [44, 125, 126, 133, 134], "expect": [17, 25, 26, 128, 136], "expens": [17, 128, 136], "expert": [25, 26], "expertis": 26, "expir": [7, 14, 19, 22, 32, 44, 72, 74, 125, 126, 127, 128, 133, 134, 135, 136, 139, 146, 157], "expiration_d": [147, 152, 158, 163], "expiri": [19, 44, 127, 132, 135, 141], "expiry_d": [127, 132, 135, 141], "explain": 2, "exponenti": 7, "export": 2, "expri": 43, "extend": 81, "extens": 2, "extract": 72, "extrem": 22, "ey": 17, "f": [13, 16, 28, 35, 36, 38, 39, 42, 72, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 169, 171, 174, 176, 177, 179, 181, 184, 186, 189, 191, 192, 194, 196], "fact": [], "factor": [11, 26], "fairli": [], "fals": [1, 12, 13, 16, 17, 22, 25, 26, 32, 43, 44, 46, 73, 74, 83, 92, 105, 116, 128, 136, 146, 151, 157, 162], "familiar": 25, "fashion": [], "fast": [22, 25, 26], "faster": [2, 6, 8, 44], "favor": [146, 157], "featur": [0, 2, 6, 8, 26], "fee": [14, 17, 18, 26], "feel": 14, "fetch": [6, 8, 44, 126, 131, 134, 140], "few": [13, 17, 26, 101], "field": [14, 20, 22], "figur": 17, "file": [1, 4, 5, 7, 14, 15, 17, 25, 26, 101, 105, 116, 165, 196], "fill": [14, 17, 21, 22, 23, 36, 39, 43, 146, 157, 167, 182], "filter": 20, "final": [5, 6, 8, 10, 14, 26], "financ": [1, 2, 10, 26], "financi": [20, 25], "find": [13, 14, 15, 16, 17, 26, 44, 76, 127, 129, 130, 131, 135, 137, 138, 139, 140], "find_asset_in_data_stor": 44, "firm": 14, "first": [1, 5, 6, 8, 10, 13, 16, 17, 20, 21, 22, 25, 26, 30, 32, 73, 168, 178, 183, 193, 196], "first_iter": [1, 2, 5, 6, 8, 10, 26], "fit": [17, 101], "fix": [26, 81], "flat": 25, "flat_fe": [24, 25], "flexibl": [2, 5, 6, 8, 25], "float": [1, 5, 19, 20, 22, 23, 36, 39, 43, 44, 49, 51, 55, 57, 62, 63, 66, 67, 74, 75, 79, 80, 102, 103, 107, 113, 114, 118, 128, 131, 136, 140, 146, 147, 153, 157, 158, 164, 167, 169, 175, 182, 184, 190], "flow": 45, "focus": 17, "folder": [2, 5, 10, 13, 17], "follow": [2, 5, 6, 8, 13, 14, 15, 17, 19, 20, 22, 26, 27, 30, 41, 78, 165, 178, 193], "forc": [146, 157], "forex": [0, 2, 5, 6, 8, 12, 17, 19, 26, 44, 73, 74, 146, 152, 153, 157, 163, 164], "forget": 26, "form": [6, 21, 81, 106, 117, 127, 129, 135, 137, 167, 182], "format": [0, 5, 19, 21, 44, 76, 125, 126, 130, 132, 133, 134, 138, 141], "fortun": 26, "found": 26, "frame": 5, "framework": [2, 41], "free": [1, 2, 6, 8, 14, 17, 23, 26, 44, 128, 136], "frequenc": [20, 21], "frequent": 20, "friendli": 17, "from": [1, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 25, 26, 41, 42, 44, 45, 72, 73, 76, 80, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 140, 146, 152, 153, 157, 163, 164, 196], "from_dict": [19, 22, 23], "full": [2, 6, 8, 11, 26, 44, 125, 133], "function": [0, 2, 3, 13, 17, 21, 26, 32, 38, 41, 44, 47, 48, 82, 142], "further": [2, 17], "futur": [0, 5, 12, 14, 17, 19, 20, 26, 43, 44, 74, 146, 147, 152, 157, 158, 163, 180, 195], "g": [2, 9, 17, 20, 21, 22, 23, 25, 72, 73, 146, 157], "gain": 26, "gamma": [128, 136], "gatewai": [], "gbp": [19, 152, 163], "gear": [], "gener": [7, 10, 13, 16, 26, 151, 162], "get": [1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 17, 18, 20, 21, 22, 30, 31, 33, 38, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 70, 72, 73, 75, 77, 79, 80, 82, 104, 115, 124, 147, 148, 149, 150, 158, 159, 160, 161, 165, 166, 167, 172, 173, 175, 178, 182, 187, 188, 190, 193, 196], "get_asset": 44, "get_asset_by_nam": 44, "get_asset_by_symbol": 44, "get_asset_potential_tot": [26, 47], "get_bar": [20, 21, 44], "get_bars_between_d": 21, "get_cash": [26, 47], "get_chain": [26, 44, 47, 127, 129, 131, 135, 137, 140], "get_chain_full_info": 44, "get_datetim": [13, 26, 43, 44, 47], "get_datetime_rang": [26, 43, 44, 47], "get_expir": [26, 47], "get_fill_pric": 22, "get_func_stat": 25, "get_greek": [26, 47], "get_historical_account_valu": [12, 43], "get_historical_pric": [6, 8, 13, 20, 26, 31, 44, 47, 73], "get_historical_prices_for_asset": [26, 30, 47], "get_incr": 22, "get_iter_count": 21, "get_last_bar": 43, "get_last_dai": [26, 44, 47], "get_last_dividend": 20, "get_last_minut": [26, 44, 47], "get_last_pric": [2, 6, 8, 10, 13, 16, 20, 21, 26, 44, 47], "get_lines_df": [26, 47], "get_markers_df": [26, 47], "get_momentum": 20, "get_multipli": [26, 47], "get_next_option_expir": 139, "get_next_trading_dai": [26, 47], "get_ord": [13, 26, 47], "get_paramet": [26, 47, 165], "get_portfolio_valu": [26, 47], "get_posit": [13, 23, 26, 47, 150, 161], "get_quot": [21, 26, 47], "get_round_dai": [26, 44, 47], "get_round_minut": [26, 44, 47], "get_selling_ord": [23, 26, 47], "get_start_datetime_and_ts_unit": 44, "get_strik": [26, 44, 47], "get_symbol_bar": 70, "get_thread_stat": 25, "get_time_to_clos": [12, 43], "get_time_to_open": [12, 43], "get_timestamp": [12, 26, 44, 47], "get_timestep": 44, "get_total_dividend": 20, "get_total_return": 20, "get_total_return_pct": 20, "get_total_return_pct_chang": 20, "get_total_stock_split": 20, "get_total_volum": 20, "get_tracked_ord": [149, 160], "get_trading_days_panda": 44, "get_yesterday_dividend": [26, 44, 47], "getting_start": 15, "github": [13, 15, 17, 20, 25, 26], "give": [6, 8, 13, 131, 140], "given": [14, 20, 21, 43, 44, 52, 58, 71, 72, 73, 76, 84, 93, 125, 127, 129, 130, 131, 133, 135, 137, 138, 139, 140, 143, 148, 154, 159], "global": [15, 17, 20, 45], "go": [2, 5, 12, 15, 17, 25, 26], "goal": 7, "goe": [105, 116], "good": [26, 146, 157], "good_till_d": [22, 146, 157], "goog": [22, 42, 72, 73], "googl": 22, "google_symbol": 42, "gracefulli": 33, "grai": [62, 66], "graph": [7, 62, 63, 66, 67], "great": [14, 17], "greatli": [27, 41], "greek": [44, 124, 128, 136], "green": [13, 62, 63, 66, 67, 105, 116], "grouper_kwarg": 20, "growth": 7, "gtc": [146, 153, 157, 164], "gtd": [146, 157], "guarante": [146, 157], "guarente": [44, 125, 126, 133, 134], "guid": [2, 13, 16, 25, 26], "guidanc": 25, "h": [178, 193], "ha": [0, 7, 15, 20, 22, 26, 35, 36, 37, 39, 45, 71, 74, 78, 196], "handl": [], "happen": [171, 186], "happi": 17, "harm": 7, "hash": [63, 67], "have": [0, 1, 2, 5, 6, 8, 10, 14, 16, 17, 20, 22, 23, 25, 26, 28, 43, 47, 49, 51, 55, 57, 72, 78], "he": 41, "header": 14, "held": [175, 190], "hello": 40, "help": [2, 3, 6, 8, 25], "helper": [20, 22, 45], "here": [1, 2, 5, 6, 8, 11, 12, 13, 14, 15, 16, 17, 18, 25, 26, 41, 165, 166], "hex": [62, 66], "hexagon": [63, 67], "hexagon2": [63, 67], "hexagram": [63, 67], "high": [5, 20, 21, 25, 26, 43, 78, 81], "higher": 22, "highli": [15, 26], "histor": [2, 6, 8, 12, 13, 20, 26, 43, 44, 70, 72, 73], "histori": 17, "historical_limit": 20, "hkex": [32, 106, 117], "hold": [6, 8, 20, 22, 23, 26, 36], "home": 26, "hope": 25, "host": [14, 17], "hour": [13, 20, 21, 32, 40, 44, 72, 73, 106, 117, 178, 193], "hourglass": [63, 67], "hover": [62, 63, 66, 67], "how": [0, 3, 11, 12, 13, 17, 25, 26, 45, 72, 81, 166], "howev": [17, 22, 30, 32, 146, 157], "hr": [5, 21], "html": [0, 1, 3, 9, 20, 26], "http": [2, 6, 8, 12, 13, 14, 15, 16, 17, 20, 25, 26], "i": [0, 1, 2, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 26, 28, 29, 30, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 77, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 102, 103, 106, 113, 114, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 147, 149, 151, 153, 157, 158, 160, 162, 164, 166, 167, 168, 170, 172, 173, 177, 178, 182, 183, 185, 187, 188, 192, 193, 196], "ib": [19, 132, 141], "ib_api_url": [14, 17], "ib_password": [14, 17], "ib_subaccount": 17, "ib_usernam": [14, 17], "ibeam": [], "ibkei": 14, "ibkr": 14, "ibkrcampu": [], "ibm": [19, 145, 156], "ic": [32, 106, 117], "iceu": [32, 106, 117], "icon": [], "id": [2, 15, 17, 148, 159, 196], "ideal": [2, 17], "identifi": [2, 13, 19, 22, 148, 159], "idx": 21, "iepa": [32, 106, 117], "illustr": 41, "iloc": [13, 72], "imag": [], "implement": [7, 17, 26, 27, 41, 44, 46], "impli": [128, 136], "implied_volatil": [128, 136], "import": [0, 1, 2, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 26, 41, 42, 44, 45, 63, 67, 73, 80, 146, 152, 153, 157, 163, 164, 165], "importantfunct": 13, "importantli": 22, "improv": 26, "includ": [2, 3, 7, 9, 10, 13, 17, 19, 20, 26, 32, 41, 44, 54, 60, 72, 124, 146, 148, 157, 159, 175, 190], "include_after_hour": [44, 72, 73], "inclus": 20, "incred": 17, "incur": 14, "index": [5, 19, 20, 21, 26, 78], "indic": [0, 1, 5, 13, 46, 52, 53, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 153, 164], "indicators_fil": 1, "individu": [2, 26], "industri": 26, "infinit": [103, 114], "influenc": [3, 27, 41], "info": [44, 105, 116, 125, 126, 133, 134], "inform": [2, 3, 5, 9, 10, 13, 17, 43, 44, 77, 78, 126, 131, 134, 140, 146, 157, 166], "inherit": [6, 8, 45], "initi": [1, 2, 6, 8, 13, 15, 25, 26, 27, 41, 106, 117, 165, 169, 172, 173, 178, 184, 187, 188, 193], "initial_budget": 26, "input": [21, 102, 103, 113, 114], "insert": [], "insid": [47, 166, 172, 187], "insight": [0, 2], "instal": [0, 5, 10, 13, 15, 17], "instanc": [13, 196], "instanti": [13, 16, 26, 43], "instead": [1, 5, 17, 20, 43, 107, 118, 128, 136, 180, 195], "instruct": [17, 146, 152, 153, 157, 163, 164], "instrument": 20, "int": [1, 12, 19, 20, 21, 22, 36, 39, 44, 62, 63, 66, 67, 72, 73, 81, 84, 85, 86, 87, 88, 89, 93, 94, 95, 96, 97, 98, 102, 103, 113, 114, 146, 147, 157, 158, 172, 173, 178, 187, 188, 193], "integ": [72, 73, 178, 193], "integr": [6, 8], "intend": [5, 17], "inter": [0, 5], "interact": [11, 13, 20, 22, 26, 45, 72, 73, 74, 81], "interactive_brok": 15, "interactive_brokers_client_id": 17, "interactive_brokers_config": 15, "interactive_brokers_ip": 17, "interactive_brokers_port": 17, "interactivebrok": [15, 20], "interest": [7, 13, 44, 128, 136], "interfer": [], "intern": [17, 146, 157], "interpret": [2, 178, 193], "interrupt": [33, 196], "interupt": [33, 40], "interv": 5, "intervent": [], "intial": 78, "intra": [0, 5, 10], "intradai": 2, "introduc": 2, "invest": [7, 14, 26], "involv": 9, "io": [0, 13, 20, 26], "ip": [15, 17], "iron": 7, "is_act": 22, "is_backtest": [17, 26], "is_backtest_brok": 46, "is_backtesting_brok": 43, "is_backtesting_data_sourc": [43, 44], "is_buy_ord": 22, "is_cancel": 22, "is_fil": 22, "is_market_open": [12, 43], "is_multileg": [153, 164], "is_opt": 22, "is_par": 22, "is_sell_ord": 22, "is_valid": 19, "isn": [], "isol": [], "issu": 2, "item": [], "iter": [1, 2, 6, 8, 13, 21, 32, 40, 41, 168, 171, 183, 186, 196], "iter_index": 21, "its": [1, 6, 8, 22, 42], "itself": 17, "j": [27, 41], "jan": 82, "join": [25, 26], "jpx": [32, 106, 117], "json": 196, "june": 19, "just": [19, 26, 32, 36, 43, 146, 157], "keep": [17, 22, 23, 81, 146, 157], "keep_bar": 81, "kei": [1, 2, 3, 5, 6, 8, 12, 15, 16, 17, 21, 26, 46, 128, 136, 165, 196], "kept": 81, "keybord": 33, "keyerror": [], "keyword": 22, "kill": [], "kind": [1, 25], "know": [13, 18], "knowledg": [], "known": [44, 74, 75], "kraken": [13, 26, 146, 157], "kraken_api_kei": 17, "kraken_api_secret": 17, "kraken_config": 13, "kucoin": [13, 26], "kucoin_config": 13, "kwarg": [1, 12, 19, 21, 43, 44, 153, 164], "last": [5, 13, 20, 21, 22, 28, 30, 31, 42, 43, 44, 72, 73, 74, 75, 85, 86, 94, 95, 171, 186, 196], "last_dai": [85, 94], "last_minut": [86, 95], "last_ohlc": 72, "last_on_trading_iteration_datetim": 26, "last_pric": [13, 74, 75, 196], "last_upd": 196, "later": 32, "latest": [2, 5, 10, 13, 17, 25, 26, 72], "launch": 30, "layout": [], "learn": [11, 17, 25, 26], "least": [5, 41], "leav": [151, 162], "left": [14, 17, 63, 67], "leg": 26, "legaci": [11, 26], "len": 21, "length": [13, 21, 43, 44, 72, 73, 78, 84, 93], "less": [16, 146, 147, 157, 158], "let": 13, "level": [26, 63, 67, 105, 116], "leverag": [19, 146, 157], "librari": [5, 7, 13, 16, 17, 25], "lifecycl": [26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 47, 168, 172, 173, 178, 183, 187, 188, 193], "lightblu": [62, 66], "lightgrai": [62, 66], "lightgreen": [62, 66], "lightr": [62, 66], "like": [2, 5, 17, 21, 25, 26, 29, 30, 31, 32, 33, 43, 44, 165], "limit": [6, 8, 13, 17, 22, 43, 44, 72, 73, 81, 110, 121, 146, 152, 153, 157, 163, 164], "limit_ord": [43, 146, 157], "limit_pric": [13, 22, 43, 110, 121, 146, 152, 153, 157, 163, 164], "line": [3, 26, 46, 62, 63, 64, 66, 67, 68], "link": [6, 8, 14], "list": [1, 2, 13, 18, 19, 20, 23, 25, 31, 43, 44, 47, 48, 53, 59, 61, 70, 73, 75, 80, 82, 84, 93, 101, 106, 111, 112, 117, 122, 123, 124, 127, 129, 131, 135, 137, 140, 142, 145, 149, 153, 156, 160, 164, 166], "littl": [], "live": [1, 2, 12, 14, 15, 17, 20, 25, 43, 44, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117], "live_config": 17, "ll": [13, 14, 16, 26], "lmt": 44, "lmt_order": 13, "load": [5, 18, 21, 63, 67, 196], "load_data": 44, "load_variables_from_db": [], "local": [20, 21, 42, 44, 90, 91, 99, 100, 128, 136], "localhost": [14, 17, 196], "localize_datetim": [26, 44, 47], "localize_timezon": 21, "locat": 17, "log": [0, 1, 2, 7, 10, 14, 15, 16, 17, 19, 26, 42, 101, 105, 116], "log_messag": [13, 16, 20, 26, 28, 30, 33, 34, 35, 36, 37, 38, 39, 40, 42, 47, 52, 53, 58, 59, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 147, 148, 149, 158, 159, 160, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 179, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 194], "logfil": [1, 46], "logic": [27, 29, 30, 40, 41, 43, 45], "login": 14, "long": 22, "longer": 2, "longest": 7, "look": [2, 5, 15, 26], "loop": [14, 31, 40, 103, 114, 172, 187], "lose": [], "loss": [7, 22, 43, 62, 63, 66, 67, 146, 152, 153, 157, 163, 164], "lost": [], "lot": [17, 166], "low": [5, 17, 20, 21, 43, 78, 81], "lower": 21, "lse": [32, 106, 117], "luck": 26, "lumi": [2, 7, 8], "lumi10": [2, 6], "lumibot": [0, 1, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 22, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "lumiwealth": [7, 15, 26], "m": [178, 193], "mac": 26, "macd": 13, "machin": 2, "machinelearninglongshort": 25, "made": [25, 70, 82], "mai": [5, 13, 14, 17, 19, 22, 25, 72, 73, 81, 146, 157], "main": [17, 18, 22, 26, 33, 40, 45, 146, 157], "main_tick": 165, "maintain": 17, "major": [5, 10], "make": [2, 4, 5, 6, 8, 14, 17, 22, 25, 26, 74, 75], "maker": 24, "manag": [21, 22, 26, 47, 61, 124], "mandatori": [17, 19, 45, 146, 157], "mani": [6, 8, 13, 26, 32, 41, 81], "manual": [2, 14, 17], "map": 19, "map_asset_typ": 12, "margin": [13, 146, 157], "mark": [63, 67], "marker": [3, 46, 63, 65, 67, 69], "market": [2, 11, 12, 13, 17, 22, 25, 26, 28, 29, 30, 31, 32, 40, 43, 74, 75, 102, 103, 106, 109, 110, 111, 112, 113, 114, 117, 120, 121, 122, 123, 146, 151, 152, 153, 157, 162, 163, 164, 172, 173, 175, 187, 188, 190], "marketcalendar": [32, 106, 117], "martingal": 7, "master": 15, "match": [21, 44], "math": 26, "max": [7, 13], "max_bar": 32, "max_pric": 13, "max_work": [12, 43, 44, 73], "maximum": [7, 17, 44], "mean": 14, "meant": 124, "measur": [1, 7], "mechan": [], "memori": 17, "mention": 20, "menu": [14, 26], "merg": 21, "messag": [17, 101, 105, 116], "method": [1, 6, 8, 15, 19, 20, 22, 23, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 70, 101, 124, 125, 127, 129, 131, 133, 135, 137, 140, 165, 168, 172, 173, 178, 183, 187, 188, 193, 196], "metric": [2, 7], "might": [5, 13, 14, 17], "min": 20, "min_timestep": [21, 44], "mind": [], "minim": [], "minimum": 44, "minut": [1, 5, 13, 17, 20, 21, 25, 26, 29, 30, 32, 40, 43, 44, 72, 73, 84, 86, 88, 93, 95, 97, 102, 103, 113, 114, 172, 173, 178, 187, 188, 193], "minutes_before_clos": [1, 26, 29, 32, 40, 102, 113], "minutes_before_open": [1, 26, 30, 103, 114], "miscellan": [26, 47], "miss": 39, "mkt_order": 13, "mm": [76, 130, 138], "mnq": 32, "mobil": [], "mode": [0, 15, 17, 43, 170, 185], "modifi": [10, 25, 26], "modul": [5, 10, 26], "momentum": 20, "monei": [14, 16, 17, 25, 49, 51, 55, 57, 167, 182], "monitor": 17, "month": [17, 85, 94], "more": [0, 2, 3, 11, 13, 14, 16, 17, 18, 20, 25, 26, 43, 44, 47, 70, 72, 101, 124, 128, 136, 142], "most": [0, 5, 7, 14, 17, 20, 25, 41, 72, 78, 128, 136], "mostli": 43, "move": [2, 7, 22, 26], "movement": [22, 146, 157], "much": [5, 6, 8, 12, 44], "multileg": [22, 153, 164], "multipl": [2, 17, 143, 154, 196], "multipli": [19, 20, 36, 39, 44, 125, 126, 129, 131, 133, 134, 137, 140, 152, 163], "must": [1, 2, 5, 6, 8, 10, 12, 16, 21, 22, 41, 72, 73, 131, 140, 146, 157], "my": [17, 25], "my_custom_paramet": 32, "my_custom_stat": 42, "my_last_paramet": 32, "my_limit_pric": 22, "my_other_paramet": 32, "my_other_stat": 42, "my_paramet": 165, "my_stat": 42, "my_stop_loss_pric": 22, "my_stop_pric": 22, "my_take_profit_pric": 22, "my_trail_perc": 22, "my_trail_pric": 22, "mysql": [], "mystrategi": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 165], "n": [63, 67], "name": [0, 1, 5, 10, 14, 17, 19, 21, 25, 26, 32, 44, 46, 62, 63, 66, 67, 74, 105, 116, 165, 196], "namespac": 196, "nan": 21, "nasdaq": [14, 32, 106, 117], "navig": [14, 15, 17], "ne": [63, 67], "nearest": [87, 88, 96, 97], "necessari": [6, 8, 17, 43], "need": [2, 6, 8, 13, 14, 16, 17, 25, 27, 41, 43, 44, 72, 73, 77], "net": [2, 8, 51, 57], "network": 14, "new": [2, 5, 7, 14, 17, 19, 20, 22, 26, 36, 37, 43, 54, 60, 146, 157, 167, 182], "new_york": [20, 44, 176, 179, 181, 191, 194], "newer": 17, "nexpir": 19, "next": [5, 6, 8, 12, 17, 26, 40, 76, 130, 138, 139], "next_option_expir": 139, "next_trading_dai": [76, 130, 138], "nobardatafound": 20, "none": [1, 12, 13, 17, 19, 20, 21, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 44, 46, 49, 51, 52, 53, 54, 55, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 81, 84, 93, 102, 103, 105, 106, 107, 108, 113, 114, 116, 117, 118, 119, 128, 131, 136, 140, 143, 144, 145, 146, 148, 150, 151, 154, 155, 156, 157, 159, 161, 162], "normal": [5, 16, 131, 140], "notat": 196, "note": [5, 10, 13, 14, 15, 17, 20, 22, 43, 77, 146, 157], "notic": 26, "notif": [14, 17], "now": [16, 25, 44, 74], "num_period": 20, "number": [1, 12, 15, 16, 17, 21, 22, 29, 32, 44, 72, 73, 84, 87, 88, 93, 96, 97, 146, 157, 172, 173, 178, 187, 188, 193], "numpi": 21, "nuzcnprsxjxxouxrhqe5k2k1xnqlpckh2xcutifkcw": 17, "nw": [63, 67], "nyfe": [32, 106, 117], "nymex_agricultur": [32, 106, 117], "nyse": [14, 32, 76, 106, 117, 130, 138], "o": 22, "obect": [146, 157], "object": [1, 5, 10, 12, 18, 19, 20, 21, 22, 23, 24, 35, 36, 37, 39, 43, 44, 46, 52, 53, 58, 59, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 109, 110, 111, 112, 120, 121, 122, 123, 126, 131, 134, 140, 144, 145, 146, 147, 148, 149, 152, 153, 155, 156, 157, 158, 159, 160, 163, 164, 176, 181, 191, 196], "observ": 7, "obtain": [6, 8, 13, 44, 126, 127, 129, 131, 134, 135, 137, 140], "occur": 22, "oco": [22, 146, 152, 157, 163], "octagon": [63, 67], "off": [2, 6, 8], "offer": [2, 7, 14, 17, 26], "offici": 2, "often": 22, "ohlcv": [20, 21, 43], "on_abrupt_clos": [26, 27, 34], "on_bot_crash": [26, 27], "on_canceled_ord": [26, 27], "on_filled_ord": [26, 27], "on_new_ord": [26, 27], "on_parameters_upd": [26, 27], "on_partially_filled_ord": [26, 27], "on_start": [], "on_trading_inter": [12, 32], "on_trading_iter": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 27, 28, 41, 42, 47, 102, 103, 113, 114, 165, 168, 172, 178, 183, 187, 193, 196], "onc": [2, 14, 15, 16, 17, 22, 25, 26, 32, 41, 146, 157, 196], "one": [5, 7, 13, 14, 17, 22, 25, 26, 41, 43, 47, 72, 109, 120, 146, 153, 157, 164], "ones": [17, 41], "onli": [1, 5, 10, 13, 14, 15, 17, 19, 20, 21, 22, 23, 25, 26, 32, 41, 43, 44, 46, 72, 73, 74, 77, 81, 128, 136, 143, 153, 154, 164, 172, 187], "open": [1, 2, 5, 12, 17, 20, 21, 22, 25, 29, 30, 31, 40, 43, 63, 67, 72, 78, 81, 102, 103, 113, 114, 143, 144, 145, 149, 151, 154, 155, 156, 160, 162, 173, 188], "open_": 43, "open_interest": 44, "openbook": 14, "oper": [14, 17, 32, 41], "opra": 14, "opt_asset": [128, 136], "optim": [2, 7, 17, 26], "option": [0, 2, 6, 8, 9, 12, 14, 16, 17, 19, 20, 22, 26, 32, 36, 39, 41, 43, 44, 47, 72, 74, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 146, 152, 157, 163], "option_chain": 44, "option_pric": [128, 136], "option_typ": [128, 136], "optionright": 19, "options_expiry_to_datetime_d": [26, 47], "optionscondormartingal": 196, "orang": [62, 63, 66, 67], "order": [1, 2, 5, 6, 8, 9, 10, 12, 13, 18, 19, 23, 25, 26, 29, 30, 35, 36, 37, 39, 40, 41, 43, 47, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 182], "order1": [111, 112, 122, 123, 145, 153, 156, 164], "order2": [111, 112, 122, 123, 145, 153, 156, 164], "order_1": 22, "order_2": 22, "order_class": 22, "order_dict": 22, "order_id": [148, 159], "order_typ": [12, 153, 164], "orderclass": 22, "orderdata": 12, "ordersid": 22, "orderstatu": 22, "ordertyp": 22, "origin": [105, 116], "os": [32, 106, 117], "other": [0, 2, 6, 8, 10, 13, 14, 15, 17, 20, 22, 25, 26, 41, 62, 66, 77, 101, 146, 157, 167, 182, 196], "otherwis": [22, 36], "oto": [22, 146, 157], "our": [7, 13, 14, 17, 25, 26, 28], "out": [14, 26, 43, 47, 52, 58, 74], "output": 196, "outstand": 13, "over": [7, 19, 20, 25, 26, 62, 63, 66, 67], "overal": [1, 7], "overbought": [62, 63, 66, 67], "overhead": [], "overload": [27, 34, 41, 43], "overrid": [102, 103, 113, 114], "oversold": [62, 63, 66, 67], "overview": 2, "overwrit": [54, 60], "own": [2, 5, 6, 8, 12, 13, 16, 17, 23, 25, 26, 150, 161], "pace": 20, "packag": [14, 26], "page": [14, 16, 17, 26], "pai": [6, 8], "paid": [1, 2, 167, 182], "pair": [13, 20, 22, 44, 74, 75, 125, 126, 133, 134, 146, 157], "panda": [0, 2, 10, 20, 21, 26, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 78, 106, 117], "pandas_data": [1, 5, 25, 43, 44], "pandas_ta": 13, "pandasdata": [43, 44], "pandasdatabacktest": [1, 5, 25], "panel": [], "paper": [11, 12, 15, 16, 17, 26, 44], "paper_1": 17, "param": 44, "paramet": [1, 2, 6, 8, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 84, 87, 88, 90, 91, 93, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 150, 151, 152, 153, 154, 155, 156, 157, 158, 161, 162, 163, 164, 172, 187], "parent": 22, "parquet": 5, "parse_bar_list": 20, "part": [17, 22, 41, 153, 164, 165], "partial": [22, 39], "partial_fil": 22, "partially_fil": 22, "particular": [22, 125, 127, 129, 133, 135, 137], "particularli": 19, "pass": [1, 2, 5, 8, 10, 18, 28, 36, 40, 41, 45, 102, 103, 113, 114, 128, 136, 146, 157], "password": [2, 8, 13, 14, 17, 196], "password123": [14, 17], "past": [2, 22, 25], "path_to_your_databas": [], "pattern": [27, 41], "paus": [102, 103, 107, 113, 114, 118, 178, 193], "pcal": 44, "pd": [5, 20, 44], "peak": 7, "penetr": [146, 157], "pentagon": [63, 67], "per": [20, 44], "percent": [146, 157], "percent_fe": [24, 25], "percentag": [20, 25], "perfectli": 17, "perform": [0, 2, 3, 7, 17, 26, 41], "period": [1, 2, 5, 7, 13, 21, 81, 196], "permiss": [14, 19], "permit": [], "persist": 196, "perspect": 41, "pick": [5, 10, 17, 26], "pink": [62, 63, 66, 67], "pip": [2, 5, 10, 13, 25, 26], "pk7t6yvax6pmh1em20yn": 17, "place": [9, 13, 18, 146, 151, 157, 162], "plan": [2, 17], "platform": [14, 26], "pleas": [1, 2, 5, 6, 8, 10, 13, 15, 22, 72, 180, 195], "plot": [1, 10, 46, 63, 67], "plot_file_html": 1, "plu": [14, 105, 116, 175, 190], "png": [], "pnl": 22, "point": [3, 7, 9, 15, 22, 44, 62, 66, 72, 73, 147, 158], "polygon": [0, 1, 5, 8, 10, 17, 26], "polygon_api_kei": [1, 2, 17], "polygon_has_paid_subscript": 1, "polygon_max_memory_byt": 17, "polygondatabacktest": [1, 2, 6, 8], "polygondatasourc": 6, "pop": [], "popular": 13, "porfolio": 1, "port": [15, 17], "portal": 14, "portfolio": [7, 9, 13, 23, 28, 51, 57, 63, 67, 175, 190], "portfolio_valu": [2, 6, 8, 10, 13, 26, 28, 42, 177, 192], "posit": [1, 13, 18, 22, 26, 36, 39, 43, 45, 51, 52, 53, 57, 58, 59, 147, 150, 151, 158, 161, 162, 167, 175, 182, 190], "position_fil": [22, 146, 157], "possibl": [5, 32, 44, 62, 63, 66, 67, 153, 164], "post": [153, 164], "postgresql": 196, "potenti": [2, 25, 26, 147, 158], "power": [2, 6, 8, 17, 25, 26], "powershel": 26, "practic": 14, "pre": [26, 153, 164], "preced": 47, "precis": [19, 128, 136], "predetermin": 22, "prefix": [0, 105, 116], "presenc": 17, "present": [72, 73, 128, 136], "press": 17, "prevent": 196, "previou": [7, 79, 80], "previous": [], "price": [2, 6, 8, 9, 13, 16, 17, 19, 20, 21, 22, 23, 31, 36, 39, 43, 44, 45, 47, 62, 63, 66, 67, 70, 72, 73, 74, 75, 78, 128, 136, 146, 152, 153, 157, 163, 164], "primari": [14, 196], "print": [12, 42, 196], "print_al": 25, "printout": 19, "pro": 13, "probabl": 22, "problem": [], "proceed": [5, 10, 25], "process": [4, 6, 8, 14, 17, 25, 37, 39, 152, 153, 163, 164, 196], "process_expired_option_contract": 43, "process_pending_ord": 43, "product": 43, "prof": 25, "profil": 26, "profit": [17, 22, 25, 26, 43, 62, 63, 66, 67], "program": [107, 118, 165, 178, 193], "project": [2, 6, 8, 17], "prompt": 14, "promptli": 14, "proof": 14, "proper": 17, "properli": [], "properti": [22, 23, 26, 43, 45, 46, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195], "proven": 26, "provid": [0, 2, 4, 5, 6, 8, 9, 17, 20, 21, 44, 74, 75, 131, 140, 144, 145, 155, 156], "pstat": 25, "psycopg2": [], "pull": [40, 72], "purpl": [62, 63, 66, 67], "purpos": 17, "put": [5, 12, 16, 19, 25], "pv_dividend": [128, 136], "py": [15, 17, 25, 26], "pycharm": 2, "pymysql": [], "python": [2, 5, 25, 105, 116], "pytz": 26, "qqq": 1, "qtrz3zurd9244ahuw2aoyapgvyra": 16, "qtrz3zurl9244ahuw4aoyapgvyra": 17, "qty": [2, 6, 8], "quantiti": [1, 2, 6, 7, 8, 10, 12, 13, 22, 23, 25, 26, 36, 39, 52, 53, 58, 59, 146, 157], "quantstat": 7, "queri": [44, 128, 136], "query_greek": [44, 128, 136], "question": 7, "quick": 2, "quickli": [2, 14, 17, 25], "quot": [13, 19, 20, 21, 22, 44, 49, 51, 55, 57, 72, 73, 74, 75, 77, 146, 152, 153, 157, 163, 164, 175, 177, 190, 192], "quote_asset": [1, 13, 19, 23, 26, 152, 153, 163, 164], "r": 37, "rais": 34, "randint": 42, "random": 42, "random_numb": 42, "rang": [5, 13, 17, 20, 21], "rate": [1, 6, 8, 20, 44, 128, 136], "rather": 82, "ratio": [2, 7], "raw": [5, 20, 22], "re": [2, 11, 14, 17, 26, 82], "reach": [7, 25, 26, 43], "react": [27, 41], "read": [5, 15, 25, 44], "read_csv": 5, "readi": [2, 14, 17, 41, 146, 157], "readthedoc": 13, "real": [14, 16, 17, 25, 71, 78, 81], "receiv": [5, 14], "recent": [20, 72, 78], "recommend": [0, 15, 17, 25], "record": 26, "red": [62, 63, 66, 67, 105, 116], "redeploi": 17, "reduc": 17, "refer": [2, 3, 17, 26, 27], "refin": [4, 25], "regard": [], "regardless": 82, "regist": [22, 110, 112, 121, 123], "regular": 73, "regularli": 17, "reindex": 21, "reiniti": 31, "relat": [14, 17, 36], "reliabl": [], "remain": [12, 39, 43, 172, 187], "remaind": [146, 157], "rememb": [13, 26], "remov": [180, 195], "render": 26, "repair_times_and_fil": 21, "repl": 17, "replac": [2, 6, 8, 13], "replit": 26, "report": 28, "repositori": [13, 17], "repres": [19, 22, 44, 45, 72, 73, 126, 134], "represent": [12, 21, 22, 44, 72, 73], "request": 14, "requir": [0, 1, 2, 10, 13, 14, 15, 17, 19, 22, 74, 75, 146, 153, 157, 164], "reserv": 17, "reset": 31, "resist": [63, 67], "resourc": 25, "resov": [175, 190], "respect": 20, "respond": [2, 14], "respons": [], "rest": [12, 14, 17, 41], "restart": [17, 40], "restor": 26, "restric": [146, 157], "result": [2, 5, 6, 8, 10, 25, 26, 42], "resum": 196, "retreiv": 23, "retriev": [2, 19, 21, 74, 75, 78, 196], "return": [1, 7, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "review": [2, 14], "right": [14, 17, 19, 28, 63, 67, 72, 152, 163], "right_must_be_one_of": 19, "risk": [1, 7, 14, 25, 44, 128, 136], "risk_free_r": [1, 44, 128, 136], "robot": 26, "robust": [6, 8], "romad": 7, "round": [44, 87, 88, 96, 97], "round_dai": [87, 96], "round_minut": [88, 97], "row": [20, 42, 72, 73, 81], "rsi": [2, 13], "rtype": [22, 44], "rule": 20, "run": [0, 5, 6, 8, 10, 11, 12, 14, 17, 21, 26, 30, 32, 33, 34, 37, 44, 46, 81, 102, 103, 113, 114, 143, 145, 154, 156, 170, 185], "run_al": [5, 13, 14, 15, 16, 25, 26, 46], "run_all_async": 46, "run_backtest": [0, 1, 2, 5, 6, 8, 10, 25], "runtim": 196, "safe": [], "sai": [], "sale": [6, 8], "same": [5, 14, 17, 22, 26, 73], "sampl": [12, 26], "sandbox": [13, 17], "save": [1, 5, 10, 17, 25, 46, 196], "save_logfil": 1, "save_tearsheet": [1, 46], "scalabl": [17, 196], "scale": [7, 196], "scene": 19, "scope": 42, "screen": [], "script": 5, "scroll": [14, 17], "se": [63, 67], "seamlessli": 17, "search": [2, 26], "second": [1, 12, 22, 32, 40, 43, 73, 81, 101, 107, 118, 178, 193], "secondari": [11, 26], "secret": [12, 13, 14, 16, 25, 26], "section": [2, 14, 17, 25, 47], "secur": [2, 5, 10, 14, 19, 22], "see": [2, 13, 14, 15, 17, 19, 20, 25, 26, 44, 48, 61, 70, 82, 101, 124, 142], "seek": [52, 58, 144, 155], "select": [2, 14, 17], "self": [1, 2, 5, 6, 8, 10, 12, 13, 14, 16, 17, 19, 20, 22, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 47, 165], "sell": [1, 7, 9, 22, 23, 29, 33, 34, 36, 40, 43, 45, 146, 150, 151, 152, 153, 157, 161, 162, 163, 164], "sell_al": [26, 29, 33, 34, 47], "sell_short": 22, "sell_to_clos": 22, "sell_to_open": 22, "sell_trading_fe": [1, 25], "send": [14, 17, 105, 116], "sens": 47, "separ": [14, 17], "seri": 21, "serial": [], "server": [], "servic": [17, 105, 116], "session": [], "set": [1, 2, 6, 8, 11, 14, 15, 16, 17, 19, 20, 21, 22, 25, 26, 29, 32, 43, 44, 54, 60, 72, 73, 78, 106, 117, 125, 133, 146, 157, 165, 166, 172, 173, 178, 187, 188, 193, 196], "set_cancel": 22, "set_dat": 21, "set_date_format": 21, "set_error": 22, "set_fil": 22, "set_identifi": 22, "set_market": [13, 26, 32, 47], "set_new": 22, "set_paramet": [26, 47, 165], "set_partially_fil": 22, "set_tim": 21, "settings_fil": 1, "settl": 43, "settlement": 22, "setup": [0, 2, 11, 26], "sever": [0, 2, 10, 11, 45, 165], "share": [13, 16, 20, 22, 29, 31, 36, 39, 44, 146, 157, 175, 190], "sharp": [2, 7], "sheet": 2, "shift": [21, 44, 72, 73, 84, 87, 88, 93, 96, 97], "short": [22, 106, 117], "should": [5, 10, 14, 16, 20, 22, 27, 40, 43, 45, 74, 107, 118, 128, 136], "should_continu": 43, "should_use_last_clos": 74, "show": [1, 7, 52, 53, 58, 59, 147, 148, 149, 158, 159, 160], "show_ind": [1, 46], "show_plot": [1, 46], "show_tearsheet": [1, 46], "showcas": 7, "shown": [25, 26], "shut": 33, "side": [1, 2, 6, 8, 12, 22, 25, 36, 43, 146, 157], "sidebar": 17, "sign": 14, "signatur": 14, "similar": [13, 17, 30], "similarli": [], "simpl": [1, 5, 6, 8, 10, 16, 22, 26, 146, 157], "simple_start_ib": 15, "simple_start_single_fil": [25, 26], "simpli": [6, 8], "simplifi": [6, 8], "simultan": 44, "sinc": 13, "singl": [14, 20, 44, 144, 155], "situat": 5, "six": [32, 106, 117], "size": [63, 67, 81], "skill": 25, "skip": [17, 30], "sleep": [1, 2, 26, 40, 47, 101, 102, 113, 178, 193], "sleeptim": [1, 2, 6, 8, 13, 25, 26, 32, 40, 107, 118], "slightli": [], "slow": 25, "smart": [44, 125, 127, 129, 133, 135, 137, 146, 157], "smoothli": 17, "snakeviz": 25, "snapshot": [14, 42], "snapshot_befor": 42, "so": [6, 8, 10, 13, 14, 17, 19, 22, 25, 26, 47, 82, 128, 136], "socket": [15, 17], "socket_port": 15, "sold": [36, 51, 57, 146, 157], "solid": [62, 66], "solut": 14, "some": [5, 10, 14, 25, 26, 44, 45, 74, 146, 157], "some_var": [], "someth": [5, 13], "sometim": 25, "soon": 17, "sort": [127, 129, 131, 135, 137, 140], "sortino": 7, "sought": [52, 58, 147, 158], "sourc": [0, 5, 8, 13, 20, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "speak": [11, 41], "specif": [2, 7, 13, 17, 19, 22, 41, 44, 62, 66, 109, 120, 125, 126, 133, 134, 146, 157, 166], "specifi": [20, 22, 44, 72, 73, 146, 157, 196], "speed": [44, 178, 193], "spend": 25, "split": [20, 45], "spy": [1, 2, 5, 6, 8, 19, 22, 25, 30, 31, 32, 36, 40, 44, 71, 72, 73, 74, 75, 79, 80, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 144, 146, 150, 152, 153, 155, 157, 161, 163, 164, 165], "sqlalchemi": [], "sqlite": 17, "squar": [63, 67], "src": 17, "sse": [32, 106, 117], "standard": [], "star": [63, 67], "start": [1, 2, 5, 6, 7, 8, 10, 11, 13, 17, 20, 21, 30, 32, 44, 72, 73, 78, 81, 102, 113, 173, 188], "start_buff": 44, "start_dat": 21, "start_dt": 44, "startegi": 5, "starter": 17, "starting_posit": 1, "stat": [1, 28, 42], "state": [17, 166, 196], "static": 44, "statist": 2, "stats_fil": [1, 32], "statu": [22, 148, 149, 159, 160], "std": 44, "steea9fhiszntmpihqjudeqolitj0javz": 17, "step": [2, 5, 14], "stike": [44, 125, 133], "still": [146, 157], "stock": [0, 1, 2, 5, 6, 8, 9, 10, 12, 17, 19, 20, 21, 22, 23, 26, 32, 44, 106, 117, 126, 134, 146, 152, 157, 163], "stock_split": 20, "stop": [14, 22, 25, 32, 33, 40, 43, 62, 63, 66, 67, 102, 103, 113, 114, 146, 152, 153, 157, 163, 164, 172, 187, 196], "stop_al": 46, "stop_limit": [22, 146, 157], "stop_loss": [146, 152, 157, 163], "stop_loss_limit": [146, 157], "stop_loss_limit_pric": [22, 146, 157], "stop_loss_pric": [22, 146, 152, 157, 163], "stop_ord": 43, "stop_pric": [22, 43, 146, 152, 153, 157, 163, 164], "storag": 26, "store": 196, "str": [1, 19, 20, 21, 22, 23, 44, 52, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 84, 93, 105, 106, 116, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 153, 157, 164, 174, 178, 179, 189, 193, 194], "straightforward": 17, "strangl": [14, 15], "strat": 5, "strategi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "strategy_001": [], "strategy_1": 32, "strategy_2": 32, "strategy_executor": [13, 16], "strategy_id": [17, 196], "strategy_nam": 17, "stream": [14, 71, 78, 81], "strength": 2, "strictli": [5, 21], "strike": [9, 19, 44, 72, 126, 128, 131, 134, 136, 140, 146, 157], "strike1": [44, 125, 126, 133, 134], "strike2": [44, 125, 126, 133, 134], "strike_max": 44, "strike_min": 44, "strike_pric": [152, 163], "string": [1, 17, 19, 20, 21, 22, 44, 72, 73, 105, 116, 132, 141, 146, 157, 178, 193, 196], "strke": [44, 125, 133], "strongli": [], "structur": [14, 26], "studio": 2, "style": [62, 66], "sub": 26, "subaccount": [14, 17], "subaccount1": 17, "submiss": 22, "submit": [14, 22, 37, 43, 47, 142, 146, 152, 153, 157, 163, 164], "submit_ord": [1, 2, 5, 6, 8, 10, 13, 19, 22, 25, 26, 40, 43, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 146, 150, 155, 156, 157, 161], "subscrib": 14, "subscript": [1, 11, 26], "subsequ": [5, 6, 8], "success": 17, "successfulli": [35, 36, 37], "suffic": 14, "suffici": [146, 157], "suggest": 26, "suit": [2, 26], "suitabl": [2, 17], "sum": [20, 51, 57], "summari": [0, 6, 8, 26, 27], "super": 26, "suppli": [0, 10, 21], "supplier": 20, "support": [2, 6, 7, 8, 13, 14, 17, 21, 25, 26, 44, 63, 67, 128, 136, 146, 157], "sure": [2, 6, 8, 14, 25, 26], "sw": [63, 67], "swim": 26, "switch": 26, "sybmol": 21, "symbol": [1, 2, 5, 6, 8, 12, 13, 19, 20, 21, 22, 23, 25, 36, 44, 63, 67, 72, 73, 74, 146, 152, 153, 157, 163, 164], "symbol2asset": 19, "system": [151, 162], "t": [6, 8, 13, 14, 17, 26], "ta": 13, "tab": 17, "tabl": 196, "tag": [22, 153, 164], "tailor": 7, "take": [6, 8, 17, 22, 25, 41, 44, 62, 63, 66, 67, 73, 74, 75, 125, 133], "take_profit_pric": [22, 146, 152, 157, 163], "taken": 4, "taker": 24, "tall": [63, 67], "tase": [32, 106, 117], "task": 41, "tear": 2, "tearsheet": [0, 1, 26, 46], "tearsheet_fil": [1, 46], "technic": [2, 13, 41], "tediou": 14, "tell": 82, "term": [2, 14], "termin": [2, 13, 25, 26], "test": [0, 2, 15, 17], "text": [62, 63, 66, 67], "than": [16, 17, 44, 82, 146, 147, 157, 158], "thei": [3, 5, 11, 17, 20, 26, 41, 81, 128, 136], "them": [2, 11, 14, 17, 20, 22, 25, 26, 47, 48, 61, 70, 82, 101, 124, 142, 145, 156], "themselv": 20, "theoret": [128, 136], "therefor": [167, 182], "theta": [44, 128, 136], "thetadata": [0, 2, 26], "thetadata_password": 8, "thetadata_usernam": 8, "thetadatabacktest": 8, "thi": [1, 2, 5, 6, 8, 9, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 49, 51, 55, 57, 62, 63, 66, 67, 72, 73, 74, 75, 77, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 107, 118, 146, 153, 157, 164, 167, 168, 177, 178, 182, 183, 192, 193], "thin": [63, 67], "thing": 47, "think": [17, 82], "third": 5, "thoroughli": 15, "those": [13, 17, 166], "though": [146, 157], "thoughtfulli": [], "three": [0, 15, 20, 22], "threshold": [22, 146, 157], "throttl": 20, "through": [2, 13, 14, 17], "tick": 20, "ticker": [9, 19, 20, 32, 44, 81], "time": [3, 5, 6, 8, 9, 12, 13, 14, 17, 20, 21, 25, 32, 41, 43, 44, 45, 71, 72, 73, 78, 81, 82, 87, 88, 96, 97, 102, 103, 107, 113, 114, 118, 128, 136, 146, 157, 168, 178, 183, 193], "time_in_forc": [22, 146, 157], "timedelta": [44, 72, 73, 102, 103, 113, 114], "timefram": 20, "timeshift": [21, 43, 44, 72, 73, 84, 87, 88, 93, 96, 97], "timestamp": [2, 12, 20, 44, 62, 63, 66, 67, 85, 86, 87, 88, 89, 94, 95, 96, 97, 98, 196], "timestep": [5, 21, 43, 44, 72, 73, 84, 93], "timestep_map": [21, 44], "timezon": [20, 21, 26, 44, 90, 91, 99, 100, 176, 181, 191], "tip": 17, "titl": [], "tlt": [30, 52, 58, 73, 75, 80, 111, 112, 122, 123, 146, 147, 153, 157, 158, 164], "to_csv": 5, "to_datalin": 21, "to_default_timezon": [26, 44, 47], "to_dict": [19, 22, 23], "to_posit": 22, "to_request_field": 12, "todai": [17, 74, 82], "todo": [43, 74], "togeth": [5, 22, 25], "token": 17, "tool": [6, 8, 17, 26], "top": [14, 17, 26], "topic": 17, "total": [7, 20, 28, 51, 57, 147, 158, 175, 190], "totalview": 14, "tqqq": 25, "trace": 42, "trace_stat": [26, 27, 178, 193], "track": [19, 23, 26, 52, 53, 58, 59, 148, 149, 159, 160], "trade": [0, 1, 4, 5, 10, 11, 13, 15, 17, 18, 19, 20, 21, 22, 27, 30, 31, 32, 33, 40, 41, 43, 44, 45, 52, 58, 73, 74, 76, 78, 81, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 126, 130, 134, 138, 146, 157, 171, 186, 196], "trade_cost": 22, "trade_count": 196, "tradeapi": 12, "trader": [5, 6, 8, 10, 12, 13, 14, 15, 16, 26, 33], "trades_fil": 1, "tradest": 26, "tradier": [11, 26, 44, 77, 153, 164], "tradier_access_token": 17, "tradier_account_numb": 17, "tradier_config": 16, "tradier_is_pap": 17, "trading_fe": 24, "trading_fee_1": 25, "trading_fee_2": 25, "trading_hours_end": 21, "trading_hours_start": 21, "tradingcalendar": [32, 106, 117], "tradingfe": [1, 24, 25, 26], "trail": [22, 146, 152, 157, 163], "trail_perc": [22, 146, 157], "trail_pric": [22, 146, 157], "trailing_stop": [22, 146, 157], "trailing_stop_pric": [152, 163], "transact": [13, 22, 167, 182], "trashcan": 17, "tree": 26, "triangl": [63, 67], "trigger": [22, 146, 157], "trim": 21, "trim_data": 21, "troubleshoot": [], "trough": 7, "true": [1, 5, 12, 13, 16, 17, 22, 24, 25, 26, 32, 43, 44, 46, 72, 73, 74, 105, 116, 151, 162, 168, 170, 183, 185], "try": [14, 25, 146, 157], "tsx": [32, 106, 117], "tsxv": [32, 106, 117], "tupl": [22, 73], "tutori": [15, 26], "tw": [17, 20], "two": [2, 3, 11, 19, 22, 25, 26, 73, 145, 156], "twsapi": [], "type": [0, 1, 2, 5, 12, 14, 18, 19, 20, 21, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "typic": [17, 22, 165], "tz_local": 21, "u": [6, 7, 8, 13, 14, 21, 26, 175, 190], "u17369206": [14, 17], "ultra": 14, "under": [13, 14, 17, 25], "underli": [19, 21, 44, 128, 131, 136, 140], "underlying_asset": 19, "underlying_pric": [44, 128, 136], "understand": [2, 4, 25], "unexpect": [], "unexpectedli": [], "uniqu": 3, "unit": [17, 44, 146, 157, 178, 193], "unix": 12, "unless": 5, "unlik": 30, "unnecessari": [14, 17], "unprocess": 22, "unspent_monei": 26, "until": [6, 8, 12, 20, 102, 103, 113, 114, 146, 157], "up": [1, 2, 5, 6, 11, 14, 15, 17, 19, 25, 26, 44, 63, 67, 196], "updat": [20, 22, 26, 36, 38, 108, 119, 146, 157, 167, 182], "update_date_index": 44, "update_paramet": [26, 38, 47], "update_raw": 22, "update_trail_stop_pric": 22, "upgrad": [2, 5, 10, 25, 26], "upload": 14, "upon": [], "upper": 14, "url": [14, 17], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 76, 82, 101, 105, 107, 116, 118, 127, 128, 129, 130, 131, 135, 136, 137, 138, 140, 142, 146, 157, 165, 166, 167, 177, 178, 180, 182, 192, 193, 195, 196], "us_equ": 12, "us_futur": [32, 106, 117], "usag": [17, 26], "usd": [1, 19, 21, 72, 73, 74, 146, 152, 153, 157, 163, 164], "usdc": 1, "usdt": [1, 19, 49, 51, 55, 57, 72, 74, 146, 157], "user": [0, 2, 5, 10, 14, 17, 21, 25, 27, 41, 45, 46, 144, 146, 155, 157, 196], "user123": [14, 17], "userdict": 19, "usernam": [2, 8, 14, 17], "usual": [1, 47, 178, 193], "utc": 21, "util": [], "utm_campaign": 6, "utm_sourc": 6, "utp": 14, "v": [2, 7, 19], "v2": 7, "va12204793": 17, "va22904793": 16, "valid": [2, 19, 21, 22, 44, 125, 126, 133, 134, 146, 157], "valu": [1, 3, 5, 9, 12, 13, 14, 17, 19, 20, 21, 23, 28, 43, 45, 46, 48, 49, 51, 55, 57, 61, 62, 63, 66, 67, 72, 73, 128, 136, 153, 164, 175, 190, 196], "valuat": 1, "value_typ": 23, "var": 26, "var1": 196, "var2": 196, "variabl": [14, 26, 31, 42, 166], "variant": 22, "variat": 7, "varieti": 7, "variou": [2, 6, 7, 8, 14], "vars_backup": 196, "vcpu": 17, "ve": [2, 13, 16, 26], "vector": 26, "vega": [128, 136], "verbiag": [], "veri": [10, 17, 26], "verifi": 17, "versatil": [6, 8, 13, 17], "version": [2, 5, 7, 10, 17, 25, 26], "via": 14, "view": [4, 17], "visit": [7, 16, 17, 25, 26], "visual": [2, 3, 7, 25], "visualstudio": 2, "vital": 2, "vm": 17, "volatil": [7, 22, 128, 136], "volum": [5, 20, 21, 78, 81], "voyz": [], "vwap": [78, 81], "wa": [2, 12, 13, 27, 30, 33, 34, 41, 43, 72, 167, 182], "wait": [17, 22, 39, 109, 110, 111, 112, 120, 121, 122, 123], "wait_for_order_execut": [26, 47], "wait_for_order_registr": [26, 47], "wait_for_orders_execut": [26, 47], "wait_for_orders_registr": [26, 47], "wait_to_be_clos": 22, "wait_to_be_regist": 22, "walk": [2, 17], "want": [1, 2, 5, 8, 10, 12, 13, 16, 17, 25, 26, 41, 44, 62, 66], "was_transmit": 22, "we": [5, 6, 7, 8, 10, 11, 13, 14, 17, 25, 26, 28, 47, 72, 146, 157], "weak": 2, "wealth": 26, "web": [25, 46], "webhook": 17, "websit": [2, 7, 10, 13, 14, 16, 17], "week": [72, 73], "weight": 22, "welcom": 25, "well": 26, "were": [9, 26, 38], "what": [26, 47, 82, 177, 192], "whatev": 13, "when": [0, 1, 2, 5, 6, 8, 13, 14, 17, 19, 20, 22, 25, 26, 27, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 62, 63, 66, 67, 82, 146, 157, 167, 172, 182, 187, 196], "whenev": [167, 182], "where": [22, 25, 42, 146, 157], "whether": [1, 17, 22, 44, 46, 72, 82, 128, 136, 146, 157], "which": [2, 6, 7, 8, 9, 13, 14, 17, 20, 21, 22, 32, 41, 49, 51, 55, 57, 74, 75, 76, 77, 128, 130, 136, 138, 178, 193], "while": [14, 17], "white": [62, 63, 66, 67], "who": [5, 17, 52, 58, 147, 158], "whose": [44, 126, 134], "why": [2, 26], "wide": [13, 17, 63, 67], "width": [62, 66, 72, 73], "wiki": [], "window": 26, "wish": [5, 26], "within": [1, 17, 18, 107, 118, 143, 154], "without": [14, 17, 25, 131, 140], "won": [6, 8], "word": [22, 167, 182], "work": [0, 2, 5, 11, 15, 17, 25, 26, 72, 73, 77, 166], "worker": 17, "workstat": 15, "world": [14, 17], "would": [1, 2, 5, 16, 19, 25, 26, 44, 51, 57, 146, 157, 178, 193], "wrapper": 21, "write": [1, 2, 6, 8], "www": [8, 16], "x": [63, 67], "xam": [32, 106, 117], "xasx": [32, 106, 117], "xbkk": [32, 106, 117], "xbog": [32, 106, 117], "xbom": [32, 106, 117], "xbru": [32, 106, 117], "xbud": [32, 106, 117], "xbue": [32, 106, 117], "xcbf": [32, 106, 117], "xcse": [32, 106, 117], "xdub": [32, 106, 117], "xetr": [32, 106, 117], "xfra": [32, 106, 117], "xhel": [32, 106, 117], "xhkg": [32, 106, 117], "xice": [32, 106, 117], "xidx": [32, 106, 117], "xist": [32, 106, 117], "xjse": [32, 106, 117], "xkar": [32, 106, 117], "xkl": [32, 106, 117], "xkrx": [32, 106, 117], "xli": [32, 106, 117], "xlim": [32, 106, 117], "xlon": [32, 106, 117], "xmad": [32, 106, 117], "xmex": [32, 106, 117], "xmil": [32, 106, 117], "xmo": [32, 106, 117], "xny": [32, 106, 117], "xnze": [32, 106, 117], "xosl": [32, 106, 117], "xpar": [32, 106, 117], "xph": [32, 106, 117], "xpra": [32, 106, 117], "xse": [32, 106, 117], "xsgo": [32, 106, 117], "xshg": [32, 106, 117], "xsto": [32, 106, 117], "xswx": [32, 106, 117], "xtae": [32, 106, 117], "xtai": [32, 106, 117], "xtk": [32, 106, 117], "xtse": [32, 106, 117], "xwar": [32, 106, 117], "xwbo": [32, 106, 117], "xyz1234567890abcdef": 17, "y": [63, 67], "yahoo": [0, 1, 2, 5, 20, 26, 72, 73, 106, 117], "yahoo_data": 44, "yahoodata": 44, "yahoodatabacktest": [1, 10, 25, 26, 32], "yappi": 25, "year": [2, 6, 8], "yearli": 7, "yellow": [62, 63, 66, 67], "yet": [22, 46], "yf": [5, 44], "yfinanc": [5, 44], "yield": 20, "york": [5, 17], "you": [0, 1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22, 25, 26, 29, 32, 44, 47, 48, 49, 51, 55, 57, 61, 62, 66, 70, 72, 73, 82, 101, 124, 142, 146, 157, 165, 166, 178, 193], "your": [2, 5, 6, 7, 8, 10, 11, 12, 14, 15, 18, 20, 22, 40, 41, 47, 48, 49, 51, 55, 57, 61, 70, 82, 101, 146, 157, 165, 166, 178, 193, 196], "your_access_token": 16, "your_account_numb": 16, "your_alpaca_api_kei": [25, 26], "your_alpaca_secret": [25, 26], "your_api_kei": [12, 13], "your_api_secret": 12, "your_passphras": 13, "your_polygon_api_kei": [2, 6], "your_secret": 13, "your_secret_kei": 13, "yyyi": [76, 130, 138], "yyyymm": 19, "yyyymmdd": [19, 132, 141], "zero": [167, 182], "zone": [5, 20]}, "titles": ["Backtesting", "Backtesting Function", "How To Backtest", "Indicators Files", "Logs CSV", "Pandas (CSV or other data)", "Polygon.io Backtesting", "Tearsheet HTML", "ThetaData Backtesting", "Trades Files", "Yahoo", "Brokers", "Alpaca", "Crypto Brokers (Using CCXT)", "Interactive Brokers", "Interactive Brokers Legacy", "Tradier", "Deployment Guide", "Entities", "Asset", "Bars", "Data", "Order", "Position", "Trading Fee", "What is Lumibot?", "Lumibot: Backtesting and Algorithmic Trading Library", "Lifecycle Methods", "def after_market_closes", "def before_market_closes", "def before_market_opens", "def before_starting_trading", "def initialize", "def on_abrupt_closing", "def on_bot_crash", "def on_canceled_order", "def on_filled_order", "def on_new_order", "def on_parameters_updated", "def on_partially_filled_order", "def on_trading_iteration", "Summary", "def trace_stats", "Backtesting", "Data Sources", "Strategies", "Traders", "Strategy Methods", "Account Management", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "Chart Functions", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "Data", "self.cancel_realtime_bars", "self.get_historical_prices", "self.get_historical_prices_for_assets", "self.get_last_price", "self.get_last_prices", "self.get_next_trading_day", "self.get_quote", "self.get_realtime_bars", "self.get_yesterday_dividend", "self.get_yesterday_dividends", "self.start_realtime_bars", "DateTime", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "Miscellaneous", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "Options", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_strikes", "self.options_expiry_to_datetime_date", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_option_expiration_after_date", "self.get_strikes", "self.options_expiry_to_datetime_date", "Order Management", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "Parameters", "Strategy Properties", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "self.pytz", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "Variable Backup & Restore"], "titleterms": {"1": [25, 26], "2": [25, 26], "3": [25, 26], "4": 25, "5": 25, "6": 25, "7": 25, "8": 25, "In": 5, "It": 196, "To": 2, "With": [22, 25], "account": [14, 25, 48], "ad": 25, "add_lin": [62, 66], "add_mark": [63, 67], "addit": 26, "advanc": 22, "after_market_clos": 28, "algorithm": 26, "all": 26, "alpaca": [12, 17, 25], "an": 25, "api": 25, "ask": [], "asset": 19, "authent": 14, "autom": 14, "await_market_to_clos": [102, 113], "await_market_to_open": [103, 114], "backtest": [0, 1, 2, 6, 8, 25, 26, 43], "backup": 196, "bar": 20, "before_market_clos": 29, "before_market_open": 30, "before_starting_trad": 31, "benefit": 196, "bot": 26, "broker": [11, 13, 14, 15, 17, 43], "cancel_open_ord": [143, 154], "cancel_ord": [144, 145, 155, 156], "cancel_realtime_bar": 71, "cash": [167, 182], "ccxt": 13, "chart": 61, "choos": [2, 17], "class": 25, "coinbas": 17, "conclus": [2, 17], "configur": [13, 14, 16, 17, 25, 196], "content": [0, 11, 18, 26, 27, 44, 47], "creat": [25, 26], "create_ord": [146, 157], "crypto": 13, "csv": [4, 5], "data": [2, 5, 14, 21, 43, 44, 70], "databas": 196, "datafram": 5, "datetim": 82, "def": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "definit": [], "deploi": 17, "deploy": 17, "detail": [], "document": [12, 19, 20, 22, 45], "entiti": 18, "environ": 17, "exampl": [5, 13, 14, 16, 17], "extra": 26, "factor": 14, "fee": [24, 25], "file": [0, 2, 3, 9], "final": 17, "first_iter": [168, 183], "follow": 25, "frequent": [], "from": [0, 2], "full": [13, 16], "function": [1, 61], "gener": [0, 2, 17], "get": [16, 25, 26], "get_asset_potential_tot": [147, 158], "get_cash": [49, 55], "get_chain": [125, 126, 133, 134], "get_datetim": [83, 92], "get_datetime_rang": [84, 93], "get_expir": [127, 135], "get_greek": [128, 136], "get_historical_pric": 72, "get_historical_prices_for_asset": 73, "get_last_dai": [85, 94], "get_last_minut": [86, 95], "get_last_pric": [74, 75], "get_lines_df": [64, 68], "get_markers_df": [65, 69], "get_multipli": [129, 137], "get_next_trading_dai": [76, 130, 138], "get_option_expiration_after_d": 139, "get_ord": [148, 149, 159, 160], "get_paramet": [50, 56, 104, 115], "get_portfolio_valu": [51, 57], "get_posit": [52, 53, 58, 59], "get_quot": 77, "get_realtime_bar": 78, "get_round_dai": [87, 96], "get_round_minut": [88, 97], "get_selling_ord": [150, 161], "get_strik": [131, 140], "get_timestamp": [89, 98], "get_yesterday_dividend": [79, 80], "guid": [17, 196], "help": 26, "how": [2, 196], "html": [2, 7], "i": 25, "import": 25, "improv": 25, "indic": [2, 3, 26], "initi": 32, "initial_budget": [169, 184], "instal": [2, 25, 26], "instanti": 25, "interact": [14, 15, 17], "io": [2, 6], "is_backtest": [170, 185], "kei": 25, "kraken": 17, "last_on_trading_iteration_datetim": [171, 186], "leg": 22, "legaci": [15, 17], "librari": 26, "lifecycl": 27, "live": 26, "load": [], "localize_datetim": [90, 99], "log": 4, "log_messag": [105, 116], "lumibot": [2, 25, 26], "lumiwealth": 25, "manag": [48, 142], "market": 14, "method": [27, 47], "minutes_before_clos": [172, 187], "minutes_before_open": [173, 188], "miscellan": 101, "modul": [25, 44], "name": [174, 189], "need": 26, "note": [], "on_abrupt_clos": 33, "on_bot_crash": 34, "on_canceled_ord": 35, "on_filled_ord": 36, "on_new_ord": 37, "on_parameters_upd": 38, "on_partially_filled_ord": 39, "on_trading_iter": 40, "option": [25, 124], "options_expiry_to_datetime_d": [132, 141], "order": [22, 142], "other": 5, "packag": 25, "panda": [5, 44], "paper": [14, 25], "paramet": 165, "perform": 25, "platform": 17, "polygon": [2, 6], "portfolio_valu": [175, 190], "posit": 23, "profil": 25, "properti": 166, "pytz": [176, 181, 191], "question": [], "quote_asset": [177, 192], "refer": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "render": 17, "replit": 17, "resourc": 26, "restor": 196, "run": [2, 13, 16, 25], "secondari": 14, "secret": 17, "self": [49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "sell_al": [151, 162], "set": 13, "set_market": [106, 117], "set_paramet": [54, 60], "setup": 14, "sleep": [107, 118], "sleeptim": [178, 193], "sourc": [2, 43, 44], "start": [16, 25, 26], "start_realtime_bar": 81, "step": [17, 25, 26], "storag": 196, "strategi": [13, 14, 16, 17, 25, 26, 45, 47, 166], "structur": 196, "submit_ord": [152, 153, 163, 164], "subscript": 14, "summari": [5, 41], "tabl": 26, "take": 26, "tearsheet": [2, 7], "thetadata": 8, "timezon": [179, 194], "to_default_timezon": [91, 100], "togeth": 26, "trace_stat": 42, "trade": [2, 9, 14, 24, 25, 26], "trader": [25, 46], "tradier": [16, 17], "troubleshoot": [], "two": 14, "type": 22, "unspent_monei": [180, 195], "update_paramet": [108, 119], "us": [13, 14], "usag": 196, "var": 196, "variabl": [17, 196], "wait_for_order_execut": [109, 120], "wait_for_order_registr": [110, 121], "wait_for_orders_execut": [111, 122], "wait_for_orders_registr": [112, 123], "what": 25, "why": [], "work": 196, "yahoo": [10, 44], "your": [13, 16, 17, 25, 26]}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Account Management": [[48, null]], "Adding Trading Fees": [[25, "adding-trading-fees"]], "Additional Resources": [[26, "additional-resources"]], "Advanced Order Types": [[22, "advanced-order-types"]], "All Together": [[26, "all-together"]], "Alpaca": [[12, null]], "Alpaca Configuration": [[17, "alpaca-configuration"], [17, "id22"]], "Asset": [[19, null]], "Backtesting": [[0, null], [43, null]], "Backtesting Broker": [[43, "module-lumibot.backtesting.backtesting_broker"]], "Backtesting Function": [[1, null]], "Bars": [[20, null]], "Benefits of self.vars": [[196, "benefits-of-self-vars"]], "Broker Configuration": [[17, "broker-configuration"]], "Brokers": [[11, null]], "Chart Functions": [[61, null]], "Choosing Your Deployment Platform": [[17, "id1"]], "Choosing a Data Source": [[2, "choosing-a-data-source"]], "Coinbase Configuration": [[17, "coinbase-configuration"], [17, "id23"]], "Conclusion": [[2, "conclusion"], [17, "conclusion"]], "Configuration": [[16, "configuration"]], "Configuration Settings": [[13, "configuration-settings"]], "Contents:": [[0, null], [11, null], [18, null], [27, null], [47, null]], "Crypto Brokers (Using CCXT)": [[13, null]], "Data": [[21, null], [70, null]], "Data Source": [[44, "module-lumibot.data_sources.data_source"]], "Data Source Backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting"]], "Data Sources": [[44, null]], "Database Configuration": [[196, "database-configuration"]], "Database Storage Structure": [[196, "database-storage-structure"]], "DateTime": [[82, null]], "Deploying to Render": [[17, "id2"]], "Deploying to Replit": [[17, "id3"]], "Deployment Guide": [[17, null]], "Documentation": [[12, "module-lumibot.brokers.alpaca"], [19, "module-entities.asset"], [20, "module-entities.bars"], [22, "module-entities.order"], [45, "module-lumibot.strategies.strategy.Strategy"]], "Entities": [[18, null]], "Example Dataframe": [[5, "id1"]], "Example Strategy": [[14, "example-strategy"]], "Example Strategy for Deployment": [[17, "example-strategy-for-deployment"]], "Files Generated from Backtesting": [[0, "files-generated-from-backtesting"], [2, "files-generated-from-backtesting"]], "Final Steps": [[17, "final-steps"]], "Full Example Strategy": [[13, "full-example-strategy"], [16, "full-example-strategy"]], "General Environment Variables": [[17, "general-environment-variables"], [17, "id27"]], "Getting Started": [[16, "getting-started"], [26, "getting-started"]], "Getting Started With Lumibot": [[25, "getting-started-with-lumibot"]], "How It Works": [[196, "how-it-works"]], "How To Backtest": [[2, null]], "In Summary": [[5, "in-summary"]], "Indicators Files": [[2, "indicators-files"], [3, null]], "Indices and tables": [[26, "indices-and-tables"]], "Installing LumiBot": [[2, "installing-lumibot"]], "Interactive Brokers": [[14, null]], "Interactive Brokers Configuration": [[14, "id1"], [17, "interactive-brokers-configuration"], [17, "id25"]], "Interactive Brokers Legacy": [[15, null]], "Interactive Brokers-Legacy Configuration": [[17, "interactive-brokers-legacy-configuration"], [17, "id26"]], "Kraken Configuration": [[17, "kraken-configuration"], [17, "id24"]], "Lifecycle Methods": [[27, null]], "Logs CSV": [[4, null]], "Lumibot: Backtesting and Algorithmic Trading Library": [[26, null]], "Lumiwealth": [[25, "id1"]], "Market Data Subscriptions": [[14, "market-data-subscriptions"]], "Miscellaneous": [[101, null]], "Module contents": [[44, "module-lumibot.data_sources"]], "Need Extra Help?": [[26, "need-extra-help"]], "Options": [[124, null]], "Order": [[22, null]], "Order Management": [[142, null]], "Order With Legs": [[22, "order-with-legs"]], "Pandas": [[44, "module-lumibot.data_sources.pandas_data"]], "Pandas (CSV or other data)": [[5, null]], "Parameters": [[165, null]], "Polygon.io Backtesting": [[6, null]], "Position": [[23, null]], "Profiling to Improve Performance": [[25, "profiling-to-improve-performance"]], "Reference": [[28, "reference"], [29, "reference"], [30, "reference"], [31, "reference"], [32, "reference"], [33, "reference"], [34, "reference"], [35, "reference"], [36, "reference"], [37, "reference"], [38, "reference"], [39, "reference"], [40, "reference"], [42, "reference"]], "Running Your Strategy": [[13, "running-your-strategy"], [16, "running-your-strategy"]], "Running a Backtest with Polygon.io": [[2, "running-a-backtest-with-polygon-io"]], "Secrets Configuration": [[17, "secrets-configuration"]], "Step 1: Install Lumibot": [[26, "step-1-install-lumibot"]], "Step 1: Install the Package": [[25, "step-1-install-the-package"]], "Step 2: Create a Strategy for Backtesting": [[26, "step-2-create-a-strategy-for-backtesting"]], "Step 2: Import the Following Modules": [[25, "step-2-import-the-following-modules"]], "Step 3: Create an Alpaca Paper Trading Account": [[25, "step-3-create-an-alpaca-paper-trading-account"]], "Step 3: Take Your Bot Live": [[26, "step-3-take-your-bot-live"]], "Step 4: Configure Your API Keys": [[25, "step-4-configure-your-api-keys"]], "Step 5: Create a Strategy Class": [[25, "step-5-create-a-strategy-class"]], "Step 6: Instantiate the Trader, Alpaca, and Strategy Classes": [[25, "step-6-instantiate-the-trader-alpaca-and-strategy-classes"]], "Step 7: Backtest the Strategy (Optional)": [[25, "step-7-backtest-the-strategy-optional"]], "Step 8: Run the Strategy": [[25, "step-8-run-the-strategy"]], "Strategies": [[45, null]], "Strategy Methods": [[47, null]], "Strategy Properties": [[166, null]], "Strategy Setup": [[14, "strategy-setup"]], "Summary": [[41, null]], "Table of Contents": [[26, "table-of-contents"]], "Tearsheet HTML": [[2, "tearsheet-html"], [7, null]], "ThetaData Backtesting": [[8, null]], "Trader": [[46, "module-lumibot.traders.trader"]], "Traders": [[46, null]], "Trades Files": [[2, "trades-files"], [9, null]], "Tradier": [[16, null]], "Tradier Configuration": [[17, "tradier-configuration"], [17, "id21"]], "Trading Fee": [[24, null]], "Two-Factor Authentication (2FA)": [[14, "two-factor-authentication-2fa"]], "Usage Guide": [[196, "usage-guide"]], "Using a Paper Trading Account": [[14, "using-a-paper-trading-account"]], "Using a Secondary Username": [[14, "using-a-secondary-username"]], "Variable Backup & Restore": [[196, null]], "What is Lumibot?": [[25, null]], "Yahoo": [[10, null], [44, "module-lumibot.data_sources.yahoo_data"]], "def after_market_closes": [[28, null]], "def before_market_closes": [[29, null]], "def before_market_opens": [[30, null]], "def before_starting_trading": [[31, null]], "def initialize": [[32, null]], "def on_abrupt_closing": [[33, null]], "def on_bot_crash": [[34, null]], "def on_canceled_order": [[35, null]], "def on_filled_order": [[36, null]], "def on_new_order": [[37, null]], "def on_parameters_updated": [[38, null]], "def on_partially_filled_order": [[39, null]], "def on_trading_iteration": [[40, null]], "def trace_stats": [[42, null]], "self.add_line": [[62, null], [66, null]], "self.add_marker": [[63, null], [67, null]], "self.await_market_to_close": [[102, null], [113, null]], "self.await_market_to_open": [[103, null], [114, null]], "self.cancel_open_orders": [[143, null], [154, null]], "self.cancel_order": [[144, null], [155, null]], "self.cancel_orders": [[145, null], [156, null]], "self.cancel_realtime_bars": [[71, null]], "self.cash": [[167, null], [182, null]], "self.create_order": [[146, null], [157, null]], "self.first_iteration": [[168, null], [183, null]], "self.get_asset_potential_total": [[147, null], [158, null]], "self.get_cash": [[49, null], [55, null]], "self.get_chain": [[125, null], [133, null]], "self.get_chains": [[126, null], [134, null]], "self.get_datetime": [[83, null], [92, null]], "self.get_datetime_range": [[84, null], [93, null]], "self.get_expiration": [[127, null], [135, null]], "self.get_greeks": [[128, null], [136, null]], "self.get_historical_prices": [[72, null]], "self.get_historical_prices_for_assets": [[73, null]], "self.get_last_day": [[85, null], [94, null]], "self.get_last_minute": [[86, null], [95, null]], "self.get_last_price": [[74, null]], "self.get_last_prices": [[75, null]], "self.get_lines_df": [[64, null], [68, null]], "self.get_markers_df": [[65, null], [69, null]], "self.get_multiplier": [[129, null], [137, null]], "self.get_next_trading_day": [[76, null], [130, null], [138, null]], "self.get_option_expiration_after_date": [[139, null]], "self.get_order": [[148, null], [159, null]], "self.get_orders": [[149, null], [160, null]], "self.get_parameters": [[50, null], [56, null], [104, null], [115, null]], "self.get_portfolio_value": [[51, null], [57, null]], "self.get_position": [[52, null], [58, null]], "self.get_positions": [[53, null], [59, null]], "self.get_quote": [[77, null]], "self.get_realtime_bars": [[78, null]], "self.get_round_day": [[87, null], [96, null]], "self.get_round_minute": [[88, null], [97, null]], "self.get_selling_order": [[150, null], [161, null]], "self.get_strikes": [[131, null], [140, null]], "self.get_timestamp": [[89, null], [98, null]], "self.get_yesterday_dividend": [[79, null]], "self.get_yesterday_dividends": [[80, null]], "self.initial_budget": [[169, null], [184, null]], "self.is_backtesting": [[170, null], [185, null]], "self.last_on_trading_iteration_datetime": [[171, null], [186, null]], "self.localize_datetime": [[90, null], [99, null]], "self.log_message": [[105, null], [116, null]], "self.minutes_before_closing": [[172, null], [187, null]], "self.minutes_before_opening": [[173, null], [188, null]], "self.name": [[174, null], [189, null]], "self.options_expiry_to_datetime_date": [[132, null], [141, null]], "self.portfolio_value": [[175, null], [190, null]], "self.pytz": [[176, null], [181, null], [191, null]], "self.quote_asset": [[177, null], [192, null]], "self.sell_all": [[151, null], [162, null]], "self.set_market": [[106, null], [117, null]], "self.set_parameters": [[54, null], [60, null]], "self.sleep": [[107, null], [118, null]], "self.sleeptime": [[178, null], [193, null]], "self.start_realtime_bars": [[81, null]], "self.submit_order": [[152, null], [163, null]], "self.submit_orders": [[153, null], [164, null]], "self.timezone": [[179, null], [194, null]], "self.to_default_timezone": [[91, null], [100, null]], "self.unspent_money": [[180, null], [195, null]], "self.update_parameters": [[108, null], [119, null]], "self.wait_for_order_execution": [[109, null], [120, null]], "self.wait_for_order_registration": [[110, null], [121, null]], "self.wait_for_orders_execution": [[111, null], [122, null]], "self.wait_for_orders_registration": [[112, null], [123, null]]}, "docnames": ["backtesting", "backtesting.backtesting_function", "backtesting.how_to_backtest", "backtesting.indicators_files", "backtesting.logs_csv", "backtesting.pandas", "backtesting.polygon", "backtesting.tearsheet_html", "backtesting.thetadata", "backtesting.trades_files", "backtesting.yahoo", "brokers", "brokers.alpaca", "brokers.ccxt", "brokers.interactive_brokers", "brokers.interactive_brokers_legacy", "brokers.tradier", "deployment", "entities", "entities.asset", "entities.bars", "entities.data", "entities.order", "entities.position", "entities.trading_fee", "getting_started", "index", "lifecycle_methods", "lifecycle_methods.after_market_closes", "lifecycle_methods.before_market_closes", "lifecycle_methods.before_market_opens", "lifecycle_methods.before_starting_trading", "lifecycle_methods.initialize", "lifecycle_methods.on_abrupt_closing", "lifecycle_methods.on_bot_crash", "lifecycle_methods.on_canceled_order", "lifecycle_methods.on_filled_order", "lifecycle_methods.on_new_order", "lifecycle_methods.on_parameters_updated", "lifecycle_methods.on_partially_filled_order", "lifecycle_methods.on_trading_iteration", "lifecycle_methods.summary", "lifecycle_methods.trace_stats", "lumibot.backtesting", "lumibot.data_sources", "lumibot.strategies", "lumibot.traders", "strategy_methods", "strategy_methods.account", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_cash", "strategy_methods.account/strategies.strategy.Strategy.get_parameters", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value", "strategy_methods.account/strategies.strategy.Strategy.get_position", "strategy_methods.account/strategies.strategy.Strategy.get_positions", "strategy_methods.account/strategies.strategy.Strategy.set_parameters", "strategy_methods.chart", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df", "strategy_methods.chart/strategies.strategy.Strategy.add_line", "strategy_methods.chart/strategies.strategy.Strategy.add_marker", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df", "strategy_methods.data", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars", "strategy_methods.datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone", "strategy_methods.misc", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters", "strategy_methods.misc/strategies.strategy.Strategy.log_message", "strategy_methods.misc/strategies.strategy.Strategy.set_market", "strategy_methods.misc/strategies.strategy.Strategy.sleep", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration", "strategy_methods.options", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.options/strategies.strategy.Strategy.get_chain", "strategy_methods.options/strategies.strategy.Strategy.get_chains", "strategy_methods.options/strategies.strategy.Strategy.get_expiration", "strategy_methods.options/strategies.strategy.Strategy.get_greeks", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date", "strategy_methods.options/strategies.strategy.Strategy.get_strikes", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date", "strategy_methods.orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders", "strategy_methods.orders/strategies.strategy.Strategy.create_order", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total", "strategy_methods.orders/strategies.strategy.Strategy.get_order", "strategy_methods.orders/strategies.strategy.Strategy.get_orders", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order", "strategy_methods.orders/strategies.strategy.Strategy.sell_all", "strategy_methods.orders/strategies.strategy.Strategy.submit_order", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders", "strategy_methods.parameters", "strategy_properties", "strategy_properties/lumibot.strategies.strategy.Strategy.cash", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/lumibot.strategies.strategy.Strategy.name", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money", "strategy_properties/lumibot.strategies.strategy.pytz", "strategy_properties/strategies.strategy.Strategy.cash", "strategy_properties/strategies.strategy.Strategy.first_iteration", "strategy_properties/strategies.strategy.Strategy.initial_budget", "strategy_properties/strategies.strategy.Strategy.is_backtesting", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening", "strategy_properties/strategies.strategy.Strategy.name", "strategy_properties/strategies.strategy.Strategy.portfolio_value", "strategy_properties/strategies.strategy.Strategy.pytz", "strategy_properties/strategies.strategy.Strategy.quote_asset", "strategy_properties/strategies.strategy.Strategy.sleeptime", "strategy_properties/strategies.strategy.Strategy.timezone", "strategy_properties/strategies.strategy.Strategy.unspent_money", "vars"], "envversion": {"sphinx": 64, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["backtesting.rst", "backtesting.backtesting_function.rst", "backtesting.how_to_backtest.rst", "backtesting.indicators_files.rst", "backtesting.logs_csv.rst", "backtesting.pandas.rst", "backtesting.polygon.rst", "backtesting.tearsheet_html.rst", "backtesting.thetadata.rst", "backtesting.trades_files.rst", "backtesting.yahoo.rst", "brokers.rst", "brokers.alpaca.rst", "brokers.ccxt.rst", "brokers.interactive_brokers.rst", "brokers.interactive_brokers_legacy.rst", "brokers.tradier.rst", "deployment.rst", "entities.rst", "entities.asset.rst", "entities.bars.rst", "entities.data.rst", "entities.order.rst", "entities.position.rst", "entities.trading_fee.rst", "getting_started.rst", "index.rst", "lifecycle_methods.rst", "lifecycle_methods.after_market_closes.rst", "lifecycle_methods.before_market_closes.rst", "lifecycle_methods.before_market_opens.rst", "lifecycle_methods.before_starting_trading.rst", "lifecycle_methods.initialize.rst", "lifecycle_methods.on_abrupt_closing.rst", "lifecycle_methods.on_bot_crash.rst", "lifecycle_methods.on_canceled_order.rst", "lifecycle_methods.on_filled_order.rst", "lifecycle_methods.on_new_order.rst", "lifecycle_methods.on_parameters_updated.rst", "lifecycle_methods.on_partially_filled_order.rst", "lifecycle_methods.on_trading_iteration.rst", "lifecycle_methods.summary.rst", "lifecycle_methods.trace_stats.rst", "lumibot.backtesting.rst", "lumibot.data_sources.rst", "lumibot.strategies.rst", "lumibot.traders.rst", "strategy_methods.rst", "strategy_methods.account.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/lumibot.strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_cash.rst", "strategy_methods.account/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.account/strategies.strategy.Strategy.get_portfolio_value.rst", "strategy_methods.account/strategies.strategy.Strategy.get_position.rst", "strategy_methods.account/strategies.strategy.Strategy.get_positions.rst", "strategy_methods.account/strategies.strategy.Strategy.set_parameters.rst", "strategy_methods.chart.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/lumibot.strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_line.rst", "strategy_methods.chart/strategies.strategy.Strategy.add_marker.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_lines_df.rst", "strategy_methods.chart/strategies.strategy.Strategy.get_markers_df.rst", "strategy_methods.data.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.cancel_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_price.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_last_prices.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_quote.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_realtime_bars.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividend.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.get_yesterday_dividends.rst", "strategy_methods.data/lumibot.strategies.strategy.Strategy.start_realtime_bars.rst", "strategy_methods.datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/lumibot.strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_datetime_range.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_last_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_day.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_round_minute.rst", "strategy_methods.datetime/strategies.strategy.Strategy.get_timestamp.rst", "strategy_methods.datetime/strategies.strategy.Strategy.localize_datetime.rst", "strategy_methods.datetime/strategies.strategy.Strategy.to_default_timezone.rst", "strategy_methods.misc.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/lumibot.strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_close.rst", "strategy_methods.misc/strategies.strategy.Strategy.await_market_to_open.rst", "strategy_methods.misc/strategies.strategy.Strategy.get_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.log_message.rst", "strategy_methods.misc/strategies.strategy.Strategy.set_market.rst", "strategy_methods.misc/strategies.strategy.Strategy.sleep.rst", "strategy_methods.misc/strategies.strategy.Strategy.update_parameters.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_order_registration.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_execution.rst", "strategy_methods.misc/strategies.strategy.Strategy.wait_for_orders_registration.rst", "strategy_methods.options.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chain.rst", "strategy_methods.options/strategies.strategy.Strategy.get_chains.rst", "strategy_methods.options/strategies.strategy.Strategy.get_expiration.rst", "strategy_methods.options/strategies.strategy.Strategy.get_greeks.rst", "strategy_methods.options/strategies.strategy.Strategy.get_multiplier.rst", "strategy_methods.options/strategies.strategy.Strategy.get_next_trading_day.rst", "strategy_methods.options/strategies.strategy.Strategy.get_option_expiration_after_date.rst", "strategy_methods.options/strategies.strategy.Strategy.get_strikes.rst", "strategy_methods.options/strategies.strategy.Strategy.options_expiry_to_datetime_date.rst", "strategy_methods.orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/lumibot.strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_open_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.cancel_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.create_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_asset_potential_total.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_orders.rst", "strategy_methods.orders/strategies.strategy.Strategy.get_selling_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.sell_all.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_order.rst", "strategy_methods.orders/strategies.strategy.Strategy.submit_orders.rst", "strategy_methods.parameters.rst", "strategy_properties.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.cash.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.name.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.pytz.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.timezone.rst", "strategy_properties/lumibot.strategies.strategy.Strategy.unspent_money.rst", "strategy_properties/lumibot.strategies.strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.cash.rst", "strategy_properties/strategies.strategy.Strategy.first_iteration.rst", "strategy_properties/strategies.strategy.Strategy.initial_budget.rst", "strategy_properties/strategies.strategy.Strategy.is_backtesting.rst", "strategy_properties/strategies.strategy.Strategy.last_on_trading_iteration_datetime.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_closing.rst", "strategy_properties/strategies.strategy.Strategy.minutes_before_opening.rst", "strategy_properties/strategies.strategy.Strategy.name.rst", "strategy_properties/strategies.strategy.Strategy.portfolio_value.rst", "strategy_properties/strategies.strategy.Strategy.pytz.rst", "strategy_properties/strategies.strategy.Strategy.quote_asset.rst", "strategy_properties/strategies.strategy.Strategy.sleeptime.rst", "strategy_properties/strategies.strategy.Strategy.timezone.rst", "strategy_properties/strategies.strategy.Strategy.unspent_money.rst", "vars.rst"], "indexentries": {"_asset_types (entities.asset.asset attribute)": [[19, "entities.asset.Asset._asset_types", false]], "_get_bars_dict() (entities.data.data method)": [[21, "entities.data.Data._get_bars_dict", false]], "_right (entities.asset.asset attribute)": [[19, "entities.asset.Asset._right", false]], "add_child_order() (entities.order.order method)": [[22, "entities.order.Order.add_child_order", false]], "add_line() (in module lumibot.strategies.strategy.strategy)": [[62, "lumibot.strategies.strategy.Strategy.add_line", false], [66, "lumibot.strategies.strategy.Strategy.add_line", false]], "add_marker() (in module lumibot.strategies.strategy.strategy)": [[63, "lumibot.strategies.strategy.Strategy.add_marker", false], [67, "lumibot.strategies.strategy.Strategy.add_marker", false]], "add_order() (entities.position.position method)": [[23, "entities.position.Position.add_order", false]], "add_strategy() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.add_strategy", false]], "add_transaction() (entities.order.order method)": [[22, "entities.order.Order.add_transaction", false]], "after_market_closes() (in module lumibot.strategies.strategy.strategy)": [[28, "lumibot.strategies.strategy.Strategy.after_market_closes", false]], "aggregate_bars() (entities.bars.bars method)": [[20, "entities.bars.Bars.aggregate_bars", false], [20, "id0", false]], "alpaca (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.Alpaca", false]], "api (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.api", false]], "asset (class in entities.asset)": [[19, "entities.asset.Asset", false]], "asset (entities.data.data attribute)": [[21, "entities.data.Data.asset", false]], "asset (entities.position.position attribute)": [[23, "entities.position.Position.asset", false]], "asset.assettype (class in entities.asset)": [[19, "entities.asset.Asset.AssetType", false]], "asset.optionright (class in entities.asset)": [[19, "entities.asset.Asset.OptionRight", false]], "asset_type (entities.asset.asset attribute)": [[19, "entities.asset.Asset.asset_type", false], [19, "id0", false]], "asset_type_map (lumibot.brokers.alpaca.alpaca attribute)": [[12, "lumibot.brokers.alpaca.Alpaca.ASSET_TYPE_MAP", false]], "asset_type_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.asset_type_must_be_one_of", false], [19, "id1", false]], "assetsmapping (class in entities.asset)": [[19, "entities.asset.AssetsMapping", false]], "available (entities.position.position attribute)": [[23, "entities.position.Position.available", false]], "available (entities.position.position property)": [[23, "id0", false]], "avg_fill_price (entities.order.order property)": [[22, "entities.order.Order.avg_fill_price", false]], "avg_fill_price (entities.position.position attribute)": [[23, "entities.position.Position.avg_fill_price", false]], "await_market_to_close() (in module lumibot.strategies.strategy.strategy)": [[102, "lumibot.strategies.strategy.Strategy.await_market_to_close", false], [113, "lumibot.strategies.strategy.Strategy.await_market_to_close", false]], "await_market_to_open() (in module lumibot.strategies.strategy.strategy)": [[103, "lumibot.strategies.strategy.Strategy.await_market_to_open", false], [114, "lumibot.strategies.strategy.Strategy.await_market_to_open", false]], "backtestingbroker (class in lumibot.backtesting.backtesting_broker)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker", false]], "bars (class in entities.bars)": [[20, "entities.bars.Bars", false]], "before_market_closes() (in module lumibot.strategies.strategy.strategy)": [[29, "lumibot.strategies.strategy.Strategy.before_market_closes", false]], "before_market_opens() (in module lumibot.strategies.strategy.strategy)": [[30, "lumibot.strategies.strategy.Strategy.before_market_opens", false]], "before_starting_trading() (in module lumibot.strategies.strategy.strategy)": [[31, "lumibot.strategies.strategy.Strategy.before_starting_trading", false]], "bracket (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.BRACKET", false]], "bracket (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.BRACKET", false]], "buy (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY", false]], "buy_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_CLOSE", false]], "buy_to_cover (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_COVER", false]], "buy_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.BUY_TO_OPEN", false]], "calculate_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.calculate_greeks", false]], "calculate_trade_cost() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.calculate_trade_cost", false]], "call (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.CALL", false]], "cancel_open_orders() (in module lumibot.strategies.strategy.strategy)": [[143, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false], [154, "lumibot.strategies.strategy.Strategy.cancel_open_orders", false]], "cancel_order() (in module lumibot.strategies.strategy.strategy)": [[144, "lumibot.strategies.strategy.Strategy.cancel_order", false], [155, "lumibot.strategies.strategy.Strategy.cancel_order", false]], "cancel_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cancel_order", false]], "cancel_order() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.cancel_order", false]], "cancel_orders() (in module lumibot.strategies.strategy.strategy)": [[145, "lumibot.strategies.strategy.Strategy.cancel_orders", false], [156, "lumibot.strategies.strategy.Strategy.cancel_orders", false]], "cancel_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[71, "lumibot.strategies.strategy.Strategy.cancel_realtime_bars", false]], "canceled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELED", false]], "cancelling (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CANCELLING", false]], "cash (lumibot.strategies.strategy.strategy property)": [[167, "lumibot.strategies.strategy.Strategy.cash", false], [182, "lumibot.strategies.strategy.Strategy.cash", false]], "cash_pending() (entities.order.order method)": [[22, "entities.order.Order.cash_pending", false]], "cash_settle_options_contract() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.cash_settle_options_contract", false]], "cash_settled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.CASH_SETTLED", false]], "check_data() (entities.data.data method)": [[21, "entities.data.Data.check_data", false], [21, "id0", false]], "clean_trading_times() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.clean_trading_times", false]], "columns() (entities.data.data method)": [[21, "entities.data.Data.columns", false], [21, "id1", false]], "convert_timestep_str_to_timedelta() (lumibot.data_sources.data_source.datasource static method)": [[44, "lumibot.data_sources.data_source.DataSource.convert_timestep_str_to_timedelta", false]], "create_order() (in module lumibot.strategies.strategy.strategy)": [[146, "lumibot.strategies.strategy.Strategy.create_order", false], [157, "lumibot.strategies.strategy.Strategy.create_order", false]], "crypto (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.CRYPTO", false]], "data (class in entities.data)": [[21, "entities.data.Data", false]], "datalines (entities.data.data attribute)": [[21, "entities.data.Data.datalines", false]], "datasource (class in lumibot.data_sources.data_source)": [[44, "lumibot.data_sources.data_source.DataSource", false]], "datasourcebacktesting (class in lumibot.data_sources.data_source_backtesting)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting", false]], "date_end (entities.data.data attribute)": [[21, "entities.data.Data.date_end", false]], "date_start (entities.data.data attribute)": [[21, "entities.data.Data.date_start", false]], "datetime (lumibot.backtesting.backtesting_broker.backtestingbroker property)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.datetime", false]], "default_pytz (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_PYTZ", false]], "default_timezone (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.DEFAULT_TIMEZONE", false]], "df (entities.data.data attribute)": [[21, "entities.data.Data.df", false]], "entities.asset": [[19, "module-entities.asset", false]], "entities.bars": [[20, "module-entities.bars", false]], "entities.data": [[21, "module-entities.data", false]], "entities.order": [[22, "module-entities.order", false]], "entities.position": [[23, "module-entities.position", false]], "entities.trading_fee": [[24, "module-entities.trading_fee", false]], "equivalent_status() (entities.order.order method)": [[22, "entities.order.Order.equivalent_status", false]], "error (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.ERROR", false]], "expiration (entities.asset.asset attribute)": [[19, "entities.asset.Asset.expiration", false], [19, "id2", false]], "expired (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.EXPIRED", false]], "filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.FILLED", false]], "filter() (entities.bars.bars method)": [[20, "entities.bars.Bars.filter", false]], "find_asset_in_data_store() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.find_asset_in_data_store", false]], "first_iteration (lumibot.strategies.strategy.strategy property)": [[168, "lumibot.strategies.strategy.Strategy.first_iteration", false], [183, "lumibot.strategies.strategy.Strategy.first_iteration", false]], "forex (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FOREX", false]], "from_dict() (entities.asset.asset class method)": [[19, "entities.asset.Asset.from_dict", false]], "from_dict() (entities.order.order class method)": [[22, "entities.order.Order.from_dict", false]], "from_dict() (entities.position.position class method)": [[23, "entities.position.Position.from_dict", false]], "future (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.FUTURE", false]], "get_asset_by_name() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_name", false]], "get_asset_by_symbol() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_asset_by_symbol", false]], "get_asset_potential_total() (in module lumibot.strategies.strategy.strategy)": [[147, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false], [158, "lumibot.strategies.strategy.Strategy.get_asset_potential_total", false]], "get_assets() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_assets", false]], "get_bars() (entities.data.data method)": [[21, "entities.data.Data.get_bars", false], [21, "id2", false]], "get_bars() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_bars", false]], "get_bars_between_dates() (entities.data.data method)": [[21, "entities.data.Data.get_bars_between_dates", false]], "get_cash() (in module lumibot.strategies.strategy.strategy)": [[49, "lumibot.strategies.strategy.Strategy.get_cash", false], [55, "lumibot.strategies.strategy.Strategy.get_cash", false]], "get_chain() (in module lumibot.strategies.strategy.strategy)": [[125, "lumibot.strategies.strategy.Strategy.get_chain", false], [133, "lumibot.strategies.strategy.Strategy.get_chain", false]], "get_chain_full_info() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chain_full_info", false]], "get_chains() (in module lumibot.strategies.strategy.strategy)": [[126, "lumibot.strategies.strategy.Strategy.get_chains", false], [134, "lumibot.strategies.strategy.Strategy.get_chains", false]], "get_chains() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_chains", false]], "get_chains() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_chains", false]], "get_chains() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_chains", false]], "get_datetime() (in module lumibot.strategies.strategy.strategy)": [[83, "lumibot.strategies.strategy.Strategy.get_datetime", false], [92, "lumibot.strategies.strategy.Strategy.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime", false]], "get_datetime() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime", false]], "get_datetime_range() (in module lumibot.strategies.strategy.strategy)": [[84, "lumibot.strategies.strategy.Strategy.get_datetime_range", false], [93, "lumibot.strategies.strategy.Strategy.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_datetime_range", false]], "get_datetime_range() (lumibot.data_sources.data_source_backtesting.datasourcebacktesting method)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.get_datetime_range", false]], "get_expiration() (in module lumibot.strategies.strategy.strategy)": [[127, "lumibot.strategies.strategy.Strategy.get_expiration", false], [135, "lumibot.strategies.strategy.Strategy.get_expiration", false]], "get_fill_price() (entities.order.order method)": [[22, "entities.order.Order.get_fill_price", false]], "get_greeks() (in module lumibot.strategies.strategy.strategy)": [[128, "lumibot.strategies.strategy.Strategy.get_greeks", false], [136, "lumibot.strategies.strategy.Strategy.get_greeks", false]], "get_historical_account_value() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_historical_account_value", false]], "get_historical_account_value() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.get_historical_account_value", false]], "get_historical_prices() (in module lumibot.strategies.strategy.strategy)": [[72, "lumibot.strategies.strategy.Strategy.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_historical_prices", false]], "get_historical_prices() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_historical_prices", false]], "get_historical_prices_for_assets() (in module lumibot.strategies.strategy.strategy)": [[73, "lumibot.strategies.strategy.Strategy.get_historical_prices_for_assets", false]], "get_increment() (entities.order.order method)": [[22, "entities.order.Order.get_increment", false]], "get_iter_count() (entities.data.data method)": [[21, "entities.data.Data.get_iter_count", false], [21, "id3", false]], "get_last_bar() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_last_bar", false]], "get_last_day() (in module lumibot.strategies.strategy.strategy)": [[85, "lumibot.strategies.strategy.Strategy.get_last_day", false], [94, "lumibot.strategies.strategy.Strategy.get_last_day", false]], "get_last_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_day", false]], "get_last_dividend() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_dividend", false], [20, "id1", false]], "get_last_minute() (in module lumibot.strategies.strategy.strategy)": [[86, "lumibot.strategies.strategy.Strategy.get_last_minute", false], [95, "lumibot.strategies.strategy.Strategy.get_last_minute", false]], "get_last_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_minute", false]], "get_last_price() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_last_price", false], [20, "id2", false]], "get_last_price() (entities.data.data method)": [[21, "entities.data.Data.get_last_price", false], [21, "id4", false]], "get_last_price() (in module lumibot.strategies.strategy.strategy)": [[74, "lumibot.strategies.strategy.Strategy.get_last_price", false]], "get_last_price() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_price", false]], "get_last_price() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_price", false]], "get_last_price() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_last_price", false]], "get_last_prices() (in module lumibot.strategies.strategy.strategy)": [[75, "lumibot.strategies.strategy.Strategy.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_last_prices", false]], "get_last_prices() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_last_prices", false]], "get_lines_df() (in module lumibot.strategies.strategy.strategy)": [[64, "lumibot.strategies.strategy.Strategy.get_lines_df", false], [68, "lumibot.strategies.strategy.Strategy.get_lines_df", false]], "get_markers_df() (in module lumibot.strategies.strategy.strategy)": [[65, "lumibot.strategies.strategy.Strategy.get_markers_df", false], [69, "lumibot.strategies.strategy.Strategy.get_markers_df", false]], "get_momentum() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_momentum", false], [20, "id3", false]], "get_multiplier() (in module lumibot.strategies.strategy.strategy)": [[129, "lumibot.strategies.strategy.Strategy.get_multiplier", false], [137, "lumibot.strategies.strategy.Strategy.get_multiplier", false]], "get_next_trading_day() (in module lumibot.strategies.strategy.strategy)": [[76, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [130, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false], [138, "lumibot.strategies.strategy.Strategy.get_next_trading_day", false]], "get_option_expiration_after_date() (in module lumibot.strategies.strategy.strategy)": [[139, "lumibot.strategies.strategy.Strategy.get_option_expiration_after_date", false]], "get_order() (in module lumibot.strategies.strategy.strategy)": [[148, "lumibot.strategies.strategy.Strategy.get_order", false], [159, "lumibot.strategies.strategy.Strategy.get_order", false]], "get_orders() (in module lumibot.strategies.strategy.strategy)": [[149, "lumibot.strategies.strategy.Strategy.get_orders", false], [160, "lumibot.strategies.strategy.Strategy.get_orders", false]], "get_parameters() (in module lumibot.strategies.strategy.strategy)": [[50, "lumibot.strategies.strategy.Strategy.get_parameters", false], [56, "lumibot.strategies.strategy.Strategy.get_parameters", false], [104, "lumibot.strategies.strategy.Strategy.get_parameters", false], [115, "lumibot.strategies.strategy.Strategy.get_parameters", false]], "get_portfolio_value() (in module lumibot.strategies.strategy.strategy)": [[51, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false], [57, "lumibot.strategies.strategy.Strategy.get_portfolio_value", false]], "get_position() (in module lumibot.strategies.strategy.strategy)": [[52, "lumibot.strategies.strategy.Strategy.get_position", false], [58, "lumibot.strategies.strategy.Strategy.get_position", false]], "get_positions() (in module lumibot.strategies.strategy.strategy)": [[53, "lumibot.strategies.strategy.Strategy.get_positions", false], [59, "lumibot.strategies.strategy.Strategy.get_positions", false]], "get_quote() (entities.data.data method)": [[21, "entities.data.Data.get_quote", false]], "get_quote() (in module lumibot.strategies.strategy.strategy)": [[77, "lumibot.strategies.strategy.Strategy.get_quote", false]], "get_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[78, "lumibot.strategies.strategy.Strategy.get_realtime_bars", false]], "get_round_day() (in module lumibot.strategies.strategy.strategy)": [[87, "lumibot.strategies.strategy.Strategy.get_round_day", false], [96, "lumibot.strategies.strategy.Strategy.get_round_day", false]], "get_round_day() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_day", false]], "get_round_minute() (in module lumibot.strategies.strategy.strategy)": [[88, "lumibot.strategies.strategy.Strategy.get_round_minute", false], [97, "lumibot.strategies.strategy.Strategy.get_round_minute", false]], "get_round_minute() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_round_minute", false]], "get_selling_order() (entities.position.position method)": [[23, "entities.position.Position.get_selling_order", false]], "get_selling_order() (in module lumibot.strategies.strategy.strategy)": [[150, "lumibot.strategies.strategy.Strategy.get_selling_order", false], [161, "lumibot.strategies.strategy.Strategy.get_selling_order", false]], "get_start_datetime_and_ts_unit() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_start_datetime_and_ts_unit", false]], "get_strikes() (in module lumibot.strategies.strategy.strategy)": [[131, "lumibot.strategies.strategy.Strategy.get_strikes", false], [140, "lumibot.strategies.strategy.Strategy.get_strikes", false]], "get_strikes() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_strikes", false]], "get_strikes() (lumibot.data_sources.yahoo_data.yahoodata method)": [[44, "lumibot.data_sources.yahoo_data.YahooData.get_strikes", false]], "get_time_to_close() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_close", false]], "get_time_to_close() (lumibot.brokers.alpaca.alpaca method)": [[12, "id0", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_close", false]], "get_time_to_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.get_time_to_open", false]], "get_time_to_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id1", false], [12, "lumibot.brokers.alpaca.Alpaca.get_time_to_open", false]], "get_timestamp() (in module lumibot.strategies.strategy.strategy)": [[89, "lumibot.strategies.strategy.Strategy.get_timestamp", false], [98, "lumibot.strategies.strategy.Strategy.get_timestamp", false]], "get_timestamp() (lumibot.brokers.alpaca.alpaca method)": [[12, "id2", false], [12, "lumibot.brokers.alpaca.Alpaca.get_timestamp", false]], "get_timestamp() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestamp", false]], "get_timestep() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_timestep", false]], "get_total_dividends() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_dividends", false]], "get_total_return() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return", false]], "get_total_return_pct() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct", false]], "get_total_return_pct_change() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_return_pct_change", false]], "get_total_stock_splits() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_stock_splits", false]], "get_total_volume() (entities.bars.bars method)": [[20, "entities.bars.Bars.get_total_volume", false], [20, "id4", false]], "get_trading_days_pandas() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_trading_days_pandas", false]], "get_yesterday_dividend() (in module lumibot.strategies.strategy.strategy)": [[79, "lumibot.strategies.strategy.Strategy.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividend", false]], "get_yesterday_dividend() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividend", false]], "get_yesterday_dividends() (in module lumibot.strategies.strategy.strategy)": [[80, "lumibot.strategies.strategy.Strategy.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.get_yesterday_dividends", false]], "get_yesterday_dividends() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.get_yesterday_dividends", false]], "hold (entities.position.position attribute)": [[23, "entities.position.Position.hold", false]], "hold (entities.position.position property)": [[23, "id1", false]], "index (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.INDEX", false]], "initial_budget (lumibot.strategies.strategy.strategy property)": [[169, "lumibot.strategies.strategy.Strategy.initial_budget", false], [184, "lumibot.strategies.strategy.Strategy.initial_budget", false]], "initialize() (in module lumibot.strategies.strategy.strategy)": [[32, "lumibot.strategies.strategy.Strategy.initialize", false]], "is_active() (entities.order.order method)": [[22, "entities.order.Order.is_active", false]], "is_backtest_broker (lumibot.traders.trader.trader property)": [[46, "lumibot.traders.trader.Trader.is_backtest_broker", false]], "is_backtesting (lumibot.strategies.strategy.strategy property)": [[170, "lumibot.strategies.strategy.Strategy.is_backtesting", false], [185, "lumibot.strategies.strategy.Strategy.is_backtesting", false]], "is_backtesting_broker (lumibot.backtesting.backtesting_broker.backtestingbroker attribute)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.IS_BACKTESTING_BROKER", false]], "is_backtesting_data_source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.IS_BACKTESTING_DATA_SOURCE", false]], "is_backtesting_data_source (lumibot.data_sources.data_source_backtesting.datasourcebacktesting attribute)": [[43, "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting.IS_BACKTESTING_DATA_SOURCE", false]], "is_buy_order() (entities.order.order method)": [[22, "entities.order.Order.is_buy_order", false]], "is_canceled() (entities.order.order method)": [[22, "entities.order.Order.is_canceled", false]], "is_filled() (entities.order.order method)": [[22, "entities.order.Order.is_filled", false]], "is_market_open() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.is_market_open", false]], "is_market_open() (lumibot.brokers.alpaca.alpaca method)": [[12, "id3", false], [12, "lumibot.brokers.alpaca.Alpaca.is_market_open", false]], "is_option() (entities.order.order method)": [[22, "entities.order.Order.is_option", false]], "is_parent() (entities.order.order method)": [[22, "entities.order.Order.is_parent", false]], "is_sell_order() (entities.order.order method)": [[22, "entities.order.Order.is_sell_order", false]], "is_valid() (entities.asset.asset method)": [[19, "entities.asset.Asset.is_valid", false]], "iter_index (entities.data.data attribute)": [[21, "entities.data.Data.iter_index", false]], "last_on_trading_iteration_datetime (lumibot.strategies.strategy.strategy property)": [[171, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false], [186, "lumibot.strategies.strategy.Strategy.last_on_trading_iteration_datetime", false]], "limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.LIMIT", false]], "limit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.limit_order", false]], "load_data() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.load_data", false]], "localize_datetime() (in module lumibot.strategies.strategy.strategy)": [[90, "lumibot.strategies.strategy.Strategy.localize_datetime", false], [99, "lumibot.strategies.strategy.Strategy.localize_datetime", false]], "localize_datetime() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.localize_datetime", false]], "log_message() (in module lumibot.strategies.strategy.strategy)": [[105, "lumibot.strategies.strategy.Strategy.log_message", false], [116, "lumibot.strategies.strategy.Strategy.log_message", false]], "lumibot.backtesting.backtesting_broker": [[43, "module-lumibot.backtesting.backtesting_broker", false]], "lumibot.brokers.alpaca": [[12, "module-lumibot.brokers.alpaca", false]], "lumibot.data_sources": [[44, "module-lumibot.data_sources", false]], "lumibot.data_sources.data_source": [[44, "module-lumibot.data_sources.data_source", false]], "lumibot.data_sources.data_source_backtesting": [[43, "module-lumibot.data_sources.data_source_backtesting", false]], "lumibot.data_sources.pandas_data": [[44, "module-lumibot.data_sources.pandas_data", false]], "lumibot.data_sources.yahoo_data": [[44, "module-lumibot.data_sources.yahoo_data", false]], "lumibot.strategies.strategy.strategy": [[45, "module-lumibot.strategies.strategy.Strategy", false]], "lumibot.traders.trader": [[46, "module-lumibot.traders.trader", false]], "map_asset_type() (lumibot.brokers.alpaca.alpaca method)": [[12, "lumibot.brokers.alpaca.Alpaca.map_asset_type", false]], "market (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.MARKET", false]], "min_timestep (entities.data.data attribute)": [[21, "entities.data.Data.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.MIN_TIMESTEP", false]], "min_timestep (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.MIN_TIMESTEP", false]], "minutes_before_closing (lumibot.strategies.strategy.strategy property)": [[172, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false], [187, "lumibot.strategies.strategy.Strategy.minutes_before_closing", false]], "minutes_before_opening (lumibot.strategies.strategy.strategy property)": [[173, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false], [188, "lumibot.strategies.strategy.Strategy.minutes_before_opening", false]], "module": [[12, "module-lumibot.brokers.alpaca", false], [19, "module-entities.asset", false], [20, "module-entities.bars", false], [21, "module-entities.data", false], [22, "module-entities.order", false], [23, "module-entities.position", false], [24, "module-entities.trading_fee", false], [43, "module-lumibot.backtesting.backtesting_broker", false], [43, "module-lumibot.data_sources.data_source_backtesting", false], [44, "module-lumibot.data_sources", false], [44, "module-lumibot.data_sources.data_source", false], [44, "module-lumibot.data_sources.pandas_data", false], [44, "module-lumibot.data_sources.yahoo_data", false], [45, "module-lumibot.strategies.strategy.Strategy", false], [46, "module-lumibot.traders.trader", false]], "multileg (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.MULTILEG", false]], "multiplier (entities.asset.asset attribute)": [[19, "entities.asset.Asset.multiplier", false], [19, "id3", false]], "name (lumibot.strategies.strategy.strategy property)": [[174, "lumibot.strategies.strategy.Strategy.name", false], [189, "lumibot.strategies.strategy.Strategy.name", false]], "new (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.NEW", false]], "nobardatafound": [[20, "entities.bars.NoBarDataFound", false]], "oco (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OCO", false]], "oco (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OCO", false]], "on_abrupt_closing() (in module lumibot.strategies.strategy.strategy)": [[33, "lumibot.strategies.strategy.Strategy.on_abrupt_closing", false]], "on_bot_crash() (in module lumibot.strategies.strategy.strategy)": [[34, "lumibot.strategies.strategy.Strategy.on_bot_crash", false]], "on_canceled_order() (in module lumibot.strategies.strategy.strategy)": [[35, "lumibot.strategies.strategy.Strategy.on_canceled_order", false]], "on_filled_order() (in module lumibot.strategies.strategy.strategy)": [[36, "lumibot.strategies.strategy.Strategy.on_filled_order", false]], "on_new_order() (in module lumibot.strategies.strategy.strategy)": [[37, "lumibot.strategies.strategy.Strategy.on_new_order", false]], "on_parameters_updated() (in module lumibot.strategies.strategy.strategy)": [[38, "lumibot.strategies.strategy.Strategy.on_parameters_updated", false]], "on_partially_filled_order() (in module lumibot.strategies.strategy.strategy)": [[39, "lumibot.strategies.strategy.Strategy.on_partially_filled_order", false]], "on_trading_iteration() (in module lumibot.strategies.strategy.strategy)": [[40, "lumibot.strategies.strategy.Strategy.on_trading_iteration", false]], "open (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.OPEN", false]], "option (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.OPTION", false]], "options_expiry_to_datetime_date() (in module lumibot.strategies.strategy.strategy)": [[132, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false], [141, "lumibot.strategies.strategy.Strategy.options_expiry_to_datetime_date", false]], "order (class in entities.order)": [[22, "entities.order.Order", false]], "order.orderclass (class in entities.order)": [[22, "entities.order.Order.OrderClass", false]], "order.orderside (class in entities.order)": [[22, "entities.order.Order.OrderSide", false]], "order.orderstatus (class in entities.order)": [[22, "entities.order.Order.OrderStatus", false]], "order.ordertype (class in entities.order)": [[22, "entities.order.Order.OrderType", false]], "order.transaction (class in entities.order)": [[22, "entities.order.Order.Transaction", false]], "orderdata (class in lumibot.brokers.alpaca)": [[12, "lumibot.brokers.alpaca.OrderData", false]], "orders (entities.position.position attribute)": [[23, "entities.position.Position.orders", false]], "oto (entities.order.order.orderclass attribute)": [[22, "entities.order.Order.OrderClass.OTO", false]], "oto (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.OTO", false]], "pandasdata (class in lumibot.data_sources.pandas_data)": [[44, "lumibot.data_sources.pandas_data.PandasData", false]], "parse_bar_list() (entities.bars.bars class method)": [[20, "entities.bars.Bars.parse_bar_list", false]], "partially_filled (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.PARTIALLY_FILLED", false]], "portfolio_value (lumibot.strategies.strategy.strategy property)": [[175, "lumibot.strategies.strategy.Strategy.portfolio_value", false], [190, "lumibot.strategies.strategy.Strategy.portfolio_value", false]], "position (class in entities.position)": [[23, "entities.position.Position", false]], "precision (entities.asset.asset attribute)": [[19, "entities.asset.Asset.precision", false], [19, "id4", false]], "price (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.price", false]], "process_expired_option_contracts() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_expired_option_contracts", false]], "process_pending_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.process_pending_orders", false]], "put (entities.asset.asset.optionright attribute)": [[19, "entities.asset.Asset.OptionRight.PUT", false]], "pytz (lumibot.strategies.strategy.strategy property)": [[176, "lumibot.strategies.strategy.Strategy.pytz", false], [181, "lumibot.strategies.strategy.Strategy.pytz", false], [191, "lumibot.strategies.strategy.Strategy.pytz", false]], "quantity (entities.order.order property)": [[22, "entities.order.Order.quantity", false]], "quantity (entities.order.order.transaction attribute)": [[22, "entities.order.Order.Transaction.quantity", false]], "quantity (entities.position.position attribute)": [[23, "entities.position.Position.quantity", false]], "quantity (entities.position.position property)": [[23, "id2", false]], "query_greeks() (lumibot.data_sources.data_source.datasource method)": [[44, "lumibot.data_sources.data_source.DataSource.query_greeks", false]], "quote_asset (lumibot.strategies.strategy.strategy property)": [[177, "lumibot.strategies.strategy.Strategy.quote_asset", false], [192, "lumibot.strategies.strategy.Strategy.quote_asset", false]], "repair_times_and_fill() (entities.data.data method)": [[21, "entities.data.Data.repair_times_and_fill", false], [21, "id5", false]], "right (entities.asset.asset attribute)": [[19, "entities.asset.Asset.right", false], [19, "id5", false]], "right_must_be_one_of() (entities.asset.asset method)": [[19, "entities.asset.Asset.right_must_be_one_of", false], [19, "id6", false]], "run_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all", false]], "run_all_async() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.run_all_async", false]], "run_backtest() (in module lumibot.strategies.strategy.strategy)": [[1, "lumibot.strategies.strategy.Strategy.run_backtest", false]], "sell (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL", false]], "sell_all() (in module lumibot.strategies.strategy.strategy)": [[151, "lumibot.strategies.strategy.Strategy.sell_all", false], [162, "lumibot.strategies.strategy.Strategy.sell_all", false]], "sell_short (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_SHORT", false]], "sell_to_close (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_CLOSE", false]], "sell_to_open (entities.order.order.orderside attribute)": [[22, "entities.order.Order.OrderSide.SELL_TO_OPEN", false]], "set_canceled() (entities.order.order method)": [[22, "entities.order.Order.set_canceled", false]], "set_date_format() (entities.data.data method)": [[21, "entities.data.Data.set_date_format", false], [21, "id6", false]], "set_dates() (entities.data.data method)": [[21, "entities.data.Data.set_dates", false], [21, "id7", false]], "set_error() (entities.order.order method)": [[22, "entities.order.Order.set_error", false]], "set_filled() (entities.order.order method)": [[22, "entities.order.Order.set_filled", false]], "set_identifier() (entities.order.order method)": [[22, "entities.order.Order.set_identifier", false]], "set_market() (in module lumibot.strategies.strategy.strategy)": [[106, "lumibot.strategies.strategy.Strategy.set_market", false], [117, "lumibot.strategies.strategy.Strategy.set_market", false]], "set_new() (entities.order.order method)": [[22, "entities.order.Order.set_new", false]], "set_parameters() (in module lumibot.strategies.strategy.strategy)": [[54, "lumibot.strategies.strategy.Strategy.set_parameters", false], [60, "lumibot.strategies.strategy.Strategy.set_parameters", false]], "set_partially_filled() (entities.order.order method)": [[22, "entities.order.Order.set_partially_filled", false]], "set_times() (entities.data.data method)": [[21, "entities.data.Data.set_times", false], [21, "id8", false]], "should_continue() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.should_continue", false]], "sleep() (in module lumibot.strategies.strategy.strategy)": [[107, "lumibot.strategies.strategy.Strategy.sleep", false], [118, "lumibot.strategies.strategy.Strategy.sleep", false]], "sleeptime (lumibot.strategies.strategy.strategy property)": [[178, "lumibot.strategies.strategy.Strategy.sleeptime", false], [193, "lumibot.strategies.strategy.Strategy.sleeptime", false]], "source (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.SOURCE", false]], "source (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.SOURCE", false]], "source (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.SOURCE", false]], "split() (entities.bars.bars method)": [[20, "entities.bars.Bars.split", false]], "start_realtime_bars() (in module lumibot.strategies.strategy.strategy)": [[81, "lumibot.strategies.strategy.Strategy.start_realtime_bars", false]], "status (entities.order.order property)": [[22, "entities.order.Order.status", false]], "stock (entities.asset.asset.assettype attribute)": [[19, "entities.asset.Asset.AssetType.STOCK", false]], "stop (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP", false]], "stop_all() (lumibot.traders.trader.trader method)": [[46, "lumibot.traders.trader.Trader.stop_all", false]], "stop_limit (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.STOP_LIMIT", false]], "stop_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.stop_order", false]], "strategy (entities.position.position attribute)": [[23, "entities.position.Position.strategy", false]], "strike (entities.asset.asset attribute)": [[19, "entities.asset.Asset.strike", false], [19, "id7", false]], "submit_order() (in module lumibot.strategies.strategy.strategy)": [[152, "lumibot.strategies.strategy.Strategy.submit_order", false], [163, "lumibot.strategies.strategy.Strategy.submit_order", false]], "submit_order() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_order", false]], "submit_orders() (in module lumibot.strategies.strategy.strategy)": [[153, "lumibot.strategies.strategy.Strategy.submit_orders", false], [164, "lumibot.strategies.strategy.Strategy.submit_orders", false]], "submit_orders() (lumibot.backtesting.backtesting_broker.backtestingbroker method)": [[43, "lumibot.backtesting.backtesting_broker.BacktestingBroker.submit_orders", false]], "submitted (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.SUBMITTED", false]], "sybmol (entities.data.data attribute)": [[21, "entities.data.Data.sybmol", false]], "symbol (entities.asset.asset attribute)": [[19, "entities.asset.Asset.symbol", false], [19, "id8", false]], "symbol (entities.position.position attribute)": [[23, "entities.position.Position.symbol", false]], "symbol2asset() (entities.asset.asset class method)": [[19, "entities.asset.Asset.symbol2asset", false]], "timestep (entities.data.data attribute)": [[21, "entities.data.Data.timestep", false]], "timestep_mapping (entities.data.data attribute)": [[21, "entities.data.Data.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.data_source.datasource attribute)": [[44, "lumibot.data_sources.data_source.DataSource.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.pandas_data.pandasdata attribute)": [[44, "lumibot.data_sources.pandas_data.PandasData.TIMESTEP_MAPPING", false]], "timestep_mapping (lumibot.data_sources.yahoo_data.yahoodata attribute)": [[44, "lumibot.data_sources.yahoo_data.YahooData.TIMESTEP_MAPPING", false]], "timezone (lumibot.strategies.strategy.strategy property)": [[179, "lumibot.strategies.strategy.Strategy.timezone", false], [194, "lumibot.strategies.strategy.Strategy.timezone", false]], "to_datalines() (entities.data.data method)": [[21, "entities.data.Data.to_datalines", false], [21, "id9", false]], "to_default_timezone() (in module lumibot.strategies.strategy.strategy)": [[91, "lumibot.strategies.strategy.Strategy.to_default_timezone", false], [100, "lumibot.strategies.strategy.Strategy.to_default_timezone", false]], "to_default_timezone() (lumibot.data_sources.data_source.datasource class method)": [[44, "lumibot.data_sources.data_source.DataSource.to_default_timezone", false]], "to_dict() (entities.asset.asset method)": [[19, "entities.asset.Asset.to_dict", false]], "to_dict() (entities.order.order method)": [[22, "entities.order.Order.to_dict", false]], "to_dict() (entities.position.position method)": [[23, "entities.position.Position.to_dict", false]], "to_position() (entities.order.order method)": [[22, "entities.order.Order.to_position", false]], "to_request_fields() (lumibot.brokers.alpaca.orderdata method)": [[12, "lumibot.brokers.alpaca.OrderData.to_request_fields", false]], "trace_stats() (in module lumibot.strategies.strategy.strategy)": [[42, "lumibot.strategies.strategy.Strategy.trace_stats", false]], "trader (class in lumibot.traders.trader)": [[46, "lumibot.traders.trader.Trader", false]], "trading_hours_end (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_end", false]], "trading_hours_start (entities.data.data attribute)": [[21, "entities.data.Data.trading_hours_start", false]], "tradingfee (class in entities.trading_fee)": [[24, "entities.trading_fee.TradingFee", false]], "trail (entities.order.order.ordertype attribute)": [[22, "entities.order.Order.OrderType.TRAIL", false]], "trim_data() (entities.data.data method)": [[21, "entities.data.Data.trim_data", false], [21, "id10", false]], "underlying_asset (entities.asset.asset attribute)": [[19, "entities.asset.Asset.underlying_asset", false]], "unprocessed (entities.order.order.orderstatus attribute)": [[22, "entities.order.Order.OrderStatus.UNPROCESSED", false]], "unspent_money (lumibot.strategies.strategy.strategy property)": [[180, "lumibot.strategies.strategy.Strategy.unspent_money", false], [195, "lumibot.strategies.strategy.Strategy.unspent_money", false]], "update_date_index() (lumibot.data_sources.pandas_data.pandasdata method)": [[44, "lumibot.data_sources.pandas_data.PandasData.update_date_index", false]], "update_parameters() (in module lumibot.strategies.strategy.strategy)": [[108, "lumibot.strategies.strategy.Strategy.update_parameters", false], [119, "lumibot.strategies.strategy.Strategy.update_parameters", false]], "update_raw() (entities.order.order method)": [[22, "entities.order.Order.update_raw", false]], "update_trail_stop_price() (entities.order.order method)": [[22, "entities.order.Order.update_trail_stop_price", false]], "value_type() (entities.position.position method)": [[23, "entities.position.Position.value_type", false]], "wait_for_order_execution() (in module lumibot.strategies.strategy.strategy)": [[109, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false], [120, "lumibot.strategies.strategy.Strategy.wait_for_order_execution", false]], "wait_for_order_registration() (in module lumibot.strategies.strategy.strategy)": [[110, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false], [121, "lumibot.strategies.strategy.Strategy.wait_for_order_registration", false]], "wait_for_orders_execution() (in module lumibot.strategies.strategy.strategy)": [[111, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false], [122, "lumibot.strategies.strategy.Strategy.wait_for_orders_execution", false]], "wait_for_orders_registration() (in module lumibot.strategies.strategy.strategy)": [[112, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false], [123, "lumibot.strategies.strategy.Strategy.wait_for_orders_registration", false]], "wait_to_be_closed() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_closed", false]], "wait_to_be_registered() (entities.order.order method)": [[22, "entities.order.Order.wait_to_be_registered", false]], "was_transmitted() (entities.order.order method)": [[22, "entities.order.Order.was_transmitted", false]], "yahoodata (class in lumibot.data_sources.yahoo_data)": [[44, "lumibot.data_sources.yahoo_data.YahooData", false]]}, "objects": {"entities": [[19, 0, 0, "-", "asset"], [20, 0, 0, "-", "bars"], [21, 0, 0, "-", "data"], [22, 0, 0, "-", "order"], [23, 0, 0, "-", "position"], [24, 0, 0, "-", "trading_fee"]], "entities.asset": [[19, 1, 1, "", "Asset"], [19, 1, 1, "", "AssetsMapping"]], "entities.asset.Asset": [[19, 1, 1, "", "AssetType"], [19, 1, 1, "", "OptionRight"], [19, 2, 1, "", "_asset_types"], [19, 2, 1, "", "_right"], [19, 2, 1, "id0", "asset_type"], [19, 3, 1, "id1", "asset_type_must_be_one_of"], [19, 2, 1, "id2", "expiration"], [19, 3, 1, "", "from_dict"], [19, 3, 1, "", "is_valid"], [19, 2, 1, "id3", "multiplier"], [19, 2, 1, "id4", "precision"], [19, 2, 1, "id5", "right"], [19, 3, 1, "id6", "right_must_be_one_of"], [19, 2, 1, "id7", "strike"], [19, 2, 1, "id8", "symbol"], [19, 3, 1, "", "symbol2asset"], [19, 3, 1, "", "to_dict"], [19, 2, 1, "", "underlying_asset"]], "entities.asset.Asset.AssetType": [[19, 2, 1, "", "CRYPTO"], [19, 2, 1, "", "FOREX"], [19, 2, 1, "", "FUTURE"], [19, 2, 1, "", "INDEX"], [19, 2, 1, "", "OPTION"], [19, 2, 1, "", "STOCK"]], "entities.asset.Asset.OptionRight": [[19, 2, 1, "", "CALL"], [19, 2, 1, "", "PUT"]], "entities.bars": [[20, 1, 1, "", "Bars"], [20, 4, 1, "", "NoBarDataFound"]], "entities.bars.Bars": [[20, 3, 1, "id0", "aggregate_bars"], [20, 3, 1, "", "filter"], [20, 3, 1, "id1", "get_last_dividend"], [20, 3, 1, "id2", "get_last_price"], [20, 3, 1, "id3", "get_momentum"], [20, 3, 1, "", "get_total_dividends"], [20, 3, 1, "", "get_total_return"], [20, 3, 1, "", "get_total_return_pct"], [20, 3, 1, "", "get_total_return_pct_change"], [20, 3, 1, "", "get_total_stock_splits"], [20, 3, 1, "id4", "get_total_volume"], [20, 3, 1, "", "parse_bar_list"], [20, 3, 1, "", "split"]], "entities.data": [[21, 1, 1, "", "Data"]], "entities.data.Data": [[21, 2, 1, "", "MIN_TIMESTEP"], [21, 2, 1, "", "TIMESTEP_MAPPING"], [21, 3, 1, "", "_get_bars_dict"], [21, 2, 1, "", "asset"], [21, 3, 1, "id0", "check_data"], [21, 3, 1, "id1", "columns"], [21, 2, 1, "", "datalines"], [21, 2, 1, "", "date_end"], [21, 2, 1, "", "date_start"], [21, 2, 1, "", "df"], [21, 3, 1, "id2", "get_bars"], [21, 3, 1, "", "get_bars_between_dates"], [21, 3, 1, "id3", "get_iter_count"], [21, 3, 1, "id4", "get_last_price"], [21, 3, 1, "", "get_quote"], [21, 2, 1, "", "iter_index"], [21, 3, 1, "id5", "repair_times_and_fill"], [21, 3, 1, "id6", "set_date_format"], [21, 3, 1, "id7", "set_dates"], [21, 3, 1, "id8", "set_times"], [21, 2, 1, "", "sybmol"], [21, 2, 1, "", "timestep"], [21, 3, 1, "id9", "to_datalines"], [21, 2, 1, "", "trading_hours_end"], [21, 2, 1, "", "trading_hours_start"], [21, 3, 1, "id10", "trim_data"]], "entities.order": [[22, 1, 1, "", "Order"]], "entities.order.Order": [[22, 1, 1, "", "OrderClass"], [22, 1, 1, "", "OrderSide"], [22, 1, 1, "", "OrderStatus"], [22, 1, 1, "", "OrderType"], [22, 1, 1, "", "Transaction"], [22, 3, 1, "", "add_child_order"], [22, 3, 1, "", "add_transaction"], [22, 5, 1, "", "avg_fill_price"], [22, 3, 1, "", "cash_pending"], [22, 3, 1, "", "equivalent_status"], [22, 3, 1, "", "from_dict"], [22, 3, 1, "", "get_fill_price"], [22, 3, 1, "", "get_increment"], [22, 3, 1, "", "is_active"], [22, 3, 1, "", "is_buy_order"], [22, 3, 1, "", "is_canceled"], [22, 3, 1, "", "is_filled"], [22, 3, 1, "", "is_option"], [22, 3, 1, "", "is_parent"], [22, 3, 1, "", "is_sell_order"], [22, 5, 1, "", "quantity"], [22, 3, 1, "", "set_canceled"], [22, 3, 1, "", "set_error"], [22, 3, 1, "", "set_filled"], [22, 3, 1, "", "set_identifier"], [22, 3, 1, "", "set_new"], [22, 3, 1, "", "set_partially_filled"], [22, 5, 1, "", "status"], [22, 3, 1, "", "to_dict"], [22, 3, 1, "", "to_position"], [22, 3, 1, "", "update_raw"], [22, 3, 1, "", "update_trail_stop_price"], [22, 3, 1, "", "wait_to_be_closed"], [22, 3, 1, "", "wait_to_be_registered"], [22, 3, 1, "", "was_transmitted"]], "entities.order.Order.OrderClass": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "MULTILEG"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"]], "entities.order.Order.OrderSide": [[22, 2, 1, "", "BUY"], [22, 2, 1, "", "BUY_TO_CLOSE"], [22, 2, 1, "", "BUY_TO_COVER"], [22, 2, 1, "", "BUY_TO_OPEN"], [22, 2, 1, "", "SELL"], [22, 2, 1, "", "SELL_SHORT"], [22, 2, 1, "", "SELL_TO_CLOSE"], [22, 2, 1, "", "SELL_TO_OPEN"]], "entities.order.Order.OrderStatus": [[22, 2, 1, "", "CANCELED"], [22, 2, 1, "", "CANCELLING"], [22, 2, 1, "", "CASH_SETTLED"], [22, 2, 1, "", "ERROR"], [22, 2, 1, "", "EXPIRED"], [22, 2, 1, "", "FILLED"], [22, 2, 1, "", "NEW"], [22, 2, 1, "", "OPEN"], [22, 2, 1, "", "PARTIALLY_FILLED"], [22, 2, 1, "", "SUBMITTED"], [22, 2, 1, "", "UNPROCESSED"]], "entities.order.Order.OrderType": [[22, 2, 1, "", "BRACKET"], [22, 2, 1, "", "LIMIT"], [22, 2, 1, "", "MARKET"], [22, 2, 1, "", "OCO"], [22, 2, 1, "", "OTO"], [22, 2, 1, "", "STOP"], [22, 2, 1, "", "STOP_LIMIT"], [22, 2, 1, "", "TRAIL"]], "entities.order.Order.Transaction": [[22, 2, 1, "", "price"], [22, 2, 1, "", "quantity"]], "entities.position": [[23, 1, 1, "", "Position"]], "entities.position.Position": [[23, 3, 1, "", "add_order"], [23, 2, 1, "", "asset"], [23, 5, 1, "id0", "available"], [23, 2, 1, "", "avg_fill_price"], [23, 3, 1, "", "from_dict"], [23, 3, 1, "", "get_selling_order"], [23, 5, 1, "id1", "hold"], [23, 2, 1, "", "orders"], [23, 5, 1, "id2", "quantity"], [23, 2, 1, "", "strategy"], [23, 2, 1, "", "symbol"], [23, 3, 1, "", "to_dict"], [23, 3, 1, "", "value_type"]], "entities.trading_fee": [[24, 1, 1, "", "TradingFee"]], "lumibot": [[44, 0, 0, "-", "data_sources"]], "lumibot.backtesting": [[43, 0, 0, "-", "backtesting_broker"]], "lumibot.backtesting.backtesting_broker": [[43, 1, 1, "", "BacktestingBroker"]], "lumibot.backtesting.backtesting_broker.BacktestingBroker": [[43, 2, 1, "", "IS_BACKTESTING_BROKER"], [43, 3, 1, "", "calculate_trade_cost"], [43, 3, 1, "", "cancel_order"], [43, 3, 1, "", "cash_settle_options_contract"], [43, 5, 1, "", "datetime"], [43, 3, 1, "", "get_historical_account_value"], [43, 3, 1, "", "get_last_bar"], [43, 3, 1, "", "get_time_to_close"], [43, 3, 1, "", "get_time_to_open"], [43, 3, 1, "", "is_market_open"], [43, 3, 1, "", "limit_order"], [43, 3, 1, "", "process_expired_option_contracts"], [43, 3, 1, "", "process_pending_orders"], [43, 3, 1, "", "should_continue"], [43, 3, 1, "", "stop_order"], [43, 3, 1, "", "submit_order"], [43, 3, 1, "", "submit_orders"]], "lumibot.brokers": [[12, 0, 0, "-", "alpaca"]], "lumibot.brokers.alpaca": [[12, 1, 1, "", "Alpaca"], [12, 1, 1, "", "OrderData"]], "lumibot.brokers.alpaca.Alpaca": [[12, 2, 1, "", "ASSET_TYPE_MAP"], [12, 2, 1, "", "api"], [12, 3, 1, "", "cancel_order"], [12, 3, 1, "", "get_historical_account_value"], [12, 3, 1, "id0", "get_time_to_close"], [12, 3, 1, "id1", "get_time_to_open"], [12, 3, 1, "id2", "get_timestamp"], [12, 3, 1, "id3", "is_market_open"], [12, 3, 1, "", "map_asset_type"]], "lumibot.brokers.alpaca.OrderData": [[12, 3, 1, "", "to_request_fields"]], "lumibot.data_sources": [[44, 0, 0, "-", "data_source"], [43, 0, 0, "-", "data_source_backtesting"], [44, 0, 0, "-", "pandas_data"], [44, 0, 0, "-", "yahoo_data"]], "lumibot.data_sources.data_source": [[44, 1, 1, "", "DataSource"]], "lumibot.data_sources.data_source.DataSource": [[44, 2, 1, "", "DEFAULT_PYTZ"], [44, 2, 1, "", "DEFAULT_TIMEZONE"], [44, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "calculate_greeks"], [44, 3, 1, "", "convert_timestep_str_to_timedelta"], [44, 3, 1, "", "get_bars"], [44, 3, 1, "", "get_chain_full_info"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_datetime"], [44, 3, 1, "", "get_datetime_range"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_day"], [44, 3, 1, "", "get_last_minute"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_round_day"], [44, 3, 1, "", "get_round_minute"], [44, 3, 1, "", "get_strikes"], [44, 3, 1, "", "get_timestamp"], [44, 3, 1, "", "get_timestep"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "localize_datetime"], [44, 3, 1, "", "query_greeks"], [44, 3, 1, "", "to_default_timezone"]], "lumibot.data_sources.data_source_backtesting": [[43, 1, 1, "", "DataSourceBacktesting"]], "lumibot.data_sources.data_source_backtesting.DataSourceBacktesting": [[43, 2, 1, "", "IS_BACKTESTING_DATA_SOURCE"], [43, 3, 1, "", "get_datetime"], [43, 3, 1, "", "get_datetime_range"]], "lumibot.data_sources.pandas_data": [[44, 1, 1, "", "PandasData"]], "lumibot.data_sources.pandas_data.PandasData": [[44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "clean_trading_times"], [44, 3, 1, "", "find_asset_in_data_store"], [44, 3, 1, "", "get_asset_by_name"], [44, 3, 1, "", "get_asset_by_symbol"], [44, 3, 1, "", "get_assets"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_last_prices"], [44, 3, 1, "", "get_start_datetime_and_ts_unit"], [44, 3, 1, "", "get_trading_days_pandas"], [44, 3, 1, "", "get_yesterday_dividend"], [44, 3, 1, "", "get_yesterday_dividends"], [44, 3, 1, "", "load_data"], [44, 3, 1, "", "update_date_index"]], "lumibot.data_sources.yahoo_data": [[44, 1, 1, "", "YahooData"]], "lumibot.data_sources.yahoo_data.YahooData": [[44, 2, 1, "", "MIN_TIMESTEP"], [44, 2, 1, "", "SOURCE"], [44, 2, 1, "", "TIMESTEP_MAPPING"], [44, 3, 1, "", "get_chains"], [44, 3, 1, "", "get_historical_prices"], [44, 3, 1, "", "get_last_price"], [44, 3, 1, "", "get_strikes"]], "lumibot.strategies.strategy": [[45, 0, 0, "-", "Strategy"]], "lumibot.strategies.strategy.Strategy": [[66, 6, 1, "", "add_line"], [67, 6, 1, "", "add_marker"], [28, 6, 1, "", "after_market_closes"], [113, 6, 1, "", "await_market_to_close"], [114, 6, 1, "", "await_market_to_open"], [29, 6, 1, "", "before_market_closes"], [30, 6, 1, "", "before_market_opens"], [31, 6, 1, "", "before_starting_trading"], [154, 6, 1, "", "cancel_open_orders"], [155, 6, 1, "", "cancel_order"], [156, 6, 1, "", "cancel_orders"], [71, 6, 1, "", "cancel_realtime_bars"], [182, 5, 1, "", "cash"], [157, 6, 1, "", "create_order"], [183, 5, 1, "", "first_iteration"], [158, 6, 1, "", "get_asset_potential_total"], [55, 6, 1, "", "get_cash"], [133, 6, 1, "", "get_chain"], [134, 6, 1, "", "get_chains"], [92, 6, 1, "", "get_datetime"], [93, 6, 1, "", "get_datetime_range"], [135, 6, 1, "", "get_expiration"], [136, 6, 1, "", "get_greeks"], [72, 6, 1, "", "get_historical_prices"], [73, 6, 1, "", "get_historical_prices_for_assets"], [94, 6, 1, "", "get_last_day"], [95, 6, 1, "", "get_last_minute"], [74, 6, 1, "", "get_last_price"], [75, 6, 1, "", "get_last_prices"], [68, 6, 1, "", "get_lines_df"], [69, 6, 1, "", "get_markers_df"], [137, 6, 1, "", "get_multiplier"], [138, 6, 1, "", "get_next_trading_day"], [139, 6, 1, "", "get_option_expiration_after_date"], [159, 6, 1, "", "get_order"], [160, 6, 1, "", "get_orders"], [115, 6, 1, "", "get_parameters"], [57, 6, 1, "", "get_portfolio_value"], [58, 6, 1, "", "get_position"], [59, 6, 1, "", "get_positions"], [77, 6, 1, "", "get_quote"], [78, 6, 1, "", "get_realtime_bars"], [96, 6, 1, "", "get_round_day"], [97, 6, 1, "", "get_round_minute"], [161, 6, 1, "", "get_selling_order"], [140, 6, 1, "", "get_strikes"], [98, 6, 1, "", "get_timestamp"], [79, 6, 1, "", "get_yesterday_dividend"], [80, 6, 1, "", "get_yesterday_dividends"], [184, 5, 1, "", "initial_budget"], [32, 6, 1, "", "initialize"], [185, 5, 1, "", "is_backtesting"], [186, 5, 1, "", "last_on_trading_iteration_datetime"], [99, 6, 1, "", "localize_datetime"], [116, 6, 1, "", "log_message"], [187, 5, 1, "", "minutes_before_closing"], [188, 5, 1, "", "minutes_before_opening"], [189, 5, 1, "", "name"], [33, 6, 1, "", "on_abrupt_closing"], [34, 6, 1, "", "on_bot_crash"], [35, 6, 1, "", "on_canceled_order"], [36, 6, 1, "", "on_filled_order"], [37, 6, 1, "", "on_new_order"], [38, 6, 1, "", "on_parameters_updated"], [39, 6, 1, "", "on_partially_filled_order"], [40, 6, 1, "", "on_trading_iteration"], [141, 6, 1, "", "options_expiry_to_datetime_date"], [190, 5, 1, "", "portfolio_value"], [191, 5, 1, "", "pytz"], [192, 5, 1, "", "quote_asset"], [1, 6, 1, "", "run_backtest"], [162, 6, 1, "", "sell_all"], [117, 6, 1, "", "set_market"], [60, 6, 1, "", "set_parameters"], [118, 6, 1, "", "sleep"], [193, 5, 1, "", "sleeptime"], [81, 6, 1, "", "start_realtime_bars"], [163, 6, 1, "", "submit_order"], [164, 6, 1, "", "submit_orders"], [194, 5, 1, "", "timezone"], [100, 6, 1, "", "to_default_timezone"], [42, 6, 1, "", "trace_stats"], [195, 5, 1, "", "unspent_money"], [119, 6, 1, "", "update_parameters"], [120, 6, 1, "", "wait_for_order_execution"], [121, 6, 1, "", "wait_for_order_registration"], [122, 6, 1, "", "wait_for_orders_execution"], [123, 6, 1, "", "wait_for_orders_registration"]], "lumibot.traders": [[46, 0, 0, "-", "trader"]], "lumibot.traders.trader": [[46, 1, 1, "", "Trader"]], "lumibot.traders.trader.Trader": [[46, 3, 1, "", "add_strategy"], [46, 5, 1, "", "is_backtest_broker"], [46, 3, 1, "", "run_all"], [46, 3, 1, "", "run_all_async"], [46, 3, 1, "", "stop_all"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "attribute", "Python attribute"], "3": ["py", "method", "Python method"], "4": ["py", "exception", "Python exception"], "5": ["py", "property", "Python property"], "6": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:attribute", "3": "py:method", "4": "py:exception", "5": "py:property", "6": "py:function"}, "terms": {"": [2, 3, 6, 7, 8, 13, 14, 16, 17, 18, 21, 25, 26, 38, 41, 46, 52, 58, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 94, 95, 96, 97, 98, 99, 100, 128, 136, 147, 158, 165, 178, 193, 196], "0": [13, 15, 17, 19, 21, 22, 23, 24, 25, 32, 42, 43, 44, 87, 88, 96, 97, 146, 152, 153, 157, 163, 164, 173, 188, 196], "00": [5, 44, 110, 121, 146, 152, 153, 157, 163, 164, 196], "000": [13, 25, 26], "0000": 5, "0001": 21, "000234": 12, "01": [5, 6, 8, 20, 25, 146, 147, 152, 157, 158, 163], "02": [5, 20], "04": [5, 44], "05": [6, 8, 146, 157, 196], "07": [44, 125, 126, 133, 134], "0830": 12, "09": 5, "0930": 12, "1": [1, 2, 5, 6, 7, 8, 10, 12, 13, 15, 16, 17, 19, 20, 21, 22, 31, 44, 72, 73, 84, 90, 91, 93, 99, 100, 128, 136, 139, 146, 152, 153, 157, 163, 164, 178, 193, 196], "10": [2, 6, 8, 13, 17, 19, 20, 32, 40, 44, 63, 67, 82, 127, 135, 152, 153, 163, 164, 165, 172, 173, 178, 187, 188, 193, 196], "100": [1, 5, 12, 13, 16, 19, 20, 25, 26, 32, 42, 44, 72, 73, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 128, 133, 134, 136, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164], "10000": [13, 25], "100000": 5, "102": 196, "10439": 5, "10m": [32, 178, 193], "11": [10, 17, 19, 26], "12": [10, 17, 19, 25, 26, 74], "123456": 17, "123456789": 17, "127": [15, 17], "13": [17, 127, 135], "14": [17, 196], "1400": 12, "15": [5, 17, 20, 32, 44, 72, 73], "155": 19, "15m": 44, "15min": 20, "16": [17, 74], "1600": 12, "1612172730": 12, "16808": 5, "17": [17, 19, 32], "18": 19, "180": 25, "180m": 25, "19": 44, "1990": 82, "1991": 82, "1d": [2, 6, 8, 20, 21, 40, 44], "1dai": 44, "1h": [20, 40], "1hour": 44, "1m": [5, 21, 44], "1minut": 44, "1month": [72, 73], "2": [2, 6, 17, 22, 30, 32, 62, 66, 72, 73, 111, 112, 122, 123, 153, 164, 178, 193], "20": [12, 13, 22, 32, 43, 165], "200": [1, 12, 36, 44, 73, 111, 112, 122, 123, 153, 164], "2018": [1, 20], "2019": [146, 157], "2020": [5, 10, 25, 26, 72, 90, 91, 99, 100, 147, 152, 158, 163], "20200101": [132, 141], "2021": [19, 32, 128, 136, 139], "2022": [74, 127, 135], "20221013": [129, 137], "2023": [2, 6, 8, 44, 125, 126, 133, 134, 196], "20h": 32, "213": [146, 157], "22": 5, "23": 21, "2359": [5, 21], "24": [13, 17, 32, 106, 117], "24h": 72, "25": [5, 17], "26": 19, "2793": 5, "2794": 5, "2796": 5, "2800": 5, "2d": [32, 178, 193], "2fa": [11, 26], "2h": [178, 193], "3": [2, 12, 17, 146, 157], "30": [13, 40, 72, 73, 81, 196], "300": [36, 178, 193], "30am": 13, "31": [1, 5, 10, 25, 26, 44, 125, 126, 133, 134], "32": 5, "3233": 5, "3234": 5, "3235": 5, "3237": 5, "33": 5, "3306": [], "4": [2, 17, 26, 147, 158], "400": 22, "405": 22, "41000": [146, 157], "41250": [152, 163], "41300": [152, 163], "41325": [152, 163], "41d4": [], "420": 22, "446655440000": [], "48": 32, "5": [1, 2, 5, 6, 8, 17, 26, 32, 44, 72, 73, 106, 107, 117, 118, 146, 157, 165, 172, 178, 187, 193, 196], "50": [5, 22, 32, 146, 157, 178, 193], "500": [22, 36], "512000000": 17, "5432": 196, "55": 13, "550e8400": 196, "56": 5, "57": 5, "58": 5, "59": 21, "5d": 5, "5m": [32, 178, 193], "6": [17, 19, 26], "60": [1, 20, 173, 188], "600": 12, "7": [12, 13, 17, 26, 32, 106, 117], "7440": 5, "7496": 15, "7497": [15, 17], "75": 5, "7569": 5, "8": [17, 26], "80": [62, 66], "8000": [14, 17], "8203": 5, "8272": 5, "9": [13, 17, 32], "999": 15, "9wgjls3wixq54fcphwwzjcp8jcfjfkuwsryskkma": 17, "A": [1, 5, 7, 10, 12, 14, 22, 26, 44, 46, 52, 53, 58, 59, 77, 84, 93, 146, 153, 157, 164, 196], "And": [25, 72, 73], "As": [6, 8, 17], "At": [14, 25], "Be": [], "By": [2, 17, 26, 34, 128, 136, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194], "For": [1, 2, 3, 5, 7, 10, 13, 14, 17, 19, 20, 22, 26, 28, 44, 49, 51, 55, 57, 109, 110, 111, 112, 120, 121, 122, 123, 146, 152, 153, 157, 163, 164, 165], "If": [1, 5, 6, 8, 12, 13, 14, 16, 17, 20, 21, 25, 26, 30, 32, 36, 40, 44, 72, 73, 74, 81, 102, 103, 105, 113, 114, 116, 131, 140, 143, 146, 151, 154, 157, 162], "In": [0, 6, 8, 13, 17, 22, 43, 74, 75, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98], "It": [0, 4, 5, 6, 7, 8, 13, 14, 15, 17, 19, 22, 23, 25, 26, 41, 43, 44, 74, 77, 146, 157], "NOT": 13, "Not": [43, 106, 117], "On": [14, 17], "One": [5, 17, 19, 22, 44, 146, 157], "Or": [25, 26, 165], "That": 16, "The": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 27, 28, 34, 35, 36, 37, 38, 39, 41, 43, 44, 45, 49, 50, 51, 54, 55, 56, 57, 60, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 104, 106, 108, 115, 117, 119, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 139, 140, 146, 147, 150, 151, 153, 157, 158, 161, 162, 164, 165, 167, 169, 171, 172, 173, 174, 175, 176, 177, 179, 181, 182, 184, 186, 187, 188, 189, 190, 191, 192, 194], "Their": 17, "Then": [5, 13, 16, 72], "There": [10, 11, 146, 157], "These": [0, 1, 2, 3, 4, 7, 10, 32, 45, 54, 60, 82], "To": [0, 6, 8, 10, 13, 14, 16, 17, 22, 25, 26, 72], "Will": [20, 25, 62, 63, 66, 67, 74, 75, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 151, 162, 176, 179, 181, 191, 194], "With": [2, 6, 8, 26], "_": [], "__getattr__": [], "__init__": [], "__main__": [2, 6, 8, 13], "__name__": [2, 6, 8, 13], "__setattr__": [], "_asset_typ": 19, "_get_bars_dict": 21, "_right": 19, "_vars_dict": [], "a716": [], "a7py0zidhxde6qkx8ojjknp7cd87hwku": 17, "aapl": [1, 2, 5, 6, 8, 10, 12, 16, 19, 20, 23, 26, 32, 35, 36, 37, 39, 72, 73, 145, 156], "aapl_pric": [10, 26], "abc": [43, 44], "abcdef1234567890abcdef1234567890abcdef1234": 17, "abl": 16, "about": [2, 9, 11, 26, 166], "abov": [2, 15, 19, 20, 32], "abrupt": 33, "abstract": [27, 41, 43, 44, 45], "accept": [5, 19], "access": [7, 14, 16, 17, 20, 25, 26, 165, 196], "access_token": 16, "accompani": 7, "accord": [82, 83, 89, 92, 98], "account": [2, 6, 8, 11, 12, 13, 15, 16, 17, 26, 43, 47, 49, 51, 53, 55, 57, 59, 61, 150, 161, 167, 182], "account_histori": 17, "account_id": [14, 17], "account_numb": 16, "accur": [20, 44], "achiev": [7, 22, 25, 26], "across": [2, 17], "act": 14, "action": [4, 17], "activ": [14, 17, 22, 26, 74, 75, 78, 152, 153, 163, 164], "activex": 15, "actual": [2, 13, 22, 41, 43, 175, 190], "ad": [5, 11, 13, 17, 19, 26, 72, 73], "add": [3, 5, 13, 14, 17, 19, 22, 25, 32, 43, 46, 62, 63, 66, 67], "add_chart_lin": [62, 66], "add_chart_mark": [63, 67], "add_child_ord": 22, "add_lin": [3, 26, 47], "add_mark": [3, 26, 47], "add_ord": 23, "add_strategi": [5, 12, 13, 14, 15, 16, 25, 26, 46], "add_transact": 22, "addit": [2, 14, 17, 19, 22, 146, 157], "addition": [5, 10, 20], "address": [14, 17], "adjust": [1, 7, 14, 20, 21, 44], "adjust_for_delai": [43, 44, 83, 92], "advanc": [0, 2, 5, 25, 26, 146, 157], "advantag": [], "afa": 17, "affili": 6, "afford": 17, "after": [5, 6, 8, 13, 14, 17, 21, 26, 28, 30, 31, 40, 42, 44, 63, 67, 72, 76, 130, 138, 139, 196], "after_market_clos": [26, 27], "again": [40, 103, 114], "against": 26, "aggregate_bar": 20, "ago": [44, 72], "agre": [], "aka": 5, "algorithm": [15, 17, 25], "alia": 22, "align": 17, "all": [1, 4, 5, 13, 17, 20, 21, 22, 25, 30, 33, 34, 43, 44, 45, 46, 51, 53, 57, 59, 72, 73, 125, 127, 128, 129, 131, 133, 135, 136, 137, 140, 143, 145, 146, 149, 150, 151, 154, 156, 157, 160, 161, 162, 165, 196], "all_vari": 196, "alloc": 10, "allow": [0, 2, 4, 5, 6, 8, 14, 17, 20, 22, 25, 26, 81, 146, 157, 165], "along": 9, "alpaca": [11, 20, 26, 72, 73], "alpaca_api_kei": 17, "alpaca_api_secret": 17, "alpaca_config": [12, 25, 26], "alpaca_is_pap": 17, "alpacastrategi": 12, "alreadi": [22, 30, 36, 41], "also": [5, 10, 15, 17, 22, 25, 26, 32, 43, 72, 146, 151, 157, 162, 166], "altern": 8, "alwai": [13, 30, 43, 106, 117, 167, 182], "america": [5, 20, 44, 176, 179, 181, 191, 194], "amount": [9, 13, 20, 22, 28, 44, 49, 51, 55, 57, 79, 80, 146, 157], "an": [0, 1, 2, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 19, 22, 23, 26, 34, 35, 36, 39, 40, 41, 43, 44, 52, 58, 72, 74, 75, 81, 102, 103, 105, 113, 114, 116, 126, 127, 131, 132, 134, 135, 140, 141, 144, 146, 147, 148, 152, 155, 157, 158, 159, 163, 165, 178, 193, 196], "analy": 26, "analysi": [2, 4, 13, 46], "analyt": 26, "analyz": 26, "ani": [0, 1, 2, 5, 6, 7, 8, 10, 13, 14, 15, 17, 21, 22, 25, 41, 43, 62, 66, 72, 73, 105, 116, 145, 156, 165], "annual": [7, 25, 26], "anoth": [], "another_var": [], "anyth": 10, "anytim": 19, "anywai": [], "api": [1, 2, 6, 8, 10, 12, 13, 14, 15, 16, 17, 20, 26, 44, 128, 136], "api_kei": [1, 12, 25, 26, 43, 44], "api_secret": [12, 25, 26], "apikei": 13, "app": 14, "appl": 23, "appli": [1, 17, 44], "applic": [17, 106, 117], "approach": 14, "appropri": [14, 20], "approv": 14, "ar": [0, 1, 2, 3, 5, 7, 8, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 38, 41, 44, 45, 47, 48, 53, 59, 61, 62, 63, 66, 67, 70, 73, 78, 81, 82, 101, 106, 117, 124, 125, 126, 128, 133, 134, 136, 142, 143, 146, 147, 149, 151, 153, 154, 157, 158, 160, 162, 164, 165, 167, 182, 196], "arg": [1, 21, 44], "argument": [8, 128, 136], "around": [14, 17, 18], "arrai": [17, 21], "arriv": 81, "arrow": [63, 67], "articl": [], "aset": [146, 152, 153, 157, 163, 164], "asex": [32, 106, 117], "ask": [14, 44, 77], "aspect": 2, "asset": [1, 2, 5, 9, 12, 13, 17, 18, 20, 21, 22, 23, 26, 33, 34, 35, 36, 37, 39, 40, 43, 44, 49, 51, 52, 53, 55, 57, 58, 59, 62, 66, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 147, 152, 153, 157, 158, 163, 164, 167, 177, 182, 192], "asset_bar": 30, "asset_bas": [72, 73, 152, 163], "asset_btc": [153, 164], "asset_eth": [153, 164], "asset_pric": [44, 128, 136], "asset_quot": [72, 73, 152, 153, 163, 164], "asset_symbol": 32, "asset_to_get": 13, "asset_typ": [1, 5, 13, 19, 20, 44, 72, 73, 74, 146, 147, 152, 153, 157, 158, 163, 164], "asset_type_map": 12, "asset_type_must_be_one_of": 19, "assetsmap": 19, "assettyp": [5, 13, 19, 146, 152, 153, 157, 163, 164], "assign": 196, "assist": 17, "associ": 14, "assset": [52, 58], "asterisk": [63, 67], "asx": [32, 106, 117], "async": 46, "async_": 46, "asynchron": 46, "attach": 21, "attain": [7, 146, 157], "attempt": [14, 175, 190], "attribut": [19, 196], "attributeerror": [], "authent": [11, 26], "author": 14, "auto_adjust": [1, 44], "autom": [14, 17], "automat": [1, 6, 8, 22, 146, 147, 157, 158, 196], "avail": [2, 9, 10, 17, 20, 21, 23, 26, 47, 72, 73, 106, 117, 128, 136, 153, 164, 167, 182], "averag": [2, 7, 22, 23], "avg_fill_pric": [22, 23], "avoid": 14, "await": [103, 114, 143, 154], "await_market_to_clos": [26, 47], "await_market_to_open": [26, 47], "awar": [5, 20], "back": [14, 196], "background": 17, "backtest": [4, 5, 7, 10, 17, 21, 22, 24, 32, 44, 46, 63, 67, 72, 73, 74, 75, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 170, 185], "backtesting_brok": 43, "backtesting_end": [1, 2, 5, 6, 8, 10, 25, 26, 32], "backtesting_start": [1, 2, 5, 6, 8, 10, 25, 26, 32, 43], "backtestingbrok": [5, 6, 8, 10, 43], "backtets": 77, "backup": 26, "backup_table_nam": 196, "backup_variables_to_db": [], "backward": [72, 73], "balanc": 22, "band": [7, 62, 66], "bar": [13, 18, 21, 26, 43, 44, 63, 67, 71, 72, 73, 74, 75, 78, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 128, 136], "bar_list": 20, "bars_agg": 20, "bars_list": 30, "base": [2, 7, 12, 13, 19, 20, 21, 22, 23, 24, 26, 40, 43, 44, 46, 72, 73, 74, 146, 157], "base_asset": [19, 152, 153, 163, 164], "bat": [32, 106, 117], "bband": 7, "becaus": [3, 5, 6, 8, 10, 17, 43], "becuas": 44, "been": [5, 10, 15, 22, 23, 35, 36, 37, 39, 43, 74, 78], "befor": [1, 2, 5, 7, 10, 13, 14, 15, 17, 20, 22, 25, 26, 29, 30, 31, 32, 40, 41, 42, 44, 72, 73, 102, 103, 113, 114, 151, 162, 172, 173, 187, 188, 196], "before_market_clos": [26, 27], "before_market_open": [26, 27, 173, 188], "before_starting_trad": [26, 27, 30], "begin": [2, 43], "beginn": 25, "behav": 17, "behavior": [0, 2], "behind": 19, "being": [26, 35, 36, 37, 38, 39, 44, 46, 72, 126, 134, 146, 157, 168, 183], "belong": 22, "below": [14, 45, 47, 48, 61, 70, 74, 82, 101, 124, 142], "benchmark": [1, 2, 7], "benchmark_asset": [1, 2, 6, 8, 25], "benefit": 26, "best": [14, 17], "better": [7, 22, 146, 157], "between": [1, 2, 13, 20, 21, 26, 32, 72, 178, 193], "bid": [44, 77], "binanc": [13, 26], "bit": [6, 8], "bitcoin": 20, "black": [62, 63, 66, 67], "blacklist": 31, "blob": [15, 25, 26], "block": 14, "blue": [62, 63, 66, 67], "blueprint": 17, "bmf": [32, 106, 117], "boilerpl": [], "bolling": [7, 62, 66], "bool": [1, 22, 43, 44, 46, 72, 73, 74, 105, 116, 128, 136, 153, 164, 168, 170, 183, 185], "boolean": [12, 151, 153, 162, 164], "bot": [15, 17, 25, 32, 34, 45, 196], "both": [8, 14, 22, 25, 30, 146, 157], "bottom": 17, "bought": [36, 146, 157], "bowti": [63, 67], "box": 26, "bracket": [22, 146, 157], "broadcast": [105, 116], "broker": [1, 5, 12, 16, 19, 20, 22, 23, 24, 25, 26, 32, 35, 36, 37, 39, 44, 45, 72, 73, 74, 77, 81, 109, 110, 111, 112, 120, 121, 122, 123, 128, 136, 146, 152, 153, 157, 163, 164, 167, 182], "brokerag": [14, 17], "brown": [62, 63, 66, 67], "browser": [17, 25, 46], "bse": [32, 106, 117], "btc": [13, 19, 20, 72, 73, 74, 146, 152, 153, 157, 163, 164], "budget": [1, 5, 10, 17, 25, 32, 169, 184], "bug": 26, "bui": [1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 16, 19, 22, 25, 26, 36, 40, 45, 49, 55, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 144, 145, 146, 152, 153, 155, 156, 157, 163, 164, 167, 182], "build": [26, 27, 45], "built": [2, 5, 26], "bundl": 14, "busi": [29, 30], "butterfli": 17, "button": [14, 17], "buy_to_clos": 22, "buy_to_cov": 22, "buy_to_open": 22, "buy_trading_fe": [1, 25], "bvmf": [32, 106, 117], "byte": 17, "c": 14, "cach": [6, 8], "calcul": [13, 20, 22, 43, 44, 128, 136], "calculate_greek": 44, "calculate_trade_cost": 43, "calendar": [32, 76, 130, 138], "call": [1, 5, 6, 8, 19, 20, 22, 28, 32, 34, 35, 36, 38, 39, 40, 41, 42, 44, 72, 74, 75, 125, 126, 128, 133, 134, 136, 152, 163], "campu": [], "can": [2, 5, 6, 8, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 29, 32, 41, 44, 45, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 82, 101, 124, 128, 136, 142, 146, 157, 165, 166, 178, 193], "cancel": [12, 22, 30, 35, 43, 71, 109, 111, 120, 122, 142, 143, 144, 145, 146, 149, 151, 154, 155, 156, 157, 160, 162], "cancel_open_ord": [26, 30, 47, 151, 162], "cancel_ord": [12, 26, 43, 47, 149, 160], "cannot": 10, "capabl": [6, 8], "care": 41, "carri": 25, "case": [19, 21, 22], "cash": [9, 13, 22, 26, 28, 42, 43, 48, 49, 51, 55, 57, 61, 175, 177, 180, 190, 192, 195], "cash_pend": 22, "cash_settl": 22, "cash_settle_options_contract": 43, "categori": [45, 101], "caus": 14, "cboe": [125, 127, 129, 133, 135, 137], "cbot_agricultur": [32, 106, 117], "cbot_bond": [32, 106, 117], "cbot_equ": [32, 106, 117], "cbot_interestr": [32, 106, 117], "cbot_rat": [32, 106, 117], "ccxt": [11, 26], "central": [], "certain": [13, 63, 67], "cfd": 17, "cfe": [32, 106, 117], "chain": [22, 44, 124, 125, 126, 127, 129, 131, 133, 134, 135, 137, 140], "chain_data": 44, "challeng": 17, "chang": [5, 10, 12, 14, 16, 17, 20, 32], "chart": [26, 47, 62, 63, 64, 65, 66, 67, 68, 69], "check": [13, 17, 22, 26, 40, 43, 47, 72, 148, 149, 159, 160, 168, 170, 183, 185], "check_data": 21, "chf": [146, 157], "child": [22, 43], "child_ord": 22, "choic": [6, 8, 14, 17], "choos": [0, 15, 26], "chosen": [13, 16, 17], "chunk_siz": [12, 44, 73], "circl": [63, 67], "class": [1, 2, 5, 6, 8, 10, 12, 13, 16, 17, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 165, 196], "classmethod": [19, 20, 22, 23, 44], "clean_trading_tim": 44, "click": [14, 17], "client": [14, 15, 17], "client_id": 15, "close": [1, 5, 12, 13, 20, 21, 22, 28, 29, 32, 33, 40, 43, 51, 57, 72, 74, 75, 78, 81, 102, 103, 113, 114, 151, 162, 172, 187], "cme": [32, 74, 106, 117], "cme_agricultur": [32, 106, 117], "cme_bond": [32, 106, 117], "cme_equ": [32, 106, 117], "cme_interestr": [32, 106, 117], "cme_rat": [32, 106, 117], "code": [2, 5, 6, 7, 8, 13, 14, 17, 25, 26, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 62, 66, 102, 103, 113, 114, 165], "coin": [20, 146, 157], "coinbas": [13, 26], "coinbase_api_kei": 17, "coinbase_api_secret": 17, "coinbase_config": 13, "coinbase_is_sandbox": 17, "coinbasepro": 13, "coinbasepro_config": 13, "collect": [4, 5], "color": [13, 62, 63, 66, 67, 105, 116], "column": [5, 20, 21, 44, 78, 196], "com": [2, 7, 15, 16, 17, 25, 26], "combin": 22, "comex_agricultur": [32, 106, 117], "comfort": 25, "command": [2, 25, 26], "comment": 74, "commiss": 17, "commit": 17, "common": [13, 14], "commun": [25, 26], "compar": [1, 7, 14, 17], "comparison": 2, "compat": 17, "competit": 17, "complet": [13, 14, 15, 17, 22, 26, 74, 75], "complex": [14, 25], "complic": 26, "compon": [27, 41, 196], "compound": [146, 157], "comprehens": [4, 25], "comput": [6, 8, 17, 25, 26], "conclus": [0, 26], "concurr": [], "condit": [2, 22, 40], "condor": [7, 17], "confid": 2, "config": [1, 12, 13, 16, 17, 25, 43], "configur": [2, 11, 15, 26], "confirm": [14, 17], "conflict": [14, 196], "confus": 26, "connect": [12, 13, 14, 17, 105, 116], "connect_stream": [12, 43], "consequ": [], "consid": [5, 20, 177, 192], "consist": [], "consol": [17, 105, 116], "constantli": [13, 26], "construct": 22, "constructor": 32, "contain": [1, 3, 20, 21, 22, 40, 42, 44, 78, 152, 153, 163, 164], "context": 42, "continu": [22, 146, 157], "contract": [5, 19, 20, 22, 32, 43], "control": [14, 178, 193], "conveni": 14, "convers": [19, 178, 193], "convert": [1, 19, 20, 22, 26, 43, 44, 132, 141, 146, 157], "convert_timestep_str_to_timedelta": 44, "copi": 25, "core": 41, "corner": [14, 17], "corpor": 19, "correct": [13, 14, 16], "correctli": 17, "correspond": [17, 35, 36, 37], "cost": [14, 17, 43], "could": [128, 136], "count": [21, 32, 78, 81, 196], "countri": 14, "coupon": [2, 6, 8], "cours": [25, 26], "cover": [17, 26], "crash": [34, 40, 196], "creat": [1, 2, 5, 6, 7, 8, 10, 13, 14, 16, 17, 19, 21, 22, 36, 44, 72, 125, 127, 129, 131, 133, 135, 137, 140, 142, 144, 145, 146, 155, 156, 157], "create_asset": [71, 72, 79], "create_ord": [1, 2, 5, 6, 8, 10, 12, 13, 19, 22, 25, 26, 40, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 152, 153, 155, 156, 163, 164], "creation": [], "credenti": [13, 14, 15], "credit": [6, 8, 153, 164], "critic": [], "cross": [63, 67], "crucial": [2, 17, 25], "cryoptocurr": 13, "crypto": [0, 1, 5, 7, 11, 17, 19, 20, 23, 26, 49, 51, 55, 57, 72, 74, 106, 117, 146, 152, 153, 157, 163, 164, 167, 175, 182, 190], "cryptocurr": [1, 2, 6, 8, 13, 17, 20, 72, 73, 74, 75, 146, 157], "csv": [0, 2, 3, 9, 21, 26, 44], "cta": 14, "cumul": 7, "currenc": [19, 72, 146, 157, 167, 175, 177, 182, 190, 192], "current": [12, 13, 14, 17, 21, 36, 37, 42, 43, 44, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 77, 78, 82, 83, 84, 85, 86, 87, 88, 89, 92, 93, 94, 95, 96, 97, 98, 128, 136, 143, 149, 153, 154, 160, 164, 167, 175, 178, 182, 190, 193, 196], "current_count": 196, "current_ema": 13, "current_macd": 13, "current_rsi": 13, "curv": 2, "custom": [2, 25, 32, 146, 157, 165], "custom_param": [22, 146, 157], "d": [32, 178, 193], "dai": [0, 1, 2, 5, 6, 8, 10, 17, 21, 22, 26, 30, 31, 32, 40, 44, 72, 73, 76, 79, 80, 84, 85, 86, 87, 93, 94, 95, 96, 130, 138, 146, 153, 157, 164, 178, 193], "daili": [0, 2, 5, 7, 10, 31, 72, 73], "darkblu": [62, 66], "darkgrai": [62, 66], "darkgreen": [62, 66], "darkr": [62, 66], "dash": [16, 62, 66], "dashboard": [6, 8, 25], "data": [0, 1, 3, 6, 8, 10, 11, 13, 18, 19, 20, 23, 26, 30, 31, 40, 45, 47, 62, 66, 71, 72, 73, 78, 81, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "data_sourc": [5, 12, 43, 44, 72, 73], "data_source_backtest": 43, "databas": [2, 5, 17, 26], "database_nam": 196, "datafram": [20, 21, 44, 64, 65, 68, 69, 72, 78, 81], "datalin": 21, "dataset": 2, "datasourc": [1, 8, 43, 44], "datasource_class": 1, "datasourcebacktest": [43, 44], "datatim": 82, "date": [0, 1, 2, 5, 6, 8, 10, 19, 21, 26, 32, 44, 74, 76, 82, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 141, 146, 157], "date_cr": 22, "date_end": 21, "date_start": 21, "daterang": 20, "datetim": [1, 2, 5, 6, 8, 10, 13, 19, 20, 21, 25, 26, 32, 43, 44, 47, 62, 63, 66, 67, 72, 76, 78, 81, 83, 84, 90, 91, 92, 93, 99, 100, 127, 130, 132, 135, 138, 139, 141, 146, 157, 171, 186], "datetime64": [5, 21], "datetime_end": [5, 43], "datetime_start": [5, 43], "db": 17, "db_connection_str": [17, 196], "dd": [76, 130, 138], "deal": [14, 26], "debit": [153, 164], "debug": [4, 46, 196], "decid": [17, 72], "decim": [23, 74, 75, 146, 147, 157, 158], "decis": [3, 4], "def": [1, 2, 5, 6, 8, 10, 12, 13, 16, 25, 26, 27, 41, 106, 117, 165, 172, 173, 178, 187, 188, 193, 196], "default": [1, 5, 10, 17, 19, 20, 21, 32, 34, 44, 45, 54, 60, 62, 63, 66, 67, 72, 73, 74, 76, 91, 100, 106, 117, 125, 127, 128, 129, 130, 133, 135, 136, 137, 138, 146, 151, 153, 157, 162, 164, 172, 173, 176, 178, 179, 181, 187, 188, 191, 193, 194, 196], "default_pytz": 44, "default_timezon": 44, "defin": [6, 7, 8, 13, 24, 27, 32, 41, 42, 43, 45, 165, 196], "definit": [], "delai": 44, "delet": 17, "delta": [7, 44, 128, 136], "demonstr": 13, "depend": [14, 17, 72, 73], "deploi": [2, 26], "deploy": 26, "deprec": [1, 15, 146, 157, 180, 195], "depric": 74, "describ": [26, 45], "descript": [1, 14, 17], "deseri": [], "design": [2, 17, 25, 27, 41], "desir": [13, 14, 21, 81, 128, 136], "detail": [0, 2, 3, 4, 9, 14, 17, 19, 72, 148, 159], "detail_text": [62, 63, 66, 67], "determin": [6, 7, 8, 12, 22, 43, 106, 117, 146, 157, 166], "dev": [25, 26], "develop": [17, 26], "df": [5, 13, 20, 21, 30, 72, 73], "dialog": [], "diamond": [63, 67], "dict": [1, 21, 38, 42, 44, 46, 50, 54, 56, 60, 77, 104, 108, 115, 119, 146, 157], "dictionari": [1, 5, 8, 16, 36, 42, 43, 44, 46, 73, 77, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 146, 157, 165], "differ": [2, 3, 5, 7, 11, 13, 14, 17, 20, 25, 26, 45], "differenti": 7, "difficult": 5, "digit": 15, "directli": [17, 43], "directori": [5, 14, 17], "disabl": 15, "disconnect": 14, "discord": [17, 26], "discord_webhook_url": 17, "discov": [25, 26], "displai": [46, 62, 63, 66, 67], "displi": 46, "divid": 47, "dividend": [20, 44, 79, 80, 128, 136, 167, 182], "do": [1, 5, 10, 13, 16, 20, 22, 25, 26, 38, 44, 47, 101, 146, 157], "doc": [], "docstr": 43, "document": [11, 13, 14, 17, 25, 26, 72], "doe": [43, 44, 77, 146, 157], "doesn": 14, "dollar": [146, 157, 175, 190], "don": [13, 14, 17, 26], "done": 44, "dot": [62, 63, 66, 67], "down": [14, 17, 25, 33, 63, 67], "downgrad": 17, "download": [2, 5, 6, 8, 25, 26], "drawdown": [2, 7], "dsttzinfo": 44, "dt": [13, 21, 44, 62, 63, 66, 67, 90, 91, 99, 100, 139], "dt_index": 44, "dte": 7, "due": 19, "dump": [28, 42], "duplic": [], "durat": [7, 32, 146, 153, 157, 164, 178, 193], "dure": [1, 2, 4, 7, 17, 45, 73], "e": [2, 9, 17, 19, 20, 21, 22, 23, 25, 72, 73, 74, 146, 147, 152, 157, 158, 163], "e29b": [], "each": [0, 1, 2, 3, 5, 7, 9, 13, 14, 20, 22, 26, 30, 32, 40, 41, 44, 45, 47, 53, 59, 72, 80, 126, 134, 149, 151, 160, 162, 196], "eas": 17, "easi": [6, 8, 14, 17, 25, 26], "easier": [5, 17], "easiest": 25, "easili": [10, 26, 32, 45], "eastern": 21, "edit": 17, "effect": 17, "effici": 196, "eg": [13, 17, 19, 20, 25, 44, 47, 49, 51, 55, 57, 62, 63, 66, 67, 70, 77, 82, 105, 116, 125, 126, 133, 134, 146, 157, 178, 193], "either": [5, 19, 21, 22, 72, 73, 74, 75], "elif": 36, "els": 43, "ema": 13, "ema_threshold": 165, "email": [7, 14], "empti": [53, 59], "en": 13, "enabl": [13, 14, 15], "encount": 22, "end": [1, 2, 6, 7, 8, 10, 14, 20, 21, 26, 42], "end_dat": 21, "endpoint": 12, "engag": 17, "engin": [26, 41], "enhanc": [14, 25], "enjoi": 25, "enough": [], "ensur": [5, 10, 14, 17, 21, 22, 25, 26, 146, 157], "enter": [14, 17, 19, 22, 31, 146, 157, 178, 193], "entir": 13, "entiti": [5, 13, 19, 20, 21, 22, 23, 24, 25, 26, 44, 72, 73, 80, 146, 152, 153, 157, 163, 164], "entri": [15, 22], "env": [14, 17, 196], "environ": [2, 14, 26, 196], "equal": [172, 173, 178, 187, 188, 193], "equiti": [2, 14, 51, 57], "equival": 22, "equivalent_statu": 22, "error": [13, 17, 22, 34], "error_messag": 22, "especi": [14, 82, 196], "essenti": [2, 17], "est": 5, "etc": [5, 16, 20, 21, 40, 44, 45, 48, 61, 63, 67, 77, 148, 159], "etf": [2, 10], "eth": [20, 73, 146, 153, 157, 164], "ethereum": 20, "eula": 14, "eur": [19, 72, 73, 146, 152, 153, 157, 163, 164], "eurex": [32, 106, 117], "eurusd": 73, "evalu": 43, "even": [2, 6, 8, 30, 153, 164], "event": [4, 26, 33, 34, 35, 36, 37, 38, 39, 43, 63, 67], "everi": [2, 25, 32, 40, 43, 47, 81, 196], "everyth": [17, 26], "ew": [63, 67], "exactli": 26, "exampl": [1, 2, 6, 8, 11, 12, 15, 19, 20, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 52, 53, 58, 59, 62, 63, 66, 67, 71, 72, 73, 74, 75, 79, 80, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 105, 106, 107, 109, 110, 111, 112, 113, 114, 116, 117, 118, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 196], "example_strategi": [13, 25, 26], "exce": 20, "excel": 17, "except": [15, 20, 25, 26, 34], "exchang": [14, 21, 22, 44, 72, 73, 74, 75, 76, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 125, 126, 127, 129, 130, 131, 133, 134, 135, 137, 138, 140, 146, 157], "exchange_id": 13, "excut": [168, 183], "execud": [29, 30], "execut": [2, 9, 17, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 102, 103, 107, 109, 111, 113, 114, 118, 120, 122, 143, 152, 154, 163, 172, 173, 178, 187, 188, 193], "exist": [21, 54, 60], "exit": 22, "exp_dat": [44, 125, 126, 133, 134], "expect": [17, 25, 26, 128, 136], "expens": [17, 128, 136], "expert": [25, 26], "expertis": 26, "expir": [7, 14, 19, 22, 32, 44, 72, 74, 125, 126, 127, 128, 133, 134, 135, 136, 139, 146, 157], "expiration_d": [147, 152, 158, 163], "expiri": [19, 44, 127, 132, 135, 141], "expiry_d": [127, 132, 135, 141], "explain": 2, "exponenti": 7, "export": 2, "expri": 43, "extend": 81, "extens": 2, "extract": 72, "extrem": 22, "ey": 17, "f": [13, 16, 28, 35, 36, 38, 39, 42, 72, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 169, 171, 174, 176, 177, 179, 181, 184, 186, 189, 191, 192, 194, 196], "fact": [], "factor": [11, 26], "fairli": [], "fals": [1, 12, 13, 16, 17, 22, 25, 26, 32, 43, 44, 46, 73, 74, 83, 92, 105, 116, 128, 136, 146, 151, 157, 162], "familiar": 25, "fashion": [], "fast": [22, 25, 26], "faster": [2, 6, 8, 44], "favor": [146, 157], "featur": [0, 2, 6, 8, 26], "fee": [14, 17, 18, 26], "feel": [], "fetch": [6, 8, 44, 126, 131, 134, 140], "few": [13, 17, 26, 101], "field": [14, 20, 22], "figur": 17, "file": [1, 4, 5, 7, 14, 15, 17, 25, 26, 101, 105, 116, 165, 196], "fill": [14, 17, 21, 22, 23, 36, 39, 43, 146, 157, 167, 182], "filter": 20, "final": [5, 6, 8, 10, 14, 26], "financ": [1, 2, 10, 26], "financi": [20, 25], "find": [13, 14, 15, 16, 17, 26, 44, 76, 127, 129, 130, 131, 135, 137, 138, 139, 140], "find_asset_in_data_stor": 44, "firm": 14, "first": [1, 5, 6, 8, 10, 13, 16, 17, 20, 21, 22, 25, 26, 30, 32, 73, 168, 178, 183, 193, 196], "first_iter": [1, 2, 5, 6, 8, 10, 26], "fit": [17, 101], "fix": [26, 81], "flat": 25, "flat_fe": [24, 25], "flexibl": [2, 5, 6, 8, 25], "float": [1, 5, 19, 20, 22, 23, 36, 39, 43, 44, 49, 51, 55, 57, 62, 63, 66, 67, 74, 75, 79, 80, 102, 103, 107, 113, 114, 118, 128, 131, 136, 140, 146, 147, 153, 157, 158, 164, 167, 169, 175, 182, 184, 190], "flow": 45, "focus": 17, "folder": [2, 5, 10, 13, 17], "follow": [2, 5, 6, 8, 13, 14, 15, 17, 19, 20, 22, 26, 27, 30, 41, 78, 165, 178, 193], "forc": [146, 157], "forex": [0, 2, 5, 6, 8, 12, 17, 19, 26, 44, 73, 74, 146, 152, 153, 157, 163, 164], "forget": 26, "form": [6, 21, 81, 106, 117, 127, 129, 135, 137, 167, 182], "format": [0, 5, 19, 21, 44, 76, 125, 126, 130, 132, 133, 134, 138, 141], "fortun": 26, "found": 26, "frame": 5, "framework": [2, 41], "free": [1, 2, 6, 8, 17, 23, 26, 44, 128, 136], "frequenc": [20, 21], "frequent": 20, "friendli": 17, "from": [1, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 25, 26, 41, 42, 44, 45, 72, 73, 76, 80, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 140, 146, 152, 153, 157, 163, 164, 196], "from_dict": [19, 22, 23], "full": [2, 6, 8, 11, 14, 26, 44, 125, 133], "fulli": 14, "function": [0, 2, 3, 13, 17, 21, 26, 32, 38, 41, 44, 47, 48, 82, 142], "further": [2, 17], "futur": [0, 5, 12, 14, 17, 19, 20, 26, 43, 44, 74, 146, 147, 152, 157, 158, 163, 180, 195], "g": [2, 9, 17, 20, 21, 22, 23, 25, 72, 73, 146, 157], "gain": 26, "gamma": [128, 136], "gatewai": [], "gbp": [19, 152, 163], "gear": [], "gener": [7, 10, 13, 16, 26, 151, 162], "get": [1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 17, 18, 20, 21, 22, 30, 31, 33, 38, 43, 44, 45, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 70, 72, 73, 75, 77, 79, 80, 82, 104, 115, 124, 147, 148, 149, 150, 158, 159, 160, 161, 165, 166, 167, 172, 173, 175, 178, 182, 187, 188, 190, 193, 196], "get_asset": 44, "get_asset_by_nam": 44, "get_asset_by_symbol": 44, "get_asset_potential_tot": [26, 47], "get_bar": [20, 21, 44], "get_bars_between_d": 21, "get_cash": [26, 47], "get_chain": [26, 44, 47, 127, 129, 131, 135, 137, 140], "get_chain_full_info": 44, "get_datetim": [13, 26, 43, 44, 47], "get_datetime_rang": [26, 43, 44, 47], "get_expir": [26, 47], "get_fill_pric": 22, "get_func_stat": 25, "get_greek": [26, 47], "get_historical_account_valu": [12, 43], "get_historical_pric": [6, 8, 13, 20, 26, 31, 44, 47, 73], "get_historical_prices_for_asset": [26, 30, 47], "get_incr": 22, "get_iter_count": 21, "get_last_bar": 43, "get_last_dai": [26, 44, 47], "get_last_dividend": 20, "get_last_minut": [26, 44, 47], "get_last_pric": [2, 6, 8, 10, 13, 16, 20, 21, 26, 44, 47], "get_lines_df": [26, 47], "get_markers_df": [26, 47], "get_momentum": 20, "get_multipli": [26, 47], "get_next_option_expir": 139, "get_next_trading_dai": [26, 47], "get_ord": [13, 26, 47], "get_paramet": [26, 47, 165], "get_portfolio_valu": [26, 47], "get_posit": [13, 23, 26, 47, 150, 161], "get_quot": [21, 26, 47], "get_round_dai": [26, 44, 47], "get_round_minut": [26, 44, 47], "get_selling_ord": [23, 26, 47], "get_start_datetime_and_ts_unit": 44, "get_strik": [26, 44, 47], "get_symbol_bar": 70, "get_thread_stat": 25, "get_time_to_clos": [12, 43], "get_time_to_open": [12, 43], "get_timestamp": [12, 26, 44, 47], "get_timestep": 44, "get_total_dividend": 20, "get_total_return": 20, "get_total_return_pct": 20, "get_total_return_pct_chang": 20, "get_total_stock_split": 20, "get_total_volum": 20, "get_tracked_ord": [149, 160], "get_trading_days_panda": 44, "get_yesterday_dividend": [26, 44, 47], "getting_start": 15, "github": [13, 15, 17, 20, 25, 26], "give": [6, 8, 13, 131, 140], "given": [14, 20, 21, 43, 44, 52, 58, 71, 72, 73, 76, 84, 93, 125, 127, 129, 130, 131, 133, 135, 137, 138, 139, 140, 143, 148, 154, 159], "global": [15, 17, 20, 45], "go": [2, 5, 12, 15, 17, 25, 26], "goal": 7, "goe": [105, 116], "good": [26, 146, 157], "good_till_d": [22, 146, 157], "goog": [22, 42, 72, 73], "googl": 22, "google_symbol": 42, "gracefulli": 33, "grai": [62, 66], "graph": [7, 62, 63, 66, 67], "great": [14, 17], "greatli": [27, 41], "greek": [44, 124, 128, 136], "green": [13, 62, 63, 66, 67, 105, 116], "grouper_kwarg": 20, "growth": 7, "gtc": [146, 153, 157, 164], "gtd": [146, 157], "guarante": [146, 157], "guarente": [44, 125, 126, 133, 134], "guid": [2, 13, 16, 25, 26], "guidanc": 25, "h": [178, 193], "ha": [0, 7, 15, 20, 22, 26, 35, 36, 37, 39, 45, 71, 74, 78, 196], "handl": 14, "happen": [171, 186], "happi": 17, "harm": 7, "hash": [63, 67], "have": [0, 1, 2, 5, 6, 8, 10, 14, 16, 17, 20, 22, 23, 25, 26, 28, 43, 47, 49, 51, 55, 57, 72, 78], "he": 41, "header": 14, "held": [175, 190], "hello": 40, "help": [2, 3, 6, 8, 25], "helper": [20, 22, 45], "here": [1, 2, 5, 6, 8, 11, 12, 13, 14, 15, 16, 17, 18, 25, 26, 41, 165, 166], "hex": [62, 66], "hexagon": [63, 67], "hexagon2": [63, 67], "hexagram": [63, 67], "high": [5, 20, 21, 25, 26, 43, 78, 81], "higher": 22, "highli": [15, 26], "histor": [2, 6, 8, 12, 13, 20, 26, 43, 44, 70, 72, 73], "histori": 17, "historical_limit": 20, "hkex": [32, 106, 117], "hold": [6, 8, 20, 22, 23, 26, 36], "home": 26, "hope": 25, "host": [14, 17], "hour": [13, 20, 21, 32, 40, 44, 72, 73, 106, 117, 178, 193], "hourglass": [63, 67], "hover": [62, 63, 66, 67], "how": [0, 3, 11, 12, 13, 17, 25, 26, 45, 72, 81, 166], "howev": [17, 22, 30, 32, 146, 157], "hr": [5, 21], "html": [0, 1, 3, 9, 20, 26], "http": [2, 6, 8, 12, 13, 14, 15, 16, 17, 20, 25, 26], "i": [0, 1, 2, 4, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 26, 28, 29, 30, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 49, 51, 52, 55, 57, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 77, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 102, 103, 106, 113, 114, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 147, 149, 151, 153, 157, 158, 160, 162, 164, 166, 167, 168, 170, 172, 173, 177, 178, 182, 183, 185, 187, 188, 192, 193, 196], "ib": [14, 19, 132, 141], "ib_api_url": [14, 17], "ib_password": [14, 17], "ib_subaccount": 17, "ib_usernam": [14, 17], "ibeam": [], "ibgatewai": 14, "ibkei": [], "ibkr": 14, "ibkrcampu": [], "ibm": [19, 145, 156], "ic": [32, 106, 117], "iceu": [32, 106, 117], "icon": [], "id": [2, 15, 17, 148, 159, 196], "ideal": [2, 17], "identifi": [2, 13, 19, 22, 148, 159], "idx": 21, "iepa": [32, 106, 117], "illustr": 41, "iloc": [13, 72], "imag": [], "implement": [7, 17, 26, 27, 41, 44, 46], "impli": [128, 136], "implied_volatil": [128, 136], "import": [0, 1, 2, 5, 6, 7, 8, 10, 12, 13, 14, 15, 16, 17, 19, 20, 26, 41, 42, 44, 45, 63, 67, 73, 80, 146, 152, 153, 157, 163, 164, 165], "importantfunct": 13, "importantli": 22, "improv": 26, "includ": [2, 3, 7, 9, 10, 13, 17, 19, 20, 26, 32, 41, 44, 54, 60, 72, 124, 146, 148, 157, 159, 175, 190], "include_after_hour": [44, 72, 73], "inclus": 20, "incred": 17, "incur": 14, "index": [5, 19, 20, 21, 26, 78], "indic": [0, 1, 5, 13, 46, 52, 53, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 153, 164], "indicators_fil": 1, "individu": [2, 26], "industri": 26, "infinit": [103, 114], "influenc": [3, 27, 41], "info": [44, 105, 116, 125, 126, 133, 134], "inform": [2, 3, 5, 9, 10, 13, 17, 43, 44, 77, 78, 126, 131, 134, 140, 146, 157, 166], "inherit": [6, 8, 45], "initi": [1, 2, 6, 8, 13, 15, 25, 26, 27, 41, 106, 117, 165, 169, 172, 173, 178, 184, 187, 188, 193], "initial_budget": 26, "input": [21, 102, 103, 113, 114], "insert": [], "insid": [47, 166, 172, 187], "insight": [0, 2], "instal": [0, 5, 10, 13, 15, 17], "instanc": [13, 196], "instanti": [13, 16, 26, 43], "instead": [1, 5, 17, 20, 43, 107, 118, 128, 136, 180, 195], "instruct": [14, 17, 146, 152, 153, 157, 163, 164], "instrument": 20, "int": [1, 12, 19, 20, 21, 22, 36, 39, 44, 62, 63, 66, 67, 72, 73, 81, 84, 85, 86, 87, 88, 89, 93, 94, 95, 96, 97, 98, 102, 103, 113, 114, 146, 147, 157, 158, 172, 173, 178, 187, 188, 193], "integ": [72, 73, 178, 193], "integr": [6, 8], "intend": [5, 17], "inter": [0, 5], "interact": [11, 13, 20, 22, 26, 45, 72, 73, 74, 81], "interactive_brok": 15, "interactive_brokers_client_id": 17, "interactive_brokers_config": 15, "interactive_brokers_ip": 17, "interactive_brokers_port": 17, "interactivebrok": [15, 20], "interest": [7, 13, 44, 128, 136], "interfer": [], "intern": [17, 146, 157], "interpret": [2, 178, 193], "interrupt": [14, 33, 196], "interupt": [33, 40], "interv": 5, "intervent": [], "intial": 78, "intra": [0, 5, 10], "intradai": 2, "introduc": 2, "invest": [7, 14, 26], "involv": 9, "io": [0, 13, 20, 26], "ip": [14, 15, 17], "iron": 7, "is_act": 22, "is_backtest": [17, 26], "is_backtest_brok": 46, "is_backtesting_brok": 43, "is_backtesting_data_sourc": [43, 44], "is_buy_ord": 22, "is_cancel": 22, "is_fil": 22, "is_market_open": [12, 43], "is_multileg": [153, 164], "is_opt": 22, "is_par": 22, "is_sell_ord": 22, "is_valid": 19, "isn": [], "isol": [], "issu": 2, "item": [], "iter": [1, 2, 6, 8, 13, 21, 32, 40, 41, 168, 171, 183, 186, 196], "iter_index": 21, "its": [1, 6, 8, 22, 42], "itself": 17, "j": [27, 41], "jan": 82, "join": [25, 26], "jpx": [32, 106, 117], "json": 196, "june": 19, "just": [19, 26, 32, 36, 43, 146, 157], "keep": [14, 17, 22, 23, 81, 146, 157], "keep_bar": 81, "kei": [1, 2, 3, 5, 6, 8, 12, 14, 15, 16, 17, 21, 26, 46, 128, 136, 165, 196], "kept": 81, "keybord": 33, "keyerror": [], "keyword": 22, "kill": [], "kind": [1, 25], "know": [13, 18], "knowledg": [], "known": [44, 74, 75], "kraken": [13, 26, 146, 157], "kraken_api_kei": 17, "kraken_api_secret": 17, "kraken_config": 13, "kucoin": [13, 26], "kucoin_config": 13, "kwarg": [1, 12, 19, 21, 43, 44, 153, 164], "last": [5, 13, 20, 21, 22, 28, 30, 31, 42, 43, 44, 72, 73, 74, 75, 85, 86, 94, 95, 171, 186, 196], "last_dai": [85, 94], "last_minut": [86, 95], "last_ohlc": 72, "last_on_trading_iteration_datetim": 26, "last_pric": [13, 74, 75, 196], "last_upd": 196, "later": 32, "latest": [2, 5, 10, 13, 17, 25, 26, 72], "launch": 30, "layout": [], "learn": [11, 17, 25, 26], "least": [5, 41], "leav": [151, 162], "left": [17, 63, 67], "leg": 26, "legaci": [11, 26], "len": 21, "length": [13, 21, 43, 44, 72, 73, 78, 84, 93], "less": [16, 146, 147, 157, 158], "let": 13, "level": [26, 63, 67, 105, 116], "leverag": [19, 146, 157], "librari": [5, 7, 13, 16, 17, 25], "lifecycl": [26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 47, 168, 172, 173, 178, 183, 187, 188, 193], "lightblu": [62, 66], "lightgrai": [62, 66], "lightgreen": [62, 66], "lightr": [62, 66], "like": [2, 5, 17, 21, 25, 26, 29, 30, 31, 32, 33, 43, 44, 165], "limit": [6, 8, 13, 14, 17, 22, 43, 44, 72, 73, 81, 110, 121, 146, 152, 153, 157, 163, 164], "limit_ord": [43, 146, 157], "limit_pric": [13, 22, 43, 110, 121, 146, 152, 153, 157, 163, 164], "line": [3, 26, 46, 62, 63, 64, 66, 67, 68], "link": [6, 8, 14], "list": [1, 2, 13, 18, 19, 20, 23, 25, 31, 43, 44, 47, 48, 53, 59, 61, 70, 73, 75, 80, 82, 84, 93, 101, 106, 111, 112, 117, 122, 123, 124, 127, 129, 131, 135, 137, 140, 142, 145, 149, 153, 156, 160, 164, 166], "littl": [], "live": [1, 2, 12, 14, 15, 17, 20, 25, 43, 44, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117], "live_config": 17, "ll": [13, 14, 16, 26], "lmt": 44, "lmt_order": 13, "load": [5, 18, 21, 63, 67, 196], "load_data": 44, "load_variables_from_db": [], "local": [20, 21, 42, 44, 90, 91, 99, 100, 128, 136], "localhost": [14, 17, 196], "localize_datetim": [26, 44, 47], "localize_timezon": 21, "locat": 17, "log": [0, 1, 2, 7, 10, 14, 15, 16, 17, 19, 26, 42, 101, 105, 116], "log_messag": [13, 16, 20, 26, 28, 30, 33, 34, 35, 36, 37, 38, 39, 40, 42, 47, 52, 53, 58, 59, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 132, 141, 147, 148, 149, 158, 159, 160, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 179, 181, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 194], "logfil": [1, 46], "logic": [27, 29, 30, 40, 41, 43, 45], "login": 14, "long": 22, "longer": 2, "longest": 7, "look": [2, 5, 15, 26], "loop": [14, 31, 40, 103, 114, 172, 187], "lose": [], "loss": [7, 22, 43, 62, 63, 66, 67, 146, 152, 153, 157, 163, 164], "lost": [], "lot": [17, 166], "low": [5, 17, 20, 21, 43, 78, 81], "lower": 21, "lse": [32, 106, 117], "luck": 26, "lumi": [2, 7, 8], "lumi10": [2, 6], "lumibot": [0, 1, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 22, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], "lumiwealth": [7, 15, 26], "m": [178, 193], "mac": 26, "macd": 13, "machin": 2, "machinelearninglongshort": 25, "made": [25, 70, 82], "mai": [5, 13, 14, 17, 19, 22, 25, 72, 73, 81, 146, 157], "main": [17, 18, 22, 26, 33, 40, 45, 146, 157], "main_tick": 165, "maintain": [14, 17], "major": [5, 10], "make": [2, 4, 5, 6, 8, 17, 22, 25, 26, 74, 75], "maker": 24, "manag": [21, 22, 26, 47, 61, 124], "mandatori": [17, 19, 45, 146, 157], "mani": [6, 8, 13, 26, 32, 41, 81], "manual": [2, 14, 17], "map": 19, "map_asset_typ": 12, "margin": [13, 146, 157], "mark": [63, 67], "marker": [3, 46, 63, 65, 67, 69], "market": [2, 11, 12, 13, 17, 22, 25, 26, 28, 29, 30, 31, 32, 40, 43, 74, 75, 102, 103, 106, 109, 110, 111, 112, 113, 114, 117, 120, 121, 122, 123, 146, 151, 152, 153, 157, 162, 163, 164, 172, 173, 175, 187, 188, 190], "marketcalendar": [32, 106, 117], "martingal": 7, "master": 15, "match": [21, 44], "math": 26, "max": [7, 13], "max_bar": 32, "max_pric": 13, "max_work": [12, 43, 44, 73], "maximum": [7, 17, 44], "mean": [], "meant": 124, "measur": [1, 7], "mechan": [], "memori": 17, "mention": 20, "menu": [14, 26], "merg": 21, "messag": [17, 101, 105, 116], "method": [1, 6, 8, 15, 19, 20, 22, 23, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 70, 101, 124, 125, 127, 129, 131, 133, 135, 137, 140, 165, 168, 172, 173, 178, 183, 187, 188, 193, 196], "metric": [2, 7], "might": [5, 13, 14, 17], "min": 20, "min_timestep": [21, 44], "mind": [], "minim": [], "minimum": 44, "minut": [1, 5, 13, 17, 20, 21, 25, 26, 29, 30, 32, 40, 43, 44, 72, 73, 84, 86, 88, 93, 95, 97, 102, 103, 113, 114, 172, 173, 178, 187, 188, 193], "minutes_before_clos": [1, 26, 29, 32, 40, 102, 113], "minutes_before_open": [1, 26, 30, 103, 114], "miscellan": [26, 47], "miss": 39, "mkt_order": 13, "mm": [76, 130, 138], "mnq": 32, "mobil": 14, "mode": [0, 15, 17, 43, 170, 185], "modifi": [10, 25, 26], "modul": [5, 10, 26], "momentum": 20, "monei": [14, 16, 17, 25, 49, 51, 55, 57, 167, 182], "monitor": 17, "month": [17, 85, 94], "more": [0, 2, 3, 11, 13, 14, 16, 17, 18, 20, 25, 26, 43, 44, 47, 70, 72, 101, 124, 128, 136, 142], "most": [0, 5, 7, 14, 17, 20, 25, 41, 72, 78, 128, 136], "mostli": 43, "move": [2, 7, 22, 26], "movement": [22, 146, 157], "much": [5, 6, 8, 12, 44], "multileg": [22, 153, 164], "multipl": [2, 17, 143, 154, 196], "multipli": [19, 20, 36, 39, 44, 125, 126, 129, 131, 133, 134, 137, 140, 152, 163], "must": [1, 2, 5, 6, 8, 10, 12, 16, 21, 22, 41, 72, 73, 131, 140, 146, 157], "my": [17, 25], "my_custom_paramet": 32, "my_custom_stat": 42, "my_last_paramet": 32, "my_limit_pric": 22, "my_other_paramet": 32, "my_other_stat": 42, "my_paramet": 165, "my_stat": 42, "my_stop_loss_pric": 22, "my_stop_pric": 22, "my_take_profit_pric": 22, "my_trail_perc": 22, "my_trail_pric": 22, "mysql": [], "mystrategi": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 45, 165], "n": [63, 67], "name": [0, 1, 5, 10, 14, 17, 19, 21, 25, 26, 32, 44, 46, 62, 63, 66, 67, 74, 105, 116, 165, 196], "namespac": 196, "nan": 21, "nasdaq": [14, 32, 106, 117], "navig": [14, 15, 17], "ne": [63, 67], "nearest": [87, 88, 96, 97], "necessari": [6, 8, 17, 43], "need": [2, 6, 8, 13, 14, 16, 17, 25, 27, 41, 43, 44, 72, 73, 77], "net": [2, 8, 51, 57], "network": 14, "new": [2, 5, 7, 14, 17, 19, 20, 22, 26, 36, 37, 43, 54, 60, 146, 157, 167, 182], "new_york": [20, 44, 176, 179, 181, 191, 194], "newer": 17, "nexpir": 19, "next": [5, 6, 8, 12, 17, 26, 40, 76, 130, 138, 139], "next_option_expir": 139, "next_trading_dai": [76, 130, 138], "nobardatafound": 20, "none": [1, 12, 13, 17, 19, 20, 21, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 43, 44, 46, 49, 51, 52, 53, 54, 55, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 81, 84, 93, 102, 103, 105, 106, 107, 108, 113, 114, 116, 117, 118, 119, 128, 131, 136, 140, 143, 144, 145, 146, 148, 150, 151, 154, 155, 156, 157, 159, 161, 162], "normal": [5, 16, 131, 140], "notat": 196, "note": [5, 10, 13, 14, 15, 17, 20, 22, 43, 77, 146, 157], "notic": 26, "notif": [14, 17], "now": [16, 25, 44, 74], "num_period": 20, "number": [1, 12, 15, 16, 17, 21, 22, 29, 32, 44, 72, 73, 84, 87, 88, 93, 96, 97, 146, 157, 172, 173, 178, 187, 188, 193], "numpi": 21, "nuzcnprsxjxxouxrhqe5k2k1xnqlpckh2xcutifkcw": 17, "nw": [63, 67], "nyfe": [32, 106, 117], "nymex_agricultur": [32, 106, 117], "nyse": [14, 32, 76, 106, 117, 130, 138], "o": 22, "obect": [146, 157], "object": [1, 5, 10, 12, 18, 19, 20, 21, 22, 23, 24, 35, 36, 37, 39, 43, 44, 46, 52, 53, 58, 59, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 109, 110, 111, 112, 120, 121, 122, 123, 126, 131, 134, 140, 144, 145, 146, 147, 148, 149, 152, 153, 155, 156, 157, 158, 159, 160, 163, 164, 176, 181, 191, 196], "observ": 7, "obtain": [6, 8, 13, 44, 126, 127, 129, 131, 134, 135, 137, 140], "occur": 22, "oco": [22, 146, 152, 157, 163], "octagon": [63, 67], "off": [2, 6, 8], "offer": [2, 7, 14, 17, 26], "offici": 2, "often": 22, "ohlcv": [20, 21, 43], "on_abrupt_clos": [26, 27, 34], "on_bot_crash": [26, 27], "on_canceled_ord": [26, 27], "on_filled_ord": [26, 27], "on_new_ord": [26, 27], "on_parameters_upd": [26, 27], "on_partially_filled_ord": [26, 27], "on_start": [], "on_trading_inter": [12, 32], "on_trading_iter": [1, 2, 5, 6, 8, 10, 13, 16, 25, 26, 27, 28, 41, 42, 47, 102, 103, 113, 114, 165, 168, 172, 178, 183, 187, 193, 196], "onc": [2, 14, 15, 16, 17, 22, 25, 26, 32, 41, 146, 157, 196], "one": [5, 7, 13, 14, 17, 22, 25, 26, 41, 43, 47, 72, 109, 120, 146, 153, 157, 164], "ones": [17, 41], "onli": [1, 5, 10, 13, 14, 15, 17, 19, 20, 21, 22, 23, 25, 26, 32, 41, 43, 44, 46, 72, 73, 74, 77, 81, 128, 136, 143, 153, 154, 164, 172, 187], "open": [1, 2, 5, 12, 17, 20, 21, 22, 25, 29, 30, 31, 40, 43, 63, 67, 72, 78, 81, 102, 103, 113, 114, 143, 144, 145, 149, 151, 154, 155, 156, 160, 162, 173, 188], "open_": 43, "open_interest": 44, "openbook": 14, "oper": [14, 17, 32, 41], "opra": 14, "opt_asset": [128, 136], "optim": [2, 7, 17, 26], "option": [0, 2, 6, 8, 9, 12, 14, 16, 17, 19, 20, 22, 26, 32, 36, 39, 41, 43, 44, 47, 72, 74, 125, 126, 127, 128, 129, 131, 132, 133, 134, 135, 136, 137, 139, 140, 141, 146, 152, 157, 163], "option_chain": 44, "option_pric": [128, 136], "option_typ": [128, 136], "optionright": 19, "options_expiry_to_datetime_d": [26, 47], "optionscondormartingal": 196, "orang": [62, 63, 66, 67], "order": [1, 2, 5, 6, 8, 9, 10, 12, 13, 18, 19, 23, 25, 26, 29, 30, 35, 36, 37, 39, 40, 41, 43, 47, 105, 109, 110, 111, 112, 116, 120, 121, 122, 123, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 182], "order1": [111, 112, 122, 123, 145, 153, 156, 164], "order2": [111, 112, 122, 123, 145, 153, 156, 164], "order_1": 22, "order_2": 22, "order_class": 22, "order_dict": 22, "order_id": [148, 159], "order_typ": [12, 153, 164], "orderclass": 22, "orderdata": 12, "ordersid": 22, "orderstatu": 22, "ordertyp": 22, "origin": [105, 116], "os": [32, 106, 117], "other": [0, 2, 6, 8, 10, 13, 14, 15, 17, 20, 22, 25, 26, 41, 62, 66, 77, 101, 146, 157, 167, 182, 196], "otherwis": [22, 36], "oto": [22, 146, 157], "our": [7, 13, 17, 25, 26, 28], "out": [14, 26, 43, 47, 52, 58, 74], "output": 196, "outstand": 13, "over": [7, 19, 20, 25, 26, 62, 63, 66, 67], "overal": [1, 7], "overbought": [62, 63, 66, 67], "overhead": [], "overload": [27, 34, 41, 43], "overrid": [102, 103, 113, 114], "oversold": [62, 63, 66, 67], "overview": 2, "overwrit": [54, 60], "own": [2, 5, 6, 8, 12, 13, 16, 17, 23, 25, 26, 150, 161], "pace": 20, "packag": [14, 26], "page": [14, 16, 17, 26], "pai": [6, 8, 14], "paid": [1, 2, 167, 182], "pair": [13, 20, 22, 44, 74, 75, 125, 126, 133, 134, 146, 157], "panda": [0, 2, 10, 20, 21, 26, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 78, 106, 117], "pandas_data": [1, 5, 25, 43, 44], "pandas_ta": 13, "pandasdata": [43, 44], "pandasdatabacktest": [1, 5, 25], "panel": [], "paper": [11, 12, 15, 16, 17, 26, 44], "paper_1": 17, "param": 44, "paramet": [1, 2, 6, 8, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 66, 67, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 84, 87, 88, 90, 91, 93, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 150, 151, 152, 153, 154, 155, 156, 157, 158, 161, 162, 163, 164, 172, 187], "parent": 22, "parquet": 5, "parse_bar_list": 20, "part": [17, 22, 41, 153, 164, 165], "partial": [22, 39], "partial_fil": 22, "partially_fil": 22, "particular": [22, 125, 127, 129, 133, 135, 137], "particularli": 19, "pass": [1, 2, 5, 8, 10, 18, 28, 36, 40, 41, 45, 102, 103, 113, 114, 128, 136, 146, 157], "password": [2, 8, 13, 14, 17, 196], "password123": [14, 17], "past": [2, 22, 25], "path_to_your_databas": [], "pattern": [27, 41], "paus": [102, 103, 107, 113, 114, 118, 178, 193], "pcal": 44, "pd": [5, 20, 44], "peak": 7, "penetr": [146, 157], "pentagon": [63, 67], "per": [20, 44], "percent": [146, 157], "percent_fe": [24, 25], "percentag": [20, 25], "perfectli": 17, "perform": [0, 2, 3, 7, 17, 26, 41], "period": [1, 2, 5, 7, 13, 21, 81, 196], "permiss": [14, 19], "permit": [], "persist": 196, "perspect": 41, "pick": [5, 10, 17, 26], "pink": [62, 63, 66, 67], "pip": [2, 5, 10, 13, 25, 26], "pk7t6yvax6pmh1em20yn": 17, "place": [9, 13, 18, 146, 151, 157, 162], "plan": [2, 14, 17], "platform": [14, 26], "pleas": [1, 2, 5, 6, 8, 10, 13, 15, 22, 72, 180, 195], "plot": [1, 10, 46, 63, 67], "plot_file_html": 1, "plu": [14, 105, 116, 175, 190], "png": [], "pnl": 22, "point": [3, 7, 9, 15, 22, 44, 62, 66, 72, 73, 147, 158], "polygon": [0, 1, 5, 8, 10, 17, 26], "polygon_api_kei": [1, 2, 17], "polygon_has_paid_subscript": 1, "polygon_max_memory_byt": 17, "polygondatabacktest": [1, 2, 6, 8], "polygondatasourc": 6, "pop": [], "popular": 13, "porfolio": 1, "port": [15, 17], "portal": 14, "portfolio": [7, 9, 13, 23, 28, 51, 57, 63, 67, 175, 190], "portfolio_valu": [2, 6, 8, 10, 13, 26, 28, 42, 177, 192], "posit": [1, 13, 18, 22, 26, 36, 39, 43, 45, 51, 52, 53, 57, 58, 59, 147, 150, 151, 158, 161, 162, 167, 175, 182, 190], "position_fil": [22, 146, 157], "possibl": [5, 14, 32, 44, 62, 63, 66, 67, 153, 164], "post": [153, 164], "postgresql": 196, "potenti": [2, 25, 26, 147, 158], "power": [2, 6, 8, 17, 25, 26], "powershel": 26, "practic": 14, "pre": [26, 153, 164], "preced": 47, "precis": [19, 128, 136], "predetermin": 22, "prefix": [0, 105, 116], "presenc": 17, "present": [72, 73, 128, 136], "press": 17, "prevent": 196, "previou": [7, 79, 80], "previous": [], "price": [2, 6, 8, 9, 13, 16, 17, 19, 20, 21, 22, 23, 31, 36, 39, 43, 44, 45, 47, 62, 63, 66, 67, 70, 72, 73, 74, 75, 78, 128, 136, 146, 152, 153, 157, 163, 164], "primari": [14, 196], "print": [12, 42, 196], "print_al": 25, "printout": 19, "pro": 13, "probabl": 22, "problem": [], "proceed": [5, 10, 14, 25], "process": [4, 6, 8, 14, 17, 25, 37, 39, 152, 153, 163, 164, 196], "process_expired_option_contract": 43, "process_pending_ord": 43, "product": 43, "prof": 25, "profil": 26, "profit": [17, 22, 25, 26, 43, 62, 63, 66, 67], "program": [107, 118, 165, 178, 193], "project": [2, 6, 8, 17], "prompt": 14, "promptli": 14, "proof": 14, "proper": 17, "properli": [], "properti": [22, 23, 26, 43, 45, 46, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195], "proven": 26, "provid": [0, 2, 4, 5, 6, 8, 9, 17, 20, 21, 44, 74, 75, 131, 140, 144, 145, 155, 156], "pstat": 25, "psycopg2": [], "pull": [40, 72], "purpl": [62, 63, 66, 67], "purpos": 17, "put": [5, 12, 16, 19, 25], "pv_dividend": [128, 136], "py": [15, 17, 25, 26], "pycharm": 2, "pymysql": [], "python": [2, 5, 25, 105, 116], "pytz": 26, "qqq": 1, "qtrz3zurd9244ahuw2aoyapgvyra": 16, "qtrz3zurl9244ahuw4aoyapgvyra": 17, "qty": [2, 6, 8], "quantiti": [1, 2, 6, 7, 8, 10, 12, 13, 22, 23, 25, 26, 36, 39, 52, 53, 58, 59, 146, 157], "quantstat": 7, "queri": [44, 128, 136], "query_greek": [44, 128, 136], "question": 7, "quick": 2, "quickli": [2, 14, 17, 25], "quot": [13, 19, 20, 21, 22, 44, 49, 51, 55, 57, 72, 73, 74, 75, 77, 146, 152, 153, 157, 163, 164, 175, 177, 190, 192], "quote_asset": [1, 13, 19, 23, 26, 152, 153, 163, 164], "r": 37, "rais": 34, "randint": 42, "random": 42, "random_numb": 42, "rang": [5, 13, 17, 20, 21], "rate": [1, 6, 8, 20, 44, 128, 136], "rather": 82, "ratio": [2, 7], "raw": [5, 20, 22], "re": [2, 11, 14, 17, 26, 82], "reach": [7, 25, 26, 43], "react": [27, 41], "read": [5, 15, 25, 44], "read_csv": 5, "readi": [2, 14, 17, 41, 146, 157], "readthedoc": 13, "real": [14, 16, 17, 25, 71, 78, 81], "receiv": [5, 14], "recent": [20, 72, 78], "recommend": [0, 15, 17, 25], "record": 26, "red": [62, 63, 66, 67, 105, 116], "redeploi": 17, "reduc": 17, "refer": [2, 3, 17, 26, 27], "refin": [4, 25], "regard": [], "regardless": 82, "regist": [22, 110, 112, 121, 123], "regular": 73, "regularli": 17, "reindex": 21, "reiniti": 31, "relat": [14, 17, 36], "reliabl": [], "remain": [12, 39, 43, 172, 187], "remaind": [146, 157], "rememb": [13, 26], "remov": [180, 195], "render": 26, "repair_times_and_fil": 21, "repl": 17, "replac": [2, 6, 8, 13], "replit": 26, "report": 28, "repositori": [13, 17], "repres": [19, 22, 44, 45, 72, 73, 126, 134], "represent": [12, 21, 22, 44, 72, 73], "request": 14, "requir": [0, 1, 2, 10, 13, 14, 15, 17, 19, 22, 74, 75, 146, 153, 157, 164], "reserv": 17, "reset": 31, "resist": [63, 67], "resourc": 25, "resov": [175, 190], "respect": 20, "respond": 2, "respons": [], "rest": [12, 14, 17, 41], "restart": [17, 40], "restor": 26, "restric": [146, 157], "restrict": 14, "result": [2, 5, 6, 8, 10, 25, 26, 42], "resum": 196, "retreiv": 23, "retriev": [2, 19, 21, 74, 75, 78, 196], "return": [1, 7, 12, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "review": [2, 14], "right": [14, 17, 19, 28, 63, 67, 72, 152, 163], "right_must_be_one_of": 19, "risk": [1, 7, 14, 25, 44, 128, 136], "risk_free_r": [1, 44, 128, 136], "robot": 26, "robust": [6, 8], "romad": 7, "round": [44, 87, 88, 96, 97], "round_dai": [87, 96], "round_minut": [88, 97], "row": [20, 42, 72, 73, 81], "rsi": [2, 13], "rtype": [22, 44], "rule": 20, "run": [0, 5, 6, 8, 10, 11, 12, 14, 17, 21, 26, 30, 32, 33, 34, 37, 44, 46, 81, 102, 103, 113, 114, 143, 145, 154, 156, 170, 185], "run_al": [5, 13, 14, 15, 16, 25, 26, 46], "run_all_async": 46, "run_backtest": [0, 1, 2, 5, 6, 8, 10, 25], "runtim": 196, "safe": [], "sai": [], "sale": [6, 8], "same": [5, 14, 17, 22, 26, 73], "sampl": [12, 26], "sandbox": [13, 17], "save": [1, 5, 10, 17, 25, 46, 196], "save_logfil": 1, "save_tearsheet": [1, 46], "scalabl": [17, 196], "scale": [7, 196], "scene": 19, "scope": 42, "screen": [], "script": 5, "scroll": [14, 17], "se": [63, 67], "seamlessli": 17, "search": [2, 26], "second": [1, 12, 22, 32, 40, 43, 73, 81, 101, 107, 118, 178, 193], "secondari": [11, 26], "secret": [12, 13, 14, 16, 25, 26], "section": [2, 14, 17, 25, 47], "secur": [2, 5, 10, 14, 19, 22], "see": [2, 13, 14, 15, 17, 19, 20, 25, 26, 44, 48, 61, 70, 82, 101, 124, 142], "seek": [52, 58, 144, 155], "select": [2, 14, 17], "self": [1, 2, 5, 6, 8, 10, 12, 13, 14, 16, 17, 19, 20, 22, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 47, 165], "sell": [1, 7, 9, 22, 23, 29, 33, 34, 36, 40, 43, 45, 146, 150, 151, 152, 153, 157, 161, 162, 163, 164], "sell_al": [26, 29, 33, 34, 47], "sell_short": 22, "sell_to_clos": 22, "sell_to_open": 22, "sell_trading_fe": [1, 25], "send": [17, 105, 116], "sens": 47, "separ": [14, 17], "seri": 21, "serial": [], "server": [], "servic": [17, 105, 116], "session": [], "set": [1, 2, 6, 8, 11, 14, 15, 16, 17, 19, 20, 21, 22, 25, 26, 29, 32, 43, 44, 54, 60, 72, 73, 78, 106, 117, 125, 133, 146, 157, 165, 166, 172, 173, 178, 187, 188, 193, 196], "set_cancel": 22, "set_dat": 21, "set_date_format": 21, "set_error": 22, "set_fil": 22, "set_identifi": 22, "set_market": [13, 26, 32, 47], "set_new": 22, "set_paramet": [26, 47, 165], "set_partially_fil": 22, "set_tim": 21, "settings_fil": 1, "settl": 43, "settlement": 22, "setup": [0, 2, 11, 26], "sever": [0, 2, 10, 11, 45, 165], "share": [13, 16, 20, 22, 29, 31, 36, 39, 44, 146, 157, 175, 190], "sharp": [2, 7], "sheet": 2, "shift": [21, 44, 72, 73, 84, 87, 88, 93, 96, 97], "short": [22, 106, 117], "should": [5, 10, 14, 16, 20, 22, 27, 40, 43, 45, 74, 107, 118, 128, 136], "should_continu": 43, "should_use_last_clos": 74, "show": [1, 7, 52, 53, 58, 59, 147, 148, 149, 158, 159, 160], "show_ind": [1, 46], "show_plot": [1, 46], "show_tearsheet": [1, 46], "showcas": 7, "shown": [25, 26], "shut": 33, "side": [1, 2, 6, 8, 12, 22, 25, 36, 43, 146, 157], "sidebar": 17, "sign": 14, "signatur": 14, "similar": [13, 17, 30], "similarli": [], "simpl": [1, 5, 6, 8, 10, 16, 22, 26, 146, 157], "simple_start_ib": 15, "simple_start_single_fil": [25, 26], "simpli": [6, 8], "simplifi": [6, 8], "simultan": 44, "sinc": 13, "singl": [20, 44, 144, 155], "situat": 5, "six": [32, 106, 117], "size": [63, 67, 81], "skill": 25, "skip": [17, 30], "sleep": [1, 2, 26, 40, 47, 101, 102, 113, 178, 193], "sleeptim": [1, 2, 6, 8, 13, 25, 26, 32, 40, 107, 118], "slightli": [], "slow": 25, "smart": [44, 125, 127, 129, 133, 135, 137, 146, 157], "smoothli": 17, "snakeviz": 25, "snapshot": [14, 42], "snapshot_befor": 42, "so": [6, 8, 10, 13, 14, 17, 19, 22, 25, 26, 47, 82, 128, 136], "socket": [15, 17], "socket_port": 15, "sold": [36, 51, 57, 146, 157], "solid": [62, 66], "solut": 14, "some": [5, 10, 14, 25, 26, 44, 45, 74, 146, 157], "some_var": [], "someth": [5, 13], "sometim": 25, "soon": 17, "sort": [127, 129, 131, 135, 137, 140], "sortino": 7, "sought": [52, 58, 147, 158], "sourc": [0, 5, 8, 13, 20, 83, 89, 90, 91, 92, 98, 99, 100, 176, 179, 181, 191, 194], "speak": [11, 41], "specif": [2, 7, 13, 14, 17, 19, 22, 41, 44, 62, 66, 109, 120, 125, 126, 133, 134, 146, 157, 166], "specifi": [20, 22, 44, 72, 73, 146, 157, 196], "speed": [44, 178, 193], "spend": 25, "split": [20, 45], "spy": [1, 2, 5, 6, 8, 19, 22, 25, 30, 31, 32, 36, 40, 44, 71, 72, 73, 74, 75, 79, 80, 109, 110, 111, 112, 120, 121, 122, 123, 125, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 140, 144, 146, 150, 152, 153, 155, 157, 161, 163, 164, 165], "sqlalchemi": [], "sqlite": 17, "squar": [63, 67], "src": 17, "sse": [32, 106, 117], "standard": [], "star": [63, 67], "start": [1, 2, 5, 6, 7, 8, 10, 11, 13, 17, 20, 21, 30, 32, 44, 72, 73, 78, 81, 102, 113, 173, 188], "start_buff": 44, "start_dat": 21, "start_dt": 44, "startegi": 5, "starter": 17, "starting_posit": 1, "stat": [1, 28, 42], "state": [17, 166, 196], "static": 44, "statist": 2, "stats_fil": [1, 32], "statu": [22, 148, 149, 159, 160], "std": 44, "steea9fhiszntmpihqjudeqolitj0javz": 17, "step": [2, 5, 14], "stike": [44, 125, 133], "still": [146, 157], "stock": [0, 1, 2, 5, 6, 8, 9, 10, 12, 17, 19, 20, 21, 22, 23, 26, 32, 44, 106, 117, 126, 134, 146, 152, 157, 163], "stock_split": 20, "stop": [14, 22, 25, 32, 33, 40, 43, 62, 63, 66, 67, 102, 103, 113, 114, 146, 152, 153, 157, 163, 164, 172, 187, 196], "stop_al": 46, "stop_limit": [22, 146, 157], "stop_loss": [146, 152, 157, 163], "stop_loss_limit": [146, 157], "stop_loss_limit_pric": [22, 146, 157], "stop_loss_pric": [22, 146, 152, 157, 163], "stop_ord": 43, "stop_pric": [22, 43, 146, 152, 153, 157, 163, 164], "storag": 26, "store": 196, "str": [1, 19, 20, 21, 22, 23, 44, 52, 58, 62, 63, 66, 67, 72, 73, 74, 75, 76, 84, 93, 105, 106, 116, 117, 125, 126, 127, 129, 130, 132, 133, 134, 135, 137, 138, 141, 146, 153, 157, 164, 174, 178, 179, 189, 193, 194], "straightforward": 17, "strangl": [14, 15], "strat": 5, "strategi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "strategy_001": [], "strategy_1": 32, "strategy_2": 32, "strategy_executor": [13, 16], "strategy_id": [17, 196], "strategy_nam": 17, "stream": [14, 71, 78, 81], "strength": 2, "strictli": [5, 21], "strike": [9, 19, 44, 72, 126, 128, 131, 134, 136, 140, 146, 157], "strike1": [44, 125, 126, 133, 134], "strike2": [44, 125, 126, 133, 134], "strike_max": 44, "strike_min": 44, "strike_pric": [152, 163], "string": [1, 17, 19, 20, 21, 22, 44, 72, 73, 105, 116, 132, 141, 146, 157, 178, 193, 196], "strke": [44, 125, 133], "strongli": [], "structur": [14, 26], "studio": 2, "style": [62, 66], "sub": 26, "subaccount": [14, 17], "subaccount1": 17, "submiss": 22, "submit": [14, 22, 37, 43, 47, 142, 146, 152, 153, 157, 163, 164], "submit_ord": [1, 2, 5, 6, 8, 10, 13, 19, 22, 25, 26, 40, 43, 47, 109, 110, 111, 112, 120, 121, 122, 123, 144, 145, 146, 150, 155, 156, 157, 161], "subscrib": 14, "subscript": [1, 11, 26], "subsequ": [5, 6, 8], "success": 17, "successfulli": [35, 36, 37], "suffic": 14, "suffici": [146, 157], "suggest": 26, "suit": [2, 26], "suitabl": [2, 17], "sum": [20, 51, 57], "summari": [0, 6, 8, 26, 27], "super": 26, "suppli": [0, 10, 21], "supplier": 20, "support": [2, 6, 7, 8, 13, 14, 17, 21, 25, 26, 44, 63, 67, 128, 136, 146, 157], "sure": [2, 6, 8, 25, 26], "sw": [63, 67], "swim": 26, "switch": 26, "sybmol": 21, "symbol": [1, 2, 5, 6, 8, 12, 13, 19, 20, 21, 22, 23, 25, 36, 44, 63, 67, 72, 73, 74, 146, 152, 153, 157, 163, 164], "symbol2asset": 19, "system": [151, 162], "t": [6, 8, 13, 14, 17, 26], "ta": 13, "tab": 17, "tabl": 196, "tag": [22, 153, 164], "tailor": 7, "take": [6, 8, 17, 22, 25, 41, 44, 62, 63, 66, 67, 73, 74, 75, 125, 133], "take_profit_pric": [22, 146, 152, 157, 163], "taken": 4, "taker": 24, "tall": [63, 67], "tase": [32, 106, 117], "task": 41, "tear": 2, "tearsheet": [0, 1, 26, 46], "tearsheet_fil": [1, 46], "technic": [2, 13, 41], "tediou": 14, "tell": 82, "term": 2, "termin": [2, 13, 25, 26], "test": [0, 2, 15, 17], "text": [62, 63, 66, 67], "than": [16, 17, 44, 82, 146, 147, 157, 158], "thei": [3, 5, 11, 17, 20, 26, 41, 81, 128, 136], "them": [2, 11, 17, 20, 22, 25, 26, 47, 48, 61, 70, 82, 101, 124, 142, 145, 156], "themselv": 20, "theoret": [128, 136], "therefor": [167, 182], "theta": [44, 128, 136], "thetadata": [0, 2, 26], "thetadata_password": 8, "thetadata_usernam": 8, "thetadatabacktest": 8, "thi": [1, 2, 5, 6, 8, 9, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 49, 51, 55, 57, 62, 63, 66, 67, 72, 73, 74, 75, 77, 81, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 107, 118, 146, 153, 157, 164, 167, 168, 177, 178, 182, 183, 192, 193], "thin": [63, 67], "thing": 47, "think": [17, 82], "third": 5, "thoroughli": 15, "those": [13, 17, 166], "though": [146, 157], "thoughtfulli": [], "three": [0, 15, 20, 22], "threshold": [22, 146, 157], "throttl": 20, "through": [2, 13, 14, 17], "tick": 20, "ticker": [9, 19, 20, 32, 44, 81], "time": [3, 5, 6, 8, 9, 12, 13, 14, 17, 20, 21, 25, 32, 41, 43, 44, 45, 71, 72, 73, 78, 81, 82, 87, 88, 96, 97, 102, 103, 107, 113, 114, 118, 128, 136, 146, 157, 168, 178, 183, 193], "time_in_forc": [22, 146, 157], "timedelta": [44, 72, 73, 102, 103, 113, 114], "timefram": 20, "timeshift": [21, 43, 44, 72, 73, 84, 87, 88, 93, 96, 97], "timestamp": [2, 12, 20, 44, 62, 63, 66, 67, 85, 86, 87, 88, 89, 94, 95, 96, 97, 98, 196], "timestep": [5, 21, 43, 44, 72, 73, 84, 93], "timestep_map": [21, 44], "timezon": [20, 21, 26, 44, 90, 91, 99, 100, 176, 181, 191], "tip": 17, "titl": [], "tlt": [30, 52, 58, 73, 75, 80, 111, 112, 122, 123, 146, 147, 153, 157, 158, 164], "to_csv": 5, "to_datalin": 21, "to_default_timezon": [26, 44, 47], "to_dict": [19, 22, 23], "to_posit": 22, "to_request_field": 12, "todai": [17, 74, 82], "todo": [43, 74], "togeth": [5, 22, 25], "token": 17, "tool": [6, 8, 17, 26], "top": [14, 17, 26], "topic": 17, "total": [7, 20, 28, 51, 57, 147, 158, 175, 190], "totalview": 14, "tqqq": 25, "trace": 42, "trace_stat": [26, 27, 178, 193], "track": [19, 23, 26, 52, 53, 58, 59, 148, 149, 159, 160], "trade": [0, 1, 4, 5, 10, 11, 13, 15, 17, 18, 19, 20, 21, 22, 27, 30, 31, 32, 33, 40, 41, 43, 44, 45, 52, 58, 73, 74, 76, 78, 81, 82, 83, 85, 86, 87, 88, 89, 92, 94, 95, 96, 97, 98, 106, 117, 126, 130, 134, 138, 146, 157, 171, 186, 196], "trade_cost": 22, "trade_count": 196, "tradeapi": 12, "trader": [5, 6, 8, 10, 12, 13, 14, 15, 16, 26, 33], "trades_fil": 1, "tradest": 26, "tradier": [11, 26, 44, 77, 153, 164], "tradier_access_token": 17, "tradier_account_numb": 17, "tradier_config": 16, "tradier_is_pap": 17, "trading_fe": 24, "trading_fee_1": 25, "trading_fee_2": 25, "trading_hours_end": 21, "trading_hours_start": 21, "tradingcalendar": [32, 106, 117], "tradingfe": [1, 24, 25, 26], "trail": [22, 146, 152, 157, 163], "trail_perc": [22, 146, 157], "trail_pric": [22, 146, 157], "trailing_stop": [22, 146, 157], "trailing_stop_pric": [152, 163], "transact": [13, 22, 167, 182], "trashcan": 17, "tree": 26, "triangl": [63, 67], "trigger": [22, 146, 157], "trim": 21, "trim_data": 21, "troubleshoot": [], "trough": 7, "true": [1, 5, 12, 13, 16, 17, 22, 24, 25, 26, 32, 43, 44, 46, 72, 73, 74, 105, 116, 151, 162, 168, 170, 183, 185], "try": [25, 146, 157], "tsx": [32, 106, 117], "tsxv": [32, 106, 117], "tupl": [22, 73], "tutori": [15, 26], "tw": [14, 17, 20], "twice": 14, "two": [2, 3, 11, 19, 22, 25, 26, 73, 145, 156], "twsapi": [], "type": [0, 1, 2, 5, 12, 14, 18, 19, 20, 21, 23, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 46, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 64, 65, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194], "typic": [17, 22, 165], "tz_local": 21, "u": [6, 7, 8, 13, 14, 21, 26, 175, 190], "u17369206": [14, 17], "ultra": 14, "under": [13, 14, 17, 25], "underli": [19, 21, 44, 128, 131, 136, 140], "underlying_asset": 19, "underlying_pric": [44, 128, 136], "understand": [2, 4, 25], "unexpect": [], "unexpectedli": [], "uniqu": 3, "unit": [17, 44, 146, 157, 178, 193], "unix": 12, "unless": 5, "unlik": 30, "unnecessari": 17, "unprocess": 22, "unspent_monei": 26, "until": [6, 8, 12, 20, 102, 103, 113, 114, 146, 157], "up": [1, 2, 5, 6, 11, 14, 15, 17, 19, 25, 26, 44, 63, 67, 196], "updat": [20, 22, 26, 36, 38, 108, 119, 146, 157, 167, 182], "update_date_index": 44, "update_paramet": [26, 38, 47], "update_raw": 22, "update_trail_stop_pric": 22, "upgrad": [2, 5, 10, 25, 26], "upload": 14, "upon": [], "upper": 14, "url": [14, 17], "us": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 55, 61, 62, 63, 66, 67, 70, 72, 73, 76, 82, 101, 105, 107, 116, 118, 127, 128, 129, 130, 131, 135, 136, 137, 138, 140, 142, 146, 157, 165, 166, 167, 177, 178, 180, 182, 192, 193, 195, 196], "us_equ": 12, "us_futur": [32, 106, 117], "usag": [17, 26], "usd": [1, 19, 21, 72, 73, 74, 146, 152, 153, 157, 163, 164], "usdc": 1, "usdt": [1, 19, 49, 51, 55, 57, 72, 74, 146, 157], "user": [0, 2, 5, 10, 14, 17, 21, 25, 27, 41, 45, 46, 144, 146, 155, 157, 196], "user123": [14, 17], "userdict": 19, "usernam": [2, 8, 11, 17, 26], "usual": [1, 47, 178, 193], "utc": 21, "util": [], "utm_campaign": 6, "utm_sourc": 6, "utp": 14, "v": [2, 7, 19], "v2": 7, "va12204793": 17, "va22904793": 16, "valid": [2, 19, 21, 22, 44, 125, 126, 133, 134, 146, 157], "valu": [1, 3, 5, 9, 12, 13, 14, 17, 19, 20, 21, 23, 28, 43, 45, 46, 48, 49, 51, 55, 57, 61, 62, 63, 66, 67, 72, 73, 128, 136, 153, 164, 175, 190, 196], "valuat": 1, "value_typ": 23, "var": 26, "var1": 196, "var2": 196, "variabl": [14, 26, 31, 42, 166], "variant": 22, "variat": 7, "varieti": 7, "variou": [2, 6, 7, 8, 14], "vars_backup": 196, "vcpu": 17, "ve": [2, 13, 16, 26], "vector": 26, "vega": [128, 136], "verbiag": [], "veri": [10, 17, 26], "verifi": 17, "versatil": [6, 8, 13, 17], "version": [2, 5, 7, 10, 17, 25, 26], "via": 14, "view": [4, 17], "visit": [7, 16, 17, 25, 26], "visual": [2, 3, 7, 25], "visualstudio": 2, "vital": 2, "vm": 17, "volatil": [7, 22, 128, 136], "volum": [5, 20, 21, 78, 81], "voyz": [], "vwap": [78, 81], "wa": [2, 12, 13, 27, 30, 33, 34, 41, 43, 72, 167, 182], "wait": [17, 22, 39, 109, 110, 111, 112, 120, 121, 122, 123], "wait_for_order_execut": [26, 47], "wait_for_order_registr": [26, 47], "wait_for_orders_execut": [26, 47], "wait_for_orders_registr": [26, 47], "wait_to_be_clos": 22, "wait_to_be_regist": 22, "walk": [2, 17], "want": [1, 2, 5, 8, 10, 12, 13, 16, 17, 25, 26, 41, 44, 62, 66], "was_transmit": 22, "we": [5, 6, 7, 8, 10, 11, 13, 17, 25, 26, 28, 47, 72, 146, 157], "weak": 2, "wealth": 26, "web": [25, 46], "webhook": 17, "websit": [2, 7, 10, 13, 14, 16, 17], "week": [72, 73], "weight": 22, "welcom": 25, "well": 26, "were": [9, 26, 38], "what": [14, 26, 47, 82, 177, 192], "whatev": 13, "when": [0, 1, 2, 5, 6, 8, 13, 14, 17, 19, 20, 22, 25, 26, 27, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 62, 63, 66, 67, 82, 146, 157, 167, 172, 182, 187, 196], "whenev": [167, 182], "where": [22, 25, 42, 146, 157], "whether": [1, 17, 22, 44, 46, 72, 82, 128, 136, 146, 157], "which": [2, 6, 7, 8, 9, 13, 14, 17, 20, 21, 22, 32, 41, 49, 51, 55, 57, 74, 75, 76, 77, 128, 130, 136, 138, 178, 193], "while": [14, 17], "white": [62, 63, 66, 67], "who": [5, 17, 52, 58, 147, 158], "whose": [44, 126, 134], "why": [2, 26], "wide": [13, 17, 63, 67], "width": [62, 66, 72, 73], "wiki": [], "window": 26, "wish": [5, 26], "within": [1, 17, 18, 107, 118, 143, 154], "without": [14, 17, 25, 131, 140], "won": [6, 8], "word": [22, 167, 182], "work": [0, 2, 5, 11, 15, 17, 25, 26, 72, 73, 77, 166], "worker": 17, "workstat": 15, "world": [14, 17], "would": [1, 2, 5, 16, 19, 25, 26, 44, 51, 57, 146, 157, 178, 193], "wrapper": 21, "write": [1, 2, 6, 8], "www": [8, 16], "x": [63, 67], "xam": [32, 106, 117], "xasx": [32, 106, 117], "xbkk": [32, 106, 117], "xbog": [32, 106, 117], "xbom": [32, 106, 117], "xbru": [32, 106, 117], "xbud": [32, 106, 117], "xbue": [32, 106, 117], "xcbf": [32, 106, 117], "xcse": [32, 106, 117], "xdub": [32, 106, 117], "xetr": [32, 106, 117], "xfra": [32, 106, 117], "xhel": [32, 106, 117], "xhkg": [32, 106, 117], "xice": [32, 106, 117], "xidx": [32, 106, 117], "xist": [32, 106, 117], "xjse": [32, 106, 117], "xkar": [32, 106, 117], "xkl": [32, 106, 117], "xkrx": [32, 106, 117], "xli": [32, 106, 117], "xlim": [32, 106, 117], "xlon": [32, 106, 117], "xmad": [32, 106, 117], "xmex": [32, 106, 117], "xmil": [32, 106, 117], "xmo": [32, 106, 117], "xny": [32, 106, 117], "xnze": [32, 106, 117], "xosl": [32, 106, 117], "xpar": [32, 106, 117], "xph": [32, 106, 117], "xpra": [32, 106, 117], "xse": [32, 106, 117], "xsgo": [32, 106, 117], "xshg": [32, 106, 117], "xsto": [32, 106, 117], "xswx": [32, 106, 117], "xtae": [32, 106, 117], "xtai": [32, 106, 117], "xtk": [32, 106, 117], "xtse": [32, 106, 117], "xwar": [32, 106, 117], "xwbo": [32, 106, 117], "xyz1234567890abcdef": 17, "y": [63, 67], "yahoo": [0, 1, 2, 5, 20, 26, 72, 73, 106, 117], "yahoo_data": 44, "yahoodata": 44, "yahoodatabacktest": [1, 10, 25, 26, 32], "yappi": 25, "year": [2, 6, 8], "yearli": 7, "yellow": [62, 63, 66, 67], "yet": [22, 46], "yf": [5, 44], "yfinanc": [5, 44], "yield": 20, "york": [5, 17], "you": [0, 1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22, 25, 26, 29, 32, 44, 47, 48, 49, 51, 55, 57, 61, 62, 66, 70, 72, 73, 82, 101, 124, 142, 146, 157, 165, 166, 178, 193], "your": [2, 5, 6, 7, 8, 10, 11, 12, 14, 15, 18, 20, 22, 40, 41, 47, 48, 49, 51, 55, 57, 61, 70, 82, 101, 146, 157, 165, 166, 178, 193, 196], "your_access_token": 16, "your_account_numb": 16, "your_alpaca_api_kei": [25, 26], "your_alpaca_secret": [25, 26], "your_api_kei": [12, 13], "your_api_secret": 12, "your_passphras": 13, "your_polygon_api_kei": [2, 6], "your_secret": 13, "your_secret_kei": 13, "yyyi": [76, 130, 138], "yyyymm": 19, "yyyymmdd": [19, 132, 141], "zero": [167, 182], "zone": [5, 20]}, "titles": ["Backtesting", "Backtesting Function", "How To Backtest", "Indicators Files", "Logs CSV", "Pandas (CSV or other data)", "Polygon.io Backtesting", "Tearsheet HTML", "ThetaData Backtesting", "Trades Files", "Yahoo", "Brokers", "Alpaca", "Crypto Brokers (Using CCXT)", "Interactive Brokers", "Interactive Brokers Legacy", "Tradier", "Deployment Guide", "Entities", "Asset", "Bars", "Data", "Order", "Position", "Trading Fee", "What is Lumibot?", "Lumibot: Backtesting and Algorithmic Trading Library", "Lifecycle Methods", "def after_market_closes", "def before_market_closes", "def before_market_opens", "def before_starting_trading", "def initialize", "def on_abrupt_closing", "def on_bot_crash", "def on_canceled_order", "def on_filled_order", "def on_new_order", "def on_parameters_updated", "def on_partially_filled_order", "def on_trading_iteration", "Summary", "def trace_stats", "Backtesting", "Data Sources", "Strategies", "Traders", "Strategy Methods", "Account Management", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "self.get_cash", "self.get_parameters", "self.get_portfolio_value", "self.get_position", "self.get_positions", "self.set_parameters", "Chart Functions", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "self.add_line", "self.add_marker", "self.get_lines_df", "self.get_markers_df", "Data", "self.cancel_realtime_bars", "self.get_historical_prices", "self.get_historical_prices_for_assets", "self.get_last_price", "self.get_last_prices", "self.get_next_trading_day", "self.get_quote", "self.get_realtime_bars", "self.get_yesterday_dividend", "self.get_yesterday_dividends", "self.start_realtime_bars", "DateTime", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "self.get_datetime", "self.get_datetime_range", "self.get_last_day", "self.get_last_minute", "self.get_round_day", "self.get_round_minute", "self.get_timestamp", "self.localize_datetime", "self.to_default_timezone", "Miscellaneous", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "self.await_market_to_close", "self.await_market_to_open", "self.get_parameters", "self.log_message", "self.set_market", "self.sleep", "self.update_parameters", "self.wait_for_order_execution", "self.wait_for_order_registration", "self.wait_for_orders_execution", "self.wait_for_orders_registration", "Options", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_strikes", "self.options_expiry_to_datetime_date", "self.get_chain", "self.get_chains", "self.get_expiration", "self.get_greeks", "self.get_multiplier", "self.get_next_trading_day", "self.get_option_expiration_after_date", "self.get_strikes", "self.options_expiry_to_datetime_date", "Order Management", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "self.cancel_open_orders", "self.cancel_order", "self.cancel_orders", "self.create_order", "self.get_asset_potential_total", "self.get_order", "self.get_orders", "self.get_selling_order", "self.sell_all", "self.submit_order", "self.submit_orders", "Parameters", "Strategy Properties", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "self.pytz", "self.cash", "self.first_iteration", "self.initial_budget", "self.is_backtesting", "self.last_on_trading_iteration_datetime", "self.minutes_before_closing", "self.minutes_before_opening", "self.name", "self.portfolio_value", "self.pytz", "self.quote_asset", "self.sleeptime", "self.timezone", "self.unspent_money", "Variable Backup & Restore"], "titleterms": {"1": [25, 26], "2": [25, 26], "2fa": 14, "3": [25, 26], "4": 25, "5": 25, "6": 25, "7": 25, "8": 25, "In": 5, "It": 196, "To": 2, "With": [22, 25], "account": [14, 25, 48], "ad": 25, "add_lin": [62, 66], "add_mark": [63, 67], "addit": 26, "advanc": 22, "after_market_clos": 28, "algorithm": 26, "all": 26, "alpaca": [12, 17, 25], "an": 25, "api": 25, "ask": [], "asset": 19, "authent": 14, "autom": [], "await_market_to_clos": [102, 113], "await_market_to_open": [103, 114], "backtest": [0, 1, 2, 6, 8, 25, 26, 43], "backup": 196, "bar": 20, "before_market_clos": 29, "before_market_open": 30, "before_starting_trad": 31, "benefit": 196, "bot": 26, "broker": [11, 13, 14, 15, 17, 43], "cancel_open_ord": [143, 154], "cancel_ord": [144, 145, 155, 156], "cancel_realtime_bar": 71, "cash": [167, 182], "ccxt": 13, "chart": 61, "choos": [2, 17], "class": 25, "coinbas": 17, "conclus": [2, 17], "configur": [13, 14, 16, 17, 25, 196], "content": [0, 11, 18, 26, 27, 44, 47], "creat": [25, 26], "create_ord": [146, 157], "crypto": 13, "csv": [4, 5], "data": [2, 5, 14, 21, 43, 44, 70], "databas": 196, "datafram": 5, "datetim": 82, "def": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "definit": [], "deploi": 17, "deploy": 17, "detail": [], "document": [12, 19, 20, 22, 45], "entiti": 18, "environ": 17, "exampl": [5, 13, 14, 16, 17], "extra": 26, "factor": 14, "fee": [24, 25], "file": [0, 2, 3, 9], "final": 17, "first_iter": [168, 183], "follow": 25, "frequent": [], "from": [0, 2], "full": [13, 16], "function": [1, 61], "gener": [0, 2, 17], "get": [16, 25, 26], "get_asset_potential_tot": [147, 158], "get_cash": [49, 55], "get_chain": [125, 126, 133, 134], "get_datetim": [83, 92], "get_datetime_rang": [84, 93], "get_expir": [127, 135], "get_greek": [128, 136], "get_historical_pric": 72, "get_historical_prices_for_asset": 73, "get_last_dai": [85, 94], "get_last_minut": [86, 95], "get_last_pric": [74, 75], "get_lines_df": [64, 68], "get_markers_df": [65, 69], "get_multipli": [129, 137], "get_next_trading_dai": [76, 130, 138], "get_option_expiration_after_d": 139, "get_ord": [148, 149, 159, 160], "get_paramet": [50, 56, 104, 115], "get_portfolio_valu": [51, 57], "get_posit": [52, 53, 58, 59], "get_quot": 77, "get_realtime_bar": 78, "get_round_dai": [87, 96], "get_round_minut": [88, 97], "get_selling_ord": [150, 161], "get_strik": [131, 140], "get_timestamp": [89, 98], "get_yesterday_dividend": [79, 80], "guid": [17, 196], "help": 26, "how": [2, 196], "html": [2, 7], "i": 25, "import": 25, "improv": 25, "indic": [2, 3, 26], "initi": 32, "initial_budget": [169, 184], "instal": [2, 25, 26], "instanti": 25, "interact": [14, 15, 17], "io": [2, 6], "is_backtest": [170, 185], "kei": 25, "kraken": 17, "last_on_trading_iteration_datetim": [171, 186], "leg": 22, "legaci": [15, 17], "librari": 26, "lifecycl": 27, "live": 26, "load": [], "localize_datetim": [90, 99], "log": 4, "log_messag": [105, 116], "lumibot": [2, 25, 26], "lumiwealth": 25, "manag": [48, 142], "market": 14, "method": [27, 47], "minutes_before_clos": [172, 187], "minutes_before_open": [173, 188], "miscellan": 101, "modul": [25, 44], "name": [174, 189], "need": 26, "note": [], "on_abrupt_clos": 33, "on_bot_crash": 34, "on_canceled_ord": 35, "on_filled_ord": 36, "on_new_ord": 37, "on_parameters_upd": 38, "on_partially_filled_ord": 39, "on_trading_iter": 40, "option": [25, 124], "options_expiry_to_datetime_d": [132, 141], "order": [22, 142], "other": 5, "packag": 25, "panda": [5, 44], "paper": [14, 25], "paramet": 165, "perform": 25, "platform": 17, "polygon": [2, 6], "portfolio_valu": [175, 190], "posit": 23, "profil": 25, "properti": 166, "pytz": [176, 181, 191], "question": [], "quote_asset": [177, 192], "refer": [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42], "render": 17, "replit": 17, "resourc": 26, "restor": 196, "run": [2, 13, 16, 25], "secondari": 14, "secret": 17, "self": [49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196], "sell_al": [151, 162], "set": 13, "set_market": [106, 117], "set_paramet": [54, 60], "setup": 14, "sleep": [107, 118], "sleeptim": [178, 193], "sourc": [2, 43, 44], "start": [16, 25, 26], "start_realtime_bar": 81, "step": [17, 25, 26], "storag": 196, "strategi": [13, 14, 16, 17, 25, 26, 45, 47, 166], "structur": 196, "submit_ord": [152, 153, 163, 164], "subscript": 14, "summari": [5, 41], "tabl": 26, "take": 26, "tearsheet": [2, 7], "thetadata": 8, "timezon": [179, 194], "to_default_timezon": [91, 100], "togeth": 26, "trace_stat": 42, "trade": [2, 9, 14, 24, 25, 26], "trader": [25, 46], "tradier": [16, 17], "troubleshoot": [], "two": 14, "type": 22, "unspent_monei": [180, 195], "update_paramet": [108, 119], "us": [13, 14], "usag": 196, "usernam": 14, "var": 196, "variabl": [17, 196], "wait_for_order_execut": [109, 120], "wait_for_order_registr": [110, 121], "wait_for_orders_execut": [111, 122], "wait_for_orders_registr": [112, 123], "what": 25, "why": [], "work": 196, "yahoo": [10, 44], "your": [13, 16, 17, 25, 26]}}) \ No newline at end of file diff --git a/docsrc/brokers.interactive_brokers.rst b/docsrc/brokers.interactive_brokers.rst index 2e098410f..b13605583 100644 --- a/docsrc/brokers.interactive_brokers.rst +++ b/docsrc/brokers.interactive_brokers.rst @@ -1,14 +1,14 @@ Interactive Brokers =================== -Interactive Brokers is a brokerage firm that operates in most countries around the world. This makes it a great choice for investing and trading if you don't have access to our other supported platforms. +Interactive Brokers is a brokerage firm that operates in most countries around the world. It's a great choice for investing and trading, especially if you don't have access to other supported platforms. -**Note:** If you do have access to other supported brokers, compare their fee structures to see which one is the best deal for you. +**Note:** If you have access to other supported brokers, compare their fee structures to see which one offers the best deal for you. Market Data Subscriptions ------------------------- -To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various market data subscriptions depending on the exchanges and types of data you need. Here are some common subscriptions: +To access real-time market data, you need to subscribe to the appropriate market data packages. Interactive Brokers offers various subscriptions depending on the exchanges and types of data you need. Here are some common options: - **US Securities Snapshot and Futures Value Bundle** - **US Equity and Options Add-On Streaming Bundle** @@ -18,83 +18,87 @@ To access real-time market data, you need to subscribe to the appropriate market .. note:: - Different strategies may require different market data subscriptions. For our top options-related strategies, the OPRA (US Options Exchanges) should suffice. + Different strategies may require different market data subscriptions. For top options-related strategies, the **OPRA (US Options Exchanges)** subscription should suffice. **To subscribe to market data:** +.. important:: + Market data subscriptions are login-specific. Ensure you're logged in with the same credentials you plan to use with Lumibot before proceeding. + 1. Log in to the `IBKR Client Portal `_. 2. Navigate to the **Settings** menu. -.. image:: images/ib-main.png - :alt: IB Main Menu - :align: center - :class: with-border + .. image:: images/ib-main.png + :alt: IB Main Menu + :align: center 3. Under **Account Settings**, find the **Market Data Subscriptions** section. -.. image:: images/ib-settings.png - :alt: IB Settings - :align: center - :class: with-border + .. image:: images/ib-settings.png + :alt: IB Settings + :align: center 4. Click **Configure** and select the desired market data packages. -.. image:: images/ib-market-data-subscriptions.png - :alt: IB Market Data Subscriptions - :align: center - :class: with-border + .. image:: images/ib-market-data-subscriptions.png + :alt: IB Market Data Subscriptions + :align: center -5. Find your desired subscription +5. Find your desired subscription. 6. Follow the prompts to complete the subscription process. -**Note:** Market data subscriptions may incur additional fees. Be sure to review the costs associated with each package before subscribing. +**Note:** Market data subscriptions may incur additional fees. Review the costs associated with each package before subscribing. -Using a Paper Trading Account ------------------------------ +Two-Factor Authentication (2FA) +------------------------------- -When using a paper trading account, you should log in with your paper trading username and password. This allows you to practice trading without risking real money. +Interactive Brokers requires two-factor authentication (2FA) for account security. When using Lumibot, you'll receive 2FA notifications through the IB Key mobile app, which require manual approval. This can interrupt automated trading operations. -**Steps to get your paper trading username and password:** +**Important:** Automated handling of 2FA is not currently supported in Lumibot. -1. **Log in** to the **IBKR Client Portal** using your primary (live) account credentials. -2. Navigate to the **Settings** menu in the upper right corner. -3. Under **Account Settings**, find the **Paper Trading Account** section. -4. Click on **Configure** or **Request Paper Trading Account**. -5. Follow the prompts to set up your paper trading account. - - You may need to agree to terms and conditions. -6. Once the setup is complete, you'll receive a separate **username** and **password** for your paper trading account. -7. Use these credentials when logging into the paper trading environment and configuring your API connection. +**Possible Solution: Create a Secondary Username** -**Note:** The paper trading account is separate from your live account. Ensure you're using the correct credentials for each environment to avoid any login conflicts. +To enable fully automated trading, you can create a secondary username for your account that doesn't require 2FA. This approach is secure and convenient: + +- The primary account maintains full 2FA security for website access. +- The secondary account, used only for API connections, can operate without 2FA. +- Both accounts have separate access controls you can configure. -Automating Two-Factor Authentication ------------------------------------- +.. note:: -Currently, automating two-factor authentication (2FA) is not supported. Lumibot will send you 2FA notifications through IBKey, and you will need to respond to them manually. + When using a secondary account without 2FA: -Using a Secondary Account -------------------------- + - You'll need separate market data subscriptions for each user. + - If trading with both primary and secondary users, you'll pay for market data twice. + - Enhance security by: + - Setting a complex password. + - Restricting IP addresses for TWS/IBGateway access. + - Limiting the account's permissions to only what's needed. + - Keeping API connection details secure. + +See the **Using a Secondary Username** section below for detailed setup instructions. + +Using a Secondary Username +-------------------------- -Interactive Brokers only allows a single login at a time for any given set of credentials. This means you can't use the IBKR website while the API connection is running. If you try, it will disconnect the API connection, causing a re-authentication loop. +Interactive Brokers allows only one login at a time for any given set of credentials. Attempting to use the IBKR website while the API connection is running will disconnect the API connection, causing a re-authentication loop. -An easy solution is to stop the API connection before using the website, but that can be tedious. A more convenient solution is to create a **secondary username** for your account and use that for the API connection. +An easy solution is to stop the API connection before using the website, but this can be tedious. A more convenient solution is to create a **secondary username** for your account and use that for the API connection. **Steps to create a secondary username:** -1. **Log in** to the **IBKR Client Portal** with your primary username. +1. Log in to the **IBKR Client Portal** with your primary username. 2. Click on the **Settings** menu in the upper right corner. -3. Scroll to the bottom-left of the page and find the **Users & Access Rights** link. - - You may need to scroll down to see it. +3. Scroll down and find the **Users & Access Rights** link. 4. Click the **plus sign (+)** button in the **Users** header to add a new user. 5. Fill out the username and password fields for the new user. 6. Click through the settings pages, adjusting notifications and permissions as needed. - - Feel free to disable unnecessary notifications to avoid duplicate emails. 7. At the end of the process, you'll receive an email with a **confirmation code**. **Activating your secondary username:** 1. Log out and log back in using the **new secondary username and password**. -2. Enter the **confirmation code** you received via email. +2. Enter the **confirmation code** received via email. - **Note:** The code expires quickly, so act promptly. 3. You may be prompted to **change the password** for the secondary user. @@ -107,7 +111,24 @@ An easy solution is to stop the API connection before using the website, but tha - You'll see an EULA and a signature block. - Type your **name** (not the new user's name) and click **Submit**. -After completing these steps, your secondary credentials will be ready to use with the API connection. In the future, use your **primary credentials** on the website and the **secondary credentials** for the API connection. +After completing these steps, your secondary credentials will be ready to use with the API connection. Use your **primary credentials** on the website and the **secondary credentials** for the API connection. + +Using a Paper Trading Account +----------------------------- + +When using a paper trading account, log in with your paper trading username and password. This allows you to practice trading without risking real money. + +**Steps to get your paper trading username and password:** + +1. Log in to the **IBKR Client Portal** using your primary (live) account credentials. +2. Navigate to the **Settings** menu in the upper right corner. +3. Under **Account Settings**, find the **Paper Trading Account** section. +4. Click on **Configure** or **Request Paper Trading Account**. +5. Follow the prompts to set up your paper trading account. +6. Once the setup is complete, you'll receive a separate **username** and **password** for your paper trading account. +7. Use these credentials when logging into the paper trading environment and configuring your API connection. + +**Note:** The paper trading account is separate from your live account. Ensure you're using the correct credentials for each environment to avoid any login conflicts. Strategy Setup -------------- @@ -121,16 +142,16 @@ Add these variables to a `.env` file in the same directory as your strategy: * - **Secret** - **Description** - **Example** - * - IB_USERNAME + * - `IB_USERNAME` - Your Interactive Brokers username. - `user123` - * - IB_PASSWORD + * - `IB_PASSWORD` - Your Interactive Brokers password. - `password123` - * - ACCOUNT_ID + * - `ACCOUNT_ID` - (Optional) An Interactive Brokers subaccount to trade on. - `U17369206` - * - IB_API_URL + * - `IB_API_URL` - (Optional) The URL of your self-hosted Interactive Brokers REST API. - `https://localhost:8000` @@ -139,12 +160,10 @@ Example Strategy .. code-block:: python - from lumibot.traders import Trader - # We will get your credentials from the .env file - from lumibot.strategies.examples import Strangle - - trader = Trader() + from lumibot.traders import Trader + from lumibot.strategies.examples import Strangle - strategy = Strangle() - trader.add_strategy(strategy) - trader.run_all() \ No newline at end of file + trader = Trader() + strategy = Strangle() + trader.add_strategy(strategy) + trader.run_all()