Skip to content

Refactor throttler for parallel rules across languages#4

Draft
pcriadoperez wants to merge 1 commit intomasterfrom
cursor/refactor-throttler-for-parallel-rules-across-languages-9a93
Draft

Refactor throttler for parallel rules across languages#4
pcriadoperez wants to merge 1 commit intomasterfrom
cursor/refactor-throttler-for-parallel-rules-across-languages-9a93

Conversation

@pcriadoperez
Copy link
Owner

Refactor the TypeScript throttler to support multiple parallel rate limiting rules, enabling precise matching of complex exchange limits.


Open in Cursor Open in Web

Implement a multi-rule throttler with backward compatibility and add corresponding tests.

Co-authored-by: pablo <pablo@ciudadela.eu>
@cursor
Copy link

cursor bot commented Sep 7, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

pcriadoperez pushed a commit that referenced this pull request Sep 17, 2025
* add hibachi

* Implement fetchCurrencies (#2)

* fetchCurrencies

* fix typo

* fetchBalance (#3)

* Implement `fetchTicker` (#5)

* impl

* pass market as param

* whitespace

* change to string

* [ENG-5178] Public - Market Data - fetchTrades (#4)

* save

* save

* Update hibachi.ts

* create and cancel order (ccxt#7)

* editOrder (ccxt#10)

* improve signature (ccxt#11)

* Implement `fetchOrderBook` (ccxt#9)

* wip

* impl

* example

* fix

* include ts

* camelCase

* withdraw (ccxt#12)

* Implement `fetchTradingFees` (ccxt#13)

* impl

* forgot to push

* boolean change

* simplify trading fees logic

* Revert "simplify trading fees logic"

This reverts commit 027b019.

* change hardcoded fees

* Revert "change hardcoded fees"

This reverts commit d82c7ab.

* Support signature for exchange managed account (ccxt#14)

* Support exchange managed account

* Implement `fetchTradingFees` (ccxt#13)

* impl

* forgot to push

* boolean change

* simplify trading fees logic

* Revert "simplify trading fees logic"

This reverts commit 027b019.

* change hardcoded fees

* Revert "change hardcoded fees"

This reverts commit d82c7ab.

---------

Co-authored-by: vincent-hibachi-xyz <vincent@hibachi.xyz>

* fetchMyTrades (ccxt#15)

* Implement `fetchDepositAddress` (ccxt#16)

* impl

* change network + currency codes

* add note for deposit address

* add required credentials check

* [Eng-5154] implement fetch ohlcv (ccxt#8)

* draft

* fix

* Update hibachi-example.ts

* Delete examples/js/hibachi-example.js

* address comment

* Update hibachi.ts

* address comment

* Implement fetchLedger (ccxt#19)

* fetchLedger

* update examples

* Yang/eng 5185 private history fetch order (ccxt#18)

* Update hibachi.ts

* Update hibachi.ts

* fix

* save

* Update hibachi.ts

* Update hibachi.ts

* Update hibachi-example.ts

* Update hibachi.ts

* error handling and settings (ccxt#21)

* Implement `fetchOpenOrders` (ccxt#17)

* wip

* abstract

* impl

* whitespace fix

* make symbol optional in documentaiton

* add trigger price

* advanced order (ccxt#22)

* changebase fee (ccxt#23)

* Implement `fetchDeposits` and `fetchWithdrawals` (ccxt#20)

* wip

* impl

* add safeCurrency

* change type to list

* transaction parsing

* typo

* fixes

* add extend param

* add transaction type deposit and withdrawal

* fix unit tests

* address feedback (ccxt#24)

* add tests and some small fixes

* add logo

* add ref

* add fetchPositions test

* fetchTime

* fetchOpenInterest

* fix typo

* fetchFundingRate

* fetchFundingRateHistory

* cancelAllOrders

* cancelOrders

* createOrders

* editOrders

* rename

* update accountId

* fix return type

* skip keys

* fix c# header problem

* skip some c# tests

* fix response tests

* add accountId

* update intTobase16

* fix c# tests

* update import

* tmp disable go test

* try encode

* fix several issues

* fix padStart issue

* fix php

* skip test

* add info key

---------

Co-authored-by: Gaoyuan Chen <gaoyuan@hibachi.xyz>
Co-authored-by: gaoyuan-hibachi-xyz <158541870+gaoyuan-hibachi-xyz@users.noreply.github.com>
Co-authored-by: vincent-hibachi-xyz <vincent@hibachi.xyz>
Co-authored-by: yang-hibachi-xyz <yang@hibachi.xyz>
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.

2 participants