bitmex-api 0.0.5__py3-none-any.whl → 0.0.7__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.
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitmex_api
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: bitmex exchange api client
|
5
5
|
Project-URL: Homepage, https://github.com/ccxt/ccxt
|
6
6
|
Project-URL: Issues, https://github.com/ccxt/ccxt
|
@@ -36,7 +36,7 @@ from bitmex_api import BitmexAsync
|
|
36
36
|
|
37
37
|
async def main():
|
38
38
|
instance = BitmexAsync({})
|
39
|
-
order = await instance.create_order(
|
39
|
+
order = await instance.create_order("BTC/USDC", "limit", "buy", 1, 100000)
|
40
40
|
```
|
41
41
|
|
42
42
|
### Sync
|
@@ -46,7 +46,7 @@ from bitmex_api import BitmexSync
|
|
46
46
|
|
47
47
|
def main():
|
48
48
|
instance = BitmexSync({})
|
49
|
-
order = instance.create_order(
|
49
|
+
order = instance.create_order("BTC/USDC", "limit", "buy", 1, 100000)
|
50
50
|
```
|
51
51
|
|
52
52
|
### Websockets
|
@@ -57,6 +57,6 @@ from bitmex_api import BitmexWs
|
|
57
57
|
async def main():
|
58
58
|
instance = BitmexWs({})
|
59
59
|
while True:
|
60
|
-
orders = await instance.watch_orders(
|
60
|
+
orders = await instance.watch_orders("BTC/USDC")
|
61
61
|
```
|
62
62
|
|
@@ -283,6 +283,6 @@ bitmex_api/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIay
|
|
283
283
|
bitmex_api/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
|
284
284
|
bitmex_api/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
285
285
|
bitmex_api/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
|
286
|
-
bitmex_api-0.0.
|
287
|
-
bitmex_api-0.0.
|
288
|
-
bitmex_api-0.0.
|
286
|
+
bitmex_api-0.0.7.dist-info/METADATA,sha256=L5iaycNC52-JGSVLeFqqxO4XOHr36LmqZxhdF90plfM,1407
|
287
|
+
bitmex_api-0.0.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
288
|
+
bitmex_api-0.0.7.dist-info/RECORD,,
|
File without changes
|