gate-api 7.2.7__tar.gz → 7.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. {gate_api-7.2.7 → gate_api-7.2.8}/PKG-INFO +3 -3
  2. {gate_api-7.2.7 → gate_api-7.2.8}/README.md +2 -2
  3. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/__init__.py +1 -1
  4. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api_client.py +1 -1
  5. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/configuration.py +2 -2
  6. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/batch_order.py +32 -4
  7. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/currency_pair.py +88 -4
  8. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order.py +32 -4
  9. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api.egg-info/PKG-INFO +3 -3
  10. {gate_api-7.2.7 → gate_api-7.2.8}/setup.py +1 -1
  11. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/__init__.py +0 -0
  12. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/account_api.py +0 -0
  13. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/collateral_loan_api.py +0 -0
  14. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/delivery_api.py +0 -0
  15. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/earn_api.py +0 -0
  16. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/earn_uni_api.py +0 -0
  17. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/flash_swap_api.py +0 -0
  18. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/futures_api.py +0 -0
  19. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/margin_api.py +0 -0
  20. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/margin_uni_api.py +0 -0
  21. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/multi_collateral_loan_api.py +0 -0
  22. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/options_api.py +0 -0
  23. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/rebate_api.py +0 -0
  24. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/spot_api.py +0 -0
  25. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/sub_account_api.py +0 -0
  26. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/unified_api.py +0 -0
  27. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/wallet_api.py +0 -0
  28. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/api/withdrawal_api.py +0 -0
  29. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/exceptions.py +0 -0
  30. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/__init__.py +0 -0
  31. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/account_balance.py +0 -0
  32. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/account_detail.py +0 -0
  33. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/account_detail_key.py +0 -0
  34. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/account_key_info.py +0 -0
  35. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/account_key_info_perms.py +0 -0
  36. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/account_rate_limit.py +0 -0
  37. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/agency_commission.py +0 -0
  38. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/agency_commission_history.py +0 -0
  39. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/agency_transaction.py +0 -0
  40. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/agency_transaction_history.py +0 -0
  41. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/auto_repay_setting.py +0 -0
  42. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/award_list_struct.py +0 -0
  43. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/award_list_struct_list.py +0 -0
  44. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/batch_amend_item.py +0 -0
  45. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/batch_amend_order_req.py +0 -0
  46. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/batch_futures_order.py +0 -0
  47. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/borrow_currency_info.py +0 -0
  48. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/broker_commission.py +0 -0
  49. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/broker_commission1.py +0 -0
  50. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/broker_commission_sub_broker_info.py +0 -0
  51. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/broker_transaction.py +0 -0
  52. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/broker_transaction1.py +0 -0
  53. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/cancel_batch_order.py +0 -0
  54. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/cancel_order_result.py +0 -0
  55. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_adjust.py +0 -0
  56. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_adjust_res.py +0 -0
  57. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_align.py +0 -0
  58. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_currency.py +0 -0
  59. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_currency_info.py +0 -0
  60. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_currency_res.py +0 -0
  61. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_current_rate.py +0 -0
  62. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_fix_rate.py +0 -0
  63. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_loan_currency.py +0 -0
  64. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_ltv.py +0 -0
  65. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_order.py +0 -0
  66. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/collateral_record.py +0 -0
  67. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/contract.py +0 -0
  68. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/contract_stat.py +0 -0
  69. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/convert_small_balance.py +0 -0
  70. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/countdown_cancel_all_futures_task.py +0 -0
  71. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/countdown_cancel_all_options_task.py +0 -0
  72. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/countdown_cancel_all_spot_task.py +0 -0
  73. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/create_collateral_order.py +0 -0
  74. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/create_multi_collateral_order.py +0 -0
  75. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/create_uni_lend.py +0 -0
  76. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/create_uni_loan.py +0 -0
  77. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/cross_margin_balance.py +0 -0
  78. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/cross_margin_loan.py +0 -0
  79. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/cross_margin_repayment.py +0 -0
  80. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/currency.py +0 -0
  81. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/currency_chain.py +0 -0
  82. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/currency_quota.py +0 -0
  83. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/debit_fee.py +0 -0
  84. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_account.py +0 -0
  85. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_account_book.py +0 -0
  86. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_candlestick.py +0 -0
  87. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_contract.py +0 -0
  88. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_limit_risk_tiers.py +0 -0
  89. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_liquidate.py +0 -0
  90. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_my_trade.py +0 -0
  91. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_order.py +0 -0
  92. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_order_book.py +0 -0
  93. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_position.py +0 -0
  94. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_position_close.py +0 -0
  95. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_settlement.py +0 -0
  96. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_ticker.py +0 -0
  97. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/delivery_trade.py +0 -0
  98. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/deposit_address.py +0 -0
  99. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/deposit_record.py +0 -0
  100. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/dual_get_orders.py +0 -0
  101. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/dual_get_plans.py +0 -0
  102. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/eth2_rate_list.py +0 -0
  103. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/eth2_swap.py +0 -0
  104. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/find_coin.py +0 -0
  105. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/flash_swap_currency_pair.py +0 -0
  106. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/flash_swap_order.py +0 -0
  107. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/flash_swap_order_preview.py +0 -0
  108. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/flash_swap_order_request.py +0 -0
  109. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/flash_swap_preview_request.py +0 -0
  110. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/funding_account.py +0 -0
  111. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/funding_rate_record.py +0 -0
  112. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/future_cancel_order_result.py +0 -0
  113. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_account.py +0 -0
  114. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_account_book.py +0 -0
  115. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_account_history.py +0 -0
  116. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_auto_deleverage.py +0 -0
  117. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_batch_amend_order_request.py +0 -0
  118. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_bbo_order.py +0 -0
  119. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_candlestick.py +0 -0
  120. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_fee.py +0 -0
  121. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_index_constituents.py +0 -0
  122. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_initial_order.py +0 -0
  123. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_limit_risk_tiers.py +0 -0
  124. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_liq_order.py +0 -0
  125. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_liquidate.py +0 -0
  126. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_order.py +0 -0
  127. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_order_amendment.py +0 -0
  128. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_order_book.py +0 -0
  129. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_order_book_item.py +0 -0
  130. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_order_book_item1.py +0 -0
  131. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_position_cross_mode.py +0 -0
  132. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_premium_index.py +0 -0
  133. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_price_trigger.py +0 -0
  134. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_price_triggered_order.py +0 -0
  135. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_risk_limit_tier.py +0 -0
  136. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_ticker.py +0 -0
  137. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_trade.py +0 -0
  138. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/futures_update_price_triggered_order.py +0 -0
  139. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/index_constituent.py +0 -0
  140. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/inline_object.py +0 -0
  141. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/inline_response200.py +0 -0
  142. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/inline_response2001.py +0 -0
  143. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/insurance_record.py +0 -0
  144. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/ledger_record.py +0 -0
  145. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/liquidate_order.py +0 -0
  146. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_account.py +0 -0
  147. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_account_book.py +0 -0
  148. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_account_currency.py +0 -0
  149. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_leverage_tier.py +0 -0
  150. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_market_leverage.py +0 -0
  151. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_tiers.py +0 -0
  152. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/margin_transferable.py +0 -0
  153. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/max_uni_borrowable.py +0 -0
  154. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_futures_order.py +0 -0
  155. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_futures_position.py +0 -0
  156. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_margin_result.py +0 -0
  157. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_options_order.py +0 -0
  158. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_options_position.py +0 -0
  159. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_risk_unit.py +0 -0
  160. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_spot_balance.py +0 -0
  161. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/mock_spot_order.py +0 -0
  162. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_chain_address_item.py +0 -0
  163. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_collateral_currency.py +0 -0
  164. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_collateral_item.py +0 -0
  165. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_collateral_order.py +0 -0
  166. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_collateral_record.py +0 -0
  167. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_collateral_record_currency.py +0 -0
  168. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_loan_item.py +0 -0
  169. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_loan_repay_item.py +0 -0
  170. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_repay_record.py +0 -0
  171. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/multi_repay_resp.py +0 -0
  172. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/my_futures_trade.py +0 -0
  173. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/my_futures_trade_time_range.py +0 -0
  174. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/open_orders.py +0 -0
  175. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_account.py +0 -0
  176. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_account_book.py +0 -0
  177. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_candlestick.py +0 -0
  178. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_contract.py +0 -0
  179. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_mmp.py +0 -0
  180. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_mmp_reset.py +0 -0
  181. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_my_settlements.py +0 -0
  182. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_my_trade.py +0 -0
  183. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_order.py +0 -0
  184. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_order_book.py +0 -0
  185. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_position.py +0 -0
  186. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_position_close.py +0 -0
  187. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_position_close_order.py +0 -0
  188. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_settlement.py +0 -0
  189. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_ticker.py +0 -0
  190. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_trade.py +0 -0
  191. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_underlying.py +0 -0
  192. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/options_underlying_ticker.py +0 -0
  193. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order_book.py +0 -0
  194. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order_cancel.py +0 -0
  195. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order_list_struct.py +0 -0
  196. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order_list_struct_list.py +0 -0
  197. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order_patch.py +0 -0
  198. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/order_resp.py +0 -0
  199. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/partner_commission_history.py +0 -0
  200. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/partner_sub.py +0 -0
  201. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/partner_sub_list.py +0 -0
  202. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/partner_transaction_history.py +0 -0
  203. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/patch_uni_lend.py +0 -0
  204. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/place_dual_investment_order.py +0 -0
  205. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/position.py +0 -0
  206. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/position_close.py +0 -0
  207. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/position_close_order.py +0 -0
  208. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/profit_loss_range.py +0 -0
  209. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/rebate_user_info.py +0 -0
  210. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_currency_res.py +0 -0
  211. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_loan.py +0 -0
  212. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_multi_loan.py +0 -0
  213. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_record.py +0 -0
  214. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_record_currency.py +0 -0
  215. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_record_left_interest.py +0 -0
  216. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_record_repaid_currency.py +0 -0
  217. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_record_total_interest.py +0 -0
  218. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/repay_resp.py +0 -0
  219. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/risk_units.py +0 -0
  220. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/saved_address.py +0 -0
  221. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/small_balance.py +0 -0
  222. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/small_balance_history.py +0 -0
  223. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_account.py +0 -0
  224. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_account_book.py +0 -0
  225. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_currency_chain.py +0 -0
  226. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_fee.py +0 -0
  227. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_insurance_history.py +0 -0
  228. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_price_put_order.py +0 -0
  229. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_price_trigger.py +0 -0
  230. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/spot_price_triggered_order.py +0 -0
  231. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/stp_group.py +0 -0
  232. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/stp_group_user.py +0 -0
  233. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/structured_buy.py +0 -0
  234. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/structured_get_project_list.py +0 -0
  235. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/structured_order_list.py +0 -0
  236. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account.py +0 -0
  237. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_balance.py +0 -0
  238. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_cross_margin_balance.py +0 -0
  239. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_futures_balance.py +0 -0
  240. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_key.py +0 -0
  241. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_key_perms.py +0 -0
  242. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_margin_balance.py +0 -0
  243. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_to_sub_account.py +0 -0
  244. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_transfer.py +0 -0
  245. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_account_transfer_record_item.py +0 -0
  246. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_cross_margin_account.py +0 -0
  247. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/sub_user_mode.py +0 -0
  248. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/swap_coin.py +0 -0
  249. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/swap_coin_struct.py +0 -0
  250. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/system_time.py +0 -0
  251. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/ticker.py +0 -0
  252. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/total_balance.py +0 -0
  253. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/trade.py +0 -0
  254. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/trade_fee.py +0 -0
  255. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/transaction_id.py +0 -0
  256. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/transfer.py +0 -0
  257. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/transfer_order_status.py +0 -0
  258. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/transferables_result.py +0 -0
  259. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/trigger_order_response.py +0 -0
  260. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/trigger_time.py +0 -0
  261. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uid_push_order.py +0 -0
  262. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uid_push_withdrawal.py +0 -0
  263. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uid_push_withdrawal_resp.py +0 -0
  264. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_currency.py +0 -0
  265. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_currency_interest.py +0 -0
  266. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_currency_pair.py +0 -0
  267. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_interest_record.py +0 -0
  268. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_lend.py +0 -0
  269. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_lend_interest.py +0 -0
  270. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_lend_record.py +0 -0
  271. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_loan.py +0 -0
  272. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_loan_interest_record.py +0 -0
  273. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/uni_loan_record.py +0 -0
  274. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_account.py +0 -0
  275. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_balance.py +0 -0
  276. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_borrowable.py +0 -0
  277. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_borrowable1.py +0 -0
  278. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_collateral_req.py +0 -0
  279. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_collateral_res.py +0 -0
  280. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_currency.py +0 -0
  281. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_discount.py +0 -0
  282. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_discount_tiers.py +0 -0
  283. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_history_loan_rate.py +0 -0
  284. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_history_loan_rate_rates.py +0 -0
  285. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_leverage_config.py +0 -0
  286. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_leverage_setting.py +0 -0
  287. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_loan.py +0 -0
  288. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_loan_record.py +0 -0
  289. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_loan_result.py +0 -0
  290. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_margin_tiers.py +0 -0
  291. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_mode_set.py +0 -0
  292. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_portfolio_input.py +0 -0
  293. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_portfolio_output.py +0 -0
  294. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_risk_units.py +0 -0
  295. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_settings.py +0 -0
  296. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/unified_transferable.py +0 -0
  297. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/user_ltv_info.py +0 -0
  298. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/user_sub.py +0 -0
  299. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/user_sub_relation.py +0 -0
  300. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/user_total_amount.py +0 -0
  301. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/withdraw_status.py +0 -0
  302. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/withdrawal_record.py +0 -0
  303. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/models/withdrawals_del.py +0 -0
  304. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api/rest.py +0 -0
  305. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api.egg-info/SOURCES.txt +0 -0
  306. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api.egg-info/dependency_links.txt +0 -0
  307. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api.egg-info/requires.txt +0 -0
  308. {gate_api-7.2.7 → gate_api-7.2.8}/gate_api.egg-info/top_level.txt +0 -0
  309. {gate_api-7.2.7 → gate_api-7.2.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gate-api
3
- Version: 7.2.7
3
+ Version: 7.2.8
4
4
  Summary: Gate API
5
5
  Home-page: https://github.com/gate/gateapi-python
6
6
  Author: Gate API support
@@ -32,8 +32,8 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
32
32
 
33
33
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
34
34
 
35
- - API version: v4.106.7
36
- - Package version: 7.2.7
35
+ - API version: v4.106.8
36
+ - Package version: 7.2.8
37
37
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
38
38
  For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
39
39
 
@@ -4,8 +4,8 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
4
4
 
5
5
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
6
6
 
7
- - API version: v4.106.7
8
- - Package version: 7.2.7
7
+ - API version: v4.106.8
8
+ - Package version: 7.2.8
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
  For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
11
11
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  from __future__ import absolute_import
16
16
 
17
- __version__ = "7.2.7"
17
+ __version__ = "7.2.8"
18
18
 
19
19
  # import apis into sdk package
20
20
  from gate_api.api.earn_uni_api import EarnUniApi
@@ -83,7 +83,7 @@ class ApiClient(object):
83
83
  self.default_headers[header_name] = header_value
84
84
  self.cookie = cookie
85
85
  # Set default User-Agent.
86
- self.user_agent = 'OpenAPI-Generator/7.2.7/python'
86
+ self.user_agent = 'OpenAPI-Generator/7.2.8/python'
87
87
  # Set default X-Gate-Size-Decimal header for futures API
88
88
  self.default_headers['X-Gate-Size-Decimal'] = '1'
89
89
  self.client_side_validation = configuration.client_side_validation
@@ -313,8 +313,8 @@ conf = gate_api.Configuration(
313
313
  return "Python SDK Debug Report:\n"\
314
314
  "OS: {env}\n"\
315
315
  "Python Version: {pyversion}\n"\
316
- "Version of the API: v4.106.7\n"\
317
- "SDK Package Version: 7.2.7".\
316
+ "Version of the API: v4.106.8\n"\
317
+ "SDK Package Version: 7.2.8".\
318
318
  format(env=sys.platform, pyversion=sys.version)
319
319
 
320
320
  def get_host_settings(self):
@@ -69,7 +69,8 @@ class BatchOrder(object):
69
69
  'rebated_fee_currency': 'str',
70
70
  'stp_id': 'int',
71
71
  'stp_act': 'str',
72
- 'finish_as': 'str'
72
+ 'finish_as': 'str',
73
+ 'slippage': 'str'
73
74
  }
74
75
 
75
76
  attribute_map = {
@@ -109,11 +110,12 @@ class BatchOrder(object):
109
110
  'rebated_fee_currency': 'rebated_fee_currency',
110
111
  'stp_id': 'stp_id',
111
112
  'stp_act': 'stp_act',
112
- 'finish_as': 'finish_as'
113
+ 'finish_as': 'finish_as',
114
+ 'slippage': 'slippage'
113
115
  }
114
116
 
115
- def __init__(self, order_id=None, amend_text=None, text=None, succeeded=None, label=None, message=None, id=None, create_time=None, update_time=None, create_time_ms=None, update_time_ms=None, status=None, currency_pair=None, type='limit', account='spot', side=None, amount=None, price=None, time_in_force='gtc', iceberg=None, auto_borrow=None, auto_repay=None, left=None, filled_amount=None, fill_price=None, filled_total=None, avg_deal_price=None, fee=None, fee_currency=None, point_fee=None, gt_fee=None, gt_discount=None, rebated_fee=None, rebated_fee_currency=None, stp_id=None, stp_act=None, finish_as=None, local_vars_configuration=None): # noqa: E501
116
- # type: (str, str, str, bool, str, str, str, str, str, int, int, str, str, str, str, str, str, str, str, str, bool, bool, str, str, str, str, str, str, str, str, str, bool, str, str, int, str, str, Configuration) -> None
117
+ def __init__(self, order_id=None, amend_text=None, text=None, succeeded=None, label=None, message=None, id=None, create_time=None, update_time=None, create_time_ms=None, update_time_ms=None, status=None, currency_pair=None, type='limit', account='spot', side=None, amount=None, price=None, time_in_force='gtc', iceberg=None, auto_borrow=None, auto_repay=None, left=None, filled_amount=None, fill_price=None, filled_total=None, avg_deal_price=None, fee=None, fee_currency=None, point_fee=None, gt_fee=None, gt_discount=None, rebated_fee=None, rebated_fee_currency=None, stp_id=None, stp_act=None, finish_as=None, slippage=None, local_vars_configuration=None): # noqa: E501
118
+ # type: (str, str, str, bool, str, str, str, str, str, int, int, str, str, str, str, str, str, str, str, str, bool, bool, str, str, str, str, str, str, str, str, str, bool, str, str, int, str, str, str, Configuration) -> None
117
119
  """BatchOrder - a model defined in OpenAPI""" # noqa: E501
118
120
  if local_vars_configuration is None:
119
121
  local_vars_configuration = Configuration()
@@ -156,6 +158,7 @@ class BatchOrder(object):
156
158
  self._stp_id = None
157
159
  self._stp_act = None
158
160
  self._finish_as = None
161
+ self._slippage = None
159
162
  self.discriminator = None
160
163
 
161
164
  if order_id is not None:
@@ -232,6 +235,8 @@ class BatchOrder(object):
232
235
  self.stp_act = stp_act
233
236
  if finish_as is not None:
234
237
  self.finish_as = finish_as
238
+ if slippage is not None:
239
+ self.slippage = slippage
235
240
 
236
241
  @property
237
242
  def order_id(self):
@@ -1126,6 +1131,29 @@ class BatchOrder(object):
1126
1131
 
1127
1132
  self._finish_as = finish_as
1128
1133
 
1134
+ @property
1135
+ def slippage(self):
1136
+ """Gets the slippage of this BatchOrder. # noqa: E501
1137
+
1138
+ Slippage, default limit range 0.0001-0.05, converted to percentage is 0.01%-5%, indicating the acceptable price difference for market order transactions # noqa: E501
1139
+
1140
+ :return: The slippage of this BatchOrder. # noqa: E501
1141
+ :rtype: str
1142
+ """
1143
+ return self._slippage
1144
+
1145
+ @slippage.setter
1146
+ def slippage(self, slippage):
1147
+ """Sets the slippage of this BatchOrder.
1148
+
1149
+ Slippage, default limit range 0.0001-0.05, converted to percentage is 0.01%-5%, indicating the acceptable price difference for market order transactions # noqa: E501
1150
+
1151
+ :param slippage: The slippage of this BatchOrder. # noqa: E501
1152
+ :type: str
1153
+ """
1154
+
1155
+ self._slippage = slippage
1156
+
1129
1157
  def to_dict(self):
1130
1158
  """Returns the model properties as a dict"""
1131
1159
  result = {}
@@ -53,7 +53,10 @@ class CurrencyPair(object):
53
53
  'trade_url': 'str',
54
54
  'st_tag': 'bool',
55
55
  'up_rate': 'str',
56
- 'down_rate': 'str'
56
+ 'down_rate': 'str',
57
+ 'slippage': 'str',
58
+ 'market_order_max_stock': 'str',
59
+ 'market_order_max_money': 'str'
57
60
  }
