Use the Finvera APIs to retrieve OHLC stock data and the conference calendar for a given ticker (start with HUBS) over the last three quarters.Requirements:1. API Access • Call the REST APIs directly. • Load the API key from an environment variable named FINVERA_API_KEY (from .env).2. Data • Get OHLC data for the ticker. • Get conference call events (conference calendar API).3. Plotting • Use Matplotlib. • Plot only a line chart of OHLC data (no volume chart). • Overlay and clearly mark conference call dates on the chart. • Each marker should include the full conference call title. • Ensure labels are readable and properly placed.4. Time Range • Fetch data for the last three quarters.5. Implementation Notes • Structure the script cleanly. • Keep the visualization minimal, clean, and legible. • Make sure all labels, markers, and annotations for events are visible.
Enter the chat with Cursor.
Check out the results. Cursor plots a series of annotations, over the stock price chart. These annotations are referenced from text within the Earnings Conference Calls.
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Finvera API Documentation","colors":{"primary":"#000000","light":"#d4d4d4","dark":"#000000"},"logo":{"light":"https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/logo/light.svg?fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=3a3618dd3aaa2b38e19fef12ce065bd3","dark":"https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/logo/dark.svg?fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=ba2f9e2b7d94388a0b7e1f703a6d5e13"},"favicon":"https://mintcdn.com/finvera/X8K9GU6Pq9b6T-6l/assets/favicon.svg?fit=max\u0026auto=format\u0026n=X8K9GU6Pq9b6T-6l\u0026q=85\u0026s=dd7eb4eddf39d34e51371768ff94103b","navbar":{"links":[{"href":"mailto:[email protected]","label":"Email Support"}],"primary":{"type":"button","label":"API Key Dashboard","href":"https://dashboard.finvera.ai/sign-up"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/finvera-ai","x":"https://x.com/finvera_ai"}},"integrations":{"ga4":{"measurementId":"G-RBKLTQKVYY"}},"contextual":{"options":["copy","view","cursor","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.finvera.ai/api-reference/introduction"},{"anchor":"Main Site","icon":"gear","href":"https://finvera.ai"},{"anchor":"Demo Site","icon":"newspaper","href":"https://news.finvera.ai"},{"anchor":"Dashboard","icon":"key","href":"https://dashboard.finvera.ai/sign-up"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"finvera","hasAudioNarration":false,"actualSubdomain":"finvera","customDomains":["docs.finvera.ai"],"gitSource":{"type":"github","owner":"tjccapital","repo":"finvera-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a6ca8a3d399925cdfe49deb","collectionId":"42b2e2aa-88a3-491d-932e-6940729c73da","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a6ca8a3d399925cdfe49deb"},"entitlements":{},"buildId":"6ae926ab9c1b040527dfdaf2:success","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"API Reference","count":30},{"language":"default","tag":"Websocket Reference","count":9},{"language":"default","tag":"Conference Call Transcripts","count":5},{"language":"default","tag":"Company Fundamentals","count":4},{"language":"default","tag":"Market Data","count":4},{"language":"default","tag":"Documentation","count":4},{"language":"default","tag":"API Documentation","count":3},{"language":"default","tag":"Company Logos","count":3},{"language":"default","tag":"Events","count":3},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"examples/strategy-drift","slug":"/examples/strategy-drift","pageMetadata":{"title":"Using MCP to Plot Strategy Drift","description":"Here is a tutorial of how to use the Finvera MCP server to track strategy drift","href":"/examples/strategy-drift"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Here is a tutorial of how to use the Finvera MCP server to track strategy drift\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:_jsxs(_components.p,{children:[`To create your free trial API key, you can head over to the `,_jsx(_components.a,{href:`https://dashboard.finvera.ai/sign-up`,children:`API Key Management Dashbord`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`setup`,children:_jsx(_components.strong,{children:`Setup`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Set up the project in your AI IDE.`}),`\n`,_jsx(_components.li,{children:`Prompt:`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`markdown`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`markdown`,children:_jsxs(_components.code,{language:`markdown`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Use the Finvera APIs to retrieve OHLC stock data and the conference calendar for a given ticker (start with HUBS) over the last three quarters.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Requirements:`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`1.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\tAPI Access`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tCall the REST APIs directly.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tLoad the API key from an environment variable named FINVERA_API_KEY (from .env).`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`2.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\tData`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tGet OHLC data for the ticker.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tGet conference call events (conference calendar API).`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`3.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\tPlotting`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tUse Matplotlib.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tPlot only a line chart of OHLC data (no volume chart).`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tOverlay and clearly mark conference call dates on the chart.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tEach marker should include the full conference call title.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tEnsure labels are readable and properly placed.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`4.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\tTime Range`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tFetch data for the last three quarters.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#6796E6`},children:`5.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\tImplementation Notes`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tStructure the script cleanly.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tKeep the visualization minimal, clean, and legible.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t•\tMake sure all labels, markers, and annotations for events are visible.`})}),`\n`]})})}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:`Enter the chat with Cursor.`}),`\n`,_jsx(_components.li,{children:`Check out the results. Cursor plots a series of annotations, over the stock price chart. These annotations are referenced from text within the Earnings Conference Calls.`}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=95f80b02a00e8d43b504daf8512695f9`,alt:`Strategy Drift Image`,\"data-og-width\":`2402`,width:`2402`,\"data-og-height\":`1206`,height:`1206`,\"data-path\":`assets/strategy-drift.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?w=280\u0026fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=552dd8fccf0dbf06d8e5b2e2853a2a99 280w, https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?w=560\u0026fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=303719b9e3329b246b5fae2f49fa313b 560w, https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?w=840\u0026fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=3badbb784c37205d643054323bdf816a 840w, https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?w=1100\u0026fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=1a60f3ccf1f47f152650fbe0fb025444 1100w, https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?w=1650\u0026fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=1a338a4db933f711779e5d0bbcc75c2b 1650w, https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/assets/strategy-drift.png?w=2500\u0026fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=424f669f1d051bef3a65cbf3eb50122b 2500w`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Using MCP to Plot Strategy Drift","description":"Here is a tutorial of how to use the Finvera MCP server to track strategy drift","href":"/examples/strategy-drift"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Setup","slug":"setup","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"finvera","siteName":"Finvera API Documentation","title":"Using MCP to Plot Strategy Drift - Finvera API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-26T19:21:25.564Z","originalFileLocation":"examples/strategy-drift.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Here is a tutorial of how to use the Finvera MCP server to track strategy drift\">\u003cmeta data-mint-head name=\"application-name\" content=\"Finvera API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Using MCP to Plot Strategy Drift - Finvera API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Here is a tutorial of how to use the Finvera MCP server to track strategy drift\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Finvera API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.finvera.ai/examples/strategy-drift\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://finvera.mintlify.app/_mintlify/api/og/v2?division=Examples\u0026amp;title=Using+MCP+to+Plot+Strategy+Drift\u0026amp;description=Here+is+a+tutorial+of+how+to+use+the+Finvera+MCP+server+to+track+strategy+drift\u0026amp;theme=3e9df35d5ed69abd67153d59\u0026amp;signature=d17ac0f5316a82fcdaaaa80235ecb89f9bcaa9eee05bf8a2937f7aa7118866f9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Using MCP to Plot Strategy Drift - Finvera API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Here is a tutorial of how to use the Finvera MCP server to track strategy drift\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://finvera.mintlify.app/_mintlify/api/og/v2?division=Examples\u0026amp;title=Using+MCP+to+Plot+Strategy+Drift\u0026amp;description=Here+is+a+tutorial+of+how+to+use+the+Finvera+MCP+server+to+track+strategy+drift\u0026amp;theme=3e9df35d5ed69abd67153d59\u0026amp;signature=d17ac0f5316a82fcdaaaa80235ecb89f9bcaa9eee05bf8a2937f7aa7118866f9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/finvera/xZsNG5LLWKNjwfFG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Finvera API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.finvera.ai/examples/strategy-drift\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/examples/strategy-drift.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.finvera.ai/#organization\",\"name\":\"Finvera API Documentation\",\"url\":\"https://docs.finvera.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/finvera/_kqdIAiytg7rcIvP/logo/light.svg?fit=max\u0026auto=format\u0026n=_kqdIAiytg7rcIvP\u0026q=85\u0026s=3a3618dd3aaa2b38e19fef12ce065bd3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.finvera.ai#website\",\"name\":\"Finvera API Documentation\",\"url\":\"https://docs.finvera.ai\",\"publisher\":{\"@id\":\"https://docs.finvera.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.finvera.ai/examples/strategy-drift#webpage\",\"url\":\"https://docs.finvera.ai/examples/strategy-drift\",\"name\":\"Using MCP to Plot Strategy Drift\",\"description\":\"Here is a tutorial of how to use the Finvera MCP server to track strategy drift\",\"dateModified\":\"2026-01-26T19:21:25.564Z\",\"isPartOf\":{\"@id\":\"https://docs.finvera.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.finvera.ai/examples/strategy-drift#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.finvera.ai/examples/strategy-drift#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Finvera API Documentation\",\"item\":\"https://docs.finvera.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using MCP to Plot Strategy Drift\",\"item\":\"https://docs.finvera.ai/examples/strategy-drift\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.finvera.ai/examples/strategy-drift#article\",\"headline\":\"Using MCP to Plot Strategy Drift\",\"name\":\"Using MCP to Plot Strategy Drift\",\"description\":\"Here is a tutorial of how to use the Finvera MCP server to track strategy drift\",\"url\":\"https://docs.finvera.ai/examples/strategy-drift\",\"mainEntityOfPage\":{\"@id\":\"https://docs.finvera.ai/examples/strategy-drift#webpage\"},\"dateModified\":\"2026-01-26T19:21:25.564Z\",\"publisher\":{\"@id\":\"https://docs.finvera.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.finvera.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Finvera API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Finvera API Documentation","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://docs.finvera.ai/api-reference/introduction"},{"anchor":"Main Site","icon":"gear","href":"https://finvera.ai"},{"anchor":"Demo Site","icon":"newspaper","href":"https://news.finvera.ai"},{"anchor":"Dashboard","icon":"key","href":"https://dashboard.finvera.ai/sign-up"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/documentation/introduction"},{"title":"Model Context Protocol (MCP)","href":"/documentation/mcp"},{"title":"Optical Character Recognition (OCR)","description":"Send images to our OCR engine and receive a low latency response of text in JSON format","href":"/documentation/ocr"}]},{"group":"Examples","pages":[{"title":"Using MCP to Plot Strategy Drift","href":"/examples/strategy-drift"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Websocket Reference","pages":[{"title":"Websocket Reference","href":"/ws-reference/stream-ws"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]}]},"basePath":"","title":"Using MCP to Plot Strategy Drift - Finvera API Documentation","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-B4-wUcHm.js","lightbox-handle-r17bVUz3.js"]}