Datasets

Charles Schwab

Introduction

The Charles Schwab Corporation was founded by Charles R. Schwab in 1971. Charles Schwab provides access to trading Equities, Options, Index Options, and other assets for clients with no account or trade minimums, or hidden fees.

The Charles Schwab data provider serves Equity, Equity Option, Index, and Index Option prices directly from Charles Schwab's Trader API. This page explains our integration with their API and its functionality.

Sourcing

The Charles Schwab data provider sources data directly from Charles Schwab's Trader API. If you use this data provider, Charles Schwab only provides the security price data. QuantConnect Cloud provides the auxiliary datasets.

Bar Building

The data feed is a stream of asset prices collected by WebSockets and distributed to algorithms on the platform.

Hybrid Data Provider

When you deploy a live algorithm with the Charles Schwab brokerage, you can use the QuantConnect data provider, the Charles Schwab data provider, or both. If you use multiple data providers, the order you select them in defines their order of precedence in Lean, so Lean only uses a provider for the securities that the providers before it don't supply.

We suggest the following configurations, in order of preference:

  1. The QuantConnect data provider on its own. It's free and it's high quality, and it covers most asset classes.
  2. The QuantConnect data provider first and a provider that fills its gaps second. The QuantConnect data provider doesn't supply Index data (for example, SPX, VIX, and NDX) or Future Options data, so you need this configuration to trade Index Options, which need the underlying index, and to trade Future Options.
  3. The Charles Schwab data provider first and the QuantConnect data provider last. Use this configuration if you want to trade on Charles Schwab prices and let the QuantConnect data provider cover the rest.

Alternative Data

Third-party data providers support most alternative datasets, except data that streams real-time intraday data. If you're using streaming datasets, like the Tiingo News Feed and Benzinga News Feed, include the QuantConnect data provider as an additional data provider.

Pricing

The Charles Schwab data feed is free for Charles Schwab subscription accounts.

Charles Schwab recommends subscribing to a maximum of 300 symbols across all connections. Above this limit, there is a higher chance of getting inconsistent data.

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: