Skip to content
All hypotheses

Hypotheses

Myquant Hans123 Faithful Source Port — LINKUSDT.OKX

Faithful translation of Hans123 by Myquant, supplied as Apache-2.0, from https://github.com/myquant/strategy/blob/17595e6bf4a118e1fa87c90bfb0fd78afa69a60b/Hans123/python/Hans123.py. Preserve the actual implementation…

Hypothesis

Faithful translation of Hans123 by Myquant, supplied as Apache-2.0, from https://github.com/myquant/strategy/blob/17595e6bf4a118e1fa87c90bfb0fd78afa69a60b/Hans123/python/Hans123.py. Preserve the actual implementation rather than repairing it into a conventional daily opening-range breakout. The exact source constants are OPEN_VOL=5 and MAX_TRADING_TIMES=3. trade_symbol, open_time, hans_time and ex_time come from Hans123.ini and have no defaults in the supplied Python. The configured bar interval and local timezone are also unspecified. These inputs must be recovered before implementation; do not invent source defaults. Platform instrument mapping is LINKUSDT.OKX, a linear perpetual permitting both directions. Orders are market orders submitted at the signal bar's close. Preserve repeated same-direction additions, strict time comparisons, the effective four-opening limit, and the absence of daily resets. on_tick only stores last_price, which the trading logic never uses.

Analysis

Hans123

Backtest and paper results are hypothetical. Trading involves risk of loss.