Skip to content

Cryptocurrency API calculating indicators to determine if BUY or SELL orders should be placed using Luno and Next.js.

License

Notifications You must be signed in to change notification settings

codecventer/crypto-bytes-api

Repository files navigation

CryptoBytes API

The CryptoBytes API provides valuable trading information by calculating seven different indicators using both candle data and recent trades to determine if a BUY or SELL order should be placed. Additionally, each indicator result from both candle and trade data is compared to ensure accurate calculations. See this repo for business logic.

The following tickers are available:

  • SOL
  • ADA
  • LTC
  • XRP
  • ETH
  • XBT

GET - Markets

Returns the calculated order type of all available tickers - BUY, SELL or HOLD. Should either market or candle indicators be greater than 11 with an indicator match of greater than 5, a BUY order is advised. If either indicator is less than 12 and indicator match is greater than 5, a SELL order is advised. Otherwise, a HOLD is advised. Required Parameters:

  1. period: a time based parameter allowing you to choose the time period used to calculate indicators. There are three options available:
  • 1: 10 minutes
  • 2: 20 minutes
  • 3: 50 minutes
  1. sensitivity: decide how many data points are used when indicators are calculated. There are three options available:
  • 1: most sensitive
  • 2: less sensitive
  • 3: least sensitive

GET - Ticker

Returns the calculated order type of the specified ticker - BUY, SELL or HOLD. Should either market or candle indicators be greater than 11 with an indicator match of greater than 5, a BUY order is advised. If either indicator is less than 12 and indicator match is greater than 5, a SELL order is advised. Otherwise, a HOLD is advised. Required Parameters:

  1. period: a time based parameter allowing you to choose the time period used to calculate indicators. There are three options available:
  • 1: 10 minutes
  • 2: 20 minutes
  • 3: 50 minutes
  1. sensitivity: decide how many data points are used when indicators are calculated. There are three options available:
  • 1: most sensitive
  • 2: less sensitive
  • 3: least sensitive
  1. ticker: specifiy which ticker to calculate. The following tickers are available:
  • SOL
  • ADA
  • LTC
  • XRP
  • ETH
  • XBT

About

Cryptocurrency API calculating indicators to determine if BUY or SELL orders should be placed using Luno and Next.js.

Topics

Resources

License

Stars

Watchers

Forks

Contributors