• Stars
    star
    474
  • Rank 92,277 (Top 2 %)
  • Language PLpgSQL
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A-share quantitative system. A股量化系统

shares

功能

  • A股量化交易系统
  • 后台开发语言 Go/Python gmsec
  • gormt 嵌入,自动数据库代码生成 gorm 自动构建(gormt)
  • 分时任务,盯盘助手,研报股评,每日监控,微信提醒,玩转组织,AI智能
  • uniapp 小程序端

欢迎微信扫码体验

show

安装

  • 进入到 shares 目录
  • 安装 cmake 工具
  • 安装服务器
git clone [email protected]:xxjwxc/shares.git

cd shares
git submodule update --init --recursive

make run
  • 客户端运行(hbuilder 直接导入 uniapp 即可)

部署运行

  • 可直接运行程序
  • 安装服务方式
sudo ./shares install
sudo ./shares start

or

sudo ./shares stop
sudo ./shares run

proto配置新加接口

  • 修改目录apidoc/proto/shares/目录下相关proto文件
  • 进入到server目录 使用make gen生成相关接口

配置说明

  • 服务配置
base:
    is_dev : true
    serial_number : 1.0.0
    service_name : shares
    service_displayname : sharesserver
    sercice_desc : shares微服务
tools_type: 4 # 0:正式环境,1:日分析,2:抓取消息,3:放量,4:放量监听
mysql_info:
    port : 3306 # 端口号
    username : root # 用户名
    host :  localhost # 地址
    password : 123456 # 密码
    # host : localhost
    # password : qwer
    database : caoguo_dev # 数据库名
redis_info:
    addrs: ["127.0.0.1:6379"]
    password: 123456
    group_name: oauth2
    db: 0
etcd_info:
    addrs: ["127.0.0.1:2379"]
    timeout: 3
wx_info:
    app_id : wxxxxxxxxxxxx31a
    app_secret : xxxxxxxxxxxxxxxxxxxxxxxx
    api_key : xxxxxxxxxxxxxxxxxxx
    mch_id : xxxxxxxxx
    notify_url : http://www.localhost.com
    shear_url : 
port: 82
file_host: https://www.localhost.com/shares/api/v1
max_capacity : 5
def_group: 默认指标
ext : [sh,sz,hk]
  • uniapp 配置 修改shares\uniapp\commcn\utils\server\def.jsserver.Host进行服务器配置

  • 数据库说明 详细请看mysql目录

传送门

实际效果图

More Repositories

1

uber_go_guide_cn

Uber Go 语言编码规范中文版. The Uber Go Style Guide .
7,558
star
2

gormt

database to golang struct
Go
2,347
star
3

caoguo

golang,微信小程序,电商系统
Vue
617
star
4

gowp

golang worker pool , Concurrency limiting goroutine pool
Go
492
star
5

ginrpc

gin auto binding,grpc, and annotated route,gin 注解路由, grpc,自动参数绑定工具
Go
289
star
6

public

util toolkit for go.golang 通用函数包
Go
171
star
7

gohanlp

Golang RESTful Client for HanLP.中文分词 词性标注 命名实体识别 依存句法分析 语义依存分析 新词发现 关键词短语提取 自动摘要 文本分类聚类 拼音简繁转换 自然语言处理
Go
36
star
8

esLog

elasticsearch log golang 的elasticsearch 日志封装,包括搜索,查询,添加等
Go
20
star
9

gofal

fractional api base on golang . golang math tools fractional molecular denominator 分数计算 分子 分母 运算
Go
18
star
10

xxjServer

C++ general tools,Cross-platform Tool Library
C
12
star
11

RTMP

rtmp online, 直播
C
11
star
12

openai

openai interface on golang
Go
11
star
13

PoetryRhyme

Poetry and rhyme,诗古,诗,诗歌
10
star
14

go-service

golang service,golang 服务创建库,跨平台支持,golang 系统服务注册库
Go
10
star
15

consult

golang consul tools
Go
7
star
16

GoSparkApi

golang 讯飞星火大模型 Go SparkApi
Go
6
star
17

xxjwxc.github.io

个人博客地址,欢迎访问
HTML
6
star
18

oauth2

golang oauth2 authorization tools , oauth2通用授权系统
C
6
star
19

SQLserverCppConnection

SQLserver Connection for cpp ,c++ sqlserver 链接库
C++
5
star
20

jump

remote monitoring . 远程监控工具
Go
5
star
21

ginrest

restful api base on go gin
Go
4
star
22

gomp3

mp3 decode mp3编解码器 golang版本 (pcm wav mp3)
C
3
star
23

douyin

golang 抖音弹幕消息
HTML
3
star
24

xxjwxc

1
star
25

gocharts

golang echarts tools
Go
1
star