
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
wealthsimple-trade-python
Advanced tools
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.
.. start-badges
.. list-table:: :stub-columns: 1
* - docs
- |docs|
* - tests
- | |travis| |requires|
* - package
- | |commits-since|
.. |docs| image:: https://readthedocs.org/projects/wealthsimple-trade-python/badge/?version=latest :target: https://wealthsimple-trade-python.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. |travis| image:: https://api.travis-ci.org/seansullivan44/Wealthsimple-Trade-Python.svg?branch=master :alt: Travis-CI Build Status :target: https://travis-ci.org/seansullivan44/Wealthsimple-Trade-Python
.. |requires| image:: https://requires.io/github/seansullivan44/Wealthsimple-Trade-Python/requirements.svg?branch=master :alt: Requirements Status :target: https://requires.io/github/seansullivan44/Wealthsimple-Trade-Python/requirements/?branch=master
.. |commits-since| image:: https://img.shields.io/pypi/v/wealthsimple-trade-python :alt: Commits since latest release :target: https://pypi.org/project/wealthsimple-trade-python/
.. end-badges
::
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 for more information.
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,
)
FAQs
Python wrapper for the Wealthsimple Trade API
We found that wealthsimple-trade-python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.