Back to Ccxt

Aftermath

wiki/exchanges-implicit/aftermath.md

4.5.643.4 KB
Original Source

Every endpoint in aftermath's api definition is exposed as an implicit method — a thin, generated wrapper around the raw exchange endpoint. Use these for exchange-specific functionality the CCXT API does not cover.

These methods are available in every CCXT language — TypeScript, JavaScript, Python, PHP, C# and Go. Call them by the camelCase name shown in the tables below (e.g. publicGetMarkets); the snake_case alias (public_get_markets) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (PublicGetMarkets). Switch tabs for the call in each language:

<!-- tabs:start -->

JavaScript

javascript
const aftermath = new ccxt.aftermath ();
const response = await aftermath.publicGetMarkets (params);

TypeScript

typescript
import ccxt from 'ccxt';
const aftermath = new ccxt.aftermath ();
const response = await aftermath.publicGetMarkets (params);

Python

python
import ccxt
aftermath = ccxt.aftermath()
response = aftermath.public_get_markets(params)

PHP

php
$aftermath = new \ccxt\aftermath();
$response = $aftermath->public_get_markets($params);

C#

csharp
using ccxt;
var aftermath = new Aftermath();
var response = await aftermath.publicGetMarkets(parameters);

Go

go
aftermath := ccxt.NewAftermath(nil)
response := <-aftermath.PublicGetMarkets(params)
<!-- tabs:end -->

Path parameters wrapped in {} (e.g. {pair}) are substituted from params; everything else in params is sent as the query string or request body. Cost is the rate-limiter weight of each call.

📚 Official aftermath API documentation: aftermath.finance

26 implicit endpoints across 2 access groups.

public

MethodHTTPEndpointCost
publicGetMarketsGETmarkets1
publicGetCurrenciesGETcurrencies1
publicPostTickerPOSTticker1
publicPostOrderbookPOSTorderbook1
publicPostTradesPOSTtrades1
publicPostOHLCVPOSTOHLCV1

private

MethodHTTPEndpointCost
privatePostAccountsPOSTaccounts1
privatePostBalancePOSTbalance1
privatePostMyPendingOrdersPOSTmyPendingOrders1
privatePostPositionsPOSTpositions1
privatePostBuildAllocatePOSTbuild/allocate1
privatePostBuildCancelOrdersPOSTbuild/cancelOrders1
privatePostBuildCreateAccountPOSTbuild/createAccount1
privatePostBuildCreateOrdersPOSTbuild/createOrders1
privatePostBuildDeallocatePOSTbuild/deallocate1
privatePostBuildDepositPOSTbuild/deposit1
privatePostBuildSetLeveragePOSTbuild/setLeverage1
privatePostBuildWithdrawPOSTbuild/withdraw1
privatePostSubmitAllocatePOSTsubmit/allocate1
privatePostSubmitCancelOrdersPOSTsubmit/cancelOrders1
privatePostSubmitCreateAccountPOSTsubmit/createAccount1
privatePostSubmitCreateOrdersPOSTsubmit/createOrders1
privatePostSubmitDeallocatePOSTsubmit/deallocate1
privatePostSubmitDepositPOSTsubmit/deposit1
privatePostSubmitSetLeveragePOSTsubmit/setLeverage1
privatePostSubmitWithdrawPOSTsubmit/withdraw1