# Help Getting started with Tradovate in python

**URL:** <https://community.tradovate.com/t/help-getting-started-with-tradovate-in-python/2867>\
**Category:** Community Support\
**Created:** [August 9, 2021, 3:36am UTC](https://community.tradovate.com/t/help-getting-started-with-tradovate-in-python/2867 "2021-08-09T03:36:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FireKookies](https://avatars.discourse-cdn.com/v4/letter/f/ac91a4/32.png) [@FireKookies](https://community.tradovate.com/u/FireKookies)\
**Post date:** [August 9, 2021, 3:36am UTC](https://community.tradovate.com/t/help-getting-started-with-tradovate-in-python/2867/1 "2021-08-09T03:36:54Z")

</div>

Hello, I’ve read the documentation also Ive seen some tutorials on websockets.  
My main question is how do I take my keys and use them into getting market data. Is there any temples in Python?

---

<div class="post-metadata">

**Author:** ![Alexander](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/alexander/32/988_2.png) [@Alexander](https://community.tradovate.com/u/Alexander)\
**Post date:** [August 9, 2021, 1:19pm UTC](https://community.tradovate.com/t/help-getting-started-with-tradovate-in-python/2867/2 "2021-08-09T13:19:19Z")

</div>

Hello @FireKookies,  
Welcome to the Tradovate Community. Unfortunately we do not have a python template at this time. However, if you are using a WebSockets library for python, it should obey the same basic interface as any other WebSocket library - meaning you can use a `send` function to send data to the WebSocket server, and a hook like `onmessage` or `addEventListener` for the `message` type.

Take a look at our API documentation’s [WebSockets segment](https://api.tradovate.com/#tag/WebSockets). It explains how to connect to our various WebSockets servers and the shape of the data that you should expect to send and receive.

---

<div class="post-metadata">

**Author:** ![WinterSnake](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@WinterSnake](https://community.tradovate.com/u/WinterSnake)\
**Post date:** [September 2, 2021, 8:03am UTC](https://community.tradovate.com/t/help-getting-started-with-tradovate-in-python/2867/3 "2021-09-02T08:03:38Z")

</div>

Hello,

I am currently writing backend in python so if you would like some reference (async through aiohttp) you can feel free to use my [GitHub Repo](https://github.com/WinterSnake/Scalp-Mechanic) as a guide, though it is still a WIP.

I would also be able to answer any questions if need be (though I am still in the process of figuring through the whole API)

---

<div class="post-metadata">

**Author:** ![NK\_VV](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@NK\_VV](https://community.tradovate.com/u/NK_VV)\
**Post date:** [September 29, 2022, 11:06pm UTC](https://community.tradovate.com/t/help-getting-started-with-tradovate-in-python/2867/4 "2022-09-29T23:06:28Z")

</div>

@WinterSnake the git hub repo NOT working for me.  
Can you put good examples in it?
