Return all partially fulfilled trades to buy or sell assets on the ledger.
getTrades(limit, cursor = NULL, order = "asc", domain = "public",
base_asset_type = "", base_asset_code = "", base_asset_issuer = "",
counter_asset_type = "", counter_asset_code = "",
counter_asset_issuer = "", offer_id = "", data.table = FALSE)
numeric - the number of records to return.
numeric - optional, a paging token - where to start from. Can also be "now".
character - optional, "asc" or "desc"
- character - signalling to query the testnet or public network. Can be either "testnet" or "public".
optional, string - type of base asset
optional, string - code of base asset, not required if type is native
optional, string - issuer of base asset, not required if type is native
optional, string - type of counter asset
optional, string - code of counter asset, not required if type is native
optional, string - issuer of counter asset, not required if type is native
optional, string - filter for by a specific offer id
boolean - if true, a data.table is returned. FALSE by default.
data.table or list