<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>量化交易 &#8211; Daoker小站</title>
	<atom:link href="https://daoker.cc/w/%e9%87%8f%e5%8c%96%e4%ba%a4%e6%98%93/feed" rel="self" type="application/rss+xml" />
	<link>https://daoker.cc</link>
	<description>个人随笔小记</description>
	<lastBuildDate>Thu, 25 Aug 2022 13:51:54 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://daoker.cc/wp-content/uploads/2022/08/cropped-daoker_blog_s-32x32.png</url>
	<title>量化交易 &#8211; Daoker小站</title>
	<link>https://daoker.cc</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>安装可视化桌面和量化交易平台vnpy榨干甲骨文云ARM性能</title>
		<link>https://daoker.cc/daokerto205.html</link>
					<comments>https://daoker.cc/daokerto205.html#respond</comments>
		
		<dc:creator><![CDATA[博主]]></dc:creator>
		<pubDate>Thu, 25 Aug 2022 12:43:02 +0000</pubDate>
				<category><![CDATA[搞机]]></category>
		<category><![CDATA[玩docker]]></category>
		<category><![CDATA[可视化桌面]]></category>
		<category><![CDATA[甲骨文云]]></category>
		<category><![CDATA[量化交易]]></category>
		<guid isPermaLink="false">https://daoker.eu.org/?p=205</guid>

					<description><![CDATA[我甲骨文云分成两台2C+12G的实例，虽然挂了博客还有很多好玩的项目，但是总体占用依然也很低，于是我决定拿出一 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>我甲骨文云分成两台2C+12G的实例，虽然挂了博客还有很多好玩的项目，但是总体占用依然也很低，于是我决定拿出一台来安装可视化远程桌面，看看能不能搭建一个量化交易平台。</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="412" src="http://daoker.cc/wp-content/uploads/2022/08/image-44-1024x412.png" alt="" class="wp-image-208" srcset="https://daoker.cc/wp-content/uploads/2022/08/image-44-1024x412.png 1024w, https://daoker.cc/wp-content/uploads/2022/08/image-44-300x121.png 300w, https://daoker.cc/wp-content/uploads/2022/08/image-44-768x309.png 768w, https://daoker.cc/wp-content/uploads/2022/08/image-44.png 1180w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>试用了下科技lion的这篇文章里的<a rel="noreferrer noopener" href="https://kejilion.blogspot.com/2022/06/ubuntu.html" target="_blank">远程访问ubuntu桌面</a>，感觉不太好用，所以自己去docker hub找了个<a rel="noreferrer noopener" href="https://hub.docker.com/r/kasmweb/ubuntu-bionic-desktop" target="_blank">kasmweb/ubuntu-bionic-desktop</a>,run起来：</p>



<pre class="wp-block-code"><code>#sudo docker run --rm  -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/&lt;image>:&lt;tag>
#这里的image填写<a rel="noreferrer noopener" href="https://hub.docker.com/r/kasmweb/ubuntu-bionic-desktop" target="_blank">ubuntu-bionic-desktop</a>，tag写1.10.0,因为我部署的时候这镜像才更新半小时，所以拉取了很多次才成
sudo docker run --rm  -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/<a rel="noreferrer noopener" href="https://hub.docker.com/r/kasmweb/ubuntu-bionic-desktop" target="_blank">ubuntu-bionic-desktop</a>:1.10.0</code></pre>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="338" src="http://daoker.cc/wp-content/uploads/2022/08/image-45-1024x338.png" alt="" class="wp-image-209" srcset="https://daoker.cc/wp-content/uploads/2022/08/image-45-1024x338.png 1024w, https://daoker.cc/wp-content/uploads/2022/08/image-45-300x99.png 300w, https://daoker.cc/wp-content/uploads/2022/08/image-45-768x254.png 768w, https://daoker.cc/wp-content/uploads/2022/08/image-45.png 1313w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>打开浏览器输入https://:6901，并输入默认用户名和密码，登录成功。</p>



<ul class="wp-block-list"><li><strong>User</strong> : <code>kasm_user</code></li><li><strong>Password</strong>: <code>password</code></li></ul>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="545" src="http://daoker.cc/wp-content/uploads/2022/08/image-46-1024x545.png" alt="" class="wp-image-210" srcset="https://daoker.cc/wp-content/uploads/2022/08/image-46-1024x545.png 1024w, https://daoker.cc/wp-content/uploads/2022/08/image-46-300x160.png 300w, https://daoker.cc/wp-content/uploads/2022/08/image-46-768x408.png 768w, https://daoker.cc/wp-content/uploads/2022/08/image-46-1536x817.png 1536w, https://daoker.cc/wp-content/uploads/2022/08/image-46.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>为了安全，容器关闭后会自动删除，如果不想删除，可以在run的时候把&#8211;rm去掉。</p>



<div class="wp-block-argon-github github-info-card card shadow-sm github-info-card-full" data-author="vnpy" data-project="vnpy"><div class="github-info-card-header"><a href="https://github.com/" target="_blank" title="Github" rel="noopener"><span><i class="fa fa-github"></i> GitHub</span></a></div><div class="github-info-card-body"><div class="github-info-card-name-a"><a href="https://github.com/vnpy/vnpy" target="_blank" rel="noopener"><span class="github-info-card-name">vnpy/vnpy</span></a></div><div class="github-info-card-description"></div></div><div class="github-info-card-bottom"><span class="github-info-card-meta github-info-card-meta-stars"><i class="fa fa-star"></i> <span class="github-info-card-stars"></span></span><span class="github-info-card-meta github-info-card-meta-forks"><i class="fa fa-code-fork"></i> <span class="github-info-card-forks"></span></span></div></div>



<p>运行</p>



<pre class="wp-block-code"><code>wget https://github.com/vnpy/vnpy/archive/refs/tags/3.3.0.zip</code></pre>



<p>量化交易插件并解压安装</p>



<p>这系统不能获取root权限，所以卡在这了，继续找资料中</p>
]]></content:encoded>
					
					<wfw:commentRss>https://daoker.cc/daokerto205.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
