Skip to content

Propose: MIT license - #2

Merged
Julian-dev28 merged 1 commit into
Julian-dev28:mainfrom
Freecey:chore/propose-mit-license
Jun 16, 2026
Merged

Propose: MIT license#2
Julian-dev28 merged 1 commit into
Julian-dev28:mainfrom
Freecey:chore/propose-mit-license

Conversation

@Freecey

@Freecey Freecey commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Why this PR

The repository currently has no license, which makes it technically all-rights-reserved: forks, contributions (like #1), and any reuse of the code sit in a legal gray zone, and some people/companies won't touch or contribute to an unlicensed repo at all.

This is entirely your call — only the copyright holder can license this code, which is why this PR is separate from the bug-fix PR and why the LICENSE file carries your name. Merging it is the act of licensing; closing it is a perfectly valid answer too.

Why MIT specifically

  • Ecosystem alignment: both NousResearch/hermes-agent (which operates this trader) and the hyperliquid-python-sdk it builds on are MIT.
  • Liability: the "AS IS" / no-warranty clause matters more than usual for software that places real leveraged trades with other people's money — it makes explicit that users run it at their own risk.
  • Adoption: a permissive license is what lets people fork, adapt, and contribute back, which is the natural life of a trading-bot repo.

If you'd rather use Apache-2.0 (adds an explicit patent grant) or anything else, happy to update the file — the point of the PR is just that some license exists.

One optional extra worth considering alongside this: a short financial disclaimer in the README ("this software executes real leveraged trades autonomously; use at your own risk, nothing here is financial advice"). Didn't include it here to keep the PR to a single decision.

🤖 Generated with Claude Code

Adds a LICENSE file in the repository owner's name. Only the copyright
holder can license this code — merging this PR is that act; see the PR
description for the reasoning behind MIT.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Julian-dev28 added a commit that referenced this pull request Jun 16, 2026
…on a resumed uptrend

Fixes autopsy leak #2: a force-entered name (e.g. SPCX) gets noise-stopped, then
the 180m loss-cooldown locks us out of its subsequent +29% run. The cooldown is
anti-revenge (correct for a FALLING name) but wrong for one breaking back to new
highs.

momentum_reentry_allowed(): bypass the loss-cooldown when a stopped LONG reclaims
>= reclaim_pct% ABOVE its prior stop-out price AND composite >= min_composite.
Whipsaw-guarded: the reclaim margin + composite gate filter noise, and each
re-entry that loses re-arms the cooldown at a NEW higher stop (rising bar).
memory.last_close_for() supplies the stop-out price.

Validated on 10 real recent stops (no lookahead): only the 2 that genuinely
recovered above their stop (SKHX +1.8%, DRAM +2.8%) would re-enter; the 8
falling/flat names (BABY/TRUMP/DOGE/SUI/...) correctly stay out. Selective, not
trigger-happy. Config momentum_reentry{enabled,reclaim_pct:1.0,min_composite:30}
(hot-read, reversible). 7 new tests + 45 regression green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Julian-dev28
Julian-dev28 merged commit f7b021d into Julian-dev28:main Jun 16, 2026
2 checks passed
@Julian-dev28

Copy link
Copy Markdown
Owner

Thanks for taking the time to have a look at my project @Freecey
as a solo dev, this means the world to me

Julian-dev28 added a commit that referenced this pull request Jun 27, 2026
…obust)

Batch #2 (edge_sweep2.py): vol-scaled xs-momentum +0.92-1.70% (steadier OOS — fold into the live
rebalancer), skip-momentum +0.81%, TSMOM +0.53% (all robust but same momentum family); BTC lead-lag
REFUTED.

Batch #3 (edge_pairs.py): PAIRS / cointegration stat-arb — mean-reversion of co-moving log-spreads
(z>2 entry, exit on reversion). +1.08%/trade, n=2413, OOS +1.10/+1.06 ROBUST. ORTHOGONAL to momentum
→ a genuinely INDEPENDENT edge family; stacking the two diversifies.

Now 2 robust independent families (momentum + pairs stat-arb) + variants. ALPHA-PLAN.md updated
(candidate queue continues: seasonality, OI-quadrant, 4h, liq-fade, dynamic-hedge pairs, regime-switch,
and the momentum+pairs STACK). Research only — no live trade-path change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants