emtl 0.2.2__tar.gz → 0.2.4__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.
- {emtl-0.2.2 → emtl-0.2.4}/.bumpversion.cfg +1 -1
- {emtl-0.2.2 → emtl-0.2.4}/.cookiecutterrc +1 -1
- {emtl-0.2.2/src/emtl.egg-info → emtl-0.2.4}/PKG-INFO +4 -1
- {emtl-0.2.2 → emtl-0.2.4}/README.rst +5 -2
- {emtl-0.2.2 → emtl-0.2.4}/docs/conf.py +1 -1
- emtl-0.2.4/docs/usage.rst +15 -0
- {emtl-0.2.2 → emtl-0.2.4}/pyproject.toml +1 -1
- {emtl-0.2.2 → emtl-0.2.4}/setup.py +1 -1
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/__init__.py +1 -1
- {emtl-0.2.2 → emtl-0.2.4/src/emtl.egg-info}/PKG-INFO +4 -1
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl.egg-info/SOURCES.txt +0 -1
- emtl-0.2.2/docs/usage.rst +0 -12
- emtl-0.2.2/src/emtl/_version.py +0 -16
- {emtl-0.2.2 → emtl-0.2.4}/.coveragerc +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.editorconfig +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.github/workflows/document.yml +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.github/workflows/github-actions.yml +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.github/workflows/release.yml +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.gitignore +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.pre-commit-config.yaml +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/.readthedocs.yml +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/AUTHORS.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/CHANGELOG.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/CONTRIBUTING.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/LICENSE +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/ci/bootstrap.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/ci/requirements.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/ci/templates/.github/workflows/github-actions.yml +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/authors.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/changelog.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/contributing.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/index.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/installation.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/readme.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/reference/emtl.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/reference/index.rst +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/requirements.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/docs/spelling_wordlist.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/pytest.ini +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/setup.cfg +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/__main__.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/cli.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/const.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/core.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/tests/__init__.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/tests/test_cli.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/tests/test_core.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl/utils.py +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl.egg-info/dependency_links.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl.egg-info/entry_points.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl.egg-info/not-zip-safe +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl.egg-info/requires.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/src/emtl.egg-info/top_level.txt +0 -0
- {emtl-0.2.2 → emtl-0.2.4}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: emtl
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: 东方财富自动交易接口
|
|
5
5
|
Home-page: https://github.com/riiy/emtl
|
|
6
6
|
Author: Riiy
|
|
@@ -58,8 +58,11 @@ https://emtl.readthedocs.io/
|
|
|
58
58
|
Development
|
|
59
59
|
===========
|
|
60
60
|
|
|
61
|
+
建议使用python3.11
|
|
62
|
+
|
|
61
63
|
To run all the tests run::
|
|
62
64
|
|
|
65
|
+
pip install -r ci/requirements.txt
|
|
63
66
|
tox
|
|
64
67
|
|
|
65
68
|
Note, to combine the coverage data from all the tox environments run:
|
|
@@ -41,9 +41,9 @@ Overview
|
|
|
41
41
|
:alt: Supported implementations
|
|
42
42
|
:target: https://pypi.org/project/emtl
|
|
43
43
|
|
|
44
|
-
.. |commits-since| image:: https://img.shields.io/github/commits-since/riiy/emtl/v0.2.
|
|
44
|
+
.. |commits-since| image:: https://img.shields.io/github/commits-since/riiy/emtl/v0.2.4.svg
|
|
45
45
|
:alt: Commits since latest release
|
|
46
|
-
:target: https://github.com/riiy/emtl/compare/v0.2.
|
|
46
|
+
:target: https://github.com/riiy/emtl/compare/v0.2.4...master
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
@@ -75,8 +75,11 @@ https://emtl.readthedocs.io/
|
|
|
75
75
|
Development
|
|
76
76
|
===========
|
|
77
77
|
|
|
78
|
+
建议使用python3.11
|
|
79
|
+
|
|
78
80
|
To run all the tests run::
|
|
79
81
|
|
|
82
|
+
pip install -r ci/requirements.txt
|
|
80
83
|
tox
|
|
81
84
|
|
|
82
85
|
Note, to combine the coverage data from all the tox environments run:
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
=====
|
|
2
|
+
Usage
|
|
3
|
+
=====
|
|
4
|
+
|
|
5
|
+
To use the project:
|
|
6
|
+
下面是登录、查询资产、下单、撤单的使用方法,具体使用请查看Reference
|
|
7
|
+
|
|
8
|
+
.. code-block:: python
|
|
9
|
+
|
|
10
|
+
import emtl
|
|
11
|
+
emtl.login("2020123456789", "123456")
|
|
12
|
+
asset = emtl.query_asset_and_position()
|
|
13
|
+
print(asset)
|
|
14
|
+
resp = create_order("000002", "B", "SA", 5.01, 100)
|
|
15
|
+
resp = cancel_order("20240520_130662")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: emtl
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: 东方财富自动交易接口
|
|
5
5
|
Home-page: https://github.com/riiy/emtl
|
|
6
6
|
Author: Riiy
|
|
@@ -58,8 +58,11 @@ https://emtl.readthedocs.io/
|
|
|
58
58
|
Development
|
|
59
59
|
===========
|
|
60
60
|
|
|
61
|
+
建议使用python3.11
|
|
62
|
+
|
|
61
63
|
To run all the tests run::
|
|
62
64
|
|
|
65
|
+
pip install -r ci/requirements.txt
|
|
63
66
|
tox
|
|
64
67
|
|
|
65
68
|
Note, to combine the coverage data from all the tox environments run:
|
emtl-0.2.2/docs/usage.rst
DELETED
emtl-0.2.2/src/emtl/_version.py
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# file generated by setuptools_scm
|
|
2
|
-
# don't change, don't track in version control
|
|
3
|
-
TYPE_CHECKING = False
|
|
4
|
-
if TYPE_CHECKING:
|
|
5
|
-
from typing import Tuple, Union
|
|
6
|
-
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
|
-
else:
|
|
8
|
-
VERSION_TUPLE = object
|
|
9
|
-
|
|
10
|
-
version: str
|
|
11
|
-
__version__: str
|
|
12
|
-
__version_tuple__: VERSION_TUPLE
|
|
13
|
-
version_tuple: VERSION_TUPLE
|
|
14
|
-
|
|
15
|
-
__version__ = version = '0.2.2'
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 2, 2)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|