# Alternative to "get\_last\_trade" on V2

**URL:** <https://forum.alpaca.markets/t/alternative-to-get-last-trade-on-v2/9148>\
**Category:** App-Integration\
**Created:** [April 12, 2022, 7:23pm UTC](https://forum.alpaca.markets/t/alternative-to-get-last-trade-on-v2/9148 "2022-04-12T19:23:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hudson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/hudson/32/3663_2.png) [@Hudson](https://forum.alpaca.markets/u/Hudson)\
**Post date:** [April 12, 2022, 7:23pm UTC](https://forum.alpaca.markets/t/alternative-to-get-last-trade-on-v2/9148/1 "2022-04-12T19:23:03Z")

</div>

I have a bot I am continuing to work on again that I am updating from V1, one difficulty I’ve run into is finding the V2 replacement for “get\_last\_trade”. I can’t find any documentation for it. Does anyone know what this is?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Desolstice](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@Desolstice](https://forum.alpaca.markets/u/Desolstice)\
**Post date:** [April 12, 2022, 8:22pm UTC](https://forum.alpaca.markets/t/alternative-to-get-last-trade-on-v2/9148/2 "2022-04-12T20:22:20Z")

</div>

> <https://github.com/alpacahq/alpaca-trade-api-python/issues/600>
>
> \### Is there an existing issue for this?
> 
> \- \[X\] I have searched the existing iss…ues
> 
> \### Current Behavior
> 
> You get this error:
> 'REST' object has no attribute 'get\_last\_trade'
> 
> 
> 
> \### Expected Behavior
> 
> No error
> 
> \### Steps To Reproduce
> 
> \`\`\`markdown
> use this environment:
> 
> Python 3.10
> alpaca\_trade\_api==2.0.0
> pandas==1.4.1
> numpy==1.22.3
> \`\`\`
> 
> 
> \### Anything else?
> 
> No

Looks like it is now “get\_latest\_trade”

---

<div class="post-metadata">

**Author:** ![Emma\_Saroyan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/emma_saroyan/32/3933_2.png) [@Emma\_Saroyan](https://forum.alpaca.markets/u/Emma_Saroyan)\
**Post date:** [April 13, 2022, 10:08am UTC](https://forum.alpaca.markets/t/alternative-to-get-last-trade-on-v2/9148/3 "2022-04-13T10:08:55Z")

</div>

Hi, try get\_latest\_trade instead.
