curl --request POST \
--url https://api.fincept.in/quantlib/physics/thermodynamics/clausius-clapeyron \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"delta_H": 40660,
"T": 373.15,
"delta_V": 0.03
}
'
{
"success": true,
"data": {
"dP_dT": 3631.8
}
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient credits. This endpoint requires 5 credits."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}quantlib-physics
Calculate Clausius-Clapeyron Equation
Calculates dP/dT along a phase transition curve using the Clausius-Clapeyron equation. This equation relates the slope of the coexistence curve to latent heat and volume change during a first-order phase transition. Applicable to modeling regime transitions and critical phenomena in markets.
Use Cases:
- Model phase transitions in market regimes
- Analyze critical phenomena and market crashes
- Study discontinuous transitions (e.g., liquidity crises)
- Regime change sensitivity analysis
- Thermodynamic analogies for market structure
Formula: dP/dT = ΔH / (T ΔV)
Where ΔH is latent heat and ΔV is volume change.
Credits: 5 credits per request (Pro Tier) [Tier: ENTERPRISE, Credits: 10]
POST
/
quantlib
/
physics
/
thermodynamics
/
clausius-clapeyron
curl --request POST \
--url https://api.fincept.in/quantlib/physics/thermodynamics/clausius-clapeyron \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"delta_H": 40660,
"T": 373.15,
"delta_V": 0.03
}
'
{
"success": true,
"data": {
"dP_dT": 3631.8
}
}{
"detail": "Invalid API key"
}{
"detail": "Insufficient credits. This endpoint requires 5 credits."
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API key for authentication. Get your key at https://api.fincept.in/auth/register
Body
application/json
⌘I
