Skip to content

Commit 013c840

Browse files
committed
Merge branch 'setup'
2 parents b882fec + 8a83f88 commit 013c840

17 files changed

+26
-9
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
__pycache__/
33
.env
44
token_data.json
5-
custom/*
5+
custom/
66
tmp/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This Python client simplifies interactions with the Schwab API by providing a us
4040
- **`terminal.py`**: Enhances terminal output with color-coded messages and supports additional terminal operations.
4141

4242
## Special Thanks
43-
Credit to [Tyler Bowers](https://github.com/tylerebowers) for inspiring this work. This is a blatant rip-off of [his work](https://github.com/tylerebowers/Schwab-API-Python) formatted in a more pythonic way. We started as a fork but felt this would likely end up going in a whole different direction as far as our intended purpose and scope. Thank you, Tyler, for your work. We will continue to steal his work and publish it as our own and hope he does the same if it is ever advantageous for him to return the favor.
43+
Credit to [Tyler Bowers](https://github.com/tylerebowers) for inspiring this work. This started as a blatant rip-off of [his work](https://github.com/tylerebowers/Schwab-API-Python) formatted in a more pythonic way. We started as a fork but felt this would likely end up going in a whole different direction as far as our intended purpose and scope. Thank you, Tyler, for your work. We will continue to steal his work and publish it as our own and hope he does the same if it is ever advantageous for him to return the favor.
4444

4545
## License (MIT)
4646
Pythonic-Schwab-API is an unofficial API wrapper. It is in no way endorsed by or affiliated with Charles Schwab or any associated organization. Make sure to read and understand the terms of service of the underlying API before using this package. This software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be responsible for any claim, damages, or other liabilities, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

pythonic_schwab_api/__init__.py

Whitespace-only changes.

algo_example_script.py renamed to pythonic_schwab_api/algo_example_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ def main():
153153
find_trades_from_quotes(orders_api, quotes, account_hash)
154154

155155
# Sell trades
156-
sell_the_algo_buys(orders_api, account_hash, quotes_api)
156+
sell_the_algo_buys(orders_api, account_hash, quotes_api)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ def get_user_preferences(self):
208208
return self.make_request(f'{self.config.TRADER_BASE_URL}/userPreference')
209209
except Exception as e:
210210
self.logger.error(f"Failed to get user preferences: {e}")
211-
return None
211+
return None
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ def by_symbol(self, symbol, projection):
7575
return self.client.make_request(self.base_url, params=params)
7676

7777
def by_cusip(self, cusip_id):
78-
return self.client.make_request(f"{self.base_url}/{cusip_id}")
78+
return self.client.make_request(f"{self.base_url}/{cusip_id}")

0 commit comments

Comments
 (0)