Skip to main content

jiezhen

读秒循环接针

视频说明地址 :https://www.youtube.com/watch?v=b-LhdQomOxk

环境:python3.9 开平仓模式 ,不支持单向持仓 策略原理 :上次在火币看到一些很长的针,就想着如何把针接住,本质很简单,

  1. 用ema判断短期趋势,尽可能下面挂单接住插下来的针。
  2. 如果跑15m周期以上,建议用1h的ema判断多空,或者人工介入判断

源码配置 : config_bak.json 改成config.json

apiKey: OKX API 的公钥,用于身份验证。

secret: OKX API 的私钥,用于签名请求。

password: OKX 的交易密码(或 API 密码)。

leverage: 默认持仓杠杆倍数

feishu_webhook: 飞书通知地址

monitor_interval: 循环间隔周期 / 单位秒

每个交易对都可以单独设置其交易参数:

long_amount_usdt: 做多交易时每笔订单分配的资金量(以 USDT 为单位)。

short_amount_usdt: 做空交易时每笔订单分配的资金量(以 USDT 为单位)。

value_multiplier: 用于放大交易价值的乘数,适合调整风险/回报比。

zhen.py 跟 zhen_2.py 的区别是:https://x.com/huojichuanqi/status/1858991226877603902

打赏地址trc20: TUunBuqQ1ZDYt9WrA3ZarndFPQgefXqZAM

Metadata

Release files for openfund-core 2.5.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openfund-core 2.5.21
File Size Uploaded Provenance Actions
openfund_core-2.5.21.tar.gz 52.1 kB Without provenance Details for openfund_core-2.5.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openfund-core 2.5.21
File Interpreter ABI Platform Actions
openfund_core-2.5.21-py3-none-any.whl Python 3 none any Details for openfund_core-2.5.21-py3-none-any.whl

Total release size: 110.7 kB

Release files / openfund_core-2.5.21.tar.gz

Download URL openfund_core-2.5.21.tar.gz
Size 52.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9472718105be97cc9ededab4a61036628960955179edcc1df0f23992c523b2b2
BLAKE2b-256 checksum
How to use checksums
aab306c29066e087e5de124eac1d87bdc7dca90fb00b8bf415da1b6c64d07543
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.9 Darwin/24.5.0

Release files / openfund_core-2.5.21-py3-none-any.whl

Download URL openfund_core-2.5.21-py3-none-any.whl
Size 58.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9874578fe8fe85af622ef98cae93b231923f4264974297d5535a30d5754097b7
BLAKE2b-256 checksum
How to use checksums
05bc8d449e642d0ec924a65f4ec95247383f4b9ffcac5e63d50206e3cf77868a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.12.9 Darwin/24.5.0

Security for openfund-core 2.5.21

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.

Release history Release notifications | RSS feed

This release

2.5.21 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page