EasyEquities Python Package
This is a Python package for interacting with the EasyEquities trading platform. It provides a simple way to log in, check account balances, and retrieve your holdings.
Requirements
- Python 3.x
- Selenium
- pandas
- Beautiful Soup 4
- GeckoDriverManager
- Firefox
Installation
To install, run:
pip install pandas selenium webdriver_manager beautifulsoup4
Then, install the package from PIP using:
pip install easyequities
Usage
To use the package, you will need to import the package and create an instance of the EasyEquities class. You will need to provide your username and password as arguments. You can then use the balance and holdings methods to obtain your account balance and holdings, respectively.
Here's an example of how to use the scraper:
from easyequities import EasyEquities
# Instantiate the EasyEquities class with your account credentials
ee = EasyEquities('your_username', 'your_password')
# Get your account balance
balance = ee.balance()
print(balance)
# Get your holdings
holdings = ee.holdings()
print(holdings)
# Sell your holdings
ee.sell_holdings('holding')
# Buy more holdings
ee.buy_holdings('holding', 'amount')
# Close the EasyEquities website
ee.close()
Note that the script uses Firefox as the web driver, so you'll need to have Firefox installed on your machine for it to work. If you don't have Firefox installed, you can download it here.
License
This code is licensed under the MIT License. See the LICENSE. Feel free to use it for any purpose.
Disclaimers
Before you start using the code, a few disclaimers:
- This code does not come with any guarantee or warranty.
- I am not a financial advisor. This work does not represent any financial advice.
- I do not recommend the use of this code for any investment decisions.
- This code is designed for personal use, and is not designed for high-volume extractions.
- Use the code at your own risk.
Metadata
Release files for EasyEquities 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| EasyEquities-1.2.3.tar.gz | 6.1 kB | Without provenance | Details for EasyEquities-1.2.3.tar.gz |
Release files / EasyEquities-1.2.3.tar.gz
| Download URL | EasyEquities-1.2.3.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b272db6704f3177d2180607062e65d9c4b711375ac7c5f0b24258b78067cea82
|
|
BLAKE2b-256 checksum How to use checksums |
e10586f1828a5079719af264c03f20ee02bb746b19a3752694a15fe25d34628f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for EasyEquities 1.2.3
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.