openctp-ctp


Nameopenctp-ctp JSON
Version 6.7.2.5 PyPI version JSON
download
home_pagehttps://github.com/openctp/openctp-ctp-python
SummaryA package for CTPAPI
upload_time2024-05-06 22:51:15
maintainerNone
docs_urlNone
authorJedore
requires_pythonNone
licenseBSD-3-Clause
keywords openctp ctp ctpapi trading investment
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # openctp-ctp

[![PyPI - Python Version](https://badgen.net/badge/python/3.7|3.8|3.9|3.10|3.11|3.12/blue)](https://pypi.org/project/openctp-ctp)

-----

## Example

[Demo](https://github.com/openctp/openctp-ctp-python/tree/main/demo)

```python
from openctp_ctp import mdapi, tdapi

md_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi("market")
td_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')
```

## License

`openctp-ctp` is distributed under the terms of
the [BSD-3-Clause](https://github.com/openctp/openctp-ctp-python/blob/main/LICENSE) license.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/openctp/openctp-ctp-python",
    "name": "openctp-ctp",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "openctp, ctp, ctpapi, trading, investment",
    "author": "Jedore",
    "author_email": "jedorefight@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "# openctp-ctp\n\n[![PyPI - Python Version](https://badgen.net/badge/python/3.7|3.8|3.9|3.10|3.11|3.12/blue)](https://pypi.org/project/openctp-ctp)\n\n-----\n\n## Example\n\n[Demo](https://github.com/openctp/openctp-ctp-python/tree/main/demo)\n\n```python\nfrom openctp_ctp import mdapi, tdapi\n\nmd_api = mdapi.CThostFtdcMdApi.CreateFtdcMdApi(\"market\")\ntd_api = tdapi.CThostFtdcTraderApi.CreateFtdcTraderApi('user_id')\n```\n\n## License\n\n`openctp-ctp` is distributed under the terms of\nthe [BSD-3-Clause](https://github.com/openctp/openctp-ctp-python/blob/main/LICENSE) license.\n\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "A package for CTPAPI",
    "version": "6.7.2.5",
    "project_urls": {
        "Homepage": "https://github.com/openctp/openctp-ctp-python"
    },
    "split_keywords": [
        "openctp",
        " ctp",
        " ctpapi",
        " trading",
        " investment"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c86ad498c685f057c63cba044a60b8ee536a595114a81db97cb94fbde353aa7c",
                "md5": "e1713f63bc8be046f085cf26fa79d535",
                "sha256": "799421ffd3aaa85f67221083748d222cd8aec4f32c7a404ed4aefd1e2a7bc4a8"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e1713f63bc8be046f085cf26fa79d535",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 9006821,
            "upload_time": "2024-05-06T22:51:15",
            "upload_time_iso_8601": "2024-05-06T22:51:15.723807Z",
            "url": "https://files.pythonhosted.org/packages/c8/6a/d498c685f057c63cba044a60b8ee536a595114a81db97cb94fbde353aa7c/openctp_ctp-6.7.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30c7ea168576f0c4b85cba8a7a3420aa7a1e8222c692539cc37c2397f9aed846",
                "md5": "78e932d2dc015c6c11d8161568e5e408",
                "sha256": "29dfd9db31edd4e8f53cf17a445cf94a6c20dc2752f65aa2b5ef83b1bab02961"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp310-cp310-win32.whl",
            "has_sig": false,
            "md5_digest": "78e932d2dc015c6c11d8161568e5e408",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 5138920,
            "upload_time": "2024-05-06T23:14:33",
            "upload_time_iso_8601": "2024-05-06T23:14:33.217923Z",
            "url": "https://files.pythonhosted.org/packages/30/c7/ea168576f0c4b85cba8a7a3420aa7a1e8222c692539cc37c2397f9aed846/openctp_ctp-6.7.2.5-cp310-cp310-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f02e17737e97226c83e39a9d869fc2757d73cbf3402a880895d4c33d36e4e264",
                "md5": "777fb129e1edfd77cc21c872deb7cdc9",
                "sha256": "c10eb13fdaae2a2ffa3a1fba9adb9c96a1f3d73a2a801c331be28f9d1ed83290"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "777fb129e1edfd77cc21c872deb7cdc9",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": null,
            "size": 7526996,
            "upload_time": "2024-05-06T23:15:46",
            "upload_time_iso_8601": "2024-05-06T23:15:46.607300Z",
            "url": "https://files.pythonhosted.org/packages/f0/2e/17737e97226c83e39a9d869fc2757d73cbf3402a880895d4c33d36e4e264/openctp_ctp-6.7.2.5-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c07bf1b29453010cf0f15a3f4e93347f3b184c98913752dc1f19b67d35c574e",
                "md5": "d4665b9808779af7e28d20614e005607",
                "sha256": "02c3e23c1b328aae5758b2c6e63cd34dff78da3fbe340af748abcf26e8414c09"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "d4665b9808779af7e28d20614e005607",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 9007340,
            "upload_time": "2024-05-06T22:57:20",
            "upload_time_iso_8601": "2024-05-06T22:57:20.097949Z",
            "url": "https://files.pythonhosted.org/packages/0c/07/bf1b29453010cf0f15a3f4e93347f3b184c98913752dc1f19b67d35c574e/openctp_ctp-6.7.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7072a556f92be1aa78717bc7f816dc852edf2a7f7c217c08b449182db96b0ba9",
                "md5": "ecff11cb828ae8485ef6b656211e35dc",
                "sha256": "cb0357c5aa0c9aece6a3c7752118ead84b4f775a42dd51f989990ae79f402e87"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp311-cp311-win32.whl",
            "has_sig": false,
            "md5_digest": "ecff11cb828ae8485ef6b656211e35dc",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 5138944,
            "upload_time": "2024-05-06T23:16:32",
            "upload_time_iso_8601": "2024-05-06T23:16:32.007081Z",
            "url": "https://files.pythonhosted.org/packages/70/72/a556f92be1aa78717bc7f816dc852edf2a7f7c217c08b449182db96b0ba9/openctp_ctp-6.7.2.5-cp311-cp311-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "632c3216f1feb638353087182be2b03e621e6a7796a4ccaf8b60cf593ba0b3df",
                "md5": "aece92fe3c41d5fd50449c3dc07dc8cc",
                "sha256": "6e1b41751c4da1ee09a06a306e22c2268839e4ca22b94f959e8c6545e3a102b5"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "aece92fe3c41d5fd50449c3dc07dc8cc",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": null,
            "size": 7527018,
            "upload_time": "2024-05-06T23:16:37",
            "upload_time_iso_8601": "2024-05-06T23:16:37.834912Z",
            "url": "https://files.pythonhosted.org/packages/63/2c/3216f1feb638353087182be2b03e621e6a7796a4ccaf8b60cf593ba0b3df/openctp_ctp-6.7.2.5-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3119a09402d41fe6a7f7e9441a2c8a1f7c00a5e0876031852e9f5c175fb250d",
                "md5": "ad5422cd64e10d0708bcd4c15c880727",
                "sha256": "8d96e0a978ecb7259373b6a71eaad9641266b0077d03f2b5aebca26685e2ba0e"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "ad5422cd64e10d0708bcd4c15c880727",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 9008902,
            "upload_time": "2024-05-06T22:48:56",
            "upload_time_iso_8601": "2024-05-06T22:48:56.301194Z",
            "url": "https://files.pythonhosted.org/packages/d3/11/9a09402d41fe6a7f7e9441a2c8a1f7c00a5e0876031852e9f5c175fb250d/openctp_ctp-6.7.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12aea6ab99327aa23ce166ac70e5654b5bb4469801b65bc15f1aaa5f6f9210a4",
                "md5": "24d21c9fb8134cdabecd27e565bcf3ec",
                "sha256": "ce8af4c485a444c80ea85467cf3e1d3a7d00010d33b544f6959391506905bafb"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp312-cp312-win32.whl",
            "has_sig": false,
            "md5_digest": "24d21c9fb8134cdabecd27e565bcf3ec",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 5146317,
            "upload_time": "2024-05-06T23:17:15",
            "upload_time_iso_8601": "2024-05-06T23:17:15.037178Z",
            "url": "https://files.pythonhosted.org/packages/12/ae/a6ab99327aa23ce166ac70e5654b5bb4469801b65bc15f1aaa5f6f9210a4/openctp_ctp-6.7.2.5-cp312-cp312-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4e6889c2a21392081d3cf7351a43cbbda6e3a1c555ecefe7ced5d5a93645c4c",
                "md5": "2216067c975c47a79175aafb0fdf5540",
                "sha256": "93c70eba8b71ac54369d6618ee415b4cae9a3a86534c8229d408539ca502375c"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "2216067c975c47a79175aafb0fdf5540",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": null,
            "size": 7681744,
            "upload_time": "2024-05-06T23:17:20",
            "upload_time_iso_8601": "2024-05-06T23:17:20.645708Z",
            "url": "https://files.pythonhosted.org/packages/e4/e6/889c2a21392081d3cf7351a43cbbda6e3a1c555ecefe7ced5d5a93645c4c/openctp_ctp-6.7.2.5-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b43183cacd3f768ef9fde8eb5b97b1f66f581c230ca9486da0708638d1a1fe9",
                "md5": "659e943ef3a9ac7a486d4d710f06c2bf",
                "sha256": "d049dc53780ebae504c8f9bc826886fd52d227830bb50bfdd2fa86a700e3766f"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "659e943ef3a9ac7a486d4d710f06c2bf",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 9006121,
            "upload_time": "2024-05-06T22:53:46",
            "upload_time_iso_8601": "2024-05-06T22:53:46.404357Z",
            "url": "https://files.pythonhosted.org/packages/8b/43/183cacd3f768ef9fde8eb5b97b1f66f581c230ca9486da0708638d1a1fe9/openctp_ctp-6.7.2.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7b30aef28b47b8d7a8f015f04128f567c5106081a0776af83b56729ad3cc4113",
                "md5": "06620d04d9aa24f73a061de0257f448a",
                "sha256": "68c6035c426810be749f3b875995a2158d9ea1eeca5d25c798493a9fa750c634"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp37-cp37m-win32.whl",
            "has_sig": false,
            "md5_digest": "06620d04d9aa24f73a061de0257f448a",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 5138916,
            "upload_time": "2024-05-06T23:17:58",
            "upload_time_iso_8601": "2024-05-06T23:17:58.642030Z",
            "url": "https://files.pythonhosted.org/packages/7b/30/aef28b47b8d7a8f015f04128f567c5106081a0776af83b56729ad3cc4113/openctp_ctp-6.7.2.5-cp37-cp37m-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0b5d6053cd83940c465ed88c7f55b7c0b874b680f957b1e8a0c5a777c4b564f8",
                "md5": "7e5846a94bee9e9b88ba56c44300294c",
                "sha256": "511e8a9d253e3c99aebc46a77e337179ea0186e0494a5bc2b9abd05de3bd097a"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp37-cp37m-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "7e5846a94bee9e9b88ba56c44300294c",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": null,
            "size": 7536002,
            "upload_time": "2024-05-06T23:18:10",
            "upload_time_iso_8601": "2024-05-06T23:18:10.531329Z",
            "url": "https://files.pythonhosted.org/packages/0b/5d/6053cd83940c465ed88c7f55b7c0b874b680f957b1e8a0c5a777c4b564f8/openctp_ctp-6.7.2.5-cp37-cp37m-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5c548a220514e55bc8c8cdf9148ea946ad1e62ad08e416e75ca5c31a76205e46",
                "md5": "684f3f11508126c569efe3a26ce2ff01",
                "sha256": "a650f000744d827bdd64c6298c2ce85bf62e32e2c6d7891a5aead4f278a53e63"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "684f3f11508126c569efe3a26ce2ff01",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 9007127,
            "upload_time": "2024-05-06T22:55:49",
            "upload_time_iso_8601": "2024-05-06T22:55:49.712150Z",
            "url": "https://files.pythonhosted.org/packages/5c/54/8a220514e55bc8c8cdf9148ea946ad1e62ad08e416e75ca5c31a76205e46/openctp_ctp-6.7.2.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e28257ab01e7ca92cf2f29d0fc95017fac1d4763e2713985651286d8643bb3f0",
                "md5": "9df6f53595c1751a11ab98b39dbf8706",
                "sha256": "0cfe41f6a31f3b3a2c0c26b94b64fbc184833ee7ce1138a125eee1a4291105df"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp38-cp38-win32.whl",
            "has_sig": false,
            "md5_digest": "9df6f53595c1751a11ab98b39dbf8706",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 5138434,
            "upload_time": "2024-05-06T23:18:53",
            "upload_time_iso_8601": "2024-05-06T23:18:53.369683Z",
            "url": "https://files.pythonhosted.org/packages/e2/82/57ab01e7ca92cf2f29d0fc95017fac1d4763e2713985651286d8643bb3f0/openctp_ctp-6.7.2.5-cp38-cp38-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ba5ccc952c8713291296fb2f554cde9ff12aa3b74e63eb80704f3fd9893e1d2",
                "md5": "a47619e5920e53428bc79919b685457e",
                "sha256": "91869e6209303a2ad4726595ef86711ab00c5e22d999645fd0452a33c2969d02"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "a47619e5920e53428bc79919b685457e",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": null,
            "size": 7539338,
            "upload_time": "2024-05-06T23:20:08",
            "upload_time_iso_8601": "2024-05-06T23:20:08.719468Z",
            "url": "https://files.pythonhosted.org/packages/0b/a5/ccc952c8713291296fb2f554cde9ff12aa3b74e63eb80704f3fd9893e1d2/openctp_ctp-6.7.2.5-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad0493d0ab3bcd48122238ac040879c0f70ad9c3b46c84c7d3551293648af2dc",
                "md5": "9da3287c5921d7ab7e11e2b8c28eaf20",
                "sha256": "0aa2d8d3f105a3782d7bb7bd76023331be3f4e53e6bb44b26c6078bb9d63de51"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9da3287c5921d7ab7e11e2b8c28eaf20",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 9006812,
            "upload_time": "2024-05-06T22:49:43",
            "upload_time_iso_8601": "2024-05-06T22:49:43.579488Z",
            "url": "https://files.pythonhosted.org/packages/ad/04/93d0ab3bcd48122238ac040879c0f70ad9c3b46c84c7d3551293648af2dc/openctp_ctp-6.7.2.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8f41276f8755cb91bcec8565586ebaa0b46572138a6ad6405c2210992173524",
                "md5": "6286259a8887b94ac4859862bf431b56",
                "sha256": "da459b93d19cd513d7cf89efd788fced82273da9b16731e25e9649649c26870b"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp39-cp39-win32.whl",
            "has_sig": false,
            "md5_digest": "6286259a8887b94ac4859862bf431b56",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 5138354,
            "upload_time": "2024-05-06T23:20:14",
            "upload_time_iso_8601": "2024-05-06T23:20:14.520214Z",
            "url": "https://files.pythonhosted.org/packages/c8/f4/1276f8755cb91bcec8565586ebaa0b46572138a6ad6405c2210992173524/openctp_ctp-6.7.2.5-cp39-cp39-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b85b55216866b439f1def4957d8af137cb241904d679c85834403f05136a73c9",
                "md5": "064e7bc7ed5dbd374f92218d90967da6",
                "sha256": "c929b75e1522f26916e003ce33587dcdd8f0e4aca5e824e8ae476cddc09b2fc3"
            },
            "downloads": -1,
            "filename": "openctp_ctp-6.7.2.5-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "064e7bc7ed5dbd374f92218d90967da6",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": null,
            "size": 7527887,
            "upload_time": "2024-05-06T23:20:25",
            "upload_time_iso_8601": "2024-05-06T23:20:25.804803Z",
            "url": "https://files.pythonhosted.org/packages/b8/5b/55216866b439f1def4957d8af137cb241904d679c85834403f05136a73c9/openctp_ctp-6.7.2.5-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-06 22:51:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "openctp",
    "github_project": "openctp-ctp-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "openctp-ctp"
}
        
Elapsed time: 0.26386s