UNPKG

okex-api

Version:

A modern, asynchronous, and easy-to-use [Okx API](https://www.okx.com/docs-v5) wrapper for Node.js/bun/Web Browser/Cloudflare workers.

29 lines (28 loc) 700 B
export interface RecurringBuyInfo { ccy: string; ratio: string; } export interface PlaceRecurringBuyOrderRequest { stgyName: string; recurringList: RecurringBuyInfo[]; period: 'monthly' | 'weekly' | 'daily' | 'hourly'; recurringDay?: string; recurringHour?: string; recurringTime: string; timeZone: string; amt: string; investmentCcy: 'USDT' | 'USDC'; tdMode: 'cross' | 'cash'; algoClOrdId?: string; tag?: string; } export interface AmendRecurringBuyOrderRequest { algoId: string; stgyName: string; } export interface GetRecurringBuyOrderListRequest { algoId?: string; after?: string; before?: string; limit?: string; }