58
61
 
59
62
  attribute_map = {
@@ -77,11 +80,14 @@ class CurrencyPair(object):
77
80
  'trade_url': 'trade_url',
78
81
  'st_tag': 'st_tag',
79
82
  'up_rate': 'up_rate',
80
- 'down_rate': 'down_rate'
83
+ 'down_rate': 'down_rate',
84
+ 'slippage': 'slippage',
85
+ 'market_order_max_stock': 'market_order_max_stock',
86
+ 'market_order_max_money': 'market_order_max_money'
81
87
  }
82
88
 
83
- def __init__(self, id=None, base=None, base_name=None, quote=None, quote_name=None, fee=None, min_base_amount=None, min_quote_amount=None, max_base_amount=None, max_quote_amount=None, amount_precision=None, precision=None, trade_status=None, sell_start=None, buy_start=None, delisting_time=None, type=None, trade_url=None, st_tag=None, up_rate=None, down_rate=None, local_vars_configuration=None): # noqa: E501
84
- # type: (str, str, str, str, str, str, str, str, str, str, int, int, str, int, int, int, str, str, bool, str, str, Configuration) -> None
89
+ def __init__(self, id=None, base=None, base_name=None, quote=None, quote_name=None, fee=None, min_base_amount=None, min_quote_amount=None, max_base_amount=None, max_quote_amount=None, amount_precision=None, precision=None, trade_status=None, sell_start=None, buy_start=None, delisting_time=None, type=None, trade_url=None, st_tag=None, up_rate=None, down_rate=None, slippage=None, market_order_max_stock=None, market_order_max_money=None, local_vars_configuration=None): # noqa: E501
90
+ # type: (str, str, str, str, str, str, str, str, str, str, int, int, str, int, int, int, str, str, bool, str, str, str, str, str, Configuration) -> None
85
91
  """CurrencyPair - a model defined in OpenAPI""" # noqa: E501
