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(accelerate): on orders loops #450

Merged

Conversation

yakir4123
Copy link
Contributor

No description provided.

@saleh-mir
Copy link
Member

All look good, but please don't move Jesse imports to the beginning of the file. That is on purpose. I want to ensure that this file only contains imports from other dependencies, not Jesse itself, so that I can use it in all Jesse code without worrying about circular imports issue.

@yakir4123
Copy link
Contributor Author

@saleh-mir I revert the the imports and add for those functions lru_cache, the functions that get called a lot like is_livetrade / side_to_type and more has a high overhead for a simple functionality. I saw thay take much more time than needed.

@saleh-mir saleh-mir merged commit 9f082c1 into jesse-ai:master May 24, 2024
4 checks passed
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.

None yet

2 participants