I suggest you ...

Change /latesttrades API endpoint to support time buckets.

I am working on a traingbot. my problem is I cannot calculate EMA, MA becuse data return from /latesttrades does not make sense.

EG:

https://api.vaultoro.com/latesttrades?since=1508457600

[
{
"tid": 1508653203530,
"price": 0.0069,
"amount": 77.803,
"date": 1508653203
},
{
"tid": 1508647927587,
"price": 0.0069,
"amount": 15.486,
"date": 1508647927
}
]

1508653203530 = GMT: Sunday, October 22, 2017 6:20:03.530 AM
1508647927587 = GMT: Sunday, October 22, 2017 4:52:07.587 AM

returns values with random date.

Can you change it to support time interval to buckets like 1m,5m,30m,1h,1d ect?

https://www.bitmex.com/api/explorer/?#!/Trade/Trade_getBucketed

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base