永续合约是一种新型的合约,它是从传统的期货合约演变来的。但是相比于期货合约,永续合约没有到期或者结算日,It is more like a margin Spot market.Therefore,its trading price is relatively close to the reference index price of the target.
因为永续合约没有交割日,所以它更加适合长期持仓。就是说,只要你开的仓位只要没有爆仓被强行平仓,就永远不会被动平仓。你的委托挂单只要不是主动撤回,会永远保留直到达成交易。
What is a sustainable contract trading system developed from the perspective of users?
1.It supports multiple ordering methods such as limit orders,market orders,stop loss and stop loss orders,and planned open positions.Traders can choose appropriate tools based on specific circumstances and explore more advanced algorithmic order types.
2.A sound risk management system consisting of complex risk engines,intelligent clearing models,and additional high leverage trading risk reserves provides protection for high leverage trading.
3.Benchmarking the spot prices of multiple large exchanges,avoiding the risks caused by price fluctuations on a single exchange,locking in overall profits and losses,stabilizing returns,and providing a unique price protection mechanism across the entire network to prevent user losses caused by abnormal price manipulation in a short period of time,marking prices to determine strong level risks,and reducing unnecessary frequent short positions during market fluctuations.
4.A stable and fast matchmaking engine that can reach 100w+TPS,with an order processing speed of up to 20000 orders per second and a minimum delay of 5 milliseconds.It can simultaneously support smooth and stable operation with over a million online users.
5.Multiple leverage ratios to meet different risk preferences,supporting 10x,30x,50x,75x,100x leverage,and more.
6.With the simplest user interface,it's easy to get started playing with perpetual contracts.
Development plan for a sustainable contract trading system,source code construction for contract exchanges
//load and config mnn model
auto revertor=std::unique_ptr<Revert>(new Revert(model_name.c_str()));
revertor->initialize();
auto modelBuffer=revertor->getBuffer();
const auto bufferSize=revertor->getBufferSize();
auto net=std::shared_ptr<MNN::Interpreter>(MNN::Interpreter::createFromBuffer(modelBuffer,bufferSize));
revertor.reset();
MNN::ScheduleConfig config;
config.numThread=threads;
config.type=static_cast<MNNForwardType>(forward);
MNN::BackendConfig backendConfig;
config.backendConfig=&backendConfig;
auto session=net->createSession(config);
net->releaseModel();