We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128b12 commit f762c5bCopy full SHA for f762c5b
1 file changed
backtesting/backtesting.py
@@ -1218,8 +1218,9 @@ def __init__(self,
1218
'fill them in with `df.interpolate()` or whatever.')
1219
if np.any(data['Close'] > cash):
1220
warnings.warn('Some prices are larger than initial cash value. Note that fractional '
1221
- 'trading is not supported. If you want to trade Bitcoin, '
1222
- 'increase initial cash, or trade μBTC or satoshis instead (GH-134).',
+ 'trading is not supported by this class. If you want to trade Bitcoin, '
+ 'increase initial cash, or trade μBTC or satoshis instead (see e.g. class '
1223
+ '`backtesting.lib.FractionalBacktest`.',
1224
stacklevel=2)
1225
if not data.index.is_monotonic_increasing:
1226
warnings.warn('Data index is not sorted in ascending order. Sorting.',
0 commit comments