86
92
  if local_vars_configuration is None:
87
93
  local_vars_configuration = Configuration()
@@ -108,6 +114,9 @@ class CurrencyPair(object):
108
114
  self._st_tag = None
109
115
  self._up_rate = None
110
116
  self._down_rate = None
117
+ self._slippage = None
118
+ self._market_order_max_stock = None
119
+ self._market_order_max_money = None
111
120
  self.discriminator = None
112
121
 
113
122
  if id is not None:
@@ -152,6 +161,12 @@ class CurrencyPair(object):
152
161
  self.up_rate = up_rate
153
162
  if down_rate is not None:
154
163
  self.down_rate = down_rate
164
+ if slippage is not None:
165
+ self.slippage = slippage
166
+ if market_order_max_stock is not None:
167
+ self.market_order_max_stock = market_order_max_stock
168
+ if market_order_max_money is not None:
169
+ self.market_order_max_money = market_order_max_money
155
170
 
156
171
  @property
157
172
  def id(self):
@@ -642,6 +657,75 @@ class CurrencyPair(object):
642
657
 
643
658
  self._down_rate = down_rate
644
659
 
660
+ @property
661
+ def slippage(self):
662
+ """Gets the slippage of this CurrencyPair. # noqa: E501
663
+
664
+ Currency Slippage # noqa: E501
665
+
666
+ :return: The slippage of this CurrencyPair. # noqa: E501
667
+ :rtype: str
668
+ """
669
+ return self._slippage
670
+
671
+ @slippage.setter
672
+ def slippage(self, slippage):
673
+ """Sets the slippage of this CurrencyPair.
674
+
675
+ Currency Slippage # noqa: E501
676
+
677
+ :param slippage: The slippage of this CurrencyPair. # noqa: E501
678
+ :type: str
679
+ """
680
+
681
+ self._slippage = slippage
682
+
683
+ @property
684
+ def market_order_max_stock(self):
685
+ """Gets the market_order_max_stock of this CurrencyPair. # noqa: E501
686
+
687
+ Maximum Market Order Quantity # noqa: E501
688
+
689
+ :return: The market_order_max_stock of this CurrencyPair. # noqa: E501
690
+ :rtype: str
691
+ """
692
+ return self._market_order_max_stock
693
+
694
+ @market_order_max_stock.setter
695
+ def market_order_max_stock(self, market_order_max_stock):
696
+ """Sets the market_order_max_stock of this CurrencyPair.
697
+
698
+ Maximum Market Order Quantity # noqa: E501
699
+
700
+ :param market_order_max_stock: The market_order_max_stock of this CurrencyPair. # noqa: E501
701
+ :type: str
702
+ """
703
+
704
+ self._market_order_max_stock = market_order_max_stock
705
+
706
+ @property
707
+ def market_order_max_money(self):
708
+ """Gets the market_order_max_money of this CurrencyPair. # noqa: E501
709
+
710
+ Maximum Market Order Amount # noqa: E501
711
+
712
+ :return: The market_order_max_money of this CurrencyPair. # noqa: E501
713
+ :rtype: str
714
+ """
715
+ return self._market_order_max_money
716
+
717
+ @market_order_max_money.setter
718
+ def market_order_max_money(self, market_order_max_money):
719
+ """Sets the market_order_max_money of this CurrencyPair.
720
+
721
+ Maximum Market Order Amount # noqa: E501
722
+
723
+ :param market_order_max_money: The market_order_max_money of this CurrencyPair. # noqa: E501
724
+ :type: str
725
+ """
726
+
727
+ self._market_order_max_money = market_order_max_money
728
+
645
729
  def to_dict(self):
