TradeX
Trading system for cryptocurrency exchange.
Install
Local
pip
TODO
- 使用 aiohttp 实现 https://dev.binance.vision/t/how-to-implement-otoco-tp-sl-orders-using-api/1622/2?u=jay_chung 方法,SL一个,TP符合fib
- 根据杠杆,计算保证金
- 计算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 矛盾的时候,可以选择不做,或者以通道为主去做
Metadata
Release files for pytradex 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytradex-0.3.1.tar.gz | 7.8 kB | Without provenance | Details for pytradex-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytradex-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for pytradex-0.3.1-py3-none-any.whl |
Total release size: 16.1 kB
Release files / pytradex-0.3.1.tar.gz
| Download URL | pytradex-0.3.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7679deeef26df24dcc09d8153da1994730a13edb6aba857f16b298de386bd708
|
|
BLAKE2b-256 checksum How to use checksums |
6e10696b6ca08ad6a5a649166b76c4b0c91ae7988e5171c5628c16a293712010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / pytradex-0.3.1-py3-none-any.whl
| Download URL | pytradex-0.3.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09fed996d94b6688af18fa0bebe7c6b4ec22be292533ec7fe7b249ff120a0ef5
|
|
BLAKE2b-256 checksum How to use checksums |
e1f9e7f4f5b6f035138be3f53ff303e52c097b388535501aaedac953001f6a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for pytradex 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.