Skip to content

Commit

Permalink
imrpove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
T. Ismael Verdugo committed Oct 25, 2024
1 parent 239b519 commit e533571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cryptomarket/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def create_spot_order_list(
# +String+ +quantity+:: Order quantity
# +bool+ +strict_validate+:: Price and quantity will be checked for incrementation within the symbol’s tick size and quantity step. See the symbol's tick_size and quantity_increment
# +String+ +price+:: Required if order type is 'limit', 'stopLimit', or 'takeProfitLimit'. Order price
# +String+ +stop_price+:: Required if order type is 'stopLimit', 'stopMarket', 'takeProfitLimit', or 'takeProfitMarket'. Order price
# +String+ +stop_price+:: Required if order type is 'stopLimit', 'stopMarket', 'takeProfitLimit', or 'takeProfitMarket'. Order stop price

def replace_spot_order(
client_order_id:,
Expand Down
2 changes: 1 addition & 1 deletion lib/cryptomarket/websocket/trading_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def get_spot_trading_balance(currency:, callback:)
# +String+ +new_client_order_id+:: the new client order id for the modified order. must be unique within the trading day
# +String+ +quantity+:: new order quantity
# +String+ +price+:: new order price
# +String+ +stop_price+:: Required if order type is 'stopLimit', 'stopMarket', 'takeProfitLimit', or 'takeProfitMarket'. Order price
# +String+ +stop_price+:: Required if order type is 'stopLimit', 'stopMarket', 'takeProfitLimit', or 'takeProfitMarket'. Order stop price
# +Bool+ +strict_validate+:: price and quantity will be checked for the incrementation with tick size and quantity step. See symbol's tick_size and quantity_increment
# +Proc+ +callback+:: Optional. A +Proc+ of two arguments, An exception and a result, called either with the exception or with the result, the new version of the order
def replace_spot_order( # rubocop:disable Metrics/ParameterLists
Expand Down

0 comments on commit e533571

Please sign in to comment.