WhenToTrade
  • Magazine
    • Main Magazine
    • Cycle Analysis Toolbox
    • Article Library
    • What we do – key articles
      • Dynamic Cycles Explained
      • Financial “Stress” Cycles
      • Social Media Sentiment Cycles
      • Intraday Volume Cycles
      • Non-Linear Indicators – Cyclic Time Part 1
      • Non-Linear Indicators – Cyclic Time Part 2
      • Genetic Algorithm Info page
  • Books
    • Book Part1: Dynamic Cycles
    • Book Part2: Metonic Cycles
  • Developers
    • Developer Articles
    • API
  • Academy
    • Cycles Course Library
    • Video Gallery
      • Dynamic Cycles Explained
      • Cycle Forecasts & Reviews
      • Sentiment Cycles
      • Genetic Algorithm
      • WTT Charting
      • Seminars
  • Product Catalog
  • Lars Blog
  • Login/Register
  • Search
  • Menu Menu
  • Youtube
  • LinkedIn
  • X

API – POST CycleExplorer

PreviousNext

Documentation

Overview

Endpoints
MarketCycles/{symbol}
CycleExplorer

POST    /api/CycleExplorer

Dominant cycle analysis for individual datasets. Can be used to plot Dominant Cycles as indicators on a chart with any charting platform, e.g. NinjaTrader or TradeStation. Returns current dominant cycle.

Input:

  • Price data-set as double array (POST).
  • Range (min/max) as query parameters to scan for actual dominant cycle length and last date to use.

Output:

  • Current dominant cycle length in bars
  • Cycle info (amplitude, phase)
  • Human readable last cycle pivots as bar offset from last bar (lastlow, lasttop)
  • Human readable next cycle pivots as bot offsets from last bar (nextlow, nexttop)
  • Human readable current cycle phase (e.g. approaching top)
  • Profitability score for trading the detected cycle against the price dataset
  • Phasing Score to show the combined phase status for current long- and short-term cycle on a scale from (-200 to +200
  • Full timeseries datapoints with cycle value, price-cycle and close to plot a chart with dominant cycle as indicator

Example Request:

Returns dominant cycle information for a manual data-set included in POST body of the request:

https://api.marketcycles.online/api/CycleExplorer?minCycleLength=30&maxCycleLength=290&plotForward=0&includeTimeseries=true&api_Key=wttpreview

Parameters

Parameter Value Description Parameter Type Data Type