Skip to Content
Python算法交易
book

Python算法交易

by Yves Hilpisch
November 2022
Intermediate to advanced
392 pages
10h 8m
Chinese
China Electric Power Press Ltd.
Content preview from Python算法交易
Python
基础架构
|
51
编辑器
另一个主要工具是基于浏览器的文本编辑器,具有针对多种不同编程语言和文
件类型的语法高亮功能,以及典型的文本
/
代码编辑功能。
文件管理器
Jupyter Lab
还提供了完整的文件管理器,允许进行典型的文件操作,例如上传,
下载和重命名。
在
Droplet
上安装
Jupyter Lab
之后,就可以通过浏览器进行
Python
开发和部署,
从而避免了需要通过
Secure Shell
(
SSH
)访问登录到云实例。
为了实现本节的目标,需要几个脚本:
服务器初始化脚本
该脚本编排了所有必要的步骤,例如将其他文件复制到
Droplet
并在
Droplet
上
运行它们。
Python
和
Jupyter
安装脚本
这个脚本用于安装
Python
,其他的软件包
Jupyter Lab
,同时启动
Jupyter Lab
服务器。
Jupyter Notebook
配置文件
此文件用于
Jupyter Lab
服务器的配置,比如涉及密码保护的配置。
RSA
公钥私钥文件
这两个文件是与
Jupyter Lab
服务器进行通信的
SSL
加密所必需的。
尽管首先执行初始化脚本,但由于需要事先创建其他文件,因此以下部分我们将按
照以上列表的倒序来进行介绍。
2.4.1 RSA
公钥私钥
为了通过任意浏览器安全地连接到
Jupyter Lab
服务器,需要一个由
RSA
公钥和
私钥组成的
SSL
证书(请参阅
RSA Wikipedia
页面(
https://oreil.ly/8UG1K
))。
通常,人们会期望这种证书来自所谓的证书颁发机构(
CA
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar
图解大模型 : 生成式AI 原理与实战

图解大模型 : 生成式AI 原理与实战

Jay Alammar, Maarten Grootendorst

Publisher Resources

ISBN: 9787519869694