<commit_before>exports.OPT_RESTAPI_URL = 'https://www.okcoin.com/api/v1';
exports.OPT_WEBSOCKET_URL = 'wss://real.okcoin.com:10440/websocket/okcoinapi';
exports.OPT_LIMIT_SEC = 0.2;
exports.OPT_LIMIT_HOST = 'https://www.okcoin.com';
exports.OPT_TIMEOUT_SEC = 30;

exports.ERROR_CODE_MSG = {
    10000 : "Required field, can not be null",
    10001 : "Request frequency too high",
    10002 : "System error",
    10003 : "Not in reqest list, please try again later",
    10004 : "IP not allowed to access the resource",
    10005 : "'secretKey' does not exist",
    10006 : "'partner' does not exist",
    10007 : "Signature does not match",
    10008 : "Illegal parameter",
    10009 : "Order does not exist",
    10010 : "Insufficient funds",
    10011 : "Amount too low",
    10012 : "Only btc_usd ltc_usd supported",
    10013 : "Only support https request",
    10014 : "Order price must be between 0 and 1,000,000",
    10015 : "Order price differs from current market price too much",
    10016 : "Insufficient coins balance",
    10017 : "API authorization error",
    10018 : "borrow amount less than lower limit [usd:100,btc:0.1,ltc:1]",
    10019 : "loan agreement not checked",
    10020 : "rate cannot exceed 1%",
    10021 : "rate cannot less than 0.01%",
    10023 : "fail to get latest ticker",
    10024 : "balance not sufficient",
    10025 : "quota is full, cannot borrow temporarily",
    10026 : "Loan (including reserved loan) and margin cannot be withdrawn",
    10027 : "Cannot withdraw within 24 hrs of authentication information modification",
    10028 : "Withdrawal amount exceeds daily limit",
    10029 : "Account has unpaid loan, please cancel/pay off the loan before withdraw",
    10031 : "Deposits can only be withdrawn after 6 confirmations",
    10032 : "Please enabled phone/google authenticator",
    10033 : "Fee higher than maximum network transaction fee",
    10034 : "Fee lower than minimum network transaction fee",
    10035 : "Insufficient BTC/LTC",
    10036 : "Withdrawal amount too low",
    10037 : "Trade password not set",
    10040 : "Withdrawal cancellation fails",
    10041 : "Withdrawal address not approved",
    10042 : "Admin password error",
    10043 : "Account equity error, withdrawal failure",
    10044 : "fail to cancel borrowing order",
    10047 : "this function is disabled for sub-account",
    10100 : "User account frozen",
    10216 : "Non-available API",
    20001 : "User does not exist",
    20002 : "Account frozen",
    20003 : "Account frozen due to liquidation",
    20004 : "Futures account frozen",
    20005 : "User futures account does not exist",
    20006 : "Required field missing",
    20007 : "Illegal parameter",
    20008 : "Futures account balance is too low",
    20009 : "Future contract status error",
    20010 : "Risk rate ratio does not exist",
    20011 : "Risk rate higher than 90% before opening position",
    20012 : "Risk rate higher than 90% after opening position",
    20013 : "Temporally no counter party price",
    20014 : "System error",
    20015 : "Order does not exist",
    20016 : "Close amount bigger than your open positions",
    20017 : "Not authorized/illegal operation",
    20018 : "Order price cannot be more than 103% or less than 97% of the previous minute price",
    20019 : "IP restricted from accessing the resource",
    20020 : "secretKey does not exist",
    20021 : "Index information does not exist",
    20022 : "Wrong API interface (Cross margin mode shall call cross margin API, fixed margin mode shall call fixed margin API)",
    20023 : "Account in fixed-margin mode",
    20024 : "Signature does not match",
    20025 : "Leverage rate error",
    20026 : "API Permission Error",
    20027 : "no transaction record",
    20028 : "no such contract",
};

<commit_msg>errcode add<commit_after>exports.OPT_RESTAPI_URL = 'https://www.okcoin.com/api/v1';
exports.OPT_WEBSOCKET_URL = 'wss://real.okcoin.com:10440/websocket/okcoinapi';
exports.OPT_LIMIT_SEC = 0.2;
exports.OPT_LIMIT_HOST = 'https://www.okcoin.com';
exports.OPT_TIMEOUT_SEC = 30;

