Important

As of February 22, 2024, ETradeBot has been officially deprecated. This decision comes after careful consideration of the limitations imposed by E-Trade, particularly regarding automated authentication. The current requirement for manual login with each execution significantly hinders the effectiveness of automated trading strategies, making it impractical for users seeking fully automated solutions. As a result, the developer has decided to discontinue the project and shift our development focus to more automation-friendly platforms, specifically Alpaca. Alpaca offers a more accommodating environment for automated trading, including more flexible authentication mechanisms that align with our goals for fully automated trading systems. Feel free to use ETradeBot as a reference for building your own trading bot, and we encourage you to explore Alpaca as an alternative platform for your automated trading needs. We appreciate your understanding and support, and look forward to providing you with more advanced and user-friendly trading solutions in the future.

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. Schedule a FREE consultation to learn more or discuss how ETradeBot can fit into your trading strategy.

Warning

ETradeBot is experimental software and is in early development. Test on small dollar accounts only. This project is not affiliated with E-Trade or any other financial institution. By using ETradeBot, you agree to the disclaimer. The developer is not responsible for any losses incurred from the use of ETradeBot. Use at your own risk.

Features

  • Fetches real-time market data from the 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

The Bloomberg API requires a Bloomberg Terminal subscription, however, the Yahoo Finance API is free to use. ETradeBot will automatically use the Yahoo Finance API if the Bloomberg API is not available.

Getting Started

  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 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

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.

Contents

Indices and tables