OpenInterest and FMZ backtesting matching mechanism of commodity futures
Record some concepts and problems learned during the programmed trading of commodity futures, which should be helpful for beginners to understand the concepts when they get started.
OpenInterest of commodity futures
Commodity futures market data contains data in an OpenInterest field. Users often ask how to obtain this data, which is very sim ...
Added by dmyst3 on Fri, 18 Feb 2022 18:57:58 +0200
UEFI development exploration 85- YIE002USB development board (08 making HID equipment)
(please keep it - > Author: Luo Bing https://blog.csdn.net/luobing4365)
After introducing all the background knowledge, we can finally enter the substantive embedded programming.
This paper plans to use YIE002 development board to make a USB HID device, which supports three communication modes to correspond to the three host comput ...
Added by fr0mat on Fri, 18 Feb 2022 18:56:08 +0200
pytorch model tensorrt accelerates - pth to onnx to trt, and tests the model speed in reasoning trt model
First, you need to install two necessary packages tensorrt and torch2trt. If tensorrt, you need to download the tar compressed package on the official website. It is recommended to download the tar package for installation, Official website , I downloaded version 7.2.3. torch2trt can clone projects on GitHub. My environment (tensorrt seems to w ...
Added by Sk8Er_GuY on Fri, 18 Feb 2022 18:51:22 +0200
Go language Web framework guide
brief introduction
wego is a high-performance Web framework written in Go language, which can be used to quickly develop various applications such as RESTful services and back-end services. wego framework is a complete MVC framework, including routing module, database ORM module, view template processing and Session module. wego has the charac ...
Added by Horizon88 on Fri, 18 Feb 2022 18:45:24 +0200
npm command line tool development guide
We often use command-line tools in front-end development, such as @babel/cli,vue-cli,create-react-app wait. So how to create an npm command line tool? In fact, it's very simple. It only takes a few steps.
establish
1 initialize npm project
npm init
package name: (cli) gogocode-cli
version: (1.0.0)
description: my-first-cli
entry point: (ind ...
Added by cry of war on Fri, 18 Feb 2022 18:37:28 +0200
Serialization of Lambda expression and ingenious use of SerializedLambda in JDK
premise
In my spare time after work, I think about writing a set of lightweight ORM framework based on JDBC with Javassist as the core, and studying the source code of mybatis, TK mapper, mybatis plus and spring boot starter JDBC, It is found that LambdaQueryWrapper in mybatis-plus can get the method information (actually CallSite informatio ...
Added by epicalex on Fri, 18 Feb 2022 18:21:35 +0200
[design pattern learning] summary of several common design patterns
1, Introduction
Software Design Pattern, also known as design pattern, is a summary of code design experience that is repeatedly used, known by most people, classified and catalogued. It describes some recurring problems in the process of software design and the solutions to the problems. In other words, it is a series of routines to solve ...
Added by bhogg on Fri, 18 Feb 2022 18:12:59 +0200
Difference between ReentranLock and Synchronized
ReentranLock
Lock interface is a built-in attribute, not built-in in java language. It can realize synchronous access ReentranLock is the implementation class of Lock interface After java SE 5, a Lock interface (and related implementation classes) is added to implement the Lock function However, it is used to acquire and release locks expl ...
Added by AtomicRax on Fri, 18 Feb 2022 18:08:16 +0200
Regular expressions for headaches
regular expression
Learning regular expressions has always been a headache, but the main reason is that there are too many characters and rules. Therefore, for me, it is because of laziness. I can change this state by summing up carefully and slowly. Regular expression is actually a tool for string pattern matching, so as to realize the func ...
Added by orlandinho on Fri, 18 Feb 2022 18:02:00 +0200
Python basic tutorial - Introduction to web crawler
Foreword
Python is a high-level programming language with interpretive, object-oriented and dynamic data types. It was invented by Guido van Rossum at the end of 1989 and the first public release was released in 1991. Since its launch, Python has been welcomed by the majority of developers. It has its excellence in the fields of website develo ...
Added by Joe Haley on Fri, 18 Feb 2022 18:01:15 +0200