Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

162
Views
Trading View API is not able to show the price on price-scale when it's small

Check my OHLC Data for Plotting Candlesticks with Trading View API.

I am using this HTML and Script to Plot the Data :

<!DOCTYPE html>
<html>
<head>
    <title>Plot</title>

    <script src="https://unpkg.com/lightweight-charts/dist/lightweight-charts.standalone.production.js"></script>

</head>
<body>

<script type="text/javascript">
    
const chart = LightweightCharts.createChart(document.body, { width: 1200, height: 600 });
    const lineSeries = chart.addLineSeries();

    chart.applyOptions(
    {
        timeScale: {
            rightOffset: 12,
            timeVisible: true,
            secondsVisible: false,
            fixLeftEdge: false,   
        },

    }

 
    );

let candl_data = [my_OHLC_data]
const candlestickSeries = chart.addCandlestickSeries();

// set data
candlestickSeries.setData(candl_data)



</script>
</body>
</html>

See how it's being show : CandleStciks1

How can I make it to show the Full Price?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Rakesh. Better late than never. You need to specify the price precision in the settings. Demo

const candlestickSeries = chart.addCandlestickSeries({
    priceFormat: {
      type: 'price',
      precision: 10,
      minMove: 0.0000000001,
    },
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!