Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop sofi #314

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open

Develop sofi #314

wants to merge 64 commits into from

Conversation

ImNotOssy
Copy link
Contributor

@ImNotOssy ImNotOssy commented Aug 15, 2024

Added 2fa processing as well as added a proper holdings fetch function

@ImNotOssy ImNotOssy marked this pull request as draft August 15, 2024 08:01
I added Gabes addition of 3 more sms tries as well as it being able to handle both auth 2fa codes and sms 2fa codes
im losing it, i think this works good enough
@ImNotOssy ImNotOssy marked this pull request as ready for review August 16, 2024 05:40
@ImNotOssy ImNotOssy marked this pull request as draft August 16, 2024 14:16
@ImNotOssy
Copy link
Contributor Author

found a bug when trying to sell, not ready yet

Fixed selling issues
@ImNotOssy ImNotOssy marked this pull request as ready for review August 16, 2024 15:37
@ImNotOssy
Copy link
Contributor Author

This should be ready. Features automatic 2FA log in, holdings, and buying/selling in live and dry mode.
Please let me know if there's any bugs or issues i missed.

@ImNotOssy ImNotOssy marked this pull request as draft August 16, 2024 22:12
@ImNotOssy ImNotOssy marked this pull request as ready for review August 16, 2024 22:12
@ImNotOssy ImNotOssy marked this pull request as draft August 16, 2024 22:14
@ImNotOssy ImNotOssy marked this pull request as ready for review August 16, 2024 23:46
This was referenced Aug 17, 2024
Copy link
Owner

@NelsonDane NelsonDane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far, this is just what stood out immediately when I looked through it

.env.example Outdated Show resolved Hide resolved
autoRSA.py Outdated Show resolved Hide resolved
autoRSA.py Outdated Show resolved Hide resolved
autoRSA.py Outdated Show resolved Hide resolved
sofiAPI.py Outdated Show resolved Hide resolved
sofiAPI.py Outdated Show resolved Hide resolved
sofiAPI.py Outdated Show resolved Hide resolved
@matthew55 matthew55 added the enhancement New feature or request label Sep 19, 2024
ImNotOssy and others added 12 commits September 23, 2024 01:52
NEW SOFI
using nodriver, instead of undetected chrome driver, which replaced base selenium

nodriver made it possible to how hopefully bypass cloudflare by not even triggering it, as well as now sofi is quick and speedy from the time it logs in to the time it gets the account holdings.
Fixed the sms
buying function now works and made it a little faster
@matthew55
Copy link
Collaborator

I adjusted the timeout for the sms element because 0 was just not enough time. I might recommend checking if an authy code is specified in the .env before checking for the sms button that way users using authy do not need to wait 5 seconds for the timeout when they don't need to.

Also, talking about Authy, we might consider makng users put :NONE in their .env file where the authy code might go so the code is consistent with other brokers, but this would not be necessary if users read carefully, which might never happen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants