semvec/pypi-packages huggingface dataset:
openctp-ctp-debug 6.7.2.0
A package for CTPAPI
License: BSD-3-Clause
Requires Python: >=3.7
Keywords: openctp, ctp, ctpapi, trading, investment

# openctp-ctp-debug

[![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-debug)

-----

## Example

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

```python
from openctp_ctp_debug import mdapi, tdapi

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

## License

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