Skip to content

exchange.bulk_orders support for HIP-3 (DEX) markets #281

@xdmaury

Description

@xdmaury

I have a question regarding exchange.bulk_orders and its compatibility with HIP-3 (DEX) markets.

Does bulk_orders support placing orders for assets that belong to a specific DEX (e.g. coins like cash:AMZN)?

Currently, I'm encountering a KeyError when trying to execute a bulk order with a DEX-prefixed asset:

KeyError: 'cash:AMZN'

From the traceback, it seems the error happens inside info.name_to_asset, likely because the asset is not found in the default meta:

order_request_to_order_wire(order, self.info.name_to_asset(order["coin"]))
...
KeyError: 'cash:AMZN'
  1. Does exchange.bulk_orders currently support HIP-3 / DEX markets?
  2. If yes, is there a specific way to pass the DEX context when placing orders?
  3. If not, is there an alternative method recommended for placing bulk orders on DEX assets?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions