Package: wsimple
What is the Wsimple project?Welcome! This project is an API and Web interface(In-development) for Wealthsimple Trade. The main goal of this project is to give developers the ability to create projects while hooking them straight into their Wealthsimple Trade account. ClickHerefor API wrapper documentation. When looking for a specific function use the left navbar to find it.Before using the API, please read thedisclamer, and due to the nature of this project and goodwill, specific endpoints aren't available.This library was created with non-coders in mind and needs a minimal understand of python to get started.Getting StartedProject Statusv3.0.0- Indefinite pause on further developmentThis project is in the pre-alpha stage. if you find any bugs please submit anissue.Prerequisitespython3+,pipandnodeare required to use wsimpleto download pip and python go to"Download Python"for windows click"Here".for macos click"Here"to download node go to"Download Node"Project IdeasBuy/sell a stock as the end of every month.Automatically create a deposit/withdrawal order every month.Create a internal transfer order to your wealthsimple TSFA, invest accounts every month.Automatically send tax and monthly trading statements to your email.Create a system to do dollar cost averaging (DCA) or dividend reinvestment plan (DRIP)Installpipinstallwsimplestart website (Not finished)wsimplestartAPIUsagefromwsimple.apiimportWsimpledefget_otp():returninput("Enter otpnumber:\n>>>")email=str(input("Enter email:\n>>>"))password=str(input("Enter password:\n>>>"))ws=Wsimple(email,password,otp_callback=get_otp)# always check if wealthsimple is working (return True if working or an error)ifws.is_operational():# check the current operation status of internal Wealthsimple Tradeprint(ws.current_status())# return a list of securities that include GOOG and GOOGLprint(ws.find_securities("GOOG"))# create deposit order for 2000 CAD into your accountws.make_deposit(2000)# create withdrawal order for 6000 CAD into your accountws.make_withdrawal(6000)# return opening and closing of the exchange NYSEprint(ws.get_market_hours(exchange="NYSE"))DisclaimerThis software is provided so you can use Wealthsimple trade on your computer. This software is not built or maintained by Wealthsimple Trade or the company Wealthsimple. Remember your responsibility to not engage in illegal or unethical trading behaviours that can disrupt orderly market functions. Flooding the API/web-app with orders in a short time-frame may result in getting banned or locked out by Wealthsimple Trade.Remember when using this website and/or api you are still under Wealthsimple Trade services and they reserve the right to terminate anyone.Wealthsimple Trade reserves the right to monitor anyone's trading activity and block transactions if the trading activity is determined to be inappropriateUsers ofwstrade-apihave observed that trades in excess of 7 per hour are rejected by the WealthSimple Trade servers. You can use this observation as a baseline of how many trades you can perform on an hourly basis.This product was built with security in mind. This software was made to run personal and local webserver and to assure no data/credentials is being sent out.The use of this software is done at your own discretion and risk and with the agreement that you will be solely responsible for any damages. By using this software you agree that you are solely responsible for any damages incurred to you or your account, and that I will not be liable for any damages that you may suffer in connection with downloading, installing, using, modifying or distributing this software.This content, software and/or any comments are not intended to be investment advice or any other kind of professional advice.Parts of this disclaimer are adapted fromwstrade-api