Simplify financial decision-making

Machinary offers a modular and customizable solution that provides advanced financial news and statistical analysis. Our platform goes beyond traditional quantitative analysis, offering users a comprehensive understanding of real-time market dynamics, event detection, and risk analysis.

 

Know the Market. Stay Ahead.

Market Insights & Analytics.

Gain access to a comprehensive retail platform with real-time updates on the stock market and critical financial metrics. Leverage advanced tools for better decision-making:

  • Overview of stock market data:Stay updated with the latest market trends and performance.
  • Monitor AI-based predictions:Access detailed company analytics.
  • Sentiment Analysis:Understand market emotions with AI-driven sentiment insights.
  • Relevance Score:Prioritize information that matters most.
  • Chatbot Integration:Get instant answers and insights through smart AI.
  • Customizable Widgets:Add or remove widgets to tailor your dashboard.
Sign up for early access

Stay Informed. Act Strategically.

Real-Time News Portal.

Unlock actionable insights with categorized, real-time news updates tailored to your needs. Stay ahead in the market with a reliable flow of information:

  • People:Explore updates about key influencers and market leaders.
  • Public Companies:Stay informed on listed corporations and their market activities.
  • Non-Public Companies:Gain insights into the operations of private enterprises.
  • Countries:Understand regional economic shifts and geopolitical trends.
  • Commodities:Monitor pricing and trends for critical commodities like oil, gold, and more.
  • Currencies:Keep track of currency fluctuations and forex market developments.
Sign up for early access

Modular Power. Limitless Potential.

Machinary empowered by MachinaCore

MachinaCore is a highly modular and scalable system that allows users to build custom widgets and tools tailored to their specific financial data needs, while seamlessly integrating with other MachinaLabs products, like Machinary, MachinaAI Modules and MachinaTrader.

Reaching new heights together.

Stay tuned for what’s coming next.

Exciting innovations are on the horizon! Stay tuned as we unveil new advancements designed to empower smarter decisions and greater success in the fast-paced world of finance.

Sign up for early access

Explore tailored enterprise solutions - that make an impact.

Exciting innovations are on the horizon! Stay tuned as we unveil new advancements designed to empower smarter decisions and greater success in the fast-paced world of finance.

Get in touch

Machinary offers a groundbreaking, modular, and customizable solution that provides advanced financial news and statistical analysis. Our platform goes beyond traditional quantitative analysis, offering users a comprehensive understanding of real-time market dynamics, event detection, and risk analysis.

Address

Newsletter

© 2025 by Machinary.com - Version: 1.0.0.0. All rights reserved

Layout

Color mode

Predefined Themes

Layout settings

Choose the font family that fits your app.

Choose the gray shade for your app.

Choose the border radius factor for your app.

  1. Home
  2. Docs
  3. Knowledge Base
  4. MT Basics
  5. Importing Libraries

Importing Libraries

MachinaTrader’s Script Editor allows you to create powerful and flexible trading strategies using Python and/or C# (coming in the release version). To enhance the functionality of your strategies, you have the ability to import custom libraries that are not included in the default set of available modules. This allows you to leverage external tools and libraries to craft sophisticated trading algorithms.

Step 1: Install Required Libraries
Before importing any custom library, ensure you have installed them in your Python environment.
You can do this using the following methods:

Python Code Visual Node:
In the Python Code Visual Node, you can use the os.system function to execute shell commands. For example, if you want to install the ‘ccxt’ library, use the following line of code in the Python Code Visual Node:

python
os.system(‘pip install ccxt’)
This will execute the ‘pip install’ command and download the ‘ccxt’ library to your MachinaTrader environment.

Script Editor Strategies:
If you are using the Script Editor Strategies feature, you can also install the required libraries using the same ‘os.system’ function as shown above. Alternatively, you can install the libraries using the terminal or command prompt on your system.

Step 2: Import Custom Libraries
Once the required libraries are installed, you can easily import them into your trading strategies. In both the Python Code Visual Node and the Script Editor Strategies, you can import the installed libraries like any other Python module. For example, to import the ‘ccxt’ library, use the following line of code:

python
import ccxt
With this import statement, you now have access to all the functionalities provided by the ‘ccxt’ library in your trading strategies.

Important Notes:

Please be cautious when importing custom libraries, especially if they are from untrusted sources. Always verify the credibility and security of the libraries before use.

Importing certain libraries may require additional dependencies. Ensure that you have fulfilled all the prerequisites for the libraries you intend to use.

Conclusion:


By importing custom libraries into MachinaTrader’s Script Editor Strategies and the Python Code Visual Node, you can take your trading strategies to the next level, leveraging the power of external tools and modules. Be creative, experiment responsibly, and enjoy building innovative trading algorithms!

How can we help?