Python-掘金量化返回指定日期的上一个交易日 - 72 - 本文档使用 掘金量化 构建 股票与指数数据函数 股票与指数数据函数(beta版) stk_get_index_constituents - 查询指数最新成分股 python股票与指数数据API包含在gm3.0.145版本及以上版本,不需要引入新库 查询指定指数在最新交易日的成分股和权重 函数原型: 1. stk_get_index_constituents(index) 股票与指数数据函数 - 74 - 本文档使用 掘金量化 构建 期货数据函数 期货数据函数(beta版) fut_get_continuous_contracts - 查询连续合约对应的真实合约 python期货数据API包含在gm3.0.145版本及以上版本,不需要引入新库 查询指定时间段连续合约在每个交易日上对应的真实合约 函数原型: 1. fut_get_continuous_contracts(csymbol credit_selling_on_collateral - 担保品卖出 credit_collateral_in - 担保品转入 credit_collateral_out - 担保品转出 python两融SDK包含在gm3.0.126版本及以上版本,不需要引入新库 融资融券暂时仅支持实盘委托,不支持仿真交易 函数原型: 1. credit_buying_on_margin(position_src1 魔豆 | 142 页 | 2.44 MB | 3 年前3
Pyjnius Documentation Release 1.0a1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.3 Java class implementation in Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.4 Java signature format . . . . . . . . . . . . . 25 6 Indices and tables 27 Python Module Index 29 i ii Pyjnius Documentation, Release 1.0a1 Pyjnius is a Python library for accessing Java classes. This documentation Collection (GCC), the JDK and JRE installed (openjdk will do), and Cython. Then, just type: sudo python setup.py install If you want to compile the extension within the directory for any development,3 魔豆 | 35 页 | 187.37 KB | 2 年前3
云服务器 API 文档中的“签名串生成”功能,选择签名版本为“API 3.0 签名 v3”,可以生成签名过程进行验证,也可直接生成 SDK 代码。推荐使用腾讯云 API 配套的 7 种常见的编程语言 SDK,已经封装了签名和请求过程,均已开源,支持 Python、Java、PHP、Go、 NodeJS、.NET、C++。 申请安全凭证 本文使用的安全凭证为密钥,密钥包括 SecretId 和 SecretKey。每个用户最多可以拥有两对密钥。 SecretId:用于标识 在实际调用 API 3.0 时,推荐使用配套的腾讯云 SDK 3.0 ,SDK 封装了签名的过程,开发时只关注产品提供的具体接口即可。详细信息参见 SDK 中 心。当前支持的编程语言有: Python Java PHP Go 云服务器 版权所有:腾讯云计算(北京)有限责任公司 第51 共445页 NodeJS .NET C++ 下面提供了不同产品的生成签名 demo,您可以找到对应的产品参考签名的生成: append("\"") .append(" -d '").append(payload).append("'"); System.out.println(sb.toString()); } } Python # -*- coding: utf-8 -*- import hashlib, hmac, json, os, sys, time from datetime import datetime1 魔豆 | 445 页 | 15.44 MB | 3 年前3
SWAT+ Editor Documentationto create and build SWAT+ Editor: • Node.js 8.x • Electron 1.8.x • Vue.js 2.x • Bootstrap 4 • Python 3.x • PyInstaller • SQLite • Peewee ORM • Git repository hosted on Bitbucket • Read the Docs SWAT+ Editor uses the Peewee ORM (object-relational mapping) to represent and work with the tables in Python. The use of an ORM provides a layer of abstraction and portability in hopes of streamlining future under development. Foreign Keys Relationships are defined in a Peewee ORM python class as a ForeignKeyField. In the python class, the field will be named after the object it is referencing. In the database3 魔豆 | 31 页 | 255.68 KB | 2 年前5
PostgreSQL 9.4.26 Documentation...................1127 43. PL/Python - Python Procedural Language......................................................................1129 43.1. Python 2 vs. Python 3.............................. ...........................................................1129 43.2. PL/Python Functions ..........................................................................................1130 43.3. Data Values Subtransaction Context Managers .........................................................1141 43.8.2. Older Python Versions ...........................................................................1142 43.9. Utility1 魔豆 | 2452 页 | 5.99 MB | 2 年前5
PostgreSQL 15.3 Documentation............................. 1440 46. PL/Python — Python Procedural Language ........................................................... 1442 46.1. PL/Python Functions ............................... ............................................................................. 1456 46.10. Python 2 vs. Python 3 ........................................................................... 1457 46.11. Environment hashes, and scalars, as appropriate. The extension for PL/Python is called jsonb_plpython3u. If you use it, jsonb values are mapped to Python dictionaries, lists, and scalars, as appropriate. Of these0 魔豆 | 3063 页 | 13.45 MB | 2 年前3
PostgreSQL 7.3.2 Tutorialand having a wide range of language bind- ings available (including C, C++, Java, Perl, Tcl, and Python). 2.1. The Berkeley POSTGRES Project Implementation of the POSTGRES DBMS began in 1986. The initial PIC, ? PL/Perl, ? PL/pgSQL, ? PL/Python, ? PL/SQL, ? PL/Tcl, ? point, ? polygon, ? port, ? postgres user, ? postmaster, ?, ? ps to monitor activity, ? psql, 3 Python, ? Q qualified names, ? query,1 魔豆 | 40 页 | 280.71 KB | 2 年前3
弹性负载均衡用户指南节点的操作系统发行版与内核版本必须相同。 6. 验证TOA内核模块 TOA内核模块安装成功后即可直接获取到源地址,此处提供一个验证的例子。 执行如下命令,在安装有python的后端服务器中启动一个简易的HTTP服务。 python -m SimpleHTTPServer port 其中,port需要与ELB添加该后端服务器时配置的端口一致,默认为80。 启动之后,通过客户端访问ELB的IP时,服务端的访问日志如下: -5所示。 图 15-5 查询内核 9. 验证TOA内核模块 TOA内核模块安装成功后即可直接获取到源地址,此处提供一个验证的例子。 执行如下命令,在安装有python的后端服务器中启动一个简易的HTTP服务。 python -m SimpleHTTPServer port 其中,port需要与ELB添加该后端服务器时配置的端口一致,默认为80。 启动之后,通过客户端访问ELB的IP时,服务端的访问日志如下:1 魔豆 | 227 页 | 2.87 MB | 3 年前3
共 8 条
- 1










