The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Getting started

This vignette gives a brief overview of the main functions within the bitmexr package. The package supports both the testnet and live API endpoints, simply use the tn_ prefix to any of the functions in the package (e.g., bitmexr::trades() accesses trade data from the live API whereas bitmexr::tn_trades() accesses trade data from the testnet API). This is useful is you want to test out placing/managing orders in a risk free environment.

Trade data

To access trades that have been executed on the exchange you can use either:

bucket_trades() is typically more useful when wanting data over an extended period of time due to the sheer volume of trades that are executed on the exchange each day. These functions also have map_* variants to help overcome the 1000 row per request limit.

Please see the Trade data vignette for more details on these functions.

Placing, editing and cancelling orders

bitmexr also supports placing and managing orders on the exchange. These functions require an API key and secret to work. Please read the vignette Authentication for information on how to set this up in bitmexr.

The following functions are available:

Please see the vignette Placing and managing order with bitmexr for more information.

Further information

It is recommended to have a thorough understanding of the BitMEX API documentation prior to using the package. Please take some time to read both https://www.bitmex.com/app/apiOverview and https://www.bitmex.com/api/explorer/.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.