# CustomPriceFunction()

```
type CustomPriceFunction = (tickers, abortSignal?) => Promise<number[]>;
```

Defined in: [atomiq-sdk/src/types/CustomPriceFunction.ts:11](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/types/CustomPriceFunction.ts#L11)

Custom pricing callback function type, fetches the USD price for the provided array of token tickers.

## Parameters

| Parameter      | Type          | Description                                  |
| -------------- | ------------- | -------------------------------------------- |
| `tickers`      | `string`\[]   | Tickers of the tokens to fetch USD price for |
| `abortSignal?` | `AbortSignal` | Abort signal                                 |

## Returns

`Promise`<`number`\[]>

USD prices of the passed tickers in the order that they were passed
