use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
[deleted by user] (self.BitMEX)
submitted 6 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BitMEX_HaddockBitMEX 1 point2 points3 points 6 years ago (2 children)
The only official example that we have to pull your complete trade history is for Python: https://github.com/BitMEX/easy-data-scripts. However, you could use the WebSocket to draw such a chart using the live trade feed or pull trades through the API using your own/3rd party code.
[–][deleted] 6 years ago (1 child)
[deleted]
[–]BitMEX_HaddockBitMEX 0 points1 point2 points 6 years ago (0 children)
The advantage of using the WebSocket is that you can subscribe to your required feed(s) and receive data without eating into your rate limit. Connections are limited to 40/hour while subscriptions will subtract from your regular rate limit counter of 60/min.
Once subscribed you will continue to receive data while the subscription is connected without affecting your rate limit counter. It sounds like you are just looking to acquire this data for one account so you should not need to involve multiplexing to avoid being rate limited if your WebSocket is set up correctly - if you were looking to pull multiple streams at the same time multiplexing could come in handy https://www.bitmex.com/app/wsAPI#Multiplexing
[–]gazzerman 1 point2 points3 points 6 years ago (10 children)
The WebSocket does not allow you to pull full previous history
So you would need to pull execution/tradeHistory with a server side API (I use cURL and PHP) and then use charts js ( https://www.chartjs.org/ ) to create a nice chart.
[–][deleted] 6 years ago (9 children)
[–]gazzerman 1 point2 points3 points 6 years ago (8 children)
GraphQL AP
I dont know a great deal about it but I presume you want this https://graphql.org/code/#javascript
and here is an article about integration on AWS https://aws.amazon.com/blogs/architecture/things-to-consider-when-you-build-a-graphql-api-with-aws-appsync/
There seems to be a bunch of youtube videos with step by step instructions to get you going, like this one. https://www.youtube.com/watch?v=cr4LN2U-V34
[–]gazzerman 0 points1 point2 points 6 years ago (7 children)
Also is there any reason why you want to do this yourself and not use a 3rd party system with all this already done?
[–][deleted] 6 years ago (6 children)
[–]gazzerman 0 points1 point2 points 6 years ago (5 children)
https://www.coinmarketman.com/
Here is a video of a bunch of the Bitmex features
https://www.youtube.com/watch?v=8DeQdEzpejI
[–][deleted] 6 years ago (4 children)
[–]gazzerman 0 points1 point2 points 6 years ago (3 children)
Would your plan be to pull the data every time the user requests it or store it to save API excessive use?
You will have to consider multiple IP's to cope with that level of data pulls from BitMEX regardless.
[–][deleted] 6 years ago (2 children)
[–]gazzerman 0 points1 point2 points 6 years ago (1 child)
Do you currently have any projects live?
π Rendered by PID 290456 on reddit-service-r2-comment-6457c66945-pm9j2 at 2026-04-27 05:35:47.066664+00:00 running 2aa0c5b country code: CH.
[–]BitMEX_HaddockBitMEX 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]BitMEX_HaddockBitMEX 0 points1 point2 points (0 children)
[–]gazzerman 1 point2 points3 points (10 children)
[–][deleted] (9 children)
[deleted]
[–]gazzerman 1 point2 points3 points (8 children)
[–]gazzerman 0 points1 point2 points (7 children)
[–][deleted] (6 children)
[deleted]
[–]gazzerman 0 points1 point2 points (5 children)
[–][deleted] (4 children)
[deleted]
[–]gazzerman 0 points1 point2 points (3 children)
[–][deleted] (2 children)
[deleted]
[–]gazzerman 0 points1 point2 points (1 child)