Trademinator operates with a client-server architecture. The Trademinator Server handles all the public information (such as candle charts, technical analysis, artificial intelligence and any other derived from it) while the Trademinator Client handles all the private information (such as wallet operations, balances, orders, trading operations, etc.).
When trading, Trademinator creates an internal client for each symbol you are trading. Each symbol trades as follows:
1 Trademinator Client as Trademinator Server
Trademinator Client will ask Trademinator Server if there is a trading opportunity at the moment for a specific symbol on a specific exchange. Trademinator Server will do some computing and answer one of the following actions: BUY, HODL, SELL. If the action is to buy or sell, it continues to the second step, otherwise goes to the fifth step.
2 Trademinator Client pulls private Information from the Exchange
Once Trademinator Server has identified a trading opportunity, the Trademinator Client will pull private information directly from the selected Exchange.
3 Trademinator Client closes any pending opened Orders
If there are any unfulfilled opened orders, Trademinator Client will cancel them.
Trademinator Client will do some calculations to decide if it should trade or not. The behaviour of this step directly depends on the configuration parameters from the trademinator.cfg file.
5 Create Orders
Trademinator Client will do two things here: first, if the fourth step decides to trade, it will create an order that hopefully will be fulfilled in the following minute (as market conditions may change); and second, it will create two orders (offline technique) that will buy or sell (if there is enough balance) in case of a sudden price variation between symbol verifications.
The cycle will go again in the following minutes.