- Forums
- Tutorials
- Inventors Quantify Platform Strategy Code written entirely using Manual 1.0
Inventors Quantify Platform Strategy Code written entirely using Manual 1.0
Author:
The Little Dream, Created: 2017-02-27 12:04:48, Updated: 2019-07-31 18:38:48
Inventors Quantify Platform Strategy Code written entirely using Manual 1.0
Directory
-
Preparation before writing the policy code
-
2, use the inventor to quantify the platform API
- 2.1 Use the API to access account information, market data, K-line data, and market depth.
- 2.2 Lower price lists
- 2.3 List of market prices
- 2.4 Get order information, cancel orders, and get all unfinished orders
- 2.5 Interface showing API, policy interaction、 The following is a list of some of the most common types of graphs.
- 2.6 The term 、 CTP commodity futures trading library
- 2.7 Use of indicators
- 2.8 Switch to market data update mode
- 2.9 High-level interaction Debugging while the robot is running.
- 2.10 The constant value in the API documentation, API SetContractType, returns the following object description:
- 2.11 Set the policy interface parameters
- 2.12 API: Simple example of use of Chart function (graph function)
- 2.13 _D() function and timestamp
- 2.14 The robot has been known to report common error messages, exchange API error codes, various problems! (under construction...)
- 2.15 How to call an exchange's API
- 2.16 Digital currency: the function of currency pairs 、 How to customize the set of currencies not shown on the exchange label when creating a digital currency trading robot
- 2.17 Build an interactive button function in the policy status bar
- 2.18 Inventor quantification Custodian common protocol Access to custom exchanges - common protocol Use documentation
-
Three, the six-god synthesizer splices the code.
More
hahahayIs it possible to import Python libraries, such as requests, pqueries, etc.?
pengliheng@chilochilo dream
How to get the last price I want to achieve: based on 1.03 times the last price I want to sell.
pengliheng@chilochilo dream
penglihengIt's all not support market order, obviously it's code written according to 2.2 tutorial.
The Little DreamYes, Python can be imported into third-party libraries and used.
The Little DreamThis is a very practical way to get the transaction value of the last transaction, you read the account information before the transaction logic, after the transaction, and then calculate the transaction value before the transaction, then calculate the transaction value before and after the transaction, and then calculate the absolute value of the moneyDiff / coinDiff, which is the transaction value.
The Little DreamDid you test on the BotVS analogue disc? The analogue disc does not support market orders for the time being.
- Real-time support for the market price list includes:
This is a list of all the different ways Dn-filebox.qbox.me/74f29c1c5167a1ea70eb829c33d08c662df08ca3.png is credited in the database.