---
id: faq_item.1144
page_type: faq_article
title: "What is the purpose of the buyPriceLastTrade parameter, which is located on the Buy conditions tab of the strategy settings in the Moonbot terminal?"
description: "On the Buy conditions tab of the strategy settings there is the buyPriceLastTrade parameter, if it is ticked and buyPriceLastTrade=YES, then the price of the la..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1144?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1144?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1144?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1143?format=md
next: https://moonbot.pro/faq/strategy-settings/1145?format=md
status: published
updated_at: 2026-11-15T11:18:46+03:00
---

# What is the purpose of the buyPriceLastTrade parameter, which is located on the Buy conditions tab of the strategy settings in the Moonbot terminal?

On the Buy conditions tab of the strategy settings there is the buyPriceLastTrade parameter, if it is ticked and buyPriceLastTrade=YES, then the price of the last trade-trade will be used to calculate the buy price. If the tick is not checked and buyPriceLastTrade=NO, then the last ASK price will be used.\
Attention! The buyPriceLastTrade parameter is absent in the following strategies: MoonShot, UDP, Manual, Spread, MoonHook, as it is either not reasonable or the strategy has its own mechanics for calculating the Buy order.

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [FAQ](https://moonbot.pro/faq?format=md) / [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md) / What is the purpose of the buyPriceLastTrade parameter, which is located on the Buy conditions tab of the strategy settings in the Moonbot terminal?

Parent section: [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md)

Previous: [When the strategy is triggered, I want a Buy order to be placed in the green order book, how can I do this?](https://moonbot.pro/faq/strategy-settings/1143?format=md)

Next: [I want to place a Buy order in Moonbot terminal not from ASK price, but from the last cross trade within 30 seconds, how do I set it up?](https://moonbot.pro/faq/strategy-settings/1145?format=md)

## Related

- [I want to place a Buy order in Moonbot terminal not from ASK price, but from the last cross trade within 30 seconds, how do I set it up?](https://moonbot.pro/faq/strategy-settings/1145?format=md)
- [What is the Use30SecOldASK parameter for in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1146?format=md)
- [What is the TlgUseBuyDipWords parameter for in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1148?format=md)
- [What is the TlgBuyDipPrice parameter for in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1149?format=md)
- [What is the BuyPriceAbsolute parameter for in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1150?format=md)
