webull-openapi-python-sdk 2.0.9__py3-none-any.whl → 2.0.10__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.
- samples/__init__.py +1 -1
- webull/__init__.py +1 -1
- webull/core/__init__.py +1 -1
- webull/core/common/region.py +2 -0
- webull/core/data/endpoints.json +11 -1
- webull/data/__init__.py +1 -1
- webull/trade/__init__.py +1 -1
- webull/trade/trade/v2/account_info_v2.py +3 -3
- webull/trade/trade/v3/order_opration_v3.py +7 -7
- {webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/METADATA +1 -1
- {webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/RECORD +15 -15
- {webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/WHEEL +0 -0
- {webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/licenses/LICENSE +0 -0
- {webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/licenses/NOTICE +0 -0
- {webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/top_level.txt +0 -0
samples/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.0.
|
|
1
|
+
__version__ = '2.0.10'
|
webull/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.0.
|
|
1
|
+
__version__ = '2.0.10'
|
webull/core/__init__.py
CHANGED
webull/core/common/region.py
CHANGED
webull/core/data/endpoints.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"default_region": "us",
|
|
3
|
-
"regions": ["us", "hk", "jp", "sg", "th", "au", "my", "uk"],
|
|
3
|
+
"regions": ["us", "hk", "jp", "sg", "th", "au", "my", "uk", "br", "mx"],
|
|
4
4
|
"region_mapping": {
|
|
5
5
|
"us": {
|
|
6
6
|
"api": "api.webull.com",
|
|
@@ -41,6 +41,16 @@
|
|
|
41
41
|
"api": "api.webull-uk.com",
|
|
42
42
|
"quotes-api": "data-api.webull-uk.com",
|
|
43
43
|
"events-api": "events-api.webull-uk.com"
|
|
44
|
+
},
|
|
45
|
+
"br": {
|
|
46
|
+
"api": "api.webull.com",
|
|
47
|
+
"quotes-api": "data-api.webull.com",
|
|
48
|
+
"events-api": "events-api.webull.com"
|
|
49
|
+
},
|
|
50
|
+
"mx": {
|
|
51
|
+
"api": "api.webull.com",
|
|
52
|
+
"quotes-api": "data-api.webull.com",
|
|
53
|
+
"events-api": "events-api.webull.com"
|
|
44
54
|
}
|
|
45
55
|
}
|
|
46
56
|
}
|
webull/data/__init__.py
CHANGED
webull/trade/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.0.
|
|
1
|
+
__version__ = '2.0.10'
|
|
@@ -25,7 +25,7 @@ class AccountV2:
|
|
|
25
25
|
|
|
26
26
|
def get_account_list(self):
|
|
27
27
|
"""
|
|
28
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
28
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
29
29
|
Support for other regions will be available in future updates.
|
|
30
30
|
"""
|
|
31
31
|
account_list = GetAccountListRequest()
|
|
@@ -34,7 +34,7 @@ class AccountV2:
|
|
|
34
34
|
|
|
35
35
|
def get_account_balance(self, account_id):
|
|
36
36
|
"""
|
|
37
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
37
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
38
38
|
Support for other regions will be available in future updates.
|
|
39
39
|
"""
|
|
40
40
|
account_balance_request = AccountBalanceRequest()
|
|
@@ -44,7 +44,7 @@ class AccountV2:
|
|
|
44
44
|
|
|
45
45
|
def get_account_position(self, account_id):
|
|
46
46
|
"""
|
|
47
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
47
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
48
48
|
Support for other regions will be available in future updates.
|
|
49
49
|
"""
|
|
50
50
|
account_positions_request = AccountPositionsRequest()
|
|
@@ -28,7 +28,7 @@ class OrderOperationV3:
|
|
|
28
28
|
|
|
29
29
|
def preview_order(self, account_id, preview_orders, client_combo_order_id=None):
|
|
30
30
|
"""
|
|
31
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
31
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
32
32
|
Support for other regions will be available in future updates.
|
|
33
33
|
"""
|
|
34
34
|
preview_order_request = PreviewOrderRequest()
|
|
@@ -40,7 +40,7 @@ class OrderOperationV3:
|
|
|
40
40
|
|
|
41
41
|
def place_order(self, account_id, new_orders, client_combo_order_id=None):
|
|
42
42
|
"""
|
|
43
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
43
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
44
44
|
Support for other regions will be available in future updates.
|
|
45
45
|
"""
|
|
46
46
|
place_order_request = PlaceOrderRequest()
|
|
@@ -65,7 +65,7 @@ class OrderOperationV3:
|
|
|
65
65
|
|
|
66
66
|
def replace_order(self, account_id, modify_orders, client_combo_order_id=None):
|
|
67
67
|
"""
|
|
68
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
68
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
69
69
|
Support for other regions will be available in future updates.
|
|
70
70
|
"""
|
|
71
71
|
replace_order_request = ReplaceOrderRequest()
|
|
@@ -77,7 +77,7 @@ class OrderOperationV3:
|
|
|
77
77
|
|
|
78
78
|
def cancel_order(self, account_id, client_order_id):
|
|
79
79
|
"""
|
|
80
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
80
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
81
81
|
Support for other regions will be available in future updates.
|
|
82
82
|
"""
|
|
83
83
|
cancel_order_request = CancelOrderRequest()
|
|
@@ -88,7 +88,7 @@ class OrderOperationV3:
|
|
|
88
88
|
|
|
89
89
|
def get_order_detail(self, account_id, client_order_id):
|
|
90
90
|
"""
|
|
91
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
91
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
92
92
|
Support for other regions will be available in future updates.
|
|
93
93
|
"""
|
|
94
94
|
order_detail_request = OrderDetailRequest()
|
|
@@ -99,7 +99,7 @@ class OrderOperationV3:
|
|
|
99
99
|
|
|
100
100
|
def get_order_history(self, account_id, page_size=None, start_date=None, end_date=None, last_client_order_id=None):
|
|
101
101
|
"""
|
|
102
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
102
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
103
103
|
Support for other regions will be available in future updates.
|
|
104
104
|
|
|
105
105
|
Historical orders. If they are group orders, will be returned together,
|
|
@@ -127,7 +127,7 @@ class OrderOperationV3:
|
|
|
127
127
|
|
|
128
128
|
def get_order_open(self, account_id, page_size=None, last_client_order_id=None):
|
|
129
129
|
"""
|
|
130
|
-
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK.
|
|
130
|
+
This interface is currently supported only for Webull HK, Webull US, Webull JP, Webull SG, Webull TH, Webull AU, Webull MY, Webull UK, Webull BR, Webull MX.
|
|
131
131
|
Support for other regions will be available in future updates.
|
|
132
132
|
|
|
133
133
|
Paging query pending orders.
|
{webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
samples/__init__.py,sha256=
|
|
1
|
+
samples/__init__.py,sha256=8vPINFBwcz1FvppucKUnvUJwZnk6SYLksadCKqRZIuk,23
|
|
2
2
|
samples/account/__init__.py,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
3
3
|
samples/account/account_client.py,sha256=vwh-nI_JnjwcIeOr1sQPMzG8pAqZwliUusE49ZmYE3s,1796
|
|
4
4
|
samples/assets/__init__.py,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
@@ -22,8 +22,8 @@ samples/trade/trade_client_v3_event.py,sha256=91HlT04KlK8Q5gUnsB8F5ErCFdJRnpDABK
|
|
|
22
22
|
samples/trade/trade_event_client.py,sha256=BWdD1L41LXmDlaig6ku9T3t3fSCCZEdj5nxH1xI1AZA,2653
|
|
23
23
|
samples/watchlist/__init__.py,sha256=rtV5s4_CJgDAT4DGEJa_pNLJU71Wdr5OLz_IQ1EajFQ,567
|
|
24
24
|
samples/watchlist/watchlist_client.py,sha256=lpzJs7SXuSka2KKkJ0u9s83A9iHta5qrjvIdkbfNcwg,3246
|
|
25
|
-
webull/__init__.py,sha256=
|
|
26
|
-
webull/core/__init__.py,sha256=
|
|
25
|
+
webull/__init__.py,sha256=8vPINFBwcz1FvppucKUnvUJwZnk6SYLksadCKqRZIuk,23
|
|
26
|
+
webull/core/__init__.py,sha256=E25J-hD2EZlJQQ_-uM2mf7KZ9UG3nkwmzndxcnEirgQ,226
|
|
27
27
|
webull/core/client.py,sha256=zxSBiII9KDxc5tHpTerJfV_PKPt8E9e3oTOpiakAtJw,16758
|
|
28
28
|
webull/core/compat.py,sha256=_r6Y_f3vTo_DoxOaCvLjnvOo1KRkD2Z9kXSh8OijEIA,3088
|
|
29
29
|
webull/core/headers.py,sha256=Wj2zev1XYyYsy2b9YKnoK3GqjVsXZO_o2WziMmuVBTw,2061
|
|
@@ -44,10 +44,10 @@ webull/core/cache/__init__.py,sha256=_dME59dRIinH4PXhB3ZOtlN-3J57mFfhegzuFKVedWs
|
|
|
44
44
|
webull/core/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
webull/core/common/api_type.py,sha256=rXYvwiJs71AX7exvD_szbXcv3UW50V7_ve8ModpkAiM,643
|
|
46
46
|
webull/core/common/easy_enum.py,sha256=3PorEZPQgBT7uFwtNplpwZ9oi76CCwgKIZ0jRiybZYw,1047
|
|
47
|
-
webull/core/common/region.py,sha256=
|
|
47
|
+
webull/core/common/region.py,sha256=s5c53F30DMU5o9WLQCXK7q4zqDhnVn-l0pXlbnnzphQ,184
|
|
48
48
|
webull/core/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
webull/core/context/request_context_holder.py,sha256=41aSKMtOkS0yHVvMMmP2vjsMg3WHvDPe3_njT0hwi_4,1148
|
|
50
|
-
webull/core/data/endpoints.json,sha256=
|
|
50
|
+
webull/core/data/endpoints.json,sha256=WlWMLVSXGhOXW4X0B-R8JuLdBnFU07cc6SwNvznG7r4,1813
|
|
51
51
|
webull/core/data/retry_config.json,sha256=aRKrBfZyLrXt_58LCt7VvunQoxXS_qGon4JGGZnB644,304
|
|
52
52
|
webull/core/endpoint/__init__.py,sha256=hC_6UsVc7NGxD21gMT4i42Crm2zN4K-IAU4zxkLysVo,153
|
|
53
53
|
webull/core/endpoint/chained_endpoint_resolver.py,sha256=YQ-K7w9P3UolgiH0UdXiKsG4ALSManebWlZHeZjxSjY,2256
|
|
@@ -89,7 +89,7 @@ webull/core/utils/common.py,sha256=T5VVcYQVhA9fhiUHZN9gBuoh0uzVgbCM01o1qK08NAE,2
|
|
|
89
89
|
webull/core/utils/data.py,sha256=YUyoWY68_2RkKanh3jsDscgGx__FIPh5VNEGXr1Qotc,852
|
|
90
90
|
webull/core/utils/desensitize.py,sha256=f8_ps9BrG3WfXD8ZAw873-_YoGeke1Q55CeDwRmYkqA,1104
|
|
91
91
|
webull/core/utils/validation.py,sha256=gJcIrHYtgo48yVJ0q6O-f5buTYWOcr6ShhDIBhTp-Yg,1957
|
|
92
|
-
webull/data/__init__.py,sha256=
|
|
92
|
+
webull/data/__init__.py,sha256=y7tYKSuaW6Xrf75fFuqGR0uK1VWsZEmOUAB7tELNFLg,39
|
|
93
93
|
webull/data/data_client.py,sha256=tH0HrjRkP1sKEZ5Q8w1wCE2XaEqdy0_4EEvm60h4r28,2319
|
|
94
94
|
webull/data/data_streaming_client.py,sha256=TQBAilvOLCbcMqacByrniXGr9VjSwjym-4-LUOiqKx8,4456
|
|
95
95
|
webull/data/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -192,7 +192,7 @@ webull/data/request/watchlist/get_watchlist_request.py,sha256=XxzS4gxFbdQSajpFSm
|
|
|
192
192
|
webull/data/request/watchlist/remove_watchlist_instruments_request.py,sha256=qOtQYDBp-PSawAgljnLmtfUce8dAblWI_zB0nnIv3G0,1451
|
|
193
193
|
webull/data/request/watchlist/update_watchlist_instruments_request.py,sha256=KoihfB8MszsAooQGUUMjFmnid_a7xk4YSdEMDO1gh-k,1493
|
|
194
194
|
webull/data/request/watchlist/update_watchlist_request.py,sha256=0s3ftkxiz9hjtXhLORrIUphyDIldRA8pJ4mP5zfbsyU,1466
|
|
195
|
-
webull/trade/__init__.py,sha256=
|
|
195
|
+
webull/trade/__init__.py,sha256=bbeigcc8xZaAUtLvr1mFon3ZExP1EAiyTgCgD8FVyhg,22
|
|
196
196
|
webull/trade/trade_client.py,sha256=_6lH4KO-jKgKWU28fWNsc9-KEHto-WvaP0gT96BJ_dw,2184
|
|
197
197
|
webull/trade/trade_events_client.py,sha256=G9ovuxrnQh8iA1so2Ar-41jWRzDCYQYSHTkQLGlwhhA,9983
|
|
198
198
|
webull/trade/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -270,13 +270,13 @@ webull/trade/trade/order_operation.py,sha256=QrL4Da87RTOSupiAbuXtZigo9602Byp14DQ
|
|
|
270
270
|
webull/trade/trade/trade_calendar.py,sha256=rGSiR5GZggQnZOmmpbC-06trgPQgFTvdpUzGMpw2ycw,1415
|
|
271
271
|
webull/trade/trade/trade_instrument.py,sha256=293IaiLnhw0mAc1IuF3LSgwgve_XZ1Dyf1VeFtmClc8,3474
|
|
272
272
|
webull/trade/trade/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
273
|
-
webull/trade/trade/v2/account_info_v2.py,sha256=
|
|
273
|
+
webull/trade/trade/v2/account_info_v2.py,sha256=jROciHr5llfGME_FpHc49UFK4kLjcxsHQuks6xtH6IM,3210
|
|
274
274
|
webull/trade/trade/v2/order_operation_v2.py,sha256=m54RH2j45CBBWEnqe4KxrsltAF44XKtPMT4kv8t7djQ,12745
|
|
275
275
|
webull/trade/trade/v3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
276
|
-
webull/trade/trade/v3/order_opration_v3.py,sha256=
|
|
277
|
-
webull_openapi_python_sdk-2.0.
|
|
278
|
-
webull_openapi_python_sdk-2.0.
|
|
279
|
-
webull_openapi_python_sdk-2.0.
|
|
280
|
-
webull_openapi_python_sdk-2.0.
|
|
281
|
-
webull_openapi_python_sdk-2.0.
|
|
282
|
-
webull_openapi_python_sdk-2.0.
|
|
276
|
+
webull/trade/trade/v3/order_opration_v3.py,sha256=Lyg-v4a_zJNYvLDiwnn1JPzzohnrRmETzX9eesQ9gW8,8121
|
|
277
|
+
webull_openapi_python_sdk-2.0.10.dist-info/licenses/LICENSE,sha256=ALOnsLtb1aHxmDJg3-oMi0BO-i-cjfyZaOBfnnavKMc,11359
|
|
278
|
+
webull_openapi_python_sdk-2.0.10.dist-info/licenses/NOTICE,sha256=X5TApte6CPV10b96Cb70IRLusXmiRmK_R-dB-1tQM_I,2018
|
|
279
|
+
webull_openapi_python_sdk-2.0.10.dist-info/METADATA,sha256=4T9AZzEZ6dBTwNlIetVpT9ND-fbJ7C6_QX2YaIvaG2c,1033
|
|
280
|
+
webull_openapi_python_sdk-2.0.10.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
281
|
+
webull_openapi_python_sdk-2.0.10.dist-info/top_level.txt,sha256=h8pEjNDGWS2ZUZ2vYFpUShoMQT0ZRIQaD57QJWD8_aI,15
|
|
282
|
+
webull_openapi_python_sdk-2.0.10.dist-info/RECORD,,
|
{webull_openapi_python_sdk-2.0.9.dist-info → webull_openapi_python_sdk-2.0.10.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|