Using Python to write digital currency exchange
the tamper proof blockchain technology can solve the data forgery of traditional centralized game services and the risk of game user data leakage at one time, which makes AOCO subvert the traditional rules of the game instry, directly connect the components of the whole game ecological chain with a decentralized structure, and realize asset docking, circulation and storage.
currency transaction is mainly aimed at the transaction between digital currency and digital currency, in which one currency is used as the pricing unit to purchase other currencies. The currency transaction rule is also to complete the matching transaction according to the price priority and time priority
C2C transaction
both sides of the transaction release the transaction information of buying or selling currency on the C2C transaction platform according to the demand. The buyer and the Seller shall make payment according to the reservation. When the transaction is completed offline, the platform, as an intermediary, charges a certain percentage of the handling fee from each successful transaction
OTC OTC trading
is a set of offline purchase digital currency platform independent of the exchange. Anyone can publish purchase / sale advertisements on the platform. The purchase / sale users can purchase / sell through offline transfer. After the transfer, the platform will transfer the frozen digital currency to the buyer.
at present, the influence of mutual gold factory is OK, and its strength is relatively strong
it is also well-known in the instry
first choice!
Generally speaking, there are not many technologies available for blockchain development. The mainstream development languages are generally divided into the following four types. Different development languages require different timely configuration. You can also visit the blockchain development language selection.
first, go language is selected for development. The high concurrency of go language is very suitable for blockchain development
Secondly, C + + language and C + + technology are mature and fast Thirdly, Java language Four is, node, JSFive months
With its outstanding language advantages and characteristics, python has been integrated into every field of all walks of life. Generally speaking, python training requires about 5 months of off-the-job study, which can enable students to master the skills required for work and accumulate certain project experience. Of course, if you want to go further and further on the road of artificial intelligence, you need to constantly accumulate and learnin the five months of Python training, quite a large part of the time is in the actual combat projects. The first stage is a month long learning of the core programming of python, mainly the language foundation and advanced application of python, to help students acquire preliminary software engineering knowledge and establish molar programming ideas. After learning the content of this stage, the students are qualified for the position of junior development engineer of Python
extended materials:
Python development foundation course contents include: computer hardware, operating system principle, installation of Linux operating system, common commands for Linux operating system maintenance, python language introction, environment installation, basic grammar, basic data type, binary operation, process control, character coding, file processing, data type User authentication, three-level menu program, shopping cart program development, function, built-in method, recursion, iterator, decorator, built-in method, employee information table development, mole cross directory import, common standard library learning, B encryption, regular logging mole, software development specification learning, calculator program, ATM program development, etc
method 1
the previous data capture and analysis may have been written in Python, so this is the last step of the trading instruction interface. For retail investors in stocks, the normal way is for securities companies like Huabao, Guoxin and Xingye who are willing to give the interface, but it seems that they are only given the right when the account opening fee is very high. Moreover, there are only C + + interfaces like lts and CTP, and you need to package them without Python version
method 2
software like wind also has a direct interface to support some securities companies, but it's also expensive, and it's necessary in a few years
{rrrrrrr}
method 3
mouse and keyboard simulation method is very complex, which is to simulate the keyboard and mouse to operate some software, such as securities trading software and great wisdom
method 4
is to find and change the underlying code of the trading instructions of these software. However, under the T + 1 rule, the importance of prediction accuracy is higher than the timeliness of the transaction. It's good to spend time on data analysis, and the transaction can be completed manually
method 1
the previous data capture and analysis may have been written in Python, so this is the last step of the trading instruction interface. For retail investors in stocks, the normal way is for securities companies like Huabao, Guoxin and Xingye who are willing to give the interface, but it seems that they are only given the right when the account opening fee is very high. Moreover, there are only C + + interfaces like lts and CTP, and you need to package them without Python version
method 2
software like wind also has a direct interface to support some securities companies, but it's also expensive, and it's necessary in a few years
method 3
the mouse and keyboard simulation method is very complex, which is to simulate the keyboard and mouse to operate some software, such as securities trading software and great wisdom
method 4
is to find and change the underlying code of the trading instructions of these software. However, under the T + 1 rule, the importance of prediction accuracy is higher than the timeliness of the transaction. It's good to spend time on data analysis, and the transaction can be completed manually
because it doesn't limit the amount of change, you just need to change money in the order from big to small. This is a rounding operation
let me tell you a principle, and you can finish the details yourself
assuming that the price of the proct is y and the customer's money is Z, then the remainder of Z-Y is the change
the number of Z-Y is divided by 50, 20, 10, 5 banknotes in turn. If there are decimals that can not be completely divided, then continue to use coins of 2, 1, 0.25, etc. In the end, it should be just finished. In order to prevent floating-point operation error. You can start by multiplying Z and y by 100 and converting them to integers. So there's no problem
the operator used for remainder is% percent sign. You need to put 50, 20, 10.. 2,1,0.25. If the remainder is 0, break.