bt_getopenorders: Order Data for all Open Orders

View source: R/private-interface.r

bt_getopenordersR Documentation

Order Data for all Open Orders

Description

The bt_getopenorders() function retrieves all the user's open orders on https://bittrex.com. This function can only be used after you provide information for authentication.

Usage

bt_getopenorders(market)

Arguments

market

(optional) the market on which you would like to see all open orders. If not specified, then all open orders for all markets are returned.

Value

A named list with the following elements:

  • success: a boolean indicating whether the request was successful.

  • message: a string describing the error if the request was not successful, otherwise an empty string.

  • result: a data.frame providing information about the open orders including (but not limited to) the market, quantity remaining in the order, the type of order, and when the order was opened.

References

https://bittrex.com/api/v1.1/market/getopenorders

See Also

bt_authenticate()

Examples

## Not run: 
# Note you must authenticate first.
bt_getopenorders()
# $success
# [1] TRUE
#
# $message
# [1] ""
#
# $result
#   uuid                           order_uuid exchange order_type quantity
# 1   NA 2d6169e9-17fb-4f2a-8aff-37418b515624  ETH-LTC  LIMIT_BUY        1
#   quantity_remaining limit commission_paid price price_per_unit
# 1                  1 0.001               0     0             NA
#                   opened closed cancel_initiated immediate_or_cancel
# 1 2017-07-11T18:53:30.07     NA            FALSE               FALSE
#   is_conditional condition condition_target
# 1          FALSE      NONE               NA

## End(Not run)

kaneplusplus/bittrex documentation built on July 6, 2022, 10:02 p.m.