Skip to content

Conversation

@0xEniotna
Copy link

Limit orders were hardcoded here:

type=OrderType.LIMIT,

While OrderType.MARKET exists in the SDK models, orders were always created as LIMIT in the order builder, preventing callers from using true MARKET orders.

I updated that function so that an order type can be chosen when placing orders. Limit orders are still the default.

I've added an example market orders file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant