Skip to main content

我的交易库

Project description

trade-lib

自己的交易常用库

pip install trade-lib

使用

import trade_lib

# load exchange config from ~/.config/exchange.yaml
config = trade_lib.get_exchange_config(exname)

# set_dingding
dingding_config = {'robot_id':'', 'secret':''}
trade_lib.set_dingding(dingding_config)
trade_lib.dinding_send('ding...')

upload to pypi

python3 setup.py sdist bdist_wheel

twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trade_lib-0.2.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

trade_lib-0.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file trade_lib-0.2.0.tar.gz.

File metadata

  • Download URL: trade_lib-0.2.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/22.2.0

File hashes

Hashes for trade_lib-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7eb0b949cea8490738a3931c23fc79aac40c5d4c8677b9f1fb399d90be009d29
MD5 3759ed404f927ce6bc2c8b353f9d80ee
BLAKE2b-256 fa098ef2c4ffc5a8b1fcb2ddd7d79455b057a8d951c15de730af156351b230cf

See more details on using hashes here.

File details

Details for the file trade_lib-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: trade_lib-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/22.2.0

File hashes

Hashes for trade_lib-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5d8f4482b454e1dc61bf026d47d68f807c51f30c117a0a8a5282ef2b4b4209
MD5 a4dbeff76257162d33bee9f5e8549b00
BLAKE2b-256 f44926c7a6d72be962b6e6c288ac2bec72eda1703cc547029f6c6a2a04909cc9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page