MCPcopy Create free account

hub / github.com/NoFxAiOS/nofx / functions

Functions2,846 in github.com/NoFxAiOS/nofx

FunctionTestOKXPlaceLimitOrderUsesConfiguredMarginMode
(t *testing.T)
trader/okx/trader_margin_mode_test.go:166
FunctionTestOKXSetLeverageUsesConfiguredMarginMode
(t *testing.T)
trader/okx/trader_margin_mode_test.go:81
FunctionTestOKXSetMarginModeUpdatesFutureRequestsWithoutAPIError
(t *testing.T)
trader/okx/trader_margin_mode_test.go:101
FunctionTestOKXSetStopLossUsesConfiguredMarginMode
(t *testing.T)
trader/okx/trader_margin_mode_test.go:148
FunctionTestOKXSetTakeProfitUsesConfiguredMarginMode
(t *testing.T)
trader/okx/trader_margin_mode_test.go:231
FunctionTestOnChunkCalledWithFinalReply
TestOnChunkCalledWithFinalReply: onChunk receives the complete final reply.
telegram/agent/agent_test.go:243
FunctionTestOptionsOverride
(t *testing.T)
mcp/options_test.go:223
FunctionTestOptionsWithDeepSeekClient
(t *testing.T)
mcp/provider/options_test.go:9
FunctionTestOptionsWithNewClient
============================================================ Test Integration with Client ============================================================
mcp/options_test.go:256
FunctionTestOptionsWithQwenClient
(t *testing.T)
mcp/provider/options_test.go:47
FunctionTestOrderResponseStruct
TestOrderResponseStruct tests that OrderResponse struct matches API response
trader/lighter/orders_test.go:359
FunctionTestParseFloatField
(t *testing.T)
trader/types/parse_test.go:8
FunctionTestParseSignalRankingAndFilterTradFiItems
(t *testing.T)
provider/vergex/client_test.go:10
FunctionTestParseSignalRankingReadsNestedMarketShape
(t *testing.T)
provider/vergex/client_test.go:69
FunctionTestPositionAccumulationBug
TestPositionAccumulationBug tests that positions don't accumulate incorrectly
trader/exchange_sync_test.go:203
FunctionTestPromptBuilder
TestPromptBuilder tests the prompt builder
kernel/prompt_builder_test.go:10
FunctionTestPublicDecryptRouteNotRegistered
TestPublicDecryptRouteNotRegistered is a security regression test: the unauthenticated POST /api/crypto/decrypt route was a decryption oracle and must
api/server_test.go:17
FunctionTestPublicTraderListResponse_SystemPromptTemplate
TestPublicTraderListResponse_SystemPromptTemplate Test whether trader object returned by handlePublicTraderList API contains system_prompt_template fi
api/server_test.go:293
FunctionTestQuantityPrecision
TestQuantityPrecision tests handling of quantity precision issues
trader/exchange_sync_test.go:288
FunctionTestQueryChainMapsHyperliquidToVergexMainnet
(t *testing.T)
provider/vergex/client_test.go:144
FunctionTestRebuildPositionsFromTrades_EmptyInput
(t *testing.T)
trader/position_rebuild_test.go:18
FunctionTestRebuildPositionsFromTrades_HedgeMode
(t *testing.T)
trader/position_rebuild_test.go:224
FunctionTestRebuildPositionsFromTrades_InvalidTrades
(t *testing.T)
trader/position_rebuild_test.go:389
FunctionTestRebuildPositionsFromTrades_MultipleOpensWeightedEntry
(t *testing.T)
trader/position_rebuild_test.go:169
FunctionTestRebuildPositionsFromTrades_OneWayModeShort
(t *testing.T)
trader/position_rebuild_test.go:288
FunctionTestRebuildPositionsFromTrades_PartialClose
(t *testing.T)
trader/position_rebuild_test.go:92
FunctionTestRebuildPositionsFromTrades_PnLFallbackEntryPrice
(t *testing.T)
trader/position_rebuild_test.go:331
FunctionTestRebuildPositionsFromTrades_SimpleLongOpenClose
(t *testing.T)
trader/position_rebuild_test.go:27
FunctionTestRebuildPositionsFromTrades_UnsortedInputUsesChronologicalFIFO
(t *testing.T)
trader/position_rebuild_test.go:447
FunctionTestRemoveTrader
(t *testing.T)
manager/trader_manager_test.go:174
FunctionTestRequestBuilder_AddConversationHistory
(t *testing.T)
mcp/request_builder_test.go:76
FunctionTestRequestBuilder_AddFunction
(t *testing.T)
mcp/request_builder_test.go:210
FunctionTestRequestBuilder_AddTool
============================================================ Test Tool/Function Calling ============================================================
mcp/request_builder_test.go:176
FunctionTestRequestBuilder_BasicUsage
============================================================ Test RequestBuilder Basic Features ======================================================
mcp/request_builder_test.go:17
FunctionTestRequestBuilder_EmptyMessages
(t *testing.T)
mcp/request_builder_test.go:40
FunctionTestRequestBuilder_ForChat
============================================================ Test Convenience Methods ============================================================
mcp/request_builder_test.go:240
FunctionTestRequestBuilder_ForCodeGeneration
(t *testing.T)
mcp/request_builder_test.go:262
FunctionTestRequestBuilder_ForCreativeWriting
(t *testing.T)
mcp/request_builder_test.go:276
FunctionTestRequestBuilder_MultipleMessages
============================================================ Test Message Building Methods ===========================================================
mcp/request_builder_test.go:56
FunctionTestRequestBuilder_WithMaxTokens
(t *testing.T)
mcp/request_builder_test.go:111
FunctionTestRequestBuilder_WithPenalties
(t *testing.T)
mcp/request_builder_test.go:141
FunctionTestRequestBuilder_WithStopSequences
(t *testing.T)
mcp/request_builder_test.go:157
FunctionTestRequestBuilder_WithTemperature
============================================================ Test Parameter Control Methods ==========================================================
mcp/request_builder_test.go:96
FunctionTestRequestBuilder_WithTopP
(t *testing.T)
mcp/request_builder_test.go:126
FunctionTestRunBacksOffOnConsecutiveFailures
(t *testing.T)
trader/syncloop/syncloop_test.go:35
FunctionTestRunRecoversIntervalAfterSuccess
(t *testing.T)
trader/syncloop/syncloop_test.go:58
FunctionTestRunStopsWhenStopChannelCloses
(t *testing.T)
trader/syncloop/syncloop_test.go:10
FunctionTestSafeExchangeConfigFromStoreIncludesCredentialPresenceFlags
(t *testing.T)
api/handler_exchange_test.go:10
FunctionTestSanitizeExchangeConfigForLog
(t *testing.T)
api/utils_test.go:87
FunctionTestSanitizeExchangeConfigForLog_NoPlaintextSecrets
TestSanitizeExchangeConfigForLog_NoPlaintextSecrets renders the sanitized log output exactly as the handler does (`%+v`) and asserts that no plaintext
api/utils_test.go:187
FunctionTestSanitizeModelConfigForLog
(t *testing.T)
api/utils_test.go:52
FunctionTestSeparateAccountsStillAddIndependentBalances
(t *testing.T)
trader/hyperliquid/trader_account_test.go:29
FunctionTestShouldRecoverDirection
(t *testing.T)
trader/grid_regime_test.go:307
FunctionTestStartAllEmpty
(t *testing.T)
manager/trader_manager_test.go:201
FunctionTestStartExistingTrader
TestStartExistingTrader: when trader already exists, just start it.
telegram/agent/agent_test.go:352
FunctionTestStopAllWithIdleTraders
(t *testing.T)
manager/trader_manager_test.go:206
FunctionTestStrategyConfigMarshalSeparatesGridAndAIConfig
(t *testing.T)
store/strategy_schema_test.go:8
FunctionTestStrategyConfigNormalizeProductSchemaForLLMLabels
(t *testing.T)
store/strategy_schema_test.go:80
FunctionTestStrategyConfigNormalizeProductSchemaForVergexSignal
(t *testing.T)
store/strategy_schema_test.go:126
FunctionTestStrategyConfigNormalizeProductSchemaForVergexSignalLimits
(t *testing.T)
store/strategy_schema_test.go:148
FunctionTestStrategyConfigUnmarshalLegacyFlatAIConfig
(t *testing.T)
store/strategy_schema_test.go:43
FunctionTestSupportedTimeframes
(t *testing.T)
market/timeframe_test.go:93
FunctionTestTFDuration
(t *testing.T)
market/timeframe_test.go:51
FunctionTestToolCallIDPropagated
TestToolCallIDPropagated: tool result messages carry the correct ToolCallID.
telegram/agent/agent_test.go:415
FunctionTestTradeThrottleAllowsConfirmedLossAfterMinimumHold
(t *testing.T)
trader/auto_trader_throttle_test.go:53
FunctionTestTradeThrottleAllowsEarlyHardStop
(t *testing.T)
trader/auto_trader_throttle_test.go:33
FunctionTestTradeThrottleAllowsLongShortPairInCycle
(t *testing.T)
trader/auto_trader_throttle_test.go:63
FunctionTestTradeThrottleBlocksEarlyNoiseClose
(t *testing.T)
trader/auto_trader_throttle_test.go:23
FunctionTestTradeThrottleBlocksFlatCloseInsideNoiseWindow
(t *testing.T)
trader/auto_trader_throttle_test.go:43
FunctionTestTradeThrottleBlocksOpeningAgainstExistingPosition
(t *testing.T)
trader/auto_trader_throttle_test.go:89
FunctionTestTradeThrottleBlocksOpensOverCycleCap
(t *testing.T)
trader/auto_trader_throttle_test.go:75
FunctionTestTraderIDFormat
TestTraderIDFormat Test traderID format correctness
api/traderid_test.go:72
FunctionTestTraderIDNoCollision
TestTraderIDNoCollision Test that no collisions occur in high concurrency scenarios
api/traderid_test.go:107
FunctionTestTraderIDUniqueness
TestTraderIDUniqueness Test traderID uniqueness (fixes Issue #893) Verify that unique traderIDs can be generated even with the same exchange and AI mo
api/traderid_test.go:13
FunctionTestTraderListResponse_SystemPromptTemplate
TestTraderListResponse_SystemPromptTemplate Test whether trader object returned by handleTraderList API contains system_prompt_template field
api/server_test.go:257
FunctionTestTraderLogTag
(t *testing.T)
manager/trader_manager_test.go:215
FunctionTestTruncateMessages_KeepsAtLeastOneNonSystem
(t *testing.T)
mcp/context_guard_test.go:108
FunctionTestTruncateMessages_NoLimit
(t *testing.T)
mcp/context_guard_test.go:39
FunctionTestTruncateMessages_NoTruncationNeeded
(t *testing.T)
mcp/context_guard_test.go:25
FunctionTestTruncateMessages_PreservesSystemMessages
(t *testing.T)
mcp/context_guard_test.go:86
FunctionTestTruncateMessages_TruncatesOldest
(t *testing.T)
mcp/context_guard_test.go:52
FunctionTestUnifiedAccountDoesNotDoubleCountXYZAccountValue
(t *testing.T)
trader/hyperliquid/trader_account_test.go:5
FunctionTestUpdateTraderRequest_CompleteFields
TestUpdateTraderRequest_CompleteFields Verify UpdateTraderRequest struct definition completeness
api/server_test.go:220
FunctionTestUpdateTraderRequest_SystemPromptTemplate
TestUpdateTraderRequest_SystemPromptTemplate Test whether SystemPromptTemplate field exists when updating trader
api/server_test.go:38
FunctionTestValidateDecisionFormat
TestValidateDecisionFormat tests decision format validation
kernel/prompt_builder_test.go:144
FunctionTestValidateTraderLeverageRangeMatchesManualLimits
(t *testing.T)
api/handler_trader_test.go:5
FunctionTestVergexDetailQueryCandidatesPreferMarketTypeBySymbolWhenSourceIsAll
(t *testing.T)
kernel/engine_vergex_test.go:80
FunctionTestVergexDetailQueryCandidatesUseHIP3MarketAndMainnetChain
(t *testing.T)
kernel/engine_vergex_test.go:9
FunctionTestVergexDetailSymbolForLookupKeepsCoreCryptoBaseSymbols
(t *testing.T)
kernel/engine_vergex_test.go:32
FunctionTestVergexSignalDefaultSurvivesClampAndNormalize
(t *testing.T)
store/strategy_hyperliquid_defaults_test.go:20
FunctionTestWithAPIKey
(t *testing.T)
mcp/options_test.go:22
FunctionTestWithBaseURL
(t *testing.T)
mcp/options_test.go:31
FunctionTestWithDeepSeekConfig
============================================================ Test Preset Configuration Options =======================================================
mcp/options_test.go:122
FunctionTestWithHTTPClient
(t *testing.T)
mcp/options_test.go:104
FunctionTestWithLogger
(t *testing.T)
mcp/options_test.go:94
FunctionTestWithMaxRetries
(t *testing.T)
mcp/options_test.go:76
FunctionTestWithMaxTokens
(t *testing.T)
mcp/options_test.go:49
FunctionTestWithModel
(t *testing.T)
mcp/options_test.go:40
FunctionTestWithProvider
============================================================ Test Basic Options ============================================================
mcp/options_test.go:13
FunctionTestWithQwenConfig
(t *testing.T)
mcp/options_test.go:143
← previousnext →2,401–2,500 of 2,846, ranked by callers