⛓️APIs

This is the list of APIs that are offered through Minerva B2B line consuming Wisdomise Brain intelligences.

Last Position

Returns list of signals and positions

GET https://api.wisdomise.io/api/v0/strategy/last-positions

Last Positions API returns latest signal positions (Open, Close, or Hold) on all strategies and all pairs.

Returns a JSON with these keys:

1. Pairs (columns of Signal Matrix) 2. Strategies (rows of Signal Matrix) 3. Last Positions (Entries of Signal Matrix)

All retrieved data is computed in a 24-hour timeframe.

Supported Strategies:

Signaler: WISE

Timeframe: 1h

Side: Long, Short

Coins: BTC, LTC, ETH, BNB, ADA, XRP, TRX

Signaler: GENX

Timeframe: 15m

Side: Long, Short

Coins: BTC, ETH

Signaler: TM

Timeframe: 5m, 15m

Side: Long, Short

Coins: BTC, LTC, ETH, BNB, ADA, XRP, TRX, SOL

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

{
    "pairs": [
        {
            "name": "BTCBUSD",                # Pair name
            "title": "Bitcoin",               # Base symbol fullname
            "base_name": "BTC",                # Base symbol name
            "quote_name": "BUSD",                # Quote symbol name
            "time_window_pnl": -1.9,            # Profit-n-Loss percentage in 24h time frame
            "time_window_prices": [            
                29888.58,
                29919.7,
                29888.36,
                29894.82,
                29897.64,
                29954.12,
                30118.49,
                30248.01,
                30093.12,
                30143.49,
                29955.24,
                30013.59,
                30083.75,
                30010.01,
                29915.99,
                29799.63,
                29716.01,
                29794.0,
                29799.92,
                29778.46,
                29828.0,
                29756.01,
                29178.01,
                29324.01
            ]
        },
        .... # Full list of pair objects
    ],
    "strategies": [
        {
            "name": "ai_core_hourly_busd",    # Strategy name
            "title": "AI Core",                # Strategy title
            "resolution": "1h",                # supporting resolution
            "position_sides": [                # Supporting position sides
                "LONG"
            ],
            "premium": false                    # whether or not it is a permium strategy.
        },
        ...    # Full list of strategy objects
    ],
    "last_positions": [
        {
            "strategy_name": "genx_future_short_busd",    # position strategy name
            "pair_name": "BTCBUSD",                        # position pair name
            "take_profit": 29453.01,                        # position TP
            "stop_loss": 30048.02,                        # position SL
            "entry_time": "2023-07-24T02:30:00Z",        # position entry time
            "exit_time": "2023-07-24T09:45:00Z",            # position exit time
            "pnl": -0.07,                                # position profit-n-loss percentage
            "suggested_action": "CLOSE_DELAYED"            # suggested action on entry time
        },
        ...    # Full list of last position objects
    ]
}


/* 
More Description on some fields

suggested_action:
In "last position" object, suggested_action can take these different values:
NO_ACTION: No suggested action on this position. Neither open nor close.
OPEN: Open the long or short position.
OPEN_DELAYED: Like open, but with delay, i.e. you may have missed earlier OPEN signals on this pair & strategy.
CLOSE: Close the long or short position.
CLOSE_DELAYED: Like    close, but with delay, i.e. you may have missed earlier CLOSE signals on this pair & strategy.

*/

Trend Detection

Detecting market trend

GET https://api.wisdomise.io/api/v0/delphi/trend-predictor

Detecting trends by recognizing different potential price levels. It works in all timeframes.

Trend can be +1 (UPTREND), -1 (DOWNTREND), and 0 (NEUTRAL)

Query Parameters

NameTypeDescription

timeframe*

String

Timeframe: 5m, 15m, 1h, 4h

pair*

String

BTCUSDT, ETHUSDT ,...

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

// Response sample schema
{
    "trends" : [
         {
             "pair_name": "BTCUSDT",
             "related_at": "2023-01-25T00:30:00+00:00",
             "trend": -1,
             "resolution":"15m"
         } 
    ]
}

Order Flow Detector

Detecting possible order flow zones

GET https://api.wisdomise.io/api/v0/order-flow

Advanced order flow detector in different timeframes, suitable for large trade optimization.

