/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export const incr_fn_rsi_3efcf2_make: (a: number) => number;
export const incr_fn_rsi_3efcf2_next: (a: number, b: any, c: any) => [number, number, number];
export const incr_fn_rsi_3efcf2_collect: (a: number, b: any, c: any) => [number, number, number, number];
export const __wbg_incr_fn_rsi_3efcf2_free: (a: number, b: number) => void;
export const incr_fn_accdist_f39f2f_make: (a: number) => number;
export const incr_fn_accdist_f39f2f_next: (a: number) => [number, number, number];
export const incr_fn_accdist_f39f2f_collect: (a: number) => [number, number, number, number];
export const __wbg_incr_fn_accdist_f39f2f_free: (a: number, b: number) => void;
export const signal_Hold: () => number;
export const signal_Size: (a: number) => number;
export const signal_EquityPct: (a: number) => number;
export const signal_CloseAll: () => number;
export const signal_Long: () => number;
export const signal_Short: () => number;
export const signal_wasm_id: (a: number) => [number, number];
export const signal_wasm_set_id: (a: number, b: number, c: number) => void;
export const signal_wasm_comment: (a: number) => [number, number];
export const signal_wasm_set_comment: (a: number, b: number, c: number) => void;
export const __wbg_signal_free: (a: number, b: number) => void;
export const sym_new: () => number;
export const sym_wasm_id: (a: number) => [number, number];
export const sym_wasm_set_id: (a: number, b: number, c: number) => void;
export const sym_wasm_ticker_id: (a: number) => [number, number];
export const sym_wasm_set_ticker_id: (a: number, b: number, c: number) => void;
export const sym_wasm_kind: (a: number) => number;
export const sym_wasm_set_kind: (a: number, b: number) => void;
export const sym_wasm_min_tick: (a: number) => number;
export const sym_wasm_set_min_tick: (a: number, b: number) => void;
export const sym_wasm_min_qty: (a: number) => number;
export const sym_wasm_set_min_qty: (a: number, b: number) => void;
export const sym_wasm_prefix: (a: number) => [number, number];
export const sym_wasm_set_prefix: (a: number, b: number, c: number) => void;
export const sym_wasm_currency: (a: number) => [number, number];
export const sym_wasm_set_currency: (a: number, b: number, c: number) => void;
export const sym_wasm_base_currency: (a: number) => [number, number];
export const sym_wasm_set_base_currency: (a: number, b: number, c: number) => void;
export const sym_wasm_ticker: (a: number) => [number, number];
export const sym_wasm_set_ticker: (a: number, b: number, c: number) => void;
export const sym_wasm_country: (a: number) => [number, number];
export const sym_wasm_set_country: (a: number, b: number, c: number) => void;
export const sym_wasm_price_scale: (a: number) => number;
export const sym_wasm_set_price_scale: (a: number, b: number) => void;
export const sym_wasm_point_value: (a: number) => number;
export const sym_wasm_set_point_value: (a: number, b: number) => void;
export const sym_wasm_metadata: (a: number) => [number, number];
export const sym_wasm_set_metadata: (a: number, b: number, c: number) => void;
export const sym_BTC_USD: () => number;
export const sym_ETH_USD: () => number;
export const sym_SOL_USD: () => number;
export const sym_DOGE_USD: () => number;
export const sym_toJSON: (a: number) => any;
export const sym_fromJSON: (a: any) => number;
export const sym_eq: (a: number, b: number) => number;
export const __wbg_sym_free: (a: number, b: number) => void;
export const symkind_toString: (a: number) => [number, number];
export const symkind_fromString: (a: number, b: number) => number;
export const symkind_Stock: () => number;
export const symkind_Future: () => number;
export const symkind_Option: () => number;
export const symkind_Crypto: () => number;
export const symkind_Forex: () => number;
export const symkind_Unknown: () => number;
export const symkind_Other: (a: number, b: number) => number;
export const symkind_eq: (a: number, b: number) => number;
export const __wbg_symkind_free: (a: number, b: number) => void;
export const zipOhlcvBars: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => [number, number];
export const ohlcv_wasm_new: () => number;
export const ohlcv_fromBars: (a: number, b: number) => number;
export const ohlcv_wasm_timeframe: (a: number) => number;
export const ohlcv_wasm_set_timeframe: (a: number, b: number) => void;
export const ohlcv_wasm_open_time: (a: number) => any;
export const ohlcv_wasm_close_time: (a: number) => any;
export const ohlcv_wasm_open: (a: number) => [number, number];
export const ohlcv_wasm_high: (a: number) => [number, number];
export const ohlcv_wasm_low: (a: number) => [number, number];
export const ohlcv_wasm_close: (a: number) => [number, number];
export const ohlcv_wasm_volume: (a: number) => [number, number];
export const ohlcv_wasm_bars: (a: number) => [number, number];
export const ohlcv_at: (a: number, b: number) => number;
export const ohlcv_wasm_length: (a: number) => number;
export const ohlcv_slice: (a: number, b: number, c: number) => number;
export const ohlcv_head: (a: number, b: number) => number;
export const ohlcv_tail: (a: number, b: number) => number;
export const ohlcv_copy: (a: number) => number;
export const ohlcv_extend: (a: number, b: number) => void;
export const ohlcv_resample: (a: number, b: number, c: number) => number;
export const ohlcv_sort: (a: number, b: number) => void;
export const ohlcv_reverse: (a: number) => void;
export const ohlcv_clear: (a: number) => void;
export const ohlcv_pop: (a: number) => number;
export const ohlcv_shift: (a: number) => number;
export const ohlcv_push: (a: number, b: number) => void;
export const ohlcv_pushMany: (a: number, b: number, c: number) => void;
export const ohlcv_toString: (a: number) => [number, number];
export const ohlcv_sanityCheck: (a: number) => [number, number];
export const ohlcv_ref: (a: number) => number;
export const __wbg_ohlcv_free: (a: number, b: number) => void;
export const ohlcvbar_wasm_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => number;
export const ohlcvbar_wasm_open_time: (a: number) => any;
export const ohlcvbar_wasm_close_time: (a: number) => any;
export const ohlcvbar_wasm_open: (a: number) => number;
export const ohlcvbar_wasm_high: (a: number) => number;
export const ohlcvbar_wasm_low: (a: number) => number;
export const ohlcvbar_wasm_close: (a: number) => number;
export const ohlcvbar_wasm_volume: (a: number) => number;
export const ohlcvbar_merge: (a: number, b: number) => number;
export const ohlcvbar_toString: (a: number) => [number, number];
export const ohlcvbar_toJSON: (a: number) => any;
export const ohlcvbar_fromJSON: (a: any) => number;
export const ctxskip_end: () => number;
export const ctxskip_bars: (a: number) => number;
export const ctxskip_barIndex: (a: number) => number;
export const ctxskip_openTimeEq: (a: any) => number;
export const ctxskip_openTimeGeq: (a: any) => number;
export const __wbg_ctxskip_free: (a: number, b: number) => void;
export const ctx_wasm_new: (a: number, b: number) => number;
export const ctx_wasm_bar_index: (a: number) => number;
export const ctx_wasm_bar: (a: number) => number;
export const ctx_wasm_is_initialized: (a: number) => number;
export const ctx_wasm_sym: (a: number) => number;
export const ctx_wasm_ohlcv: (a: number) => number;
export const ctx_copy: (a: number) => number;
export const ctx_reset: (a: number) => void;
export const ctx_next: (a: number) => number;
export const ctx_wasm_length: (a: number) => number;
export const __wbg_ctx_free: (a: number, b: number) => void;
export const trade_wasm_size: (a: number) => number;
export const trade_wasm_entry: (a: number) => number;
export const trade_wasm_exit: (a: number) => number;
export const trade_wasm_pnl: (a: number) => number;
export const trade_wasm_direction: (a: number) => number;
export const trade_wasm_is_active: (a: number) => number;
export const trade_wasm_is_closed: (a: number) => number;
export const tradeevent_wasm_id: (a: number) => [number, number];
export const tradeevent_wasm_order_bar_index: (a: number) => number;
export const tradeevent_wasm_fill_bar_index: (a: number) => number;
export const tradeevent_wasm_price: (a: number) => number;
export const tradeevent_wasm_comment: (a: number) => [number, number];
export const tradedirection_Long: (a: number) => number;
export const tradedirection_Short: (a: number) => number;
export const tradedirection_toNumber: (a: number) => number;
export const tradedirection_fromNumber: (a: number) => number;
export const __wbg_tradedirection_free: (a: number, b: number) => void;
export const timeframe_toString: (a: number) => [number, number];
export const timeframe_fromString: (a: number, b: number) => number;
export const timeframe_Years: (a: number) => number;
export const timeframe_Months: (a: number) => number;
export const timeframe_Weeks: (a: number) => number;
export const timeframe_Days: (a: number) => number;
export const timeframe_Hours: (a: number) => number;
export const timeframe_Minutes: (a: number) => number;
export const timeframe_Seconds: (a: number) => number;
export const timeframe_Ticks: (a: number) => number;
export const timeframe_Ranges: (a: number) => number;
export const timeframe_Unknown: () => number;
export const timeframe_wasm_years: (a: number) => number;
export const timeframe_wasm_months: (a: number) => number;
export const timeframe_wasm_weeks: (a: number) => number;
export const timeframe_wasm_days: (a: number) => number;
export const timeframe_wasm_hours: (a: number) => number;
export const timeframe_wasm_minutes: (a: number) => number;
export const timeframe_wasm_seconds: (a: number) => number;
export const timeframe_wasm_ticks: (a: number) => number;
export const timeframe_wasm_ranges: (a: number) => number;
export const timeframe_wasm_unknown: (a: number) => number;
export const timeframe_eq: (a: number, b: number) => number;
export const timeframe_toDurationS: (a: number) => [number, number, number];
export const timeframe_fromDurationS: (a: number) => number;
export const __wbg_timeframe_free: (a: number, b: number) => void;
export const __wbg_trade_free: (a: number, b: number) => void;
export const __wbg_tradeevent_free: (a: number, b: number) => void;
export const __wbg_ohlcvbar_free: (a: number, b: number) => void;
export const _getCoreVersion: () => [number, number];
export const returns: (a: number, b: number, c: number) => [number, number];
export const stdev: (a: number, b: number) => number;
export const variance: (a: number, b: number) => number;
export const mean: (a: number, b: number) => number;
export const sum: (a: number, b: number) => number;
export const f1: (a: number, b: number) => number;
export const precision: (a: number, b: number) => number;
export const accuracy: (a: number, b: number, c: number, d: number) => number;
export const grossLossPct: (a: number, b: number) => number;
export const omegaRatioFromReturns: (a: number, b: number, c: number) => number;
export const omegaRatio: (a: number, b: number, c: number) => number;
export const sortinoRatioFromReturns: (a: number, b: number, c: number) => number;
export const sharpeRatioFromReturns: (a: number, b: number, c: number) => number;
export const avgWinLossRatio: (a: number, b: number) => number;
export const avgLosingTrade: (a: number, b: number) => number;
export const winRate: (a: number, b: number) => number;
export const longNetProfitRatio: (a: number, b: number) => number;
export const pnl: (a: number, b: number, c: number) => number;
export const expectancyScore: (a: number, b: number) => number;
export const expectancy: (a: number, b: number) => number;
export const profitFactor: (a: number, b: number) => number;
export const recall: (a: number, b: number) => number;
export const sortinoRatio: (a: number, b: number, c: number) => number;
export const sharpeRatio: (a: number, b: number, c: number) => number;
export const shortNetProfitPct: (a: number, b: number) => number;
export const longNetProfitPct: (a: number, b: number) => number;
export const grossProfitPct: (a: number, b: number) => number;
export const netProfitPct: (a: number, b: number) => number;
export const avgWinningTrade: (a: number, b: number) => number;
export const avgTrade: (a: number, b: number) => number;
export const orderSizeForEquityPct: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
export const orderSize: (a: number, b: number, c: number, d: number, e: number) => number;
export const validateContracts: (a: number, b: number) => number;
export const roundContracts: (a: number, b: number, c: number) => number;
export const roundToMinTick: (a: number, b: number) => number;
export const backtestsummary_print: (a: number) => void;
export const backtestsummary_toJSON: (a: number) => any;
export const __wbg_backtestsummary_free: (a: number, b: number) => void;
export const backtest_wasm_new: (a: number, b: number, c: number, d: number) => number;
export const backtest_wasm_initial_capital: (a: number) => number;
export const backtest_wasm_process_orders_on_close: (a: number) => number;
export const backtest_wasm_ctx: (a: number) => number;
export const backtest_wasm_equity: (a: number) => number;
export const backtest_wasm_net_equity: (a: number) => number;
export const backtest_wasm_equity_list: (a: number) => [number, number];
export const backtest_wasm_net_equity_list: (a: number) => [number, number];
export const backtest_wasm_pnl_list: (a: number) => [number, number];
export const backtest_wasm_open_profit: (a: number) => number;
export const backtest_wasm_net_profit: (a: number) => number;
export const backtest_wasm_gross_profit: (a: number) => number;
export const backtest_wasm_gross_loss: (a: number) => number;
export const backtest_wasm_position_size: (a: number) => number;
export const backtest_wasm_trades: (a: number) => [number, number];
export const backtest_onBarOpen: (a: number) => void;
export const backtest_onBarClose: (a: number) => void;
export const backtest_signal: (a: number, b: number) => void;
export const backtest_signalList: (a: number, b: any) => void;
export const backtest_signalMap: (a: number, b: any) => void;
export const backtest_skip: (a: number, b: number) => void;
export const backtest_length: (a: number) => number;
export const backtest_next: (a: number) => number;
export const backtest_toPine: (a: number) => [number, number];
export const backtest_summary: (a: number, b: number, c: number) => number;
export const __wbg_backtest_free: (a: number, b: number) => void;
export const __wbindgen_exn_store: (a: number) => void;
export const __externref_table_alloc: () => number;
export const __wbindgen_export_2: WebAssembly.Table;
export const __wbindgen_malloc: (a: number, b: number) => number;
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
export const __externref_table_dealloc: (a: number) => void;
export const __externref_drop_slice: (a: number, b: number) => void;
export const __wbindgen_free: (a: number, b: number, c: number) => void;
export const closure77_externref_shim: (a: number, b: number, c: any, d: any) => void;
export const __wbindgen_start: () => void;
