Skip to main content

A Python-based trading bot for the E-Trade platform

Project description

ETradeBot

ETradeBot is an automated trading software written in Python for E-Trade accounts that allows users to execute trades based on custom trading strategies. ETradeBot is strategy-agnostic and will execute any strategy given to it. This project is not affiliated with E-Trade or any other financial institution. By using ETradeBot, you agree to the disclaimer.

Features

  • Fetches real-time market data from E-Trade API
  • Accesses market data from the Bloomberg API or Yahoo Finance API
  • Executes trade types: buy, sell, sell short, and short cover
  • Submits price type: market orders to E-Trade API
  • Manages portfolio: tracks positions, balance, and performance
  • Trades: common stocks and ETFs

Getting Started

Refer to the ETradeBot documentation for instructions on installing, configuring, and using the software.

  1. Install the Bloomberg SDK and C++ Build Tools.
  2. Create your Python environment and install ETradeBot.
  3. Configure Selenium to work with your browser.
  4. Obtain and securely store your E-Trade credentials.
  5. Insert your strategy into the strategies directory as a .py file.
  6. Configure a batch file to run ETradeBot.
  7. Run ETradeBot in either preview or live trading mode.
  8. Schedule ETradeBot to run automatically.

Example

The following example shows ETradeBot being run in Anaconda Prompt:

Execute Trades

Also see this example of ETradeBot being run within a jupyter notebook.

Troubleshooting

Refer to the troubleshooting section of the documentation if you encounter any issues.

Roadmap

Future releases will include the following features:

  • More price types: limit, stop, and other order types
  • More security types: options, mutual funds, and other security types

Important Links

Contributing

Contributions to ETradeBot are welcome! Please see the contributing guidelines for more information.

Disclaimer

You must fully read, understand, and agree to the full disclaimer here before using ETradeBot. Please note that while the developer has taken care to ensure the quality and functionality of ETradeBot, there is no guarantee that the software is free from errors or bugs. The developer does not assume responsibility or liability for any damages or losses incurred as a result of using ETradeBot. Users of ETradeBot should use the software at their own risk and verify the accuracy and correctness of its output before making any investment decisions. By using ETradeBot, users agree to release the developer from any and all liability related to their use of the software. Users should read and understand all documentation and instructions provided before using ETradeBot. If you do not agree with any part of this disclaimer, do not use ETradeBot.

License

ETradeBot is licensed under the MIT License.

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

etradebot-1.1.0.tar.gz (77.1 kB view details)

Uploaded Source

Built Distribution

etradebot-1.1.0-py3-none-any.whl (82.7 kB view details)

Uploaded Python 3

File details

Details for the file etradebot-1.1.0.tar.gz.

File metadata

  • Download URL: etradebot-1.1.0.tar.gz
  • Upload date:
  • Size: 77.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for etradebot-1.1.0.tar.gz
Algorithm Hash digest
SHA256 38a7d3e77d6d6230edc3e1a33e4a845b163a78b93e38ed67987de3fe4d0aafb2
MD5 59688c475c5a5c06ef1ec9a13bd3f65c
BLAKE2b-256 e30627a794b764245efdf5d13c92fe3458ac3c5960b74231ea639cd49b721f58

See more details on using hashes here.

File details

Details for the file etradebot-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: etradebot-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 82.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for etradebot-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e19589431108e4c6ff75240527182cce7bdf3c9dfda8a580c8d1068a48cedbe9
MD5 6b7dd07eb2f4a250ac77117cf998e6d0
BLAKE2b-256 2cf7e1c3d49357b63c9eeeb35b3516144d0082ec54a48ee0915dae32c850d517

See more details on using hashes here.

Supported by

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