Initial commit: 首次建仓,建立目录结构
This commit is contained in:
@ -0,0 +1,113 @@
|
||||
from ccxt.base.types import Entry
|
||||
|
||||
|
||||
class ImplicitAPI:
|
||||
public_get_bbo_market = publicGetBboMarket = Entry('bbo/{market}', 'public', 'GET', {'cost': 1})
|
||||
public_get_bbo_market_interactive = publicGetBboMarketInteractive = Entry('bbo/{market}/interactive', 'public', 'GET', {'cost': 1})
|
||||
public_get_funding_data = publicGetFundingData = Entry('funding/data', 'public', 'GET', {'cost': 1})
|
||||
public_get_markets = publicGetMarkets = Entry('markets', 'public', 'GET', {'cost': 1})
|
||||
public_get_markets_klines = publicGetMarketsKlines = Entry('markets/klines', 'public', 'GET', {'cost': 1})
|
||||
public_get_markets_summary = publicGetMarketsSummary = Entry('markets/summary', 'public', 'GET', {'cost': 1})
|
||||
public_get_orderbook_market = publicGetOrderbookMarket = Entry('orderbook/{market}', 'public', 'GET', {'cost': 1})
|
||||
public_get_orderbook_market_impact_price = publicGetOrderbookMarketImpactPrice = Entry('orderbook/{market}/impact-price', 'public', 'GET', {'cost': 1})
|
||||
public_get_orderbook_market_interactive = publicGetOrderbookMarketInteractive = Entry('orderbook/{market}/interactive', 'public', 'GET', {'cost': 1})
|
||||
public_get_insurance = publicGetInsurance = Entry('insurance', 'public', 'GET', {'cost': 1})
|
||||
public_get_jwks_json = publicGetJwksJson = Entry('jwks.json', 'public', 'GET', {'cost': 1})
|
||||
public_get_onboarding = publicGetOnboarding = Entry('onboarding', 'public', 'GET', {'cost': 1})
|
||||
public_get_referrals_config = publicGetReferralsConfig = Entry('referrals/config', 'public', 'GET', {'cost': 1})
|
||||
public_get_staking_config = publicGetStakingConfig = Entry('staking/config', 'public', 'GET', {'cost': 1})
|
||||
public_get_system_announcements = publicGetSystemAnnouncements = Entry('system/announcements', 'public', 'GET', {'cost': 1})
|
||||
public_get_system_config = publicGetSystemConfig = Entry('system/config', 'public', 'GET', {'cost': 1})
|
||||
public_get_system_portfolio_margin_config = publicGetSystemPortfolioMarginConfig = Entry('system/portfolio-margin-config', 'public', 'GET', {'cost': 1})
|
||||
public_get_system_state = publicGetSystemState = Entry('system/state', 'public', 'GET', {'cost': 1})
|
||||
public_get_system_time = publicGetSystemTime = Entry('system/time', 'public', 'GET', {'cost': 1})
|
||||
public_get_system_volume_tiers = publicGetSystemVolumeTiers = Entry('system/volume-tiers', 'public', 'GET', {'cost': 1})
|
||||
public_get_trades = publicGetTrades = Entry('trades', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults = publicGetVaults = Entry('vaults', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults_balance = publicGetVaultsBalance = Entry('vaults/balance', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults_config = publicGetVaultsConfig = Entry('vaults/config', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults_history = publicGetVaultsHistory = Entry('vaults/history', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults_positions = publicGetVaultsPositions = Entry('vaults/positions', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults_summary = publicGetVaultsSummary = Entry('vaults/summary', 'public', 'GET', {'cost': 1})
|
||||
public_get_vaults_transfers = publicGetVaultsTransfers = Entry('vaults/transfers', 'public', 'GET', {'cost': 1})
|
||||
public_get_xp_fee_config = publicGetXpFeeConfig = Entry('xp/fee-config', 'public', 'GET', {'cost': 1})
|
||||
public_get_xp_public_transfers = publicGetXpPublicTransfers = Entry('xp/public-transfers', 'public', 'GET', {'cost': 1})
|
||||
public_get_xp_transfer_transfer_id = publicGetXpTransferTransferId = Entry('xp/transfer/{transfer_id}', 'public', 'GET', {'cost': 1})
|
||||
private_get_account = privateGetAccount = Entry('account', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_compliance = privateGetAccountCompliance = Entry('account/compliance', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_history = privateGetAccountHistory = Entry('account/history', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_info = privateGetAccountInfo = Entry('account/info', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_margin = privateGetAccountMargin = Entry('account/margin', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_profile = privateGetAccountProfile = Entry('account/profile', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_settings = privateGetAccountSettings = Entry('account/settings', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_subaccounts = privateGetAccountSubaccounts = Entry('account/subaccounts', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_summary = privateGetAccountSummary = Entry('account/summary', 'private', 'GET', {'cost': 1})
|
||||
private_get_balance = privateGetBalance = Entry('balance', 'private', 'GET', {'cost': 1})
|
||||
private_get_fills = privateGetFills = Entry('fills', 'private', 'GET', {'cost': 1})
|
||||
private_get_funding_payments = privateGetFundingPayments = Entry('funding/payments', 'private', 'GET', {'cost': 1})
|
||||
private_get_positions = privateGetPositions = Entry('positions', 'private', 'GET', {'cost': 1})
|
||||
private_get_tradebusts = privateGetTradebusts = Entry('tradebusts', 'private', 'GET', {'cost': 1})
|
||||
private_get_transactions = privateGetTransactions = Entry('transactions', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_keys_subkeys = privateGetAccountKeysSubkeys = Entry('account/keys/subkeys', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_keys_subkeys_public_key = privateGetAccountKeysSubkeysPublicKey = Entry('account/keys/subkeys/{public_key}', 'private', 'GET', {'cost': 1})
|
||||
private_get_account_tokens = privateGetAccountTokens = Entry('account/tokens', 'private', 'GET', {'cost': 1})
|
||||
private_get_algo_orders = privateGetAlgoOrders = Entry('algo/orders', 'private', 'GET', {'cost': 1})
|
||||
private_get_algo_orders_history = privateGetAlgoOrdersHistory = Entry('algo/orders-history', 'private', 'GET', {'cost': 1})
|
||||
private_get_algo_orders_algo_id = privateGetAlgoOrdersAlgoId = Entry('algo/orders/{algo_id}', 'private', 'GET', {'cost': 1})
|
||||
private_get_block_trades = privateGetBlockTrades = Entry('block-trades', 'private', 'GET', {'cost': 1})
|
||||
private_get_block_trades_block_trade_id = privateGetBlockTradesBlockTradeId = Entry('block-trades/{block_trade_id}', 'private', 'GET', {'cost': 1})
|
||||
private_get_block_trades_block_trade_id_offers = privateGetBlockTradesBlockTradeIdOffers = Entry('block-trades/{block_trade_id}/offers', 'private', 'GET', {'cost': 1})
|
||||
private_get_block_trades_block_trade_id_offers_offer_id = privateGetBlockTradesBlockTradeIdOffersOfferId = Entry('block-trades/{block_trade_id}/offers/{offer_id}', 'private', 'GET', {'cost': 1})
|
||||
private_get_liquidations = privateGetLiquidations = Entry('liquidations', 'private', 'GET', {'cost': 1})
|
||||
private_get_orders = privateGetOrders = Entry('orders', 'private', 'GET', {'cost': 1})
|
||||
private_get_orders_history = privateGetOrdersHistory = Entry('orders-history', 'private', 'GET', {'cost': 1})
|
||||
private_get_orders_by_client_id_client_id = privateGetOrdersByClientIdClientId = Entry('orders/by_client_id/{client_id}', 'private', 'GET', {'cost': 1})
|
||||
private_get_orders_order_id = privateGetOrdersOrderId = Entry('orders/{order_id}', 'private', 'GET', {'cost': 1})
|
||||
private_get_referrals_qr_code = privateGetReferralsQrCode = Entry('referrals/qr-code', 'private', 'GET', {'cost': 1})
|
||||
private_get_referrals_summary = privateGetReferralsSummary = Entry('referrals/summary', 'private', 'GET', {'cost': 1})
|
||||
private_get_staking_history = privateGetStakingHistory = Entry('staking/history', 'private', 'GET', {'cost': 1})
|
||||
private_get_staking_summary = privateGetStakingSummary = Entry('staking/summary', 'private', 'GET', {'cost': 1})
|
||||
private_get_transfers = privateGetTransfers = Entry('transfers', 'private', 'GET', {'cost': 1})
|
||||
private_get_vaults_account_summary = privateGetVaultsAccountSummary = Entry('vaults/account-summary', 'private', 'GET', {'cost': 1})
|
||||
private_get_vaults_mine = privateGetVaultsMine = Entry('vaults/mine', 'private', 'GET', {'cost': 1})
|
||||
private_get_xp_account_balance = privateGetXpAccountBalance = Entry('xp/account-balance', 'private', 'GET', {'cost': 1})
|
||||
private_get_xp_transfers = privateGetXpTransfers = Entry('xp/transfers', 'private', 'GET', {'cost': 1})
|
||||
private_post_account_compliance = privatePostAccountCompliance = Entry('account/compliance', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_margin_market = privatePostAccountMarginMarket = Entry('account/margin/{market}', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_market_max_slippage_market = privatePostAccountProfileMarketMaxSlippageMarket = Entry('account/profile/market_max_slippage/{market}', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_notifications = privatePostAccountProfileNotifications = Entry('account/profile/notifications', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_notifications_last_seen = privatePostAccountProfileNotificationsLastSeen = Entry('account/profile/notifications/last_seen', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_referral_code = privatePostAccountProfileReferralCode = Entry('account/profile/referral_code', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_refresh_inventory = privatePostAccountProfileRefreshInventory = Entry('account/profile/refresh_inventory', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_size_currency_display = privatePostAccountProfileSizeCurrencyDisplay = Entry('account/profile/size_currency_display', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_profile_username = privatePostAccountProfileUsername = Entry('account/profile/username', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_referrer = privatePostAccountReferrer = Entry('account/referrer', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_settings_trading_value_display = privatePostAccountSettingsTradingValueDisplay = Entry('account/settings/trading_value_display', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_keys_subkeys_activate = privatePostAccountKeysSubkeysActivate = Entry('account/keys/subkeys/activate', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_keys_subkeys = privatePostAccountKeysSubkeys = Entry('account/keys/subkeys', 'private', 'POST', {'cost': 1})
|
||||
private_post_account_tokens = privatePostAccountTokens = Entry('account/tokens', 'private', 'POST', {'cost': 1})
|
||||
private_post_algo_orders = privatePostAlgoOrders = Entry('algo/orders', 'private', 'POST', {'cost': 1})
|
||||
private_post_auth = privatePostAuth = Entry('auth', 'private', 'POST', {'cost': 1})
|
||||
private_post_block_trades = privatePostBlockTrades = Entry('block-trades', 'private', 'POST', {'cost': 1})
|
||||
private_post_block_trades_block_trade_id_execute = privatePostBlockTradesBlockTradeIdExecute = Entry('block-trades/{block_trade_id}/execute', 'private', 'POST', {'cost': 1})
|
||||
private_post_block_trades_block_trade_id_offers = privatePostBlockTradesBlockTradeIdOffers = Entry('block-trades/{block_trade_id}/offers', 'private', 'POST', {'cost': 1})
|
||||
private_post_block_trades_block_trade_id_offers_offer_id_execute = privatePostBlockTradesBlockTradeIdOffersOfferIdExecute = Entry('block-trades/{block_trade_id}/offers/{offer_id}/execute', 'private', 'POST', {'cost': 1})
|
||||
private_post_onboarding = privatePostOnboarding = Entry('onboarding', 'private', 'POST', {'cost': 1})
|
||||
private_post_orders = privatePostOrders = Entry('orders', 'private', 'POST', {'cost': 1})
|
||||
private_post_orders_batch = privatePostOrdersBatch = Entry('orders/batch', 'private', 'POST', {'cost': 1})
|
||||
private_post_v2_auth = privatePostV2Auth = Entry('v2/auth', 'private', 'POST', {'cost': 1})
|
||||
private_post_v2_onboarding = privatePostV2Onboarding = Entry('v2/onboarding', 'private', 'POST', {'cost': 1})
|
||||
private_post_vaults = privatePostVaults = Entry('vaults', 'private', 'POST', {'cost': 1})
|
||||
private_post_xp_transfer = privatePostXpTransfer = Entry('xp/transfer', 'private', 'POST', {'cost': 1})
|
||||
private_put_account_profile = privatePutAccountProfile = Entry('account/profile', 'private', 'PUT', {'cost': 1})
|
||||
private_put_account_keys_subkeys_public_key = privatePutAccountKeysSubkeysPublicKey = Entry('account/keys/subkeys/{public_key}', 'private', 'PUT', {'cost': 1})
|
||||
private_put_orders_order_id = privatePutOrdersOrderId = Entry('orders/{order_id}', 'private', 'PUT', {'cost': 1})
|
||||
private_delete_account_keys_subkeys_public_key = privateDeleteAccountKeysSubkeysPublicKey = Entry('account/keys/subkeys/{public_key}', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_account_tokens_lookup_id = privateDeleteAccountTokensLookupId = Entry('account/tokens/{lookup_id}', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_algo_orders_algo_id = privateDeleteAlgoOrdersAlgoId = Entry('algo/orders/{algo_id}', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_block_trades_block_trade_id = privateDeleteBlockTradesBlockTradeId = Entry('block-trades/{block_trade_id}', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_block_trades_block_trade_id_offers_offer_id = privateDeleteBlockTradesBlockTradeIdOffersOfferId = Entry('block-trades/{block_trade_id}/offers/{offer_id}', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_orders = privateDeleteOrders = Entry('orders', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_orders_batch = privateDeleteOrdersBatch = Entry('orders/batch', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_orders_by_client_id_client_id = privateDeleteOrdersByClientIdClientId = Entry('orders/by_client_id/{client_id}', 'private', 'DELETE', {'cost': 1})
|
||||
private_delete_orders_order_id = privateDeleteOrdersOrderId = Entry('orders/{order_id}', 'private', 'DELETE', {'cost': 1})
|
||||
Reference in New Issue
Block a user