The essence of trading interface is literacy, how to choose and use the interface to help yourself?

Many investors have heard of the trading interface to some extent , but they are not clear about the specific advantages.

Why is it needed? Let's talk about its properties.

one speed

The general process of placing an order is to first collect the entrusted orders and upload them to the server on the software side—then transmit them to the trading server on the brokerage side through the network server—and finally send them to the Shanghai Stock Exchange or the Shenzhen Stock Exchange for matching transactions.

However, if it is connected through the real offer interface, it is directly connected to the trading terminal of the brokerage, omitting two steps. Although the network transmission is very fast now, the speed of stock trading is at the ms level. The market trend is ever-changing, and the pursuit is that I am faster than you, and half a second is equal to the world.

two mechanisms

Because the transaction interface acts as a channel, at this time, you can DIY the method of entrusting and placing an order. Just like diving, you can do front flips and back flips if you like. This kind of trading is also called quantitative trading , which is to make the strategy a trigger order. There is no need to artificially monitor trends and emotions to affect judgment. There are many strategies on the market, such as the classic Donchian trend breakthrough, double moving average buying point, grid trading , copy trading method, KJD golden cross strategy , etc. Such entrustment cannot be performed on ordinary software.

Generally speaking, the automated transactions set through the transaction interface are accurate and the income is stable. Quantitative trading is not as mysterious as it used to be in recent years. Even non-experienced investors can use it.

The fast trading interface is also the cornerstone of supporting quantitative trading. is essential.

There are many types of trading interfaces on the market . When choosing, at least the following basic functions are required.

name

Function

basic function

Init

API initialization

Deinit

API deinitialization

Logon

Login to trading account

logoff

Log out of trading account

QueryData

Query various transaction data

QueryHistoryData

Query various historical data

SendOrder

Order

CancelOrder

Order Cancellation

GetQuote

Get five quotes

Repay

Margin and securities lending account direct repayment

GetExpireDate

Query API authorization expiration date

Generally, you can choose to provide a trial to avoid waste. Moreover, the use of interfaces mostly requires programming language calls and deployment parameters. The specific code generally has documentation if the interface is provided. For example MetaTradeAPI (metatradeapi) - Gitee.com . I hope that investors can realize a stable and suitable strategy as soon as possible.

Guess you like

Origin blog.csdn.net/LegendCode/article/details/127905872