Skip to content

Commit

Permalink
refactor(cex-futures-arbitrage): rename type from "cex-futures-arbitr…
Browse files Browse the repository at this point in the history
…age" to "arbitrage" for clarity and add variant field to specify the type of arbitrage
  • Loading branch information
Dan Cryptoscan committed Jan 9, 2025
1 parent babb0bc commit eac23e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/projects/cex-futures-arbitrage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export async function handler(data: Record<string, any>) {

return {
key: v5(data.key, v5.URL),
type: "cex-futures-arbitrage",
type: "arbitrage",
variant: 'futures-futures',
spread: new BigNumber(result.spread).toNumber(),
fundingSpread: new BigNumber(result.fundingSpread).toNumber(),
feePercentage: new BigNumber(result.feePercentage).toNumber(),
Expand Down

0 comments on commit eac23e7

Please sign in to comment.