firstrade 0.0.18__py3-none-any.whl → 0.0.19__py3-none-any.whl
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.
- firstrade/symbols.py +6 -3
- {firstrade-0.0.18.dist-info → firstrade-0.0.19.dist-info}/METADATA +2 -2
- firstrade-0.0.19.dist-info/RECORD +10 -0
- {firstrade-0.0.18.dist-info → firstrade-0.0.19.dist-info}/WHEEL +1 -1
- firstrade-0.0.18.dist-info/RECORD +0 -10
- {firstrade-0.0.18.dist-info → firstrade-0.0.19.dist-info}/LICENSE +0 -0
- {firstrade-0.0.18.dist-info → firstrade-0.0.19.dist-info}/top_level.txt +0 -0
firstrade/symbols.py
CHANGED
|
@@ -48,9 +48,12 @@ class SymbolQuote:
|
|
|
48
48
|
self.bid = float(quote.find("bid").text.replace(",", ""))
|
|
49
49
|
self.ask = float(quote.find("ask").text.replace(",", ""))
|
|
50
50
|
self.last = float(quote.find("last").text.replace(",", ""))
|
|
51
|
-
|
|
52
|
-
self.
|
|
53
|
-
|
|
51
|
+
temp_store = quote.find("bidsize").text.replace(",", "")
|
|
52
|
+
self.bid_size = int(temp_store) if temp_store.isdigit() else 0
|
|
53
|
+
temp_store = quote.find("asksize").text.replace(",", "")
|
|
54
|
+
self.ask_size = int(temp_store) if temp_store.isdigit() else 0
|
|
55
|
+
temp_store = quote.find("lastsize").text.replace(",", "")
|
|
56
|
+
self.last_size = int(temp_store) if temp_store.isdigit() else 0
|
|
54
57
|
self.bid_mmid = quote.find("bidmmid").text
|
|
55
58
|
self.ask_mmid = quote.find("askmmid").text
|
|
56
59
|
self.last_mmid = quote.find("lastmmid").text
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: firstrade
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.19
|
|
4
4
|
Summary: An unofficial API for Firstrade
|
|
5
5
|
Home-page: https://github.com/MaxxRK/firstrade-api
|
|
6
|
-
Download-URL: https://github.com/MaxxRK/firstrade-api/archive/refs/tags/
|
|
6
|
+
Download-URL: https://github.com/MaxxRK/firstrade-api/archive/refs/tags/0019.tar.gz
|
|
7
7
|
Author: MaxxRK
|
|
8
8
|
Author-email: maxxrk@pm.me
|
|
9
9
|
License: MIT
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
firstrade/__init__.py,sha256=fNiWYgSTjElY1MNv0Ug-sVLMTR2z_Ngri_FY7Pekdrw,95
|
|
2
|
+
firstrade/account.py,sha256=xDgTMXDy2UWUNi4kboXAKKBrbmZGpXLJ11MCHlMvzB0,9218
|
|
3
|
+
firstrade/order.py,sha256=BK2OmIOr_LO4SrNRVWjkydaoc_4fLkl6Rr7_LCRTyLE,7635
|
|
4
|
+
firstrade/symbols.py,sha256=tZD7jexvyvh1rTaOdAKv_vyZWzpjffvl_nPwBe1QaiA,3633
|
|
5
|
+
firstrade/urls.py,sha256=OrfXGDsNpA2rTm4o55KAQzpeigG_pxufWyTDBlbhJYQ,1248
|
|
6
|
+
firstrade-0.0.19.dist-info/LICENSE,sha256=wPEQjDqm5zMBmEcZp219Labmq_YIjhudpZiUzyVKaFA,1057
|
|
7
|
+
firstrade-0.0.19.dist-info/METADATA,sha256=apZ7RN0uTgzdVp90m3LeQyZcs34zBtWtUTFmxK7akFA,2399
|
|
8
|
+
firstrade-0.0.19.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
|
9
|
+
firstrade-0.0.19.dist-info/top_level.txt,sha256=tdA8v-KDxU1u4VV6soiNWGBlni4ojv_t_j2wFn5nZcs,10
|
|
10
|
+
firstrade-0.0.19.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
firstrade/__init__.py,sha256=fNiWYgSTjElY1MNv0Ug-sVLMTR2z_Ngri_FY7Pekdrw,95
|
|
2
|
-
firstrade/account.py,sha256=xDgTMXDy2UWUNi4kboXAKKBrbmZGpXLJ11MCHlMvzB0,9218
|
|
3
|
-
firstrade/order.py,sha256=BK2OmIOr_LO4SrNRVWjkydaoc_4fLkl6Rr7_LCRTyLE,7635
|
|
4
|
-
firstrade/symbols.py,sha256=efVqOycVDuXUO_YJsmu2PZt7AkYk_8UdcNC4yKJD24g,3444
|
|
5
|
-
firstrade/urls.py,sha256=OrfXGDsNpA2rTm4o55KAQzpeigG_pxufWyTDBlbhJYQ,1248
|
|
6
|
-
firstrade-0.0.18.dist-info/LICENSE,sha256=wPEQjDqm5zMBmEcZp219Labmq_YIjhudpZiUzyVKaFA,1057
|
|
7
|
-
firstrade-0.0.18.dist-info/METADATA,sha256=Aav8pBRUxVQPuP1jRZGYCZUejQKfN4f1pYaJQsEHeUM,2399
|
|
8
|
-
firstrade-0.0.18.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
9
|
-
firstrade-0.0.18.dist-info/top_level.txt,sha256=tdA8v-KDxU1u4VV6soiNWGBlni4ojv_t_j2wFn5nZcs,10
|
|
10
|
-
firstrade-0.0.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|