<?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>github.com backtrader/brokers/bbroker.py の1187行目、 comminfo に対し、 self.getcommissioninfo(data) の戻り値を代入している。 当初の予定では、ここで得られる backtrader.CommInfoBase のインスタンスに対し、「金利計算済み」かどうかのフラグを持たせようとしていた。これにより、バックテストで現在着目している日時に新規に建玉を作成したのか、それとも以前から保持している建玉に再注目しただけなのかを判別し、金利を同日に重複して引き落とさないようにすることを達成しようとしていた。 しかし、実際は11…</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%2Fcomminfo-base-is-initialized&quot; title=&quot;CommInfoBaseが毎回初期化される - 株のシステムトレードをしよう - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-01 23:45:00</published>
  <title>CommInfoBaseが毎回初期化される</title>
  <type>rich</type>
  <url>https://how-to-make-stock-trading-system.dogwood008.com/entry/comminfo-base-is-initialized</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