646
730
  """Returns the model properties as a dict"""
647
731
  result = {}
@@ -68,7 +68,8 @@ class Order(object):
68
68
  'stp_id': 'int',
69
69
  'stp_act': 'str',
70
70
  'finish_as': 'str',
71
- 'action_mode': 'str'
71
+ 'action_mode': 'str',
72
+ 'slippage': 'str'
72
73
  }
73
74
 
74
75
  attribute_map = {
@@ -107,11 +108,12 @@ class Order(object):
107
108
  'stp_id': 'stp_id',
108
109
  'stp_act': 'stp_act',
109
110
  'finish_as': 'finish_as',
110
- 'action_mode': 'action_mode'
111
+ 'action_mode': 'action_mode',
112
+ 'slippage': 'slippage'
111
113
  }
112
114
 
113
- def __init__(self, id=None, text=None, amend_text=None, create_time=None, update_time=None, create_time_ms=None, update_time_ms=None, status=None, currency_pair=None, type='limit', account='spot', side=None, amount=None, price=None, time_in_force='gtc', iceberg=None, auto_borrow=None, auto_repay=None, left=None, filled_amount=None, fill_price=None, filled_total=None, avg_deal_price=None, fee=None, fee_currency=None, point_fee=None, gt_fee=None, gt_maker_fee=None, gt_taker_fee=None, gt_discount=None, rebated_fee=None, rebated_fee_currency=None, stp_id=None, stp_act=None, finish_as=None, action_mode=None, local_vars_configuration=None): # noqa: E501
114
- # type: (str, str, str, str, str, int, int, str, str, str, str, str, str, str, str, str, bool, bool, str, str, str, str, str, str, str, str, str, str, str, bool, str, str, int, str, str, str, Configuration) -> None
115
+ def __init__(self, id=None, text=None, amend_text=None, create_time=None, update_time=None, create_time_ms=None, update_time_ms=None, status=None, currency_pair=None, type='limit', account='spot', side=None, amount=None, price=None, time_in_force='gtc', iceberg=None, auto_borrow=None, auto_repay=None, left=None, filled_amount=None, fill_price=None, filled_total=None, avg_deal_price=None, fee=None, fee_currency=None, point_fee=None, gt_fee=None, gt_maker_fee=None, gt_taker_fee=None, gt_discount=None, rebated_fee=None, rebated_fee_currency=None, stp_id=None, stp_act=None, finish_as=None, action_mode=None, slippage=None, local_vars_configuration=None): # noqa: E501
116
+ # type: (str, str, str, str, str, int, int, str, str, str, str, str, str, str, str, str, bool, bool, str, str, str, str, str, str, str, str, str, str, str, bool, str, str, int, str, str, str, str, Configuration) -> None
115
117
  """Order - a model defined in OpenAPI""" # noqa: E501
