EasyEquities

EasyEquities active scraper to issue trading instructions


Keywords
South, Africa, Trading, EasyEQuities
License
MIT
Install
pip install EasyEquities==1.0.2

Documentation

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.