code: def test_value_at_risk_invalid_types():
      with pytest.raises(TypeError):
          value_at_risk("10000", 0.05, 0.02, 0.95)
  
      with pytest.raises(TypeError):
          value_at_risk(10000, 0.05, "0.02", 0.95)
  
      with pytest.raises(TypeError):
          value_at_risk(10000, [0.05], 0.02, 0.95)
  
      with pytest.raises(TypeError):
          value_at_risk(10000, 0.05, 0.02, "0.95")
  
      with pytest.raises(ValueError):
          value_at_risk(10000, 0.05, 0.02, 1.5)
  
      with pytest.raises(ValueError):
          value_at_risk(10000, 0.05, 0.02, -0.5)
  
file_path: FinQuant/tests/test_quants.py
imports: import pdb
  import numpy
  import pandas
  import pytest
  from finquant.quants import annualised_portfolio_quantities, downside_risk, sharpe_ratio, sortino_ratio, treynor_ratio, value_at_risk, weighted_mean, weighted_std
label_desc: Use image node_id 7 for calling a global function with example usage: test_value_at_risk_invalid_types() without return types