---
title: How do I use Global Variables in my strategy? | Dhan Support
url: https://dhan.co/support/platforms/dhanhq-api/how-do-i-use-global-variables-in-my-strategy/
page_type: support_answer
last_updated: 2026-11-23
---

# How do I use Global Variables in my strategy?

Global Variables must be referenced using double curly braces ({{ }}).

Example:

access_token = "{{ACCESS_TOKEN}}"

client_id = "{{CLIENT_ID}}"
