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

Add close margin position endpoint #657

Merged

Conversation

fatiudeen
Copy link
Contributor

close issue - #645

@djeck1432 djeck1432 self-requested a review February 25, 2025 15:51
@djeck1432 djeck1432 linked an issue Feb 25, 2025 that may be closed by this pull request
@djeck1432
Copy link
Owner

@fatiudeen Rework your PR
you have changed a lot of file which are not related to your task

@fatiudeen
Copy link
Contributor Author

@djeck1432 it was from merging main to resolve conflict. The first commit has the work done

@fatiudeen fatiudeen marked this pull request as ready for review February 26, 2025 00:38
Copy link
Owner

@djeck1432 djeck1432 left a comment

Choose a reason for hiding this comment

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

Please revert all files which are not related to your task
I want to see only api/margin_positions.py
main.py and schemas/margin_position.py

@@ -8,11 +8,11 @@ ENV PYTHONDONTWRITEBYTECODE 1
# Set PATH for Poetry
ENV PATH "/root/.local/bin:$PATH"

# Add system-level dependencies (including gcc and npm)
# Add system-level dependencies (including gcc and PostgreSQL client)
Copy link
Owner

Choose a reason for hiding this comment

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

why did you make changes here?


# Wait for PostgreSQL to be ready
echo "Waiting for PostgreSQL..."
while ! pg_isready -h db -p 5432 -U "${POSTGRES_USER}" >/dev/null 2>&1; do
Copy link
Owner

Choose a reason for hiding this comment

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

why did you adjust this file

@fatiudeen fatiudeen force-pushed the feat/close-margin-position-endpoint branch from 7b38f88 to d46eba2 Compare February 27, 2025 10:56
@fatiudeen
Copy link
Contributor Author

@djeck1432 all merge changes have been reverted

@fatiudeen fatiudeen requested a review from djeck1432 February 27, 2025 11:01
Fix issue with removing extra param
Copy link
Owner

@djeck1432 djeck1432 left a comment

Choose a reason for hiding this comment

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

LGTM

@djeck1432
Copy link
Owner

Please, resolve merge conflict and I will merge it

@fatiudeen
Copy link
Contributor Author

@djeck1432 merged

@djeck1432 djeck1432 merged commit 0233910 into djeck1432:main Feb 27, 2025
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.

[Margin App] Add endpoint close margin position
2 participants