Skip to main content

Trading system for cryptocurrency exchange.

Project description

TradeX

Trading system for cryptocurrency exchange.

Install

Local

pip 

TODO

  • 根据杠杆,计算保证金
  • 计算fib
  • 计算止盈情况
  • 获取最新价格
  • 链接交易所下单
  • 部署到 streamlit 实现手动下单,全仓、最大杠杆、有止损
  • 计算斐波那契数列,自动设定止盈,15;25;45;15
  • 机构订单买区
  • 上移止损
    • 当实现了 1.618 后,需要调整止损到 0.618
    • 当实现了 1.382 后,需要调整止损到 0.382
    • 当实现了 2 后,需要调整止损到 1
  • 获取交易所价格数据
  • 计算各个时间段的 vagas 通道,确定入场点
    • 其中包括
      • min: 5, 15, 30
      • hour: 1, 2, 3, 4
      • day: 1, 3
      • week: 1
      • month: 1
    • 如果 vagas 通道断了,就要找合适机会离场
  • 趋势线计算
  • 趋势线、vagas通道、fib 矛盾的时候,可以选择不做,或者以通道为主去做

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

pytradex-0.3.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

pytradex-0.3.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pytradex-0.3.0.tar.gz.

File metadata

  • Download URL: pytradex-0.3.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for pytradex-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8111a9ce11027fcb28aaf7d38266555a33d6b0bf3daf582d6f7e75257328ffc1
MD5 8bfe3e18c4ce87b1e7c6a3dfba99d071
BLAKE2b-256 4af4f9ec9139d3ddb85487f11887e37449df0371dfa8a214e6dc3d8225320e27

See more details on using hashes here.

File details

Details for the file pytradex-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pytradex-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for pytradex-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d155061588212831dd781b30cb3f9a486c465f52ba673d8ccfbbb71edc255318
MD5 e5c47ce70c3402c856651fc8a47045c9
BLAKE2b-256 d534051b3d436f8ac6e9703540d0c2a8e45dd86bb75f05705e85c76a9a37de43

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