人工智能(Artificial Intelligence,简称AI)是指计算机系统在完成类似人类智力所需的任务时所表现出来的能力。它是一种复杂的技术,通过将大量的数据输入到算法中进行学习,不断调整和改进自己的算法,从而不断优化其性能。
What is quantitative trading?
Quantitative trading,also known as automated trading,is also known as"Quantitative Trading"in English.It refers to replacing human subjective judgment with robots,making trading strategies with reference to massive historical data,reducing the impact of investor sentiment fluctuations,and avoiding irrational investment decisions under the extreme fanaticism or pessimism of the market.
void WtHftStraDemo::__unlockAllOrders(){
this->__unlockBuy();
this->__unlockSell();
this->__unlockShort();
this->__unlockCover();
this->__unlockBuy();
this->__unlockSell();
this->__unlockShort();
this->__unlockCover();
}
bool WtHftStraDemo::__isMarketMakingAble(){
if(this->__marketMakingIsLock(false))
return false;
if(this->_ctx->tqz_getCancelCounts(this->_code.c_str())>this->_cancel_limit_counts)
return false;
if(this->_current_session_status!=MARKET_MAKING_STATUS)
return false;
if(this->__isBeyondUpperlimitOrLowerlimit(this->_code,this->_long_order_offset,this->_short_order_offset))//judge this->_re_market_making is true or false,then modify it...
return false;
return true;
}
bool WtHftStraDemo::__closeCodeIsLock(bool reSendLockOrder){
bool isLock=(this->_code_sell_lock||this->_code_cover_lock);
if(!reSendLockOrder)
return isLock;
if(this->_code_sell_lock)
this->__tqz_cancelOrder(this->_code,this->_code_sell_order);
if(this->_code_cover_lock)
this->__tqz_cancelOrder(this->_code,this->_code_cover_order);
return isLock;
}