116
118
  if local_vars_configuration is None:
117
119
  local_vars_configuration = Configuration()
@@ -153,6 +155,7 @@ class Order(object):
153
155
  self._stp_act = None
154
156
  self._finish_as = None
155
157
  self._action_mode = None
158
+ self._slippage = None
156
159
  self.discriminator = None
157
160
 
158
161
  if id is not None:
@@ -224,6 +227,8 @@ class Order(object):
224
227
  self.finish_as = finish_as
225
228
  if action_mode is not None:
226
229
  self.action_mode = action_mode
230
+ if slippage is not None:
231
+ self.slippage = slippage
227
232
 
228
233
  @property
229
234
  def id(self):
@@ -1095,6 +1100,29 @@ class Order(object):
1095
1100
 
1096
1101
  self._action_mode = action_mode
1097
1102
 
1103
+ @property
1104
+ def slippage(self):
1105
+ """Gets the slippage of this Order. # noqa: E501
1106
+
1107
+ Slippage, default limit range 0.0001-0.05, converted to percentage is 0.01%-5%, indicating the acceptable price difference for market order transactions # noqa: E501
1108
+
1109
+ :return: The slippage of this Order. # noqa: E501
1110
+ :rtype: str
1111
+ """
1112
+ return self._slippage
1113
+
1114
+ @slippage.setter
1115
+ def slippage(self, slippage):
1116
+ """Sets the slippage of this Order.
1117
+
1118
+ Slippage, default limit range 0.0001-0.05, converted to percentage is 0.01%-5%, indicating the acceptable price difference for market order transactions # noqa: E501
1119
+
1120
+ :param slippage: The slippage of this Order. # noqa: E501
1121
+ :type: str
1122
+ """
1123
+
1124
+ self._slippage = slippage
1125
+
1098
1126
  def to_dict(self):
1099
1127
  """Returns the model properties as a dict"""
1100
1128
  result = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gate-api
3
- Version: 7.2.7
3
+ Version: 7.2.8
4
4
  Summary: Gate API
5
5
  Home-page: https://github.com/gate/gateapi-python
6
6
  Author: Gate API support
@@ -32,8 +32,8 @@ APIv4 provides operations related to spot, margin, and contract trading, includi
32
32
 
33
33
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
34
34
 
35
- - API version: v4.106.7
36
- - Package version: 7.2.7
35
+ - API version: v4.106.8
36
+ - Package version: 7.2.8
37
37
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
38
38
  For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts)
39
39
 
@@ -13,7 +13,7 @@
13
13
  from setuptools import setup, find_packages # noqa: H301
14
14
 
15
15
  NAME = "gate-api"
16
- VERSION = "7.2.7"
16
+ VERSION = "7.2.8"
17
17
  # To install the library, run the following
18
18
  #
19
19
  # python setup.py install