-
Notifications
You must be signed in to change notification settings - Fork 181
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
Add close margin position endpoint #657
Conversation
@fatiudeen Rework your PR |
@djeck1432 it was from merging main to resolve conflict. The first commit has the work done |
There was a problem hiding this 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
margin_app/Dockerfile
Outdated
@@ -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) |
There was a problem hiding this comment.
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?
margin_app/scripts/entrypoint.sh
Outdated
|
||
# 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 |
There was a problem hiding this comment.
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
7b38f88
to
d46eba2
Compare
@djeck1432 all merge changes have been reverted |
Fix issue with removing extra param
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please, resolve merge conflict and I will merge it |
…/close-margin-position-endpoint
…com/fatiudeen/spotnet into feat/close-margin-position-endpoint
@djeck1432 merged |
close issue - #645