exports.ERROR_CODE_MSG = {
    10000 : "Required field, can not be null",
    10001 : "Request frequency too high",
    10002 : "System error",
    10003 : "Not in reqest list, please try again later",
    10004 : "IP not allowed to access the resource",
    10005 : "'secretKey' does not exist",
    10006 : "'partner' does not exist",
    10007 : "Signature does not match",
    10008 : "Illegal parameter",
    10009 : "Order does not exist",
    10010 : "Insufficient funds",
    10011 : "Amount too low",
    10012 : "Only btc_usd ltc_usd supported",
    10013 : "Only support https request",
    10014 : "Order price must be between 0 and 1,000,000",
    10015 : "Order price differs from current market price too much",
    10016 : "Insufficient coins balance",
    10017 : "API authorization error",
    10018 : "borrow amount less than lower limit [usd:100,btc:0.1,ltc:1]",
    10019 : "loan agreement not checked",
    10020 : "rate cannot exceed 1%",
    10021 : "rate cannot less than 0.01%",
    10023 : "fail to get latest ticker",
    10024 : "balance not sufficient",
    10025 : "quota is full, cannot borrow temporarily",
    10026 : "Loan (including reserved loan) and margin cannot be withdrawn",
    10027 : "Cannot withdraw within 24 hrs of authentication information modification",
    10028 : "Withdrawal amount exceeds daily limit",
    10029 : "Account has unpaid loan, please cancel/pay off the loan before withdraw",
    10031 : "Deposits can only be withdrawn after 6 confirmations",
    10032 : "Please enabled phone/google authenticator",
    10033 : "Fee higher than maximum network transaction fee",
    10034 : "Fee lower than minimum network transaction fee",
    10035 : "Insufficient BTC/LTC",
    10036 : "Withdrawal amount too low",
    10037 : "Trade password not set",
    10040 : "Withdrawal cancellation fails",
    10041 : "Withdrawal address not approved",
    10042 : "Admin password error",
    10043 : "Account equity error, withdrawal failure",
    10044 : "fail to cancel borrowing order",
    10047 : "this function is disabled for sub-account",
    10048 : "withdrawal information does not exist",
    10049 : "User can not have more than 50 unfilled small orders (amount<0.5BTC)",
    10050 : "can't cancel more than once",
    10100 : "User account frozen",
    10216 : "Non-available API",
    20001 : "User does not exist",
    20002 : "Account frozen",
    20003 : "Account frozen due to liquidation",
    20004 : "Futures account frozen",
    20005 : "User futures account does not exist",
    20006 : "Required field missing",
    20007 : "Illegal parameter",
    20008 : "Futures account balance is too low",
    20009 : "Future contract status error",
    20010 : "Risk rate ratio does not exist",
    20011 : "Risk rate higher than 90% before opening position",
    20012 : "Risk rate higher than 90% after opening position",
    20013 : "Temporally no counter party price",
    20014 : "System error",
    20015 : "Order does not exist",
    20016 : "Close amount bigger than your open positions",
    20017 : "Not authorized/illegal operation",
    20018 : "Order price cannot be more than 103% or less than 97% of the previous minute price",
    20019 : "IP restricted from accessing the resource",
    20020 : "secretKey does not exist",
    20021 : "Index information does not exist",
    20022 : "Wrong API interface (Cross margin mode shall call cross margin API, fixed margin mode shall call fixed margin API)",
    20023 : "Account in fixed-margin mode",
    20024 : "Signature does not match",
    20025 : "Leverage rate error",
    20026 : "API Permission Error",
    20027 : "no transaction record",
    20028 : "no such contract",
    20029 : "Amount is large than available funds",
    20030 : "Account still has debts",
    20038 : "Due to regulation, this function is not availavle in the country/region your currently reside in.",
};


{'fraction_non_alphanumeric': 0.09807355516637478, 'fraction_numerical': 0.10432824618463848, 'mean_word_length': 3.4789915966386555, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '456345', 'n_tokens_mistral': 2842, 'n_tokens_neox': 2293, 'n_words': 959}