@@ -395,7 +395,7 @@ class Order:
395395 All placed orders are [Good 'Til Canceled].
396396
397397 [filled]: https://www.investopedia.com/terms/f/fill.asp
398- [Good 'Til Canceled]: https://www.investopedia.com/terms/g/gtc.asp
398+ [Good 'Til Canceled]: https://en.wikipedia.org/wiki/Order_(exchange)#Time_in_force
399399 """
400400 def __init__ (self , broker : '_Broker' ,
401401 size : float ,
@@ -463,8 +463,8 @@ def limit(self) -> Optional[float]:
463463 Order limit price for [limit orders], or None for [market orders],
464464 which are filled at next available price.
465465
466- [limit orders]: https://www.investopedia.com/terms/l/limitorder.asp
467- [market orders]: https://www.investopedia.com/terms/m/marketorder.asp
466+ [limit orders]: https://en.wikipedia.org/wiki/Order_(exchange)#Limit_order
467+ [market orders]: https://en.wikipedia.org/wiki/Order_(exchange)#Market_order
468468 """
469469 return self .__limit_price
470470
@@ -474,7 +474,7 @@ def stop(self) -> Optional[float]:
474474 Order stop price for [stop-limit/stop-market][_] order,
475475 otherwise None if no stop was set, or the stop price has already been hit.
476476
477- [_]: https://www.investopedia.com/terms/s/stoporder.asp
477+ [_]: https://en.wikipedia.org/wiki/Order_(exchange)#Stop_orders
478478 """
479479 return self .__stop_price
480480
@@ -532,7 +532,7 @@ def is_contingent(self):
532532 You can modify contingent orders through `Trade.sl` and `Trade.tp`.
533533
534534 [contingent]: https://www.investopedia.com/terms/c/contingentorder.asp
535- [OCO]: https://www.investopedia.com/terms/o/oco.asp
535+ [OCO]: https://en.wikipedia.org/wiki/Order_(exchange)#One_cancels_other_orders
536536 """
537537 return bool ((parent := self .__parent_trade ) and
538538 (self is parent ._sl_order or
@@ -1374,7 +1374,7 @@ def optimize(self, *,
13741374 `backtesting.backtesting.Backtest.run`-returned results series,
13751375 or a function that accepts this series object and returns a number;
13761376 the higher the better. By default, the method maximizes
1377- Van Tharp's [System Quality Number](https://google.com/search ?q=System+Quality+Number).
1377+ Van Tharp's [System Quality Number](https://altpower.app/ ?q=System+Quality+Number).
13781378
13791379 `method` is the optimization method. Currently two methods are supported:
13801380
0 commit comments