UNPKG

@saturnnetwork/market-maker-strategy

Version:
25 lines (24 loc) 569 B
declare type action = 'NewOrder' | 'CancelOrder' | 'Trade'; declare type buysell = 'buy' | 'sell'; export interface Trade { type: action; blockchain: string; contract: string; order_tx: string; amount: string; } export interface CreateOrder { type: action; blockchain: string; order_type: buysell; amount: string; price: string; } export interface CancelOrder { type: action; blockchain: string; contract: string; order_tx: string; } export declare type ActionType = Trade | CreateOrder | CancelOrder; export {};