Table of Contents write in front Download the source code and unzip it Create python project environment process Compile vnpy_ctp source code Verify availability Write in front Visual Studio must be installed in the window system, and C++ compilation is required when installing the source code later. Download the source code and unzip GitHub – […]
Tag: ctp
Append input element selectpage failure problem in fastAdmin
During page initialization, selectpage can load data when I click on the goods type input box. But when I clicked to add the recipient on the same page, the selectpage component event that appended the same element suddenly disappeared, and the data could no longer be loaded, as shown in the figure: Here are the […]
Understand the design principles of CTP futures quantitative trading API from the nature of virtual functions
If you could sum up the function of CTP API in one sentence, it would be “Sending the client’s request information to the server, and executing the business processing logic customized by the client developer when receiving the information returned by the server “. The development language of CTP API is C++, which is a […]
Use @InsertProvider, @UpdateProvider, @DeleteProvider, @SelectProvider in Mybatis mapper
In the previous article we introduced using @Param to receive multiple parameters in the mapping method of the Mybatis mapper; in this article we continue to introduce how to use dynamic SQL in the Mybatis mapper. If you don’t know much about using @Param to receive multiple parameters in the mapping method of Mybatis mapper, […]
netty’s ObjectPool (object pool)
The object pool is the same as our connection pool, which means objects are put into a pool for recycling. Especially when netty creates ByteBuf, the circular use of buf greatly reduces the pressure of frequent object creation and garbage collection. Especially when using direct memory. Netty’s object pool object RecyclerObjectPool extends ObjectPool. RecyclerObjectPool is […]
A must-read for Python developers, using ReactPy and Python for front-end web development
ReactPy: Use Python to build dynamic front-end applications. Search and follow “Python Learning and Research Basecamp” on WeChat, join the reader group, and share more exciting things In the world of web development, ReactJS has become a dominant tool, providing developers with a powerful toolset for creating dynamic and interactive user interfaces. But what if […]
Caused by: java.lang.NoSuchMethodError: org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMax
Table of Contents The key error is as follows The complete error report is as follows: Solution 1: Solution 2: Refresh Maven multiple times Solution 3: The key errors are as follows Caused by: java.lang.NoSuchMethodError: org.apache.commons.pool2.impl.GenericObjectPoolConfig.setMaxWait(Ljava/time/Duration;)V The complete error report is as follows: . ____ _ _ _ _ /\ /___’_ __ _ _(_)_ __ […]
Java GenericObjectPool object pooling technology–SpringBoot sftp connection pool tool class
Usually when an object is very time-consuming to create and destroy, we don’t create and destroy it frequently, but consider reuse. One method of reusing objects is the object pool, which puts the created objects into the pool for maintenance, and directly uses the created objects in the pool next time when they are used […]
Qt network programming: QSctpSocket, QSctpServer, QSslSocket
QSctpSocket 1. Description 1.1, SCTP 1. SCTP (Stream Control Transmission Protocol) is a transport layer protocol whose function is similar to the popular TCP and UDP protocols. 2. Like UDP, SCTP is also message-oriented, but it ensures reliable, in-order transmission of messages, and uses congestion control such as TCP. 3. SCTP is a connection-oriented protocol […]
MapstructPlus combined with RuoyiCloudPlus
1. Introduction to MapstructPlus Mapstruct Plus is an enhancement tool of Mapstruct. On the basis of Mapstruct, it realizes the function of automatically generating Mapper interface, and strengthens some functions to make Java type conversion more convenient and elegant. Like Mapstruct, it is essentially a JSR 269-based Java annotation processor, so it can be triggered […]