-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
When a newly created market order is ot filled (e.g. according to app has status "Cancelled"), the response object is totally useless.
It does not tell what the issue was, why the order got cancelled by the system, nothing.
Instead, the response contains basic info like
(
<lighter.transactions.create_order.CreateOrder object at 0x000001FFFFFFFFFF>,
RespSendTx(
code=200,
message='{"ratelimit": "didn\'t use volume quota"}',
tx_hash='1234567890abcdefg1234567890abcdefg1234567890abcdefg1234567890abcdefg1234567890ab',
predicted_execution_time_ms=1773418001481,
volume_quota_remaining=None, additional_properties={}
),
None
)
So unless there is a parameter error (which the class tells you during development), when the order does not succeed, please implement information on why exactly it did not get filled but randomly cancelled, in the response object.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels