@backtest/framework
Version:
Backtesting trading strategies in TypeScript / JavaScript
27 lines • 1.49 kB
JavaScript
;
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMultiResult = void 0;
exports.findMultiResultNames = findMultiResultNames;
exports.findMultiResults = findMultiResults;
const prisma_results_multi_1 = require("../../helpers/prisma-results-multi");
Object.defineProperty(exports, "getMultiResult", { enumerable: true, get: function () { return prisma_results_multi_1.getMultiResult; } });
function findMultiResultNames() {
return __awaiter(this, void 0, void 0, function* () {
return (yield (0, prisma_results_multi_1.getAllMultiResultNames)()).sort();
});
}
function findMultiResults() {
return __awaiter(this, void 0, void 0, function* () {
return (0, prisma_results_multi_1.getAllMultiResults)();
});
}
//# sourceMappingURL=find.js.map