Skip to content

Commit

Permalink
Merge pull request #300 from Nohealz/main
Browse files Browse the repository at this point in the history
Updated Broker Keyword Usage
  • Loading branch information
NelsonDane authored Jul 25, 2024
2 parents dcf81cc + ba2f4c1 commit 1f7ba6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,15 @@ Note: There are two special keywords you can use when specifying accounts: `all`
- Fennel
- Firstrade
- Public
- Robinhood
- Schwab
- Tastytrade
- Tradier
- Webull

This is useful for brokers that provide quick turnaround times, hence the nickname "day 1".
A couple other keywords that can be used:
- `most`: will use every account you have setup except for vanguard.
- `fast`: will use every "day 1" broker + robinhood.

## 🗺️ Other Guides 🗺️
More detailed guides for some of the difficult setups:
Expand Down
9 changes: 8 additions & 1 deletion autoRSA.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"fennel",
"firstrade",
"public",
"robinhood",
"schwab",
"tastytrade",
"tradier",
Expand Down Expand Up @@ -178,6 +177,10 @@ def argParser(args: list) -> stockOrder:
orderObj.set_brokers(SUPPORTED_BROKERS)
elif args[1] == "day1":
orderObj.set_brokers(DAY1_BROKERS)
elif args[1] == "most":
orderObj.set_brokers(list(filter(lambda x: x != 'vanguard', SUPPORTED_BROKERS)))
elif args[1] == "fast":
orderObj.set_brokers(DAY1_BROKERS + ["robinhood"])
else:
for broker in args[1].split(","):
orderObj.set_brokers(nicknames(broker))
Expand All @@ -197,6 +200,10 @@ def argParser(args: list) -> stockOrder:
orderObj.set_brokers(SUPPORTED_BROKERS)
elif args[3] == "day1":
orderObj.set_brokers(DAY1_BROKERS)
elif args[3] == "most":
orderObj.set_brokers(list(filter(lambda x: x != 'vanguard', SUPPORTED_BROKERS)))
elif args[3] == "fast":
orderObj.set_brokers(DAY1_BROKERS + ["robinhood"])
else:
for broker in args[3].split(","):
if nicknames(broker) in SUPPORTED_BROKERS:
Expand Down

0 comments on commit 1f7ba6a

Please sign in to comment.