Jagger.H
Jagger.H
``` [chan.py\Math\TrendLine.py:25](file:///C:/Users/Jagger/Documents/Code/short_term_trade/chan.py/Math/TrendLine.py:25): RuntimeWarning: invalid value encountered in scalar subtract return abs(self.slope*p.x - p.y + self.p.y - self.slope*self.p.x) / sqrt(self.slope**2 + 1) ``` 一个很奇怪的Bug,不影响运行,在整合chan.py到自己的项目里面的时候碰到的。 感觉是引入的其他包对项目本身的错误处理有影响,卡卡报warning。 因为`self.slope`是inf时,项目本身面临这个直接返回nan了。 项目很好,还是建议处理一下,有益无害~ 贴一下改后的代码 ``` @dataclass class...
#### Expected Behavior `OrderEvent` and `SerializedOrderEvent` should have an `ExecutionId` field to store the unique execution identifier provided by brokerages. #### Actual Behavior Currently, `OrderEvent` and `SerializedOrderEvent` classes do not...
This change allows IBAutomater to detect and reuse an already running IB Gateway process instead of always trying to start a new one. Benefits: - Avoids conflicts when IB Gateway...