mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-29 23:16:51 +00:00
workflows: Add check for common LLM targeted unicode characters (#1974)
* workflows: Add check for zero width unicode characters * refactor: exclude .git directory in zero width unicode character check * Include additional zero width unicode character in check * refactor: update zero width unicode check to include format characters
This commit is contained in:
@@ -1003,7 +1003,7 @@ func (e *Exchange) AddOrReduceMargin(ctx context.Context, arg *AddOrReduceMargin
|
||||
}
|
||||
|
||||
// GetExecution retrieves users' execution records, sorted by execTime in descending order. However, for Normal spot, they are sorted by execId in descending order.
|
||||
// Execution Type possible values: 'Trade', 'AdlTrade' Auto-Deleveraging, 'Funding' Funding fee, 'BustTrade' Liquidation, 'Delivery' USDC futures delivery, 'BlockTrade'
|
||||
// Execution Type possible values: 'Trade', 'AdlTrade' Auto-Deleveraging, 'Funding' Funding fee, 'BustTrade' Liquidation, 'Delivery' USDC futures delivery, 'BlockTrade'
|
||||
// UTA Spot: 'stopOrderType', "" for normal order, "tpslOrder" for TP/SL order, "Stop" for conditional order, "OcoOrder" for OCO order
|
||||
func (e *Exchange) GetExecution(ctx context.Context, category, symbol, orderID, orderLinkID, baseCoin, executionType, stopOrderType, cursor string, startTime, endTime time.Time, limit int64) (*ExecutionResponse, error) {
|
||||
params, err := fillCategoryAndSymbol(category, symbol, true)
|
||||
@@ -1694,8 +1694,8 @@ func (e *Exchange) GetAllowedDepositCoinInfo(ctx context.Context, coin, chain, c
|
||||
}
|
||||
|
||||
// SetDepositAccount sets auto transfer account after deposit. The same function as the setting for Deposit on web GUI
|
||||
// account types: CONTRACT Derivatives Account
|
||||
// 'SPOT' Spot Account 'INVESTMENT' ByFi Account (The service has been offline) 'OPTION' USDC Account 'UNIFIED' UMA or UTA 'FUND' Funding Account
|
||||
// account types: CONTRACT Derivatives Account
|
||||
// 'SPOT' Spot Account 'INVESTMENT' ByFi Account (The service has been offline) 'OPTION' USDC Account 'UNIFIED' UMA or UTA 'FUND' Funding Account
|
||||
func (e *Exchange) SetDepositAccount(ctx context.Context, accountType string) (*StatusResponse, error) {
|
||||
if accountType == "" {
|
||||
return nil, errMissingAccountType
|
||||
|
||||
Reference in New Issue
Block a user