Timeframe: 15m,1h, 4h

Coins: BTC, LTC, ETH, BNB, ADA, XRP, TRX, SOL

Query Parameters

NameTypeDescription

timeframe*

String

Timeframe: 15m,1h, 4h

pair*

String

BTCUSDT, ETHUSDT, ...

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

// Response sample schema
{
   "order_flows": [
      {
         "pair_name": "BTCUSDT",
         "related_at": "2023-01-16T18:00:00+00:00",
         "timeframe": "1h",
         "type": "bullish",
         "of_lower_price": 21053.55,
         "of_upper_price": 21296.37,         
      }
   ]   
}

Volatility Predictor

Predicting next 4h market volatility

GET https://api.wisdomise.io/v0/volatility-predictor

Volatility is a measure of the amount of uncertainty or risk associated with the size of changes in a security's value. This AI feature predicts the next 4h volatility of the market per different asset types.

Query Parameters

NameTypeDescription

timeframe*

String

1h, 4h, 1d. ...

pair*

String

BTCUSDT, ETHUSDT

predict_period*

String

How many candles (based on the timeframe) you want to predict

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

// Response sample schema
{
    "volatility": [
        {
            "pair_name": "BTCUSDT",
            "timeframe": "1h",
            "related_at": "2023-01-25T00:00:00+00:00",
            "expired_at": "2023-01-25T04:00:00+00:00",
            "predictions": [
                127.976,
                119.435,
                119.231,
                115.993
            ]
        }
    ]
}

Risk Predictor

Predicting market risk

GET https://api.wisdomise.io/v0/risk-predictor

Provides accurate estimates for the risk of investment, such as Value at Risk (VaR), for different coins.

Coins: BTC, ETH

Query Parameters

NameTypeDescription

timeframe*

String

1d, 1h, ...

pair*

String

BTCUSDT, ETHUSDT

confidence*

Float

What is the confidence interval you are looking at? ex. 0.90 (meaning 90%)

risk_type*

String

VaR, CVaR, MVaR

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

// Response sample schema 
{
    "risk": {
        "pair_name": "BTCUSDT",
        "timeframe": "1h",
        "related_at": "2023-01-25T00:00:00+00:00",
        "type": "VaR",
        "confidence": 0.9,
        "value": 1994,
    }
}

Advanced Trend Detector

85%+ accurate market trend detector

GET https://api.wisdomise.io/v0/advance-trend-predictor

AI-based market trend prediction, working in different timeframes with 85%+ accuracy.

Timeframe: 5m,15m,1h, 4h

Coins: BTC, LTC, ETH, BNB, ADA, XRP, TRX, SOL

Query Parameters

NameTypeDescription

timeframe*

String

5m,15m,1h, 4h

pair*

String

BTCUSDT, SOLUSDT

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

// Response sample schema
{
    "trends" : [
         {
             "pair_name": "BTCUSDT",
             "related_at": "2023-01-25T00:30:00+00:00",
             "trend": -1
    ]
}

Smart Portfolio Optimizer

Pereferenced Based Portfolio Optimizer

GET https://api.wisdomise.io/v0/spo

Retrieve the optimized portfolio based on the requirement

Query Parameters

NameTypeDescription

risk_tolerance*

Float

What is the monthly drawdown tolerance of the user? The number should be negative. Ex. -0.2 means -20% monthly drawdown tolerance

excluded_coins

String

What cryptocurrencies you do not want to have in the portfolio? Ex.

LUNA, FLOKI

included_coins

String

What cryptocurrencies do you want to have in the portfolio? Ex.

HBAR, ETH

Headers

NameTypeDescription

Authorization*

String

Token <AUTH_TOKEN>

// Response sample schema
{
    "portfolio" : {
        "related_at": "2023-01-25T00:30:00+00:00",
        "weights": [
            {"BTCUSDT": 0.31},
            {"ETHUSDT": 0.25},
            {"HBARUSDT": 0.14},
            {"SOLUSDT": 0.1},
            {"UNIUSDT": 0.06},
            {"MKRUSDT": 0.06},
            {"DYDXUSDT": 0.04},
            {"DOGEUSDT": 0.02},
            {"PEPE": 0.02},
        ]
    }
}

Last updated