fidelity-api 0.0.6__tar.gz → 0.0.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fidelity-api-0.0.6/fidelity_api.egg-info → fidelity_api-0.0.8}/PKG-INFO +4 -1
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/fidelity/fidelity.py +8 -3
- {fidelity-api-0.0.6 → fidelity_api-0.0.8/fidelity_api.egg-info}/PKG-INFO +4 -1
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/setup.py +1 -1
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/LICENSE +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/README.md +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/fidelity/__init__.py +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/fidelity_api.egg-info/SOURCES.txt +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/fidelity_api.egg-info/dependency_links.txt +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/fidelity_api.egg-info/requires.txt +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/fidelity_api.egg-info/top_level.txt +0 -0
- {fidelity-api-0.0.6 → fidelity_api-0.0.8}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fidelity-api
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: An unofficial API for Fidelity
|
|
5
5
|
Home-page: https://github.com/kennyboy106/fidelity-api
|
|
6
6
|
Author: Kenneth Tang
|
|
@@ -8,6 +8,9 @@ License: GPL
|
|
|
8
8
|
Keywords: FIDELITY,API
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE
|
|
11
|
+
Requires-Dist: playwright
|
|
12
|
+
Requires-Dist: playwright-stealth
|
|
13
|
+
Requires-Dist: pyotp
|
|
11
14
|
|
|
12
15
|
<a id="readme-top"></a>
|
|
13
16
|
# fidelity-api
|
|
@@ -277,7 +277,8 @@ class FidelityAutomation:
|
|
|
277
277
|
# This double wait is necessary. If you remove it, I'll kill you
|
|
278
278
|
self.wait_for_loading_sign()
|
|
279
279
|
self.page.wait_for_timeout(1000)
|
|
280
|
-
|
|
280
|
+
# Sometimes this can take a while to load. Set to 2.5 minutes
|
|
281
|
+
self.wait_for_loading_sign(timeout=2.5*60*1000)
|
|
281
282
|
|
|
282
283
|
# Download the positions as a csv #
|
|
283
284
|
# See if new UI is present
|
|
@@ -998,8 +999,12 @@ class FidelityAutomation:
|
|
|
998
999
|
self.wait_for_loading_sign()
|
|
999
1000
|
|
|
1000
1001
|
# If application is already started, then there will only be 1 "Next" button
|
|
1001
|
-
|
|
1002
|
-
|
|
1002
|
+
# Rarely there will be no "Next" button
|
|
1003
|
+
try:
|
|
1004
|
+
self.page.get_by_role("button", name="Next").click(timeout=15000)
|
|
1005
|
+
self.wait_for_loading_sign()
|
|
1006
|
+
except:
|
|
1007
|
+
pass
|
|
1003
1008
|
|
|
1004
1009
|
# Open account
|
|
1005
1010
|
self.page.get_by_role("button", name="Open account").click()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fidelity-api
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: An unofficial API for Fidelity
|
|
5
5
|
Home-page: https://github.com/kennyboy106/fidelity-api
|
|
6
6
|
Author: Kenneth Tang
|
|
@@ -8,6 +8,9 @@ License: GPL
|
|
|
8
8
|
Keywords: FIDELITY,API
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE
|
|
11
|
+
Requires-Dist: playwright
|
|
12
|
+
Requires-Dist: playwright-stealth
|
|
13
|
+
Requires-Dist: pyotp
|
|
11
14
|
|
|
12
15
|
<a id="readme-top"></a>
|
|
13
16
|
# fidelity-api
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|