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 dockerignore, update Postman, order model #45

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
__pycache__
*.pyc
*.pyo
*.pyd
.Python
env
pip-log.txt
pip-delete-this-directory.txt
.tox
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.log
.git
.mypy_cache
.pytest_cache
.hypothesis
**/node_modules/
**/dist
.git
npm-debug.log
.coverage
.coverage.*
.env
.aws
adapters
.vscode
.github
4 changes: 2 additions & 2 deletions models/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ type Order struct {
Price decimal.Decimal `json:"price"`
Symbol Symbol `json:"symbol"`
Size decimal.Decimal `json:"size"`
SizePending decimal.Decimal `json:"sizePending"`
SizeFilled decimal.Decimal `json:"sizeFilled"`
SizePending decimal.Decimal `json:"-"`
SizeFilled decimal.Decimal `json:"-"`
Signature string `json:"-" ` // EIP 712
Status Status `json:"-"` // when order is pending, it should not be updateable
Side Side `json:"side"`
Expand Down
Loading
Loading