├── .gitignore ├── LICENSE ├── README.md ├── docs ├── Makefile ├── apidoc.bat ├── make.bat └── source │ ├── conf.py │ ├── index.rst │ ├── modules.rst │ ├── okex.rst │ ├── okex.v3.rst │ ├── okex.v5.objects.rst │ └── okex.v5.rst ├── examples ├── api.json ├── example_v3.py ├── example_v5.py └── example_v5_ws.py ├── okex ├── __init__.py ├── exceptions.py ├── v3 │ ├── __init__.py │ ├── account_api.py │ ├── client.py │ ├── consts.py │ ├── futures_api.py │ ├── index_api.py │ ├── information_api.py │ ├── lever_api.py │ ├── option_api.py │ ├── spot_api.py │ ├── swap_api.py │ ├── system_api.py │ └── utils.py └── v5 │ ├── __init__.py │ ├── account_api.py │ ├── asset_api.py │ ├── client.py │ ├── consts.py │ ├── market_api.py │ ├── objects │ ├── __init__.py │ ├── billtype.py │ ├── ccytype.py │ ├── cttype.py │ ├── greekstype.py │ ├── insttype.py │ ├── mgnmode.py │ ├── ordertype.py │ ├── posside.py │ ├── tdmode.py │ ├── trgccy.py │ └── triggerpxtype.py │ ├── public_api.py │ ├── system_api.py │ ├── trade_api.py │ ├── utils.py │ └── ws_api.py ├── requirements-dev.txt ├── requirements-doc.txt ├── requirements.txt ├── setup.py └── strategy ├── bt_ketler.py ├── bt_pivot.py ├── bt_price_momentum.py ├── bt_ssa.py ├── bt_test.py ├── bt_turtle.py ├── bt_two_sma.py └── run.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/apidoc.bat: -------------------------------------------------------------------------------- 1 | sphinx-apidoc -o source ../okex -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/modules.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/modules.rst -------------------------------------------------------------------------------- /docs/source/okex.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/okex.rst -------------------------------------------------------------------------------- /docs/source/okex.v3.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/okex.v3.rst -------------------------------------------------------------------------------- /docs/source/okex.v5.objects.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/okex.v5.objects.rst -------------------------------------------------------------------------------- /docs/source/okex.v5.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/docs/source/okex.v5.rst -------------------------------------------------------------------------------- /examples/api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/examples/api.json -------------------------------------------------------------------------------- /examples/example_v3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/examples/example_v3.py -------------------------------------------------------------------------------- /examples/example_v5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/examples/example_v5.py -------------------------------------------------------------------------------- /examples/example_v5_ws.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/examples/example_v5_ws.py -------------------------------------------------------------------------------- /okex/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /okex/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/exceptions.py -------------------------------------------------------------------------------- /okex/v3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/__init__.py -------------------------------------------------------------------------------- /okex/v3/account_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/account_api.py -------------------------------------------------------------------------------- /okex/v3/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/client.py -------------------------------------------------------------------------------- /okex/v3/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/consts.py -------------------------------------------------------------------------------- /okex/v3/futures_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/futures_api.py -------------------------------------------------------------------------------- /okex/v3/index_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/index_api.py -------------------------------------------------------------------------------- /okex/v3/information_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/information_api.py -------------------------------------------------------------------------------- /okex/v3/lever_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/lever_api.py -------------------------------------------------------------------------------- /okex/v3/option_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/option_api.py -------------------------------------------------------------------------------- /okex/v3/spot_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/spot_api.py -------------------------------------------------------------------------------- /okex/v3/swap_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/swap_api.py -------------------------------------------------------------------------------- /okex/v3/system_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/system_api.py -------------------------------------------------------------------------------- /okex/v3/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v3/utils.py -------------------------------------------------------------------------------- /okex/v5/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /okex/v5/account_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/account_api.py -------------------------------------------------------------------------------- /okex/v5/asset_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/asset_api.py -------------------------------------------------------------------------------- /okex/v5/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/client.py -------------------------------------------------------------------------------- /okex/v5/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/consts.py -------------------------------------------------------------------------------- /okex/v5/market_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/market_api.py -------------------------------------------------------------------------------- /okex/v5/objects/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /okex/v5/objects/billtype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/billtype.py -------------------------------------------------------------------------------- /okex/v5/objects/ccytype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/ccytype.py -------------------------------------------------------------------------------- /okex/v5/objects/cttype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/cttype.py -------------------------------------------------------------------------------- /okex/v5/objects/greekstype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/greekstype.py -------------------------------------------------------------------------------- /okex/v5/objects/insttype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/insttype.py -------------------------------------------------------------------------------- /okex/v5/objects/mgnmode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/mgnmode.py -------------------------------------------------------------------------------- /okex/v5/objects/ordertype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/ordertype.py -------------------------------------------------------------------------------- /okex/v5/objects/posside.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/posside.py -------------------------------------------------------------------------------- /okex/v5/objects/tdmode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/tdmode.py -------------------------------------------------------------------------------- /okex/v5/objects/trgccy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/trgccy.py -------------------------------------------------------------------------------- /okex/v5/objects/triggerpxtype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/objects/triggerpxtype.py -------------------------------------------------------------------------------- /okex/v5/public_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/public_api.py -------------------------------------------------------------------------------- /okex/v5/system_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/system_api.py -------------------------------------------------------------------------------- /okex/v5/trade_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/trade_api.py -------------------------------------------------------------------------------- /okex/v5/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/utils.py -------------------------------------------------------------------------------- /okex/v5/ws_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/okex/v5/ws_api.py -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements-doc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/requirements-doc.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/setup.py -------------------------------------------------------------------------------- /strategy/bt_ketler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_ketler.py -------------------------------------------------------------------------------- /strategy/bt_pivot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_pivot.py -------------------------------------------------------------------------------- /strategy/bt_price_momentum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_price_momentum.py -------------------------------------------------------------------------------- /strategy/bt_ssa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_ssa.py -------------------------------------------------------------------------------- /strategy/bt_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_test.py -------------------------------------------------------------------------------- /strategy/bt_turtle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_turtle.py -------------------------------------------------------------------------------- /strategy/bt_two_sma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/bt_two_sma.py -------------------------------------------------------------------------------- /strategy/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quantmew/okex-py/HEAD/strategy/run.py --------------------------------------------------------------------------------