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. Create your Python environment and install ETradeBot.
  2. Obtain and securely store your E-Trade credentials.
  3. Insert your strategy into the strategies directory as a .py file.
  4. Configure a batch file to run ETradeBot.
  5. Run ETradeBot in either preview or live trading mode.
  6. Schedule ETradeBot to run automatically.

If you are using the Bloomberg API, you will need to Install the Bloomberg SDK and C++ Build Tools. Otherwise, ETradeBot will automatically use the Yahoo Finance API.

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-2.0.1.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

etradebot-2.0.1-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for etradebot-2.0.1.tar.gz
Algorithm Hash digest
SHA256 900c742459fc016998f3d9b86b99cdc2c391dca8d9d5962dac5679fdfd60f175
MD5 610123071a9bcc6516629baceece7e19
BLAKE2b-256 c7c6ec95fc5cbf0eeb4d40c4cb295f39ff327d8478a03f7c2f90432d427d3b89

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for etradebot-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09cf18cac40cab44100d35a67646fece2be662d6a5a77b489c13c070e6c25a03
MD5 a169b33e4500b60885b4c50723199b88
BLAKE2b-256 b26643c1c02b0564214259f1840011dc17a01401228385e7367b53daa4e56d8f

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