Descrição ⋅ 8 de Mai de 2023 03:21 Library "WebhookJsonMsg" This webhook json message library provides convenient functions for building JSON messages Used to manage automatic transaction orders and positionsmethod buildWebhookJson(msg) Builds the final JSON payload from a WebhookMessage type. Namespace types: WebhookMessage Parameters: msg (WebhookMessage) Returns: <string> A JSON Payload.Dict Define some constant values Fields: OPEN_LONG (series string) OPEN_SHORT (series string) CLOSE_LONG (series string) CLOSE_SHORT (series string) LIMIT (series string) MARKET (series string) U_MARGIN (series string) C_MARGIN (series string) SPOT (series string) WebhookMessage Webhook message structure. Fields: strategyId (series string) signalNo (series string) symbol (series string) symbolType (series string) orderSide (series string) price (series string) orderType (series string) takeProfitPrice (series string) stopLossPrice (series string) timestamp (series string) accessKey (series string)
Notas de Lançamento ⋅ 8 de Mai de 2023 04:12 v2 fix: json without comma symbol
Notas de Lançamento ⋅ 6 de Jun de 2023 12:47 v3 Updated:WebhookMessage Webhook message structure. Fields: strategyId (series string) signalNo (series string) relatedSignalNo (series string) symbol (series string) symbolType (series string) orderSide (series string) price (series string) orderType (series string) takeProfitPrice (series string) stopLossPrice (series string) timestamp (series string) accessKey (series string) positionRatio (series string)
Notas de Lançamento ⋅ 17 de Jun de 2023 20:11 v4 - modify timestamp value, replace fixed value with custom value