rate limit DCA
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
<script setup>
|
||||
import {builderDefaults, DEFAULT_SLIPPAGE, useChartOrderStore} from "@/orderbuild.js";
|
||||
import {ShapeType} from "@/charts/shape.js";
|
||||
import {allocationText, ShapeType} from "@/charts/shape.js";
|
||||
import {sideColor, vAutoSelect} from "@/misc.js";
|
||||
import {useStore} from "@/store/store.js";
|
||||
import {computed, ref, watchEffect} from "vue";
|
||||
@@ -233,9 +233,10 @@ function emitUpdate(changes) {
|
||||
}
|
||||
|
||||
const text = computed(()=>{
|
||||
let msg = props.order.buy ? 'Buy ' : 'Sell '
|
||||
msg += props.builder.tranches + ' parts'
|
||||
return msg
|
||||
const o = props.order
|
||||
console.log('check text', o.buy, o.amountIsTokenA)
|
||||
return allocationText(o.buy, 1, o.amount, co.selectedSymbol.base.s,
|
||||
o.amountIsTokenA ? null : co.selectedSymbol.quote.s, parts.value, '\n')
|
||||
})
|
||||
|
||||
let shapeId = createShape(ShapeType.DateRange, [{time:barStart.value}, {time:barEnd.value}], {}, callbacks)
|
||||
|
||||
Reference in New Issue
Block a user