---
title: "MetaTrader 5 build 2340 simplifies working with SQLite and Python — algorithmic trading increased accessibility - News"
description: "Now you can work with SQLite databases directly from the trading platform. You can create and connect to databases, view tables and roll... - News"
image: "https://www.metatrader5.com/c/17/0/mt5_2340_python.png"
url: "https://www.metatrader5.com/en/news/2127"
---

# MetaTrader 5 build 2340 simplifies working with SQLite and Python — algorithmic trading increased accessibility

## Now you can work with SQLite databases directly from the trading platform. You can create and connect to databases, view tables and roll back changes, without using any third-party shells

3 March 2020

Now you can work with SQLite databases directly from the trading platform. You can create and connect to databases, view tables and roll back changes, without using any third-party shells. [Integration with SQLite](https://www.mql5.com/en/articles/7463) provides traders with maximum performance when working with big data in MQL5.

![MetaTrader 5 build 2340 simplifies working with SQLite and Python](https://www.metatrader5.com/c/17/0/mt5_2340_python.png)

The language of structured queries allows quick and efficient task solving. You no longer need complex loops and samples. This greatly simplifies the collection and compilation of statistics, for making trading decisions, while it also helps in arranging slices of the trading history for full-scale analytics.

![MetaTrader 5 build 2340 simplifies working with SQLite and Python](https://www.metatrader5.com/c/17/0/1_mt5_sqlite.png)

Working with [Python](https://www.python.org/) has become more convenient since it already features multiple libraries for machine learning, process automation, as well as data analysis and visualization. To launch a script, simply drag it into your chart, similar to a regular MQL5 application. The platform now incorporates new functions for working with Python, allowing users to not only gather analytics, but to also perform trading operations.

![MetaTrader 5 build 2340 simplifies working with SQLite and Python](https://www.metatrader5.com/c/17/0/2_python_script.png)

Finding the optimal strategy for your Expert Advisor has become easier - there are more options for simulating brokerage conditions during testing. Users are able to apply their own trading account settings, including the ability to set the maximum number of open orders and positions, as well as manage their margin, position accounting system and commissions for all operations.

![MetaTrader 5 build 2340 simplifies working with SQLite and Python](https://www.metatrader5.com/c/17/0/3_tester_settings.png)

Furthermore, MQL5 applications are now launched faster, and the tester operation in the Market Scanner mode has been accelerated as well.

 Launch the [latest MetaTrader 5 version](https://download.terminal.free/cdn/web/metaquotes.ltd/mt5/mt5setup.exe) and try out its new features. Find the full list of updates [in the Release Notes](https://www.metatrader5.com/en/releasenotes/terminal/2125).

[Download MetaTrader 5](https://download.terminal.free/cdn/web/metaquotes.ltd/mt5/mt5setup.exe)

**Earlier publications:**

- [AvaTrade announces the global launch of MetaTrader 5](https://www.metatrader5.com/en/news/2126)
- [MetaTrader 5 Build 2340: Managing account settings in the Tester and expanded integration with Python](https://www.metatrader5.com/en/releasenotes/terminal/2125)
- [NAGA Launches MetaTrader 5 and Introduces Stock Trading across 9 Global Exchanges](https://www.metatrader5.com/en/news/2124)
- [AvaTrade launches MetaTrader 5 in Japan](https://www.metatrader5.com/en/news/2123)
- [Tradays economic calendar features South Africa](https://www.metatrader5.com/en/news/2122)
