#5064 Feat/add creation timestamp to in flight orders
We need to start registering the orders creation timestamp as a separate field. Currently orders take that information from the last component of the order id. But there is a requirement to change the order id generation method, to ensure its uniqueness, and the creation timestamp will not be part of the order id any more in the future.
This PR adds the creation timestamp in the inflight orders. It also changes the calculation of the orders age that was done by taking the creation timestamp from the client order id. Applies the same changes to the hanging orders. Modifies the JSON serialization/deserialization of orders to include the creation timestamp. Changes the market recorder to use the new timestamp when storing the creation time instead of using the timestamp when the event was received (the previous logic).
Link: https://github.com/hummingbot/hummingbot/pull/5064
Off-Chain Vote
Loading…
- Author
0x873f…b71e
- IPFS#QmPH5pCE
- Voting Systembasic
- Start DateFeb 20, 2022
- End DateFeb 23, 2022
- Total Votes Cast624.8K
- Total Voters2
Timeline
- Feb 16, 2022Proposal created
- Feb 20, 2022Proposal vote started
- Feb 23, 2022Proposal vote ended
- Oct 26, 2023Proposal updated