From 52e802b389f39805b1594dc0f3193829a5322c93 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 15 Nov 2023 17:04:16 -0500 Subject: [PATCH] vault backup: 2023-11-15 17:04:16 --- apply_guidance.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apply_guidance.ts b/apply_guidance.ts index d066813..1774d0e 100644 --- a/apply_guidance.ts +++ b/apply_guidance.ts @@ -61,6 +61,12 @@ export function apply_guidance(doc: any) { let targPrice = targetPrice * (1 + markAdder); let targReason = `Target price ${targetPrice} + ${markAddReason}`; + let price = { + cust: [custPrice, custReason], + mark: [markPrice, markReason], + targ: [targPrice, targReason] + } + let finalPrice = minExcludingNull(listUSD,custPrice,targPrice); // ------if there is not target price just exit---------------