Skip to main content

Wealthsimple Trade Python

A convenient Python wrapper for the Wealthsimple Trade API. Note that this wrapper is Unofficial and is not in any way affiliated with Wealthsimple. Please use at your own risk.

docs

Documentation Status

tests

Travis-CI Build Status Requirements Status

package

Commits since latest release

Installation

pip install wealthsimple-trade-python

You can also install the in-development version with:

pip install https://github.com/seansullivan44/Wealthsimple-Trade-Python/archive/master.zip

Note: node is a dependency of this project. See [here](https://github.com/VeNoMouS/cloudscraper#dependencies) for more information.

Getting Started

Download the Wealthsimple Trade app for iOS or Android and create an account. This API wrapper will use your Wealthsimple Trade login credentials to make successful API calls. After creating an account, use your login credentials to create a WSTrade object:

import wealthsimple
WS = wealthsimple.WSTrade('email', 'password')

If your Wealthsimple Trade account uses two-factor authentication then you must provide the WSTrade object with a callback function as shown in the following example:

import wealthsimple

def my_two_factor_function():
    MFACode = ""
    while not MFACode:
        # Obtain user input and ensure it is not empty
        MFACode = input("Enter 2FA code: ")
    return MFACode

ws = wealthsimple.WSTrade(
    "email",
    "password",
    two_factor_callback=my_two_factor_function,
)

Documentation

https://Wealthsimple-Trade-Python.readthedocs.io/

Metadata

Release files for wealthsimple-trade-python 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wealthsimple-trade-python 1.1.0
File Size Uploaded Provenance Actions
wealthsimple-trade-python-1.1.0.tar.gz 5.3 kB Without provenance Details for wealthsimple-trade-python-1.1.0.tar.gz

Release files / wealthsimple-trade-python-1.1.0.tar.gz

Download URL wealthsimple-trade-python-1.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a5f50c6eea99509adf7758a1bf2ff4665f72d8f723ce05e2e3cdf7ceb249aa7d
BLAKE2b-256 checksum
How to use checksums
152fbc4826c599630d7dea893835f3bafeb9a0174b21a6220fbbf4a71b8b037b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3

Security for wealthsimple-trade-python 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page