
    %j                     8    d dl Zd dlmc mZ d dlmZ d Zd Z	dS )    N)_is_stop_orderc                  2   ddddd} t          |           }d}||u }|st          j        d|fd||f          dt          j                    v st          j        t                     rt          j        t                     ndd	t          j                    v st          j        |           rt          j        |           nd	t          j        |          t          j        |          d
z  }dd|iz  }t          t          j        |                    d x}x}}d S )NBTCTA0.00024)coin
reduceOnlysideszisz0%(py3)s
{%(py3)s = %(py0)s(%(py1)s)
} is %(py6)sr   orderpy0py1py3py6assert %(py8)spy8	r   
@pytest_ar_call_reprcompare@py_builtinslocals_should_repr_global_name	_safereprAssertionError_format_explanationr   @py_assert2@py_assert5@py_assert4@py_format7@py_format9s         [/home/agent/projects/CryptoTradingBot/Crypto_Agent/tests/test_hl_testnet_fill_stop_smoke.pyBtest_is_stop_order_treats_reduce_only_exchange_order_as_protectionr'      s9   $9MME%  (D( D(((((((((( D((((((((((((>(((((>(((((((((((((%(((((%(((((( ((((D(((((((((((((((((((((((((((((    c                  0   dddd} t          |           }d}||u }|st          j        d|fd||f          dt          j                    v st          j        t                     rt          j        t                     ndd	t          j                    v st          j        |           rt          j        |           nd	t          j        |          t          j        |          d
z  }dd|iz  }t          t          j        |                    d x}x}}d S )Nr   Br   )r   r
   r   Fr   r   r   r   r   r   r   r   r    s         r&   7test_is_stop_order_rejects_plain_non_reduce_limit_orderr+   
   s7   Cy99E%  )E) E)))))))))) E))))))))))))>)))))>)))))))))))))%)))))%)))))) ))))E)))))))))))))))))))))))))))))r(   )
builtinsr   _pytest.assertion.rewrite	assertionrewriter   $src.tools.hl_testnet_fill_stop_smoker   r'   r+    r(   r&   <module>r2      sZ                  ? ? ? ? ? ?) ) )* * * * *r(   