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

Feat: Extended market data with preset by activitiesCount and date #3022

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bikash-789
Copy link

@bikash-789 bikash-789 commented Feb 18, 2024

#3006

Screenshot 2024-02-18 at 21 28 03

I've added attributes activitesCount and date(First Activity) on the market data with presetId = CURRENCIES as you can see in the screenshot. Let me know if I need to make any changes.

@dtslvr dtslvr self-requested a review February 19, 2024 13:50
@dtslvr
Copy link
Member

dtslvr commented Feb 19, 2024

Thank you for the pull request, @bikash-789. I will review as soon as possible.

@dtslvr dtslvr linked an issue Feb 19, 2024 that may be closed by this pull request
2 tasks
Copy link
Member

@dtslvr dtslvr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested the code, but it does not seem to work.

activityCount is always 0. It does not count the number of orders per currency (part of SymbolProfile).

date is undefined, therefore earliestDate is always the current date.

Would you like to give it another try?

@dtslvr
Copy link
Member

dtslvr commented Feb 20, 2024

Would you like to give it another try?

@bikash-789 Maybe a good starting point would be importing these activities and manually adding additional currencies (e.g. INR and EUR) in the Admin Control panel.

@bikash-789
Copy link
Author

@dtslvr Thanks for the suggestion. I will work on it.

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.

Extend market data with preset by activitiesCount and date
2 participants