This article is aimed at answering common questions about complete white-paper programmed trading, for beginners who do not know how to program, do not know how to quantify, or even do not know how to transact, who want to learn to quantify, step by step from the beginning. This article introduces some of the most basic concepts.
1.什么是数字货币程序化交易?
Programmatic trading is the process of connecting a program via an API to an exchange to automatically buy and sell Bitcoin or perform other functions as intended by the design. Programmatic trading is not exactly the same as quantification. You can also implement some ancillary functions such as price alerts, data statistics, auto-full stocks, timed purchases, set prices for buying and selling, etc.
2.为什么要进行程序化自动交易?
Programmatic unmanned surveillance is an advantage in the face of the 24/7 digital currency trading market.
Manual operation of high-frequency strategies is not realistic and can only be done with automated trading procedures.
The process of writing a strategy can parameterize your strategy and give you a better understanding of the trading strategy itself.
3. What is an API, API-KEY?
The API is full of Application Programming Interface and Application Programming Interface. You can see the API text in the corner of each exchange, click on it to see the corresponding documentation, which functions can be implemented at a glance, such as the Okcoin API documentation. The apiKey, secretKey is equivalent to an account password, not all connections are required, such as viewing historical transaction records, obtaining tickers, deep data, public information; while viewing account information, ordering transactions, etc. are needed. The key can generally be applied to the user center. API protocols typically have REST APIs and WebSockets, with the REST API interacting once per connection, while the WebSocket enables subscriptions, such as subscribing to account information, to push account information when account data changes, and REST to request it itself. Both are very common and can be selected depending on the actual situation of the policy.
4.Which exchanges traded in 2019?
Generally recommended OKEX, Token, Binance, these three exchanges are relatively good, deep enough, active trading. The rest of the exchanges have no special needs not considered, small platforms are high risk, poor liquidity, unfavorable for trading. For futures trading, high risk, not recommended for beginners.
5.需要使用什么量化平台?
If you have good programming skills, you can write your own strategies and run them yourself. If it is too difficult, we recommend the FMZ quantification platform.www.fmz.comIn addition, the exchange has a large number of users, which makes it easy for newcomers to communicate.
6.用什么语言写程序?
You can use Python, because it is simple enough. For beginners, we recommend Snow Peak Python Tutorials. Programming is not that difficult to learn, and is the basis of the next tutorial. If it is the FMZ quantification platform, we also recommend Javascript, simple enough, and many examples.
The most important thing is that in practice, learning is the most efficient way, you do not have to wait until everything is ready to write your own strategy. Just look at the most basic tutorial in Python, you have a clear basic concept in mind, you should immediately write your own program, and the problems you encounter Google Baidu, look at the documentation, you can find almost all the answers to your questions, even most of the time it seems unnecessary.
Another threshold for programmatic trading is strategic thinking, which is also not so deeply measurable.
From scratch programming transactions, the hardest is the first step, people who have moved the programming transaction mindset, afraid of 90% did not take the first step, the solution is simple, spend less time observing, now act, write the first function, implement a simplest function, the difficulty is also a step in the past.
7.哪里可以找到策略范例?
FMZ Strategy Square has a lot of public strategies, some of which have been effective, which can be used to learn.https://www.fmz.com/square
8.数字货币量化还能赚钱吗?能推荐个策略吗?
There are, of course, strategies to make money, which can be seen in an open letter to FMZ Square:https://www.fmz.com/live"But there's no free lunch. A newbie shouldn't just pursue a money-making strategy, the most basic thing is to understand the trade, to know the quantity, to write the strategy yourself.
9.程序如何回测?
The most convenient way to retest this problem is with the FMZ quantification platform, which has recently supported ticker-level real data retesting, even including real depth, which can be retested using JavaScript or Python, and is free.
10.程序在哪里运行?
It's cheaper to start testing on your own computer, get online or rent a server, don't have to worry about network and power outages, and the latency is lower.
11.在哪里进行交流?
QQ Group: 863946592, or the WeChat Group on FMZ's homepage, the API group on all major platforms, is popular enough that you can ask questions in the group.
12.有哪些策略?
The most reliable ones at the moment are the movers, the subtractors, the markets, etc. You can get a lot of information by searching specifically. Overall, all the strategic gains are declining due to the intense competition, after all, the excess gains cannot be sustained.