Get started

API Endpoint
https://algotrade.lynxtechlab.com/
            

Welcome to LynxTechLab’s Algo Trade API – your gateway to automated, data-driven trading. Our API endpoints provide real-time trading signals and algorithmic decisions, designed to support seamless integration into your trading strategies and bots. With LynxTechLab, you gain access to a comprehensive suite of tools, from technical indicators to trend analysis, enabling rapid, precise decision-making.

We are continuously building and expanding our API services to provide even more value. You can enjoy the current APIs available, and rest assured—new APIs with additional functionality are on the way! We appreciate your patience and look forward to delivering more powerful tools to support your needs.

Charts

Charts
https://algotrade.lynxtechlab.com/charts/indices
            

Stock Market and Forex Indices

Get Higher Highs, Lower Lows Signal


# Here is a curl example
curl\
-X GET https://algotrade.lynxtechlab.com/api/public/highlowyearchart/getlastsignal
-X GET https://algotrade.lynxtechlab.com/api/public/highlow2yearchart/getlastsignal
            

To get last signal from year to date high-low you need to make a GET call to the following url:
https://algotrade.lynxtechlab.com/api/public/highlowyearchart/getlastsignal Open endpoint in new tab


To get last signal from 2 year to date high-low you need to make a GET call to the following url:
https://algotrade.lynxtechlab.com/api/public/highlow2yearchart/getlastsignal Open endpoint in new tab


Result example :
[
  {
    "Symbol": "ISMEN",
    "HL Date": "2024-10-21T00:00:00.000Z",
    "HL Price": 31.32,
    "HL Flag": "LL",
    "HL Active Timespan (mins)": 212,
    "HL Detection Last Updated": "2024-11-11T13:24:34.000Z",
    "HL Date Prev": null,
    "HL Price Prev": null,
    "HL Flag Prev": null,
    "HL Active Timespan (mins) Prev": null,
    "HL Detection Last Updated Prev": null
  },
  {
    "Symbol": "ALARK",
    "HL Date": "2024-11-08T00:00:00.000Z",
    "HL Price": 93.6,
    "HL Flag": "LH",
    "HL Active Timespan (mins)": 90,
    "HL Detection Last Updated": "2024-11-11T13:24:43.000Z",
    "HL Date Prev": "2024-11-04T00:00:00.000Z",
    "HL Price Prev": 83.1,
    "HL Flag Prev": "HL",
    "HL Active Timespan (mins) Prev": 122,
    "HL Detection Last Updated Prev": "2024-11-11T13:05:37.000Z"
  }
]
            

Query Parameters

Not Applicable

Information

Limitations Details
Data Refresh Rate Approximately 2 to 3 minutes.
Security and Rate Limits Up to 5 requests per second.
Support The free version supports select stocks. Contact us for premium features.

Understading key API response data

Key Name Value Description
HL Date Last peak point calculated with argrelextrema function.
HL Price Last peak point price
HL Flag Higher-Highs and Lower-Lows
HL Active Timespan (mins) How long the flag has been active during the day based on the current price.
HL Detection Last Updated The last time, the flag was calculated using the current price.

Get StockStats Signal


# Here is a curl example
curl\
-X GET https://algotrade.lynxtechlab.com/api/public/statsyeartodate/getlastsignal
            

To get last signal from year to date stats you need to make a GET call to the following url:
https://algotrade.lynxtechlab.com/api/public/statsyeartodate/getlastsignal Open endpoint in new tab



Result example :
[
    {
    "symbol": "ASELS",
    "timefetch": "2024-11-29T16:21:54.000Z",
    "rsi": 63.568146,
    "rsv": 73.913043,
    "macd_histogram": 0.025207,
    "macd": 2.122755,
    "macd_signal": 2.097548,
    "macd_H_B1d": 0.007505,
    "macd_H_B2d": -0.067056,
    "macd_H_B3d": -0.032619,
    "macd_H_B4d": 0.08096,
    "kdj_K": 87.775695,
    "kdj_D": 87.107582,
    "kdj_J": 89.111922,
    "kdj_J_B1d": 96.443578,
    "kdj_J_B2d": 84.662243,
    "kdj_J_B3d": 82.195933,
    "kdj_J_B4d": 90.942311,
    "cci": 148.236841,
    "aroon": 93.333333,
    "supertrend_lowerband": 68.678441,
    "supertrend_upperband": 72.721559,
    "boll_lowerband": 62.941646,
    "boll": 66.928571,
    "boll_upperband": 70.915496,
    "ema5": 69.188953,
    "ema20": 66.680004,
    "ema50": 63.688304,
    "ema100": 61.971632,
    "ema200": 61.179703,
    "high": 71.8,
    "low": 69.6,
    "ftr": 2.542081,
    "ftr_preday_diff": 0.304481,
    "roc": 3.397341,
    "roc_preday_diff": 0.763837
  }
]
            

Query Parameters

Not Applicable

Information

Limitations Details
Data Refresh Rate Approximately 10 minutes.
Security and Rate Limits Up to 5 requests per second.
Support The free version supports select stocks. Contact us for premium features.

Understading key API response data

Key Name Value Description
macd_H_B1d MACD histogram before 1 day. Should be compared to the current MACD histogram trend. barchart.com>MACD Oscillator
kdj_J_B1d J line before 1 day. Should be compared to the current J line trend. liberatedstocktrader.com>KDJ Indicator
ftr The Gaussian Fisher Transform Price Reversals tradingview.com>Gaussian Fisher Transform
ftr_preday_diff Difference the current day's FTR to the previous day's to identify the trend.

Errors

This API uses the following error codes:

Error Code Meaning
429 You have submitted too many requests. A maximum of 5 requests per second is allowed.