feat(pacifica) new exchange#27759
Merged
carlosmiei merged 92 commits intoccxt:masterfrom Apr 10, 2026
Merged
Conversation
to do: this.omit() in parse functions and use 'request' only instead of this.extend(request, params) in this.*request.
fix sign ()
sign (); fetchOrder() - order id as string, fetch index 0 instead of last idx for last order info
fetchApiKeys ()
createApiKey ()
revokeApiKey ()
createApiAgent ()
bindBuilderCode ()
revokeBuilderCode ()
fetchBuilderApprovals ()
edit: signing -> add builderCode param optional.
add: Exchange.options.builderSupportOperations: {...};
agentAddress: undefined
originAddress: undefined
builderCode: undefined,
edit: requiredCredentials -> walletAddress - undefined (optional)
rename param mainAddress to originAddress.
Important:
// There is a few choices:
// 1. never setup walletAddress AND always provide account/originAddress/agentAddress in params (or init in options).
// 2. always setup walletAddress equals pubkey of privateKey AND provide agentAddress and originAddress both in params (or init in options) if agent wallet in use.
// 3. always setup walletAddress equal originAddress AND provide only agentAddress in params if agent wallet in use (or init in options). (both (..and originAddress) is optional and not required)
PRO supports rate limit api key. fix: Rest version parse functions and logic.
add file abstract impl
…iroleptik/ccxt into pacifica-exchange-integration
Add: new option expiryWindow into Exchange.options Fix: logic parsing leverage/marginmode. Fix: createOrderRequest() -> parseNumber for 'amount', 'price' Fix: createOrderRequests() Fix: editOrder(), cancelOrder() -> orderId will be integer. Fix: withdraw() amount to string Fix: approveBuilderCode() maxFeeRate to string (cause: cli) Add: optional param 'timestamp' for batch orders (createOrder, cancelOrder), cause: unified sequence. Add tests: [all rest]
change name symbloLocal (unified symbol)
fix: parseNumber for safe cli args
…seToInt. In requests limit and since will be integer.
fix handleErrorMessage(); fix handlePostWs(); change: setupApiKeyIntoHeaders -> setupApiKey
(static) Problem: Pagination works by specifying the cursor from the response, which is stored locally and overwritten. As a result, the test does not see the cursor parameter in the input, but it detects that it was used and fails the test.
change: setup apiKeyHeaders()
This comment has been minimized.
This comment has been minimized.
Pacifica keys fix
…n the server (exchange) encounters unexpected behavior from the client. https://learn.microsoft.com/en-us/dotnet/fundamentals/networking/websockets?#compression
…iroleptik/ccxt into pacifica-exchange-integration
carlosmiei
reviewed
Mar 28, 2026
remove builderCode parameter from createOrder and createOrderWs methods
If you're using an agent wallet, its private key must also be in the privateKey field in requiredCredentials. However, walletAddress must ALWAYS be equal to the main address. For the agent wallet address, there's a field in options: agentAddress
Collaborator
Collaborator
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.