Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Volume Profile

Preview

BTC / USD

Volume by price · Demo data

Total volume
2,271 BTC
Point of control
$65,050
Value area · 70% target
$64,700 – $65,400
64.2% of volume
BTC volume profile data
Price rangeVolume (BTC)ShareLevel
$64,000 to $64,100180.8%Outside value area
$64,100 to $64,200271.2%Outside value area
$64,200 to $64,300361.6%Outside value area
$64,300 to $64,400522.3%Outside value area
$64,400 to $64,500703.1%Outside value area
$64,500 to $64,600964.2%Outside value area
$64,600 to $64,7001355.9%Outside value area
$64,700 to $64,8001727.6%Inside value area
$64,800 to $64,9002059.0%Inside value area
$64,900 to $65,00024110.6%Inside value area
$65,000 to $65,10027812.2%Point of control
$65,100 to $65,2002259.9%Inside value area
$65,200 to $65,3001928.5%Inside value area
$65,300 to $65,4001466.4%Inside value area
$65,400 to $65,5001084.8%Outside value area
$65,500 to $65,600793.5%Outside value area
$65,600 to $65,700562.5%Outside value area
$65,700 to $65,800421.8%Outside value area
$65,800 to $65,900311.4%Outside value area
$65,900 to $66,000221.0%Outside value area
$66,000 to $66,100160.7%Outside value area
$66,100 to $66,200110.5%Outside value area
$66,200 to $66,30080.4%Outside value area
$66,300 to $66,40050.2%Outside value area

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/volume-profile

Import the shared styles once in your application.

TSUsage
import VolumeProfile from '@/components/beui/charts/VolumeProfile.vue'
import '@/components/beui/styles.css'

API Reference

VolumeProfile

data
readonly VolumeProfileBin[]

Price bins with non-overlapping ranges.

Default—
label?
string
Default—
unit?
string

Unit shown after volumes, such as "BTC".

Default—
formatPrice?
(price: number) => string
Default—
formatVolume?
(size: number) => string
Default—
valueArea?
number | false

Fraction of volume the value area covers, or `false` to hide it. Defaults to 0.7.

Default0.7
color?
string
Default—
pocColor?
string
Default—
v-model:activeId?
string | null
Default—
defaultActiveId?
string | null
Default—
@active-change?
(id: string | null) => void
Default—
labels?
Partial<VolumeProfileMessages>

Override any built-in string.

Default—
class?
string
Default—
#default?
slot

Compose `VolumeProfilePlot`, `VolumeProfileTooltip` and `VolumeProfileSummary`; omit it for the complete chart.

Default—

VolumeProfilePlot

class?
string
Default—
barClass?
string

Classes for the plot row; it defaults to 20rem tall.

Default—
showAxes?
boolean

Plot height is set by `class`; default 20rem.

Defaulttrue
#default?
slot

Extra content placed after the plot.

Default—

VolumeProfileSummary

class?
string
Default—

VolumeProfileTooltip

class?
string
Default—
side?
"top" | "right" | "bottom" | "left"
Defaulttop
#default?
{ row: VolumeProfileRow }

Replaces the default content. Receives the inspected price row.

Default—

Updated