You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error when starting, what could be the problem?
path_optimizer.py:241: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
self.commission_matrix[np.meshgrid(indexes, indexes, indexing='ij', sparse=True)] = self.trading_fee[
Traceback (most recent call last):
File "main.py", line 40, in
path_optimizer.find_arbitrage()
File "path_optimizer.py", line 101, in find_arbitrage
self.update_commission_fee()
File "path_optimizer.py", line 241, in update_commission_fee
self.commission_matrix[np.meshgrid(indexes, indexes, indexing='ij', sparse=True)] = self.trading_fee[
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Hello
There is an error when starting, what could be the problem?
path_optimizer.py:241: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
self.commission_matrix[np.meshgrid(indexes, indexes, indexing='ij', sparse=True)] = self.trading_fee[
Traceback (most recent call last):
File "main.py", line 40, in
path_optimizer.find_arbitrage()
File "path_optimizer.py", line 101, in find_arbitrage
self.update_commission_fee()
File "path_optimizer.py", line 241, in update_commission_fee
self.commission_matrix[np.meshgrid(indexes, indexes, indexing='ij', sparse=True)] = self.trading_fee[
IndexError: only integers, slices (
:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indicesProcess finished with exit code 1
The text was updated successfully, but these errors were encountered: