price handling fixes affecting orderbuild, pairprice, ordershapes, etc

This commit is contained in:
tim
2024-10-13 18:28:01 -04:00
parent 4b5626094a
commit fe8dd3ef6c
8 changed files with 16 additions and 17 deletions

View File

@@ -247,7 +247,7 @@ export function createShape(shapeType, points, options={}, ...callbacks) {
// programatically adds a shape to the chart
let shapeId
try {
console.log('creating shape', points, options)
// console.log('creating shape', points, options)
if (points.time || points.price)
shapeId = chart.createShape(points, options)
else if (points.length === 1)