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

Incorrect Lot Size for Binance LINKUSDT #8226

Closed
4 tasks done
AlexCatarino opened this issue Jul 24, 2024 · 0 comments
Closed
4 tasks done

Incorrect Lot Size for Binance LINKUSDT #8226

AlexCatarino opened this issue Jul 24, 2024 · 0 comments

Comments

@AlexCatarino
Copy link
Member

Expected Behavior

The symbol properties database reflects the contract specs.

Actual Behavior

2024-07-23T21:01:09.4400098Z TRACE:: LiveTradingResultHandler.OrderEvent(): Time: 07/23/2024 21:01:09 OrderID: 1 EventID: 1 Symbol: LINKUSDT Status: Invalid Quantity: 84 LimitPrice: ₮13.901 StopPrice: ₮13.845 Message: Binance Order Event BrokerId:

Live Handled Error: Brokerage Warning: Order failed, Order Id: 2 timestamp: 7/23/2024 9:00:00 PM quantity: 84 content: {"code":-1013,"msg":"Filter failure: PRICE_FILTER"}

Potential Solution

Update SPDB:

https://api.binance.com/api/v3/exchangeInfo

{"symbol":"LINKUSDT", "filters":[{"filterType":"PRICE_FILTER","minPrice":"0.01000000","maxPrice":"10000.00000000","tickSize":"0.01000000"},{"filterType":"LOT_SIZE","minQty":"0.01000000","maxQty":"90000.00000000","stepSize":"0.01000000"}

On SPDB:
binance,LINKUSDT,crypto,LINKUSDT,USDT,1,0.001,0.01,LINKUSDT,5

Reproducing the Problem

Place limit order with 3 decimal places for LINKUSDT.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
wtindall1 pushed a commit to wtindall1/Lean that referenced this issue Nov 10, 2024
)

* feature: update binance spdb data

* feature: update binanceus spdb data

* test:fix: EURUSDC stable coins conversation
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

No branches or pull requests

1 participant