Forecast

Forecast requested pair and exchange using Deep CNN Seq2Seq and Linear Regression, probability to buy, sell and hold using Monte Carlo, 99% Value at Risk, expected volatility and expected momentum.

get
Get forecast

https://datascience.api.dev.bitcurate.com/forecast
This endpoint allows you to forecast.
Request
Response
Query Parameters
exchange
optional
string
exchange, example 'bitfinex'. Default is 'bitfinex'.
pair
optional
string
pair, example 'BTC/USD'. Default is 'BTC/USD'
before_date
optional
string
Start date to get the trend, format 'm/d/Y H:M'. Default is now.
after_date
optional
string
End date to get the trend, format 'm/d/Y H:M'. Default is now + 1 day.
hist_interval
optional
string
size of date histogram, example '1h'. Default is '1h', only accept 'Nt', N = positive integer, t = ['h', 'd', 'm']. If 'm', only accept more than or equal to 10.
200: OK
Successfully retrieved.
{
"deep_forecast": [
213.4637654622396,
213.17678833007812,
213.01889292399088,
212.6567179361979,
212.67065938313803,
212.60338083902994,
212.205935160319,
212.20015462239584,
212.33946736653647,
212.56607818603516,
212.56005859375
],
"expected momentum": 99.57664624413765,
"expected volatility": 0.0009787626648426022,
"linear_forecast": [
219.48854064941406,
219.5656280517578,
219.64271545410156,
219.71981048583984,
219.79690551757812,
219.87399291992188,
219.95108032226562,
220.02816772460938,
220.10525512695312,
220.1823476155599,
220.2594451904297
],
"probability_buy": [
0.00980000009139379,
0.009650000035762787,
0.00979999989271164,
0.009883333345254262,
0.009966666698455811,
0.009916666646798453,
0.03166663646697998,
0.009866666595141092,
0.010099999805291493,
0.01005000005165736,
0.0094500000278155
],
"probability_hold": [
0.9701999991138777,
0.9553500333428383,
0.9702000291148822,
0.9784500111142794,
0.9800000000993411,
0.9800000000993411,
0.958650030096372,
0.9768000127871831,
0.9800000002980233,
0.98,
0.9355499928196271
],
"probability_sell": [
0.020000000794728523,
0.034999966621398926,
0.019999970992406135,
0.011666655540466309,
0.010033333202203114,
0.010083333253860474,
0.009683333436648052,
0.013333320617675781,
0.009899999896685283,
0.009949999948342642,
0.05500000715255737
],
"timestamp": [
"2019-07-27 16:00:00",
"2019-07-27 17:00:00",
"2019-07-27 18:00:00",
"2019-07-27 19:00:00",
"2019-07-27 20:00:00",
"2019-07-27 21:00:00",
"2019-07-27 22:00:00",
"2019-07-27 23:00:00",
"2019-07-28 00:00:00",
"2019-07-28 01:00:00",
"2019-07-28 02:00:00"
],
"var99": [
201.17759704589844,
199.62275187174478,
198.4488067626953,
198.352175394694,
198.2167485555013,
197.46417236328125,
196.58191426595053,
196.0586395263672,
195.24749247233072,
194.5050048828125,
194.36456807454428
]
}
400: Bad Request
Errors from parameters given.
{
"message": "distance from 2 dates need less than 1 days",
"status": 400
}
{
"message": "pair and exchange not available, try another pair and exchange",
"status": 400
}
{
"message": "hist_interval only accept ['h', 'd', 'm']",
"status": 400
}
{
"message": "hist_interval must Nt, N = positive integer, t = interval",
"status": 400
}
{
"message": "'m' size only accept more than or equal to 10",
"status": 400
}
{
"message": "pair and exchange data not available",
"status": 400
}

get
Get available pair

https://datascience.api.dev.bitcurate.com/forecast_available_pair
This endpoint to list available pairs for /forecast
Request
Response
200: OK
Successfully retrieved.
{
"pairs": [
"BTC/USD",
"BCH/USD",
"ETH/USD",
"ETH/USDT",
"ETC/USDT",
"BTC/USDT",
"XLM/USDT",
"EOS/USDT",
"ATOM/USDT",
"BAT/USDT",
"ZEC/USDT",
"BCH/USDT",
"XMR/USDT",
"DASH/USDT",
"ZRX/USDT"
]
}

get
Get available exchange

https://datascience.api.dev.bitcurate.com/forecast_available_exchange
This endpoint to list available exchanges for /forecast
Request
Response
Path Parameters
pair
optional
string
pair, example 'BTC/USD'. Default is 'BTC/USD'.
200: OK
Successfully retrieved.
{
"exchanges": [
"bittrex",
"cex",
"bitfinex"
]
}
400: Bad Request
Errors from parameters given.
{
"message": "pair is not available",
"status": 400
}