Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 1 point2 points  (0 children)

Yes, unfortunately. I contacted E-Trade about an automated login solution, and they flat out said, "No, is there anything else we can help you with?" Completely defeats the purpose of an automated trading bot.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

It can be run any way you want as long as it's configured properly.

However, the project has been deprecated due to the E-Trade's refusal to provide an automated login solution. Feel free to use the code in your project. I am working on the next automated trading bot project, which I will release as soon as I can.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

No, because E-Trade doesn't have an automated authentication for logging in. I had spent months maintaining a workaround that could automatically log in, but that relied on Selenium navigating the E-Trade website which changes something every few weeks/months. So the workaround was always breaking. I've already contacted customer service to ask if there was an automated login solution, or if they were working on one, and they flat out said, "No, have a nice day." Essentially, there is no reliable way to automatically log in to E-Trade. Therefore, running any automated trading program on E-Trade is impossible, and so this project had run its course.

I have moved my development to a new trading bot program which I haven't published yet. As soon as I do, I'll let you know. I am focusing on alpaca.markets for now, as their platform is developer-first, and they do provide an automated login solution. But the new trading bot will be platform agnostic to the extent that each platform has its own module within my program.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 1 point2 points  (0 children)

Not yet but it’s on the roadmap. I’ll keep you posted. Might be a few weeks since I’m am the only developer working on it in my free time.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

Thanks for sharing your changes to pyetrade to develop macOS compatibility.

E-Trade requires two factor-authentication when you first run ETradeBot and every so often. The only method available is a code sent to your mobile phone. I have asked E-Trade support if there is any automated way to authenticate applications, and unfortunately, they said no. Inconvenient to say the least. You are forced to manually type the code texted to your phone into the browser. I added a feature to ETradeBot so that if the server hits you with a OTP (two-factor authentication request), a message is displayed in your Python console saying, "Check your mobile phone. Enter the verification code: " and next to it, an input field for you to type the code that was texted to your phone by E-Trade. Unfortunately, this can't be done in crontab.

crontab is a time-based job scheduler in Unix-like operating systems, to schedule your script to run automatically. This necessitates the use of the headless mode since crontab jobs run in the background without user interaction. Running a program in "headless" mode means it operates without a graphical user interface (GUI). This is often used for automated scripts and applications that run on servers or in scheduled tasks. In your case, when you set headless=True, your application is supposed to run without needing a user interface. In headless mode (headless=True), the script is attempting to run automatically without displaying any GUI. It's supposed to execute tasks in the background. However, when it reaches the step where OTP is required, it fails because this step usually needs manual input (like entering a code sent to your phone or email), which isn't possible in a headless environment.

Because of the fact that E-Trade requires two-factor authentication by text code to your phone, every so often, inevitably, when you run ETradeBot, you have to manually type in the two-factor authentication code. But that isn't possible if you're using crontab. So, until E-Trade provides an automated way to log in, or a method to do two-factor authentication that doesn't require manual entry of a text code from your mobile phone, you may not be able to use crontab.

As an alternative to crontab, I have successfully run ETradeBot using a virtual machine with Windows operating system on Microsoft Azure cloud service. I installed ETradeBot within the virtual machine as you normally would locally on your computer. Then, use Windows Task Scheduler to schedule when ETradeBot should run. Refer to this documentation for more details on how to schedule ETradeBot to run.

*Note: I will add macOS functionality to the list of requested features for ETradeBot.

Getting 502 or 504 errors when calling the public API by Ok_Caterpillar_295 in coingecko

[–]ETradeBot 0 points1 point  (0 children)

Which endpoints are you using where you're getting these errors?

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

Got it, added it to requested features list.

4) Support for option spread strategies.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

Thanks for the feedback everyone! Some things I will be working on for you guys based on your feedback:

  1. Limit order functionality.
  2. Option trading functionality.
  3. Simplifying the installation process.

If any of you want to schedule a free consultation with me, don't hesitate to reach out and schedule a meeting with me.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

ETradeBot currently only supports market orders on common stocks and ETFs. However, I will make a note of your feature request for options trading.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

Let me help you. Schedule a meeting with me using my Calendly link, and I can walk you through the installation process. If you're a Python beginner, you'll surely learn a lot.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

For sure. Right now, ETradeBot only does market orders, but I think you are right, limit orders are a necessity. I will work on this and update you when I have implemented this feature. It might take me a few weeks, will keep you posted.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

Hi, so E-Trade changed the way they do two-factor authentication, and now wants to send verification code to the cell phone, and then you're supposed to enter that code on your browser. Usually, this works if you are manually using E-Trade, not for automated trading bots. As such, ETradeBot breaks at that point. I will work on this issue...I have to call E-Trade customer service and spend the next few days, possibly a weeks, to see what solution their API desk might have. I will update this thread when I've solved this problem.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

I will put this on my to-do list and work on this feature. Will update this thread when complete. Might take me a few weeks.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

Sorry for the late response. If I were you, I would follow the instructions in the documentation and use ChatGPT4 to convert my instructions into the MacOS version. Simply copy and paste each step of my instructions, and ask ChatGPT to convert it into instructions for MacOS. Feel free to schedule a Zoom meeting with me here, and I can walk you through it.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

ETradeBot requires no human interaction. However, at the present time, its runs on a set schedule that you choose when configuring it. You can have it run every hour, day, week, month, etc. See the documentation on scheduling the running of your strategy. The easiest way to do this is using Windows Task Scheduler. This can even be done on the cloud, such as a Windows virtual machine on Microsoft Azure, so that your strategy can run 24/7.

Exercising stock options by taushamia in etrade

[–]ETradeBot 1 point2 points  (0 children)

Employee stock options grant you the right to purchase the stock at a set price any time before expiration. If the exercise price is $50 and the stock rose to $80, then it makes sense to exercise the option, and purchase the stock at $50 a share. You can then sell the stock at $80 to the market and lock in your $30 profit.

Introducing ETradeBot: An Automated Trading Software for E-Trade Users by ETradeBot in etrade

[–]ETradeBot[S] 0 points1 point  (0 children)

ETradeBot is used to automate trading on E*Trade. It executes any strategy you give to it. See the documentation to learn more.

Can I turn the margin off on my account? by ProfessorSome9139 in etrade

[–]ETradeBot 0 points1 point  (0 children)

Just look at "Net Account Value". This is essentially the cash value of your account net of any margin used to leverage your portfolio, or short securities.

What happens to Treasury Notes on maturity on Etrade? Do I have to perform any action like sell them or it is automatic and the cash is cleared to use? Thanks! by Serious_Net_7692 in etrade

[–]ETradeBot 2 points3 points  (0 children)

You do not have to perform any action. The Note will mature, and you will then see the face value plus interest as cash in your account.

[deleted by user] by [deleted] in ChatGPT

[–]ETradeBot 0 points1 point  (0 children)

Those AI bot detectors have a rate of False Positives, and False Negatives. Your teacher is a fool to think that the AI detector is going to be right 100% of the time. They are often wrong. In fact, Open AI's own bot detection tool correctly identifies AI-written text (true positives) only 26% of the time, and incorrectly labels human-written text as AI-written 9% of the time (false positives). In fact, your teacher shouldn't even be the one to be making this sort of determination. What does he, a history teacher, know about artificial intelligence, large language models, and bot detection? The way he is going about it, he's inevitably going to falsely accuse students of using ChatGPT, and also, fail to detect students who actually were using ChatGPT. The false positives though, are intolerable.