mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-01 19:38:20 +08:00
Merge branch 'feature/macosx' of https://github.com/fasiondog/hikyuu into feature/macosx
This commit is contained in:
commit
2073256ab1
@ -38,7 +38,7 @@ void IRecover::_checkParam(const string& name) const {
|
||||
}
|
||||
|
||||
void IRecover::checkInputIndicator(const Indicator& ind) {
|
||||
HKU_CHECK(typeid(*(ind.getImp())) == typeid(IKData),
|
||||
HKU_CHECK(dynamic_cast<IKData*>(ind.getImp().get()) != nullptr,
|
||||
"Only the following indicators are accepted: OPEN|HIGH|CLOSE|LOW");
|
||||
string part = ind.getParam<string>("kpart");
|
||||
HKU_CHECK(part == "CLOSE" || part == "OPEN" || part == "HIGH" || part == "LOW",
|
||||
|
Loading…
Reference in New Issue
Block a user