<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dogwood008</author_name>
  <author_url>https://blog.hatena.ne.jp/dogwood008/</author_url>
  <blog_title>株のシステムトレードをしよう - 1から始める株自動取引システムの作り方</blog_title>
  <blog_url>https://how-to-make-stock-trading-system.dogwood008.com/</blog_url>
  <categories>
  </categories>
  <description>最初に、完成形のPRを貼っておく。 github.com まず、持っているポジションを参照して、その反対となる売買を同数でできるメソッドを用意した。ポジションがない場合、途中で早期リターンする。 # https://github.com/dogwood008/stock-trading-system/pull/25/commits/f5a59d360c2a7b2eb006815394b257500d498587 def _close_operation(self): position: bt.position.Position = self.position size: int = posit…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhow-to-make-stock-trading-system.dogwood008.com%2Fentry%2Fadd-close-feature&quot; title=&quot;手仕舞いできるようにする - 株のシステムトレードをしよう - 1から始める株自動取引システムの作り方&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/d/dogwood008/20220328/20220328214025.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-03-28 23:45:00</published>
  <title>手仕舞いできるようにする</title>
  <type>rich</type>
  <url>https://how-to-make-stock-trading-system.dogwood008.com/entry/add-close-feature</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
