Hikyuu
命名空间
util.cpp 文件参考
#include <cmath>
#include "util.h"
#include <iconv.h>
#include <string.h>
#include <iostream>
util.cpp 的引用(Include)关系图:

命名空间

 hku
 Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
 

函数

double HKU_API hku::roundEx (double number, int ndigits=0)
 四舍五入,和python中的round行为一样 更多...
 
double HKU_API hku::roundUp (double number, int ndigits=0)
 向上截取,如10.1截取后为11 更多...
 
double HKU_API hku::roundDown (double number, int ndigits=0)
 向下截取,如10.1截取后为10 更多...
 
string HKU_API hku::utf8_to_gb (const string &szinput)
 
string HKU_API hku::gb_to_utf8 (const string &szinput)