Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateTime to be marked virtual #217

Open
badokun opened this issue Oct 11, 2024 · 0 comments
Open

UpdateTime to be marked virtual #217

badokun opened this issue Oct 11, 2024 · 0 comments

Comments

@badokun
Copy link

badokun commented Oct 11, 2024

Can this property be marked as virtual? I'm implementing an exchange using CryptoExchange.Net, however I want that property to reflect the timestamp as reported in the payload published by the exchange. Currently it's using the DateTime.UtcNow, but I want to track latency from the exchange to my server.

I'm tracking the BestOffers, so when the event is raised I'd like to consider if the data is still relevant. If the latency is too great, one may assume it's no longer available.

public DateTime UpdateTime { get; private set; }

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

No branches or pull requests

1 participant