Skip to main content

EasyEquities active scraper to issue trading instructions

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EasyEquities-1.2.3.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file EasyEquities-1.2.3.tar.gz.

File metadata

  • Download URL: EasyEquities-1.2.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for EasyEquities-1.2.3.tar.gz
Algorithm Hash digest
SHA256 b272db6704f3177d2180607062e65d9c4b711375ac7c5f0b24258b78067cea82
MD5 2af3a2793859ab235848d7f4f33770c8
BLAKE2b-256 e10586f1828a5079719af264c03f20ee02bb746b19a3752694a15fe25d34628f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page