Skip to content
All library documents

Z-Score Signals from Bitcoin Long and Short Position Ratios

Article Strategy library · Author: PresentTrading

Summary

This strategy uses the ratio of reported Bitcoin long positions to the combined total of long and short positions as a sentiment measure. It standardizes that ratio with a rolling mean and standard deviation, then uses configurable Z-score thresholds to trigger long or short entries and exits. Users can select long-only, short-only, or two-way trading, and choose a data timeframe. The script also plots the Z-score for visual review.

The supplied thresholds place long entry at a positive Z-score crossing and long exit at a negative threshold crossing; short signals use the inverse crossings. The calculation period defaults to 252 observations. However, the long and short data symbols are explicitly presented as placeholders that must be replaced with available symbols, so the strategy may not work as published without a suitable data source. The excerpt contains no performance report or empirical evidence that the signals predict returns. Results would depend on data quality, threshold choices, execution assumptions, and the relationship between positioning and subsequent price moves.

Key ideas

  • The strategy measures Bitcoin positioning with the share of long positions in total long and short positions.
  • A rolling Z-score expresses the current ratio relative to its recent mean and variability.
  • Threshold crossings generate configurable long and short entries and exits.
  • The position data symbols are placeholders, so usable data inputs must be supplied.
  • The document gives no performance results or evidence that leverage sentiment predicts price moves.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.