Skip to main content

A quantitative market analysis tool builder library

Project description

PyPI - Version PyPI - Downloads Donate


This is the official and updated Python MarketQuant repository.

Installation

pip install MarketQuant matplotlib numpy pandas mplfinance scipy mplcursors yfinance
You may need to use pip3 instead of pip

Schwab Quick setup

  1. Setup your Schwab developer account here.
    • Create a new Schwab individual developer app with callback url "https://127.0.0.1" (case sensitive)
    • Wait until the status is "Ready for use", note that "Approved - Pending" will not work.
    • Enable TOS (Thinkorswim) for your Schwab account, it is needed for orders and other api calls.
  2. Install packages
    • Install schwabdev and requirements pip install schwabdev requests websockets
    • You may need to use pip3 instead of pip
  3. Why do I need to do this?
    • This will allow you to utilize the streaming and data tools that require a more nuanced data provider.
    • More data providers will be added in future updates.
    • You do not need a schwab account to utilize the Strategy Simulator. This uses data derived from Yahoo.

What can this program do?

  • Build and simulate trading strategies using the TradingEngine class.
  • Charts your trades and outputs your strategy performance.
  • Extensible Framework to allow for complete customization
  • Constantly adding more tools and features.

TBD

  • Paper trading client.
  • Charles Schwab API implementation to the Data Engine for the Simulator.
  • Bring over and configure quantitative tools to the repo.
  • Add YouTube tutorials for the library.

Notes

The MarketQuant folder has all the code for the repo.

Youtube Tutorials

  1. To be added.

Mozilla Public License 2.0

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at:

https://mozilla.org/MPL/2.0/

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marketquant-0.4.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

marketquant-0.4.0-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

Details for the file marketquant-0.4.0.tar.gz.

File metadata

  • Download URL: marketquant-0.4.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for marketquant-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e55238f52f48c3c437c5a8e7189ef153ddb9f402759c19bd4d0698e1b62014ae
MD5 1f55b5f54af40616ecd38a62a424373d
BLAKE2b-256 736ad2a43d3ce6902f43e295f8d6a1af170c43d5607ee1bb6bde00f79b1d033d

See more details on using hashes here.

File details

Details for the file marketquant-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: marketquant-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 38.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for marketquant-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0100140314eb8123900e9ef353af00fcc19afccbf6f4f8dfb3b6550c4c04af1
MD5 0ef853dff7d8277df972d4cf024c681d
BLAKE2b-256 31cad8ebb2eec1ed51a2b3bf5791fd5795a9cc797de66bcaa24403c061c2adcb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page