Trading system for cryptocurrency exchange.
Project description
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 矛盾的时候,可以选择不做,或者以通道为主去做
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.1.tar.gz
(7.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytradex-0.3.1.tar.gz.
File metadata
- Download URL: pytradex-0.3.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7679deeef26df24dcc09d8153da1994730a13edb6aba857f16b298de386bd708
|
|
| MD5 |
aa2d30015cb259a8767d9571b825372c
|
|
| BLAKE2b-256 |
6e10696b6ca08ad6a5a649166b76c4b0c91ae7988e5171c5628c16a293712010
|
File details
Details for the file pytradex-0.3.1-py3-none-any.whl.
File metadata
- Download URL: pytradex-0.3.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09fed996d94b6688af18fa0bebe7c6b4ec22be292533ec7fe7b249ff120a0ef5
|
|
| MD5 |
8b5a1b5c1b10a72db523d702c36cc498
|
|
| BLAKE2b-256 |
e1f9e7f4f5b6f035138be3f53ff303e52c097b388535501aaedac953001f6a8d
|