xunibidev / coinexchange Goto Github PK
View Code? Open in Web Editor NEW币严BIZZAN全新升级,修复重大bug,优化冗余代码
License: Apache License 2.0
币严BIZZAN全新升级,修复重大bug,优化冗余代码
License: Apache License 2.0
web_front
` ERROR Failed to compile with 6 errors 02:12:59
These relative modules were not found:
`
00_framework/market/src/main/java/com/bizzan/bitrade/job)/KLineGeneratorJob.java
你们是怎么写出syncKLine这么,额 这么奇思妙想的代码的,要不试试抽取公共代码?
虽然这部分代码没用上,也不至于摆这么烂的一坨代码在上面吧
long periodSeconds = getPeriodSeconds(period);//不要问我这个函数具体怎么写
long reqKLineAmount = getReqKLineAmount(period);//同上
if(timeGap >= periodSeconds ) { // 超出1个period
if(fromTime == 0) {
logger.info("分钟执行获取K线["+period+"] ===> from == 0");
// 初始化K线,获取最近的N根K线
WebSocketConnectionManage.getWebSocket().reqKLineList(symbol, period, currentTime - periodSeconds * reqKLineAmount, currentTime);
}else{
// 非初始化,获取最近产生的K线
long toTime = fromTime + (timeGap / periodSeconds) * periodSeconds - 5;//timeGap - (timeGap % periodSeconds); // +10秒是为了获取本区间内的K线
WebSocketConnectionManage.getWebSocket().reqKLineList(symbol, period, fromTime, toTime);
}
}
这样不干净一些吗,为啥要写一大坨
com.bizzan.bitrade.entity.下缺少Q开头的类,比如说在core包下CoinService中的query方法所引用的QCoin类就没有
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.