# Smart Order Trading Module

This module provides chart based smart automated trading functionality to transmits orders automatically from Amibroker trading strategies. Traders has to set the API key and API Secret key obtained from the algomojo **My API** section. This execution module afl code suits for all kinds of trading strategies. This code can be used for 100% automation as module looks into the positions book before placing the order and based on the open position trading decision whether to double the quantity or not to double the quantity accordingly.

{% file src="/files/92TtofnUHTHeJZNN0ty3" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.algomojo.com/algomojo/modules/amibroker/amibroker-rest-api/smart-order-trading-module.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
