Coder Social home page Coder Social logo

z-ethereum's Introduction

zerocap_otc

目录结构

|-- zerocap_otc

  |-- config 配置文件目录

    |-- config.py 配置导入入口

    |-- development.py 开发\测试环境配置

    |-- production.py 生产环境配置

  |-- db 数据库model定义目录

    |-- base_models.py 模型基类,包括db对象

    |-- models.py 项目模型定义

  |-- external_api 第三方api

    |-- fireblocks fireblocks相关接口

  |-- internal 业务逻辑实现目录

    |-- common 通用,比如error_manager

    |-- yield_manager yield管理

    |-- users 用户相关的逻辑处理

      |-- data_helper.py 数据查询和封装

    |-- transaction 交易相关的逻辑处理

      |-- data_helper.py 数据查询和封装

      |-- transaction .py 交易具体的逻辑

    |-- ......

  |-- scripts 相关脚本

    |-- crontab_scripts 定时任务脚本

     &emsp|-- save_and_send_position.py 保存发送仓位数据

  |-- service 服务定义

    |-- mixins 根据业务定义mixins类,用以拆分文件

    |-- otc_services.py grpc服务类实现

  |-- test 测试目录

  |-- utils 工具包

    |-- calc.py 计算相关

    |-- consts.py 常量定义

    |-- date_time_utils.py 时间工具

    |-- log_utils.py 日志工具

    |-- path_utils.py 路径工具

    |-- slack_utils.py slack工具

    |-- zc_exception.py 异常工具

  |-- app.py 服务启动脚本

  |-- ......

环境变量

export otcPath = ~/prod/zerocap_otc

端口:5012

z-ethereum's People

Contributors

wanghuaren avatar

Watchers

Hung Giang Van avatar  avatar

z-ethereum's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.