Skip to main content
Pro Feature. Requires a Pro or Ultra subscription. Get started at api.mathematicalcompany.com
Score multiple wallets, select the highest-performing one, and automatically copy their trades with position sizing scaled to your bankroll.

Full Code

Pipeline Mode

Run the copy trader continuously inside hz.run():

How It Works

  1. score_wallet() evaluates each candidate on win rate, ROI, Sharpe, and consistency
  2. CopyTraderConfig configures the copy parameters:
  • size_scale - fraction of whale’s size to replicate (0.5 = half size)
  • delay_seconds - wait before copying to avoid front-running detection
  • max_position - hard cap on your position per market
  1. copy_trades() fetches the whale’s recent trades and replicates them
  2. copy_trader() wraps this as a pipeline function for continuous operation

Run It

Inverse Mode

Fade a low-scoring wallet by taking the opposite side of their trades:
See Copy Trading and Wallet Intelligence for the full reference.