{"swagger":"2.0","info":{"version":"10.18.0-v1.39","title":"oneZero - REST API"},"basePath":"/api/rest","schemes":["https","http"],"securityDefinitions":{"Authorization":{"name":"Authorization","type":"apiKey","in":"header"}},"definitions":{"LedgerEntry":{"type":"object","properties":{"timeStamp":{"format":"date-time","type":"string"},"amount":{"format":"double","type":"number"},"comment":{"type":"string"}},"additionalProperties":false},"MarginLedgerEntryDto":{"description":"Get Ledger Entry","required":["amount","comment","currency","id","timestamp","type"],"type":"object","properties":{"id":{"format":"int64","description":"Unique database ID of the ledger entry.","type":"integer"},"type":{"description":"Type of the entry.","minLength":1,"type":"string"},"amount":{"description":"Amount for the entry.","minLength":1,"type":"string"},"currency":{"description":"Ledger entry currency.","minLength":1,"type":"string"},"conversionRate":{"description":"The conversion rate used for this entry, if conversion was necessary.","type":"string"},"timestamp":{"description":"Time the ledger entry was added in UTC format.","minLength":1,"type":"string"},"comment":{"description":"Comment added with ledger entry.","minLength":1,"type":"string"}},"additionalProperties":false},"MarginLedgerEntryDtoInt32TotaledQueryResponse":{"description":"Response array and total count","type":"object","properties":{"data":{"description":"Array of data items returned by the query","type":"array","items":{"$ref":"#/definitions/MarginLedgerEntryDto"}},"total":{"format":"int32","description":"Total count of items in the response","type":"integer"}},"additionalProperties":false},"MarginPlusAccountDto":{"type":"object","properties":{"id":{"format":"int64","description":"Unique Account ID","type":"integer","example":5},"userId":{"description":"User id for account","type":"string","example":"1e5fec0e-94be-4eee-8a2e-717f221a5f0e"},"email":{"description":"The email address for the account","type":"string","example":"username@domain"},"accountGroup":{"description":"The name of the account group that is used for the account","type":"string","example":"AccountGroup1"},"groupId":{"description":"The id of the account group that is used for the account","type":"string","example":"KV9Xnm8TQeKGQLK_j0ivPw"},"status":{"description":"The current status of the account ONLINE, OFFLINE or DISABLED","type":"string","example":"ONLINE"},"currency":{"description":"Base currency of account, e.g. USD","type":"string","example":"USD"},"equityPrecisionDecimalPlaces":{"format":"int64","description":"Precision in decimal places of equity values of account","type":"integer","example":2},"balance":{"description":"Account ledger balance","type":"string","example":"1000.45"},"accountCredit":{"description":"Account credit balance","type":"string","example":"1000.45"},"unrealizedPnL":{"description":"Unrealized P\u0026L in account currency","type":"string","example":"1000.45"},"equity":{"description":"Total account equity in account currency","type":"string","example":"1000.45"},"margin":{"description":"Margin utilization in account currency","type":"string","example":"1000.45"},"freeMargin":{"description":"Free margin in account currency","type":"string","example":"1000.45"},"marginLevelPercentage":{"description":"Equity as a percent of used margin","type":"string","example":"0.05"},"closeOnly":{"description":"Is Close Only mode enabled for this account","type":"boolean","example":true},"isDemo":{"description":"Is Demo mode enabled for this account","type":"boolean","example":true},"accountEnabled":{"description":"Is the account enabled?","type":"boolean","example":true},"marginCallPercentage":{"format":"double","description":"Margin Call Percentage","type":"number","example":90},"stopOutLevelPercentage":{"format":"double","description":"Stop-out Level Percentage","type":"number","example":50},"closeByEnabled":{"description":"Close-by enabled","type":"boolean","example":false},"restrictHedgedTickets":{"description":"Restrict Hedged Tickets","type":"boolean","example":false},"marginCalculationMode":{"description":"Margin calculation mode resolved from the account\u0027s Margin Profile","type":"string","example":"MARGIN_NET_POSITION"},"dailyCumulativeAmountUsed":{"description":"Daily cumulative amount used in account currency","type":"string","example":"5000.00"},"dailyCumulativeAmountRemaining":{"description":"Daily cumulative amount remaining in account currency","type":"string","example":"5000.00"},"dailyLimitPercentageUtilized":{"format":"double","description":"Daily limit percentage utilized","type":"number","example":50}},"additionalProperties":false},"MarginPlusAccountDtoInt32TotaledQueryResponse":{"description":"Response array and total count","type":"object","properties":{"data":{"description":"Array of data items returned by the query","type":"array","items":{"$ref":"#/definitions/MarginPlusAccountDto"}},"total":{"format":"int32","description":"Total count of items in the response","type":"integer"}},"additionalProperties":false},"MarginPlusAccountStateDto":{"type":"object","properties":{"id":{"format":"int64","description":"Unique Account ID","type":"integer","example":5},"pl":{"description":"Unrealized P\u0026L in account currency","type":"string","example":"\"1000.45\""},"eq":{"description":"Total account equity in account currency","type":"string","example":"\"995000.00\""},"mg":{"description":"Margin utilization in account currency","type":"string","example":"\"341.73\""},"fm":{"description":"Free margin in account currency","type":"string","example":"\"994000.00\""},"ml":{"description":"Margin Level Percentage","type":"string","example":"\"345768.00\""},"t":{"description":"List of positions","type":"array","items":{"$ref":"#/definitions/MarginPlusPositionStateDto"},"example":[{"id":123,"pl":"1.2"}]}},"additionalProperties":false},"MarginPlusEventDto":{"required":["accountId","id","timestamp","type"],"type":"object","properties":{"id":{"format":"int64","description":"The ID of the MarginPlus Account Event","type":"integer"},"type":{"description":"The Types of the MarginPlus Account Event","minLength":1,"type":"string"},"timestamp":{"format":"date-time","description":"Time the event entry was added in UTC format.","type":"string"},"accountId":{"format":"int64","description":"The ID of the MarginPlus Account","type":"integer"},"orderId":{"format":"int64","description":"The ID of the MarginPlus Order associated with this event, if applicable.","type":"integer"},"positionId":{"format":"int64","description":"The ID of the MarginPlus Position associated with this event, if applicable.","type":"integer"},"ledgerId":{"format":"int64","description":"The ID of the MarginPlus Ledger entry associated with this event, if applicable.","type":"integer"}},"additionalProperties":false},"MarginPlusLedgerEntryDto":{"type":"object","properties":{"id":{"format":"int64","description":"The ID of the ledger entry","type":"integer"},"accountId":{"format":"int64","description":"The ID of the MarginPlus account","type":"integer"},"linkedRecordId":{"format":"int64","description":"The ID of the linked record","type":"integer"},"timestamp":{"format":"date-time","description":"The timestamp of the ledger entry","type":"string"},"type":{"description":"The type of the ledger entry","type":"string"},"amount":{"format":"double","description":"The amount of the ledger entry","type":"number"},"currencyCode":{"description":"The currency code of the ledger entry","type":"string"},"conversionRate":{"format":"double","description":"The conversion rate of the ledger entry","type":"number"},"comment":{"description":"Comment field associated with the ledger entry","type":"string"},"brokerComment":{"description":"Broker comment field associated with the ledger entry","type":"string"}},"additionalProperties":false},"MarginPlusLedgerEntryDtoInt32TotaledQueryResponse":{"description":"Response array and total count","type":"object","properties":{"data":{"description":"Array of data items returned by the query","type":"array","items":{"$ref":"#/definitions/MarginPlusLedgerEntryDto"}},"total":{"format":"int32","description":"Total count of items in the response","type":"integer"}},"additionalProperties":false},"MarginPlusOrderDto":{"type":"object","properties":{"id":{"format":"int64","description":"The ID of the MarginPlus ticket","type":"integer"},"timeReceived":{"description":"Timestamp of when the ticket was received by the Hub","type":"string"},"timeOrderFinalized":{"description":"Timestamp of when the MarginPlus order was finalized (i.e. the order was filled, cancelled, rejected, or marked as an out trade).","type":"string"},"accountId":{"format":"int64","description":"The ID of the MarginPlus account owning the ticket","type":"integer"},"takerLogin":{"description":"The user name of the trader placing the trade","type":"string"},"takerTicketId":{"description":"Taker provided string ID for the ticket","type":"string"},"ticketStatus":{"description":"Ticket status.","type":"string"},"side":{"description":"The side of the ticket (BUY or SELL)","type":"string"},"coreOrderType":{"description":"The order type of the ticket (MARKET or LIMIT)","type":"string"},"symbol":{"description":"The symbol the ticket is trading on","type":"string"},"coreSymbol":{"description":"The core symbol the ticket is trading on","type":"string"},"limitPrice":{"description":"The limit price of the ticket","type":"string"},"stopPrice":{"description":"The stop price of the ticket","type":"string"},"gttOpen":{"description":"Good-Till Time to activate LIMIT and STOP_LIMIT tickets.","type":"string"},"volume":{"description":"The active volume of the ticket","type":"string"},"takeProfitPrice":{"description":"The take profit price of the ticket","type":"string"},"stopLossPrice":{"description":"The stop loss price of the ticket","type":"string"},"ticketAnnotationFlag":{"format":"int32","description":"Ticket annotation flags associated with this order. The ticket annotation flag value is a bit field describing possible properties of the ticket: 0x1 = PARTIAL_CLOSE, 0x2 = CLOSE_BY, 0x4 = STOP_OUT, 0x8 = TAKE_PROFIT, 0x10 = STOP_LOSS, 0x20 = CANCELED_BY_GTT_OPEN, 0x40 = CANCELED_DUE_TO_DISABLED_SYMBOL, 0x80 = PARTIAL_FILL_REMAINDER, 0x100 = PARTIAL_OPEN, 0x200 = ADJUSTMENT_OPEN, 0x400 = ADJUSTMENT_CLOSE, 0x800 = BROKER_OPEN, 0x1000 = BROKER_CLOSE, 0x2000 = STOCK_SPLIT_OPEN, 0x4000 = STOCK_SPLIT_CLOSE, 0x8000 = HEDGE_TICKETS_PROHIBITED, 0x10000 = CLOSE_ONLY_MODE, 0x20000 = OUT_TRADE_OPEN, 0x40000 = OUT_TRADE_CLOSE, 0x80000 = FAILED_MARGIN_CHECK, 0x100000 = DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","type":"integer"},"symbolPrice":{"description":"The most recent price received for the symbol.","type":"string"},"comment":{"type":"string"},"takeProfitSlippageTolerance":{"description":"The take profit slippage tolerance of the ticket","type":"string"},"gttStopLoss":{"description":"Good-Till Time for Stop Loss expiry","type":"string"},"gttTakeProfit":{"description":"Good-Till Time for Take Profit expiry","type":"string"}},"additionalProperties":false},"MarginPlusPositionStateDto":{"type":"object","properties":{"id":{"format":"int64","description":"Unique Account ID","type":"integer","example":5},"pl":{"description":"Unrealized P\u0026L in account currency","type":"string","example":"\"1000.45\""}},"additionalProperties":false},"MarginPlusStatementDto":{"type":"object","properties":{"statements":{"description":"The generated account statements","type":"array","items":{"$ref":"#/definitions/MarginPlusStatementRecordDto"}},"missingAccounts":{"description":"List of any Account Ids that could not be found","type":"array","items":{"format":"int64","type":"integer"}},"accountsMissingDayBeforeStartDateState":{"description":"Account Ids missing EOD state data on the day before the reporting period start date","type":"array","items":{"format":"int64","type":"integer"}},"accountsMissingEndDateState":{"description":"Account Ids missing EOD state data on the reporting period end date","type":"array","items":{"format":"int64","type":"integer"}}},"additionalProperties":false},"MarginPlusStatementRecordDto":{"type":"object","properties":{"accountId":{"format":"int64","description":"The ID of the MarginPlus account","type":"integer"},"depositCurrency":{"description":"Account deposit currency","type":"string"},"reportGenerationTime":{"description":"Time of when the report was generated in UTC time","type":"string"},"reportingPeriodStartTime":{"description":"Start time of the reporting period","type":"string"},"reportingPeriodEndTime":{"description":"End time of the reporting period","type":"string"},"tickets":{"description":"List of tickets in an OPEN or PENDING_OPEN state at the reporting period end,\r\nor that were CLOSED during the reporting period","type":"array","items":{"$ref":"#/definitions/MarginPlusStatementTicketDto"}},"cashDepositsAndWithdrawals":{"description":"Cash deposits (+ve) and withdrawals (-ve) made during the reporting period","type":"array","items":{"$ref":"#/definitions/LedgerEntry"}},"creditDepositsAndWithdrawals":{"description":"Credit deposits (+ve) and withdrawals (-ve) made during the reporting period","type":"array","items":{"$ref":"#/definitions/LedgerEntry"}},"dividends":{"description":"Dividends during the reporting period","type":"array","items":{"$ref":"#/definitions/LedgerEntry"}},"liquidatedFractionalShares":{"description":"Liquidated fractional shares during the reporting period","type":"array","items":{"$ref":"#/definitions/LedgerEntry"}},"openingCashBalance":{"description":"Cash balance of the account at the start of the reporting period","type":"string"},"closingCashBalance":{"description":"Cash balance of the account at the end of the reporting period","type":"string"},"openingCreditBalance":{"description":"Credit balance of the account at the start of the reporting period","type":"string"},"closingCreditBalance":{"description":"Credit balance of the account at the end of the reporting period","type":"string"},"closingUnrealizedPnLInAccountCurrency":{"description":"Unrealized P\u0026L of the account at the end of the reporting period","type":"string"},"closingEquityInAccountCurrency":{"description":"Equity of the account at the end of the reporting period","type":"string"},"closingMarginUsageInAccountCurrency":{"description":"Total Margin Usage of the account at the end of the reporting period","type":"string"},"closingFreeMarginInAccountCurrency":{"description":"Free Margin of the account at the end of the reporting period","type":"string"},"isDemo":{"description":"Is this account set to Demo mode","type":"boolean"}},"additionalProperties":false},"MarginPlusStatementTicketDto":{"type":"object","properties":{"id":{"format":"int64","description":"The ID of the MarginPlus ticket","type":"integer"},"timeReceived":{"description":"Timestamp of when the MarginPlus ticket was received","type":"string"},"timeOpened":{"description":"Timestamp of when the MarginPlus ticket was opened","type":"string"},"timeClosed":{"description":"Timestamp of when the MarginPlus ticket was closed","type":"string"},"side":{"description":"The side of the ticket (BUY or SELL)","type":"string"},"volume":{"description":"The active volume of the ticket","type":"string"},"symbol":{"description":"The symbol the ticket is trading on","type":"string"},"orderType":{"description":"The Order Type of the ticket","type":"string"},"limitPrice":{"description":"The Limit Price of the ticket","type":"string"},"stopPrice":{"description":"The Stop Price of the ticket","type":"string"},"openPrice":{"description":"The price the ticket was opened at","type":"string"},"linkedTicketId":{"description":"Linked ticket ID.","type":"string"},"ticketStatus":{"description":"Ticket status.","type":"string"},"stopLossPrice":{"description":"The stop loss price of the ticket","type":"string"},"takeProfitPrice":{"description":"The take profit price of the ticket","type":"string"},"stopLossVolume":{"description":"The stop loss volume of the ticket","type":"string"},"takeProfitVolume":{"description":"The take profit volume of the ticket","type":"string"},"price":{"description":"For closed tickets this is the closedPrice.\r\nFor Open tickets this is the mark-to-market price including group spread.","type":"string"},"commissionCharge":{"description":"The commission charge associated with the ticket","type":"string"},"swapCharge":{"description":"The cumulative swap charge associated with the ticket","type":"string"},"ticketAnnotationFlags":{"description":"The list of annotation flags for the ticket","type":"string"},"ticketTradePnL":{"description":"For OPEN/ACTIVATING_CLOSE tickets, this is the Unrealized P\u0026L in account currency.\r\nFor CLOSED tickets this is the Settled P\u0026L.","type":"string"},"errorMessage":{"description":"Any errors encountered generating this statement data for this ticket is reported here\r\neg. if an expected Ticket EOD State cannot be found","type":"string"}},"additionalProperties":false},"MarginPlusTicketDto":{"type":"object","properties":{"id":{"format":"int64","description":"The ID of the MarginPlus ticket","type":"integer"},"timeReceived":{"description":"Timestamp of when the ticket was received by the Hub","type":"string"},"timeOrderFinalized":{"description":"Timestamp of when the MarginPlus order was finalized (i.e. the order was filled, cancelled, rejected, or marked as an out trade).","type":"string"},"accountId":{"format":"int64","description":"The ID of the MarginPlus account owning the ticket","type":"integer"},"takerLogin":{"description":"The user name of the trader placing the trade","type":"string"},"takerTicketId":{"description":"Taker provided string ID for the ticket","type":"string"},"ticketStatus":{"description":"Ticket status.","type":"string"},"side":{"description":"The side of the ticket (BUY or SELL)","type":"string"},"coreOrderType":{"description":"The order type of the ticket (MARKET or LIMIT)","type":"string"},"symbol":{"description":"The symbol the ticket is trading on","type":"string"},"coreSymbol":{"description":"The core symbol the ticket is trading on","type":"string"},"limitPrice":{"description":"The limit price of the ticket","type":"string"},"stopPrice":{"description":"The stop price of the ticket","type":"string"},"gttOpen":{"description":"Good-Till Time to activate LIMIT and STOP_LIMIT tickets.","type":"string"},"volume":{"description":"The active volume of the ticket","type":"string"},"takeProfitPrice":{"description":"The take profit price of the ticket","type":"string"},"stopLossPrice":{"description":"The stop loss price of the ticket","type":"string"},"ticketAnnotationFlag":{"format":"int32","description":"Ticket annotation flags associated with this order. The ticket annotation flag value is a bit field describing possible properties of the ticket: 0x1 = PARTIAL_CLOSE, 0x2 = CLOSE_BY, 0x4 = STOP_OUT, 0x8 = TAKE_PROFIT, 0x10 = STOP_LOSS, 0x20 = CANCELED_BY_GTT_OPEN, 0x40 = CANCELED_DUE_TO_DISABLED_SYMBOL, 0x80 = PARTIAL_FILL_REMAINDER, 0x100 = PARTIAL_OPEN, 0x200 = ADJUSTMENT_OPEN, 0x400 = ADJUSTMENT_CLOSE, 0x800 = BROKER_OPEN, 0x1000 = BROKER_CLOSE, 0x2000 = STOCK_SPLIT_OPEN, 0x4000 = STOCK_SPLIT_CLOSE, 0x8000 = HEDGE_TICKETS_PROHIBITED, 0x10000 = CLOSE_ONLY_MODE, 0x20000 = OUT_TRADE_OPEN, 0x40000 = OUT_TRADE_CLOSE, 0x80000 = FAILED_MARGIN_CHECK, 0x100000 = DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","type":"integer"},"symbolPrice":{"description":"The most recent price received for the symbol.","type":"string"},"comment":{"type":"string"},"takeProfitSlippageTolerance":{"description":"The take profit slippage tolerance of the ticket","type":"string"},"gttStopLoss":{"description":"Good-Till Time for Stop Loss expiry","type":"string"},"gttTakeProfit":{"description":"Good-Till Time for Take Profit expiry","type":"string"},"timeOpened":{"description":"Timestamp of when the MarginPlus ticket was opened","type":"string"},"timeClosed":{"description":"Timestamp of when the MarginPlus ticket was closed","type":"string"},"linkedTicketId":{"format":"int64","description":"Ticket ID linking together multiple tickets that may have been generated from a partial fill","type":"integer"},"openPrice":{"description":"The price the ticket was opened at","type":"string"},"closePrice":{"description":"The price the ticket was closed at","type":"string"},"commissionCharge":{"description":"The commission charge associated with the ticket","type":"string"},"swapCharge":{"description":"The cumulative swap charge associated with the ticket","type":"string"},"lastSwapChargeTime":{"description":"Timestamp of when the swap charge was last updated","type":"string"},"ticketTradePnL":{"description":"The P\u0026L of the ticket - Unrealized P\u0026L for OPEN tickets, Settled P\u0026L for CLOSED tickets.","type":"string"},"openGroupSpread":{"type":"string"},"closeGroupSpread":{"type":"string"},"openConversionRateToAccountCurrency":{"description":"The conversion rate used to convert the marginable (base) amount to account currency at ticket open","type":"string"},"closePnlConversionRateToAccountCurrency":{"description":"The conversion rate used to convert the Ticket Trade PnL (term) to account currency at ticket close","type":"string"},"trailingStopLossDistance":{"description":"The trailing stop loss distance of the ticket","type":"string"},"takeProfitVolume":{"description":"The take profit volume of the ticket","type":"string"},"stopLossVolume":{"description":"The stop loss volume of the ticket","type":"string"}},"additionalProperties":false},"RestPasswordChangeRequestModel":{"required":["currentPassword","newPassword"],"type":"object","properties":{"currentPassword":{"minLength":1,"type":"string"},"newPassword":{"minLength":1,"type":"string"}},"additionalProperties":false},"User":{"type":"object","properties":{"user_id":{"type":"string"},"email":{"type":"string"},"blocked":{"type":"boolean"}},"additionalProperties":false}},"paths":{"/admin/command/apply-dynamic-settings":{"post":{"operationId":"POST-admin-command-apply-dynamic-settings","summary":"Reload and apply dynamic Hub Settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/admin/command/load-new-adapter-dlls":{"post":{"operationId":"POST-admin-command-load-new-adapter-dlls","summary":"Dynamically load adapters from the maker / taker adapter dll folders that are not already loaded in the hub","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/admin/command/load-new-license":{"post":{"operationId":"POST-admin-command-load-new-license","summary":"Load a new license","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/admin/command/restart-service":{"post":{"operationId":"POST-admin-command-restart-service","summary":"Restart the Hub Service","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Delay before hub restart","example":{"minDelay":"0000:00:05.000000","maxDelayBeforeRestart":"0000:00:30.000000"},"type":"object","properties":{"minDelay":{"description":"Minimum delay before hub restart is actually triggered","type":"string","format":"duration"},"maxDelayBeforeRestart":{"description":"Maximum delay before hub restart is considered to be failed after shutdown","type":"string","format":"duration"}},"required":["minDelay","maxDelayBeforeRestart"]}}}}},"/admin/hub-locations":{"get":{"operationId":"GET-admin-hub-locations","summary":"Returns the active Hub location and a list of available Hub locations","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"description":"Hub instances active and available locations","example":{"activeLocation":"","locations":["string value"]},"type":"object","properties":{"activeLocation":{"description":"Hub active location of the currently running instance","type":"string"},"locations":{"description":"The available hub locations","type":"array","items":{"type":"string"}}},"required":["activeLocation","locations"]}}}}},"/admin/hub-version":{"get":{"operationId":"GET-admin-hub-version","summary":"Returns the version of the Hub currently running","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"description":"Hub version of the currently running instance","example":{"version":"6.0.0.1","lastRestart":"2017-11-29 21:53:31.760208","currentHubTimestamp":"2017-11-29 21:53:31.760208","restApiMinVersion":"1.00","restApiMaxVersion":"1.01","restServiceShutdownInProgress":false},"type":"object","properties":{"version":{"description":"Hub version of the currently running instance","type":"string"},"lastRestart":{"description":"The startup time of the Hub in UTC format","type":"string","format":"timestamp"},"currentHubTimestamp":{"description":"The current time of the Hub in UTC format","type":"string","format":"timestamp"},"restApiMinVersion":{"description":"Min Hub REST Api version of the currently running instance","type":"string"},"restApiMaxVersion":{"description":"Max Hub REST Api version of the currently running instance","type":"string"},"restServiceShutdownInProgress":{"description":"Indicates whether there is a service shutdown in progress","type":"boolean"}},"required":["version","lastRestart","currentHubTimestamp","restApiMinVersion","restApiMaxVersion","restServiceShutdownInProgress"]}}}}},"/cfd-dividend":{"post":{"operationId":"POST-cfd-dividend","summary":"CFD Dividend","description":"Perform a CFD Dividend, either immediately or as a scheduled action.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.08 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- CFD Actions tile","tags":["General","Corporate Actions"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"CFD Dividend Request","example":{"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"symbol":"AUD/USD","comment":"","confirmed":true,"scheduleForLater":true,"timeToExecute":"1923-02-23T01:39:00.000Z","sendToTakers":true,"issueMode":"TAKER","makerEntityIds":["00000000-0000-0000-0000-000000000000"],"shortValue":"123.0","longValue":"456.0","currency":"AUD"},"type":"object","properties":{"takerEntityIds":{"description":"IDs of the Taker Entities for the CFD operation","type":"array","items":{"type":"string","format":"uuid"}},"symbol":{"description":"Symbol that is subscribed to by this maker. if makerIdOrWildcard is \"*\" this is a core symbol, otherwise this is a maker symbol.","type":"string"},"comment":{"description":"Comment to associate with the CFD operation.","type":"string"},"confirmed":{"description":"If false, the CFD Request will be validated and a response result of VALIDATED will be returned if successfully validated. If true, the CFD Request will be executed and a response result of EXECUTED will be returned if successfully executed.","type":"boolean"},"scheduleForLater":{"description":"If true the CFD request will be schedule to execute at the time set in timeToExecute.","type":"boolean"},"timeToExecute":{"description":"If scheduleForLater is true, CFD request will be schedule to execute at the time set in timeToExecute Format: yyyy-MM-ddTHH:mm:ss.000Z","type":"string","format":"timestamp"},"sendToTakers":{"description":"If enabled, the Hub will send the corporate action/s downstream to the Takers selected. If disabled, The Hub will not send any downstream messages to the Takers selected but will still process the corporate action on the Hub level only.","type":"boolean"},"issueMode":{"description":"The CFD Request is issued Per Maker or Taker","type":"string","enum":["MAKER","TAKER"]},"makerEntityIds":{"description":"IDs of the Maker Entities for the CFD operation","type":"array","items":{"type":"string","format":"uuid"}},"shortValue":{"description":"The per unit short value of this CFD Dividend.","type":"string","format":"decimal128"},"longValue":{"description":"The per unit long value of this CFD Dividend.","type":"string","format":"decimal128"},"currency":{"description":"The currency this dividend will occur in.","type":"string"}},"required":["takerEntityIds","symbol","comment","confirmed","scheduleForLater","timeToExecute","sendToTakers","issueMode","makerEntityIds","shortValue","longValue","currency"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Response to a CFD Query","example":{"result":"Initial and Resulting Shares are the same.This split would have no effect.","error":"unknown error"},"type":"object","properties":{"result":{"description":"Any errors that occured while processing the CFD operation.  Empty string if no occurs occured.","type":"string","enum":["REJECTED","VALIDATED","EXECUTED","SCHEDULED"]},"error":{"type":"string"}},"required":["result","error"]}}}}},"/cfd-split":{"post":{"operationId":"POST-cfd-split","summary":"CFD Split","description":"Perform a CFD Split, either immediately or as a scheduled action.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.08 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- CFD Actions tile","tags":["General","Corporate Actions"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"CFD Split Request","example":{"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"symbol":"AUD/USD","comment":"","confirmed":true,"scheduleForLater":true,"timeToExecute":"1923-02-23T01:39:00.000Z","sendToTakers":true,"initialShares":10,"resultingShares":20,"preSplitPrice":"2.07","postSplitPrice":"0.56","liquidateFractionalShares":true},"type":"object","properties":{"takerEntityIds":{"description":"IDs of the Taker Entities for the CFD operation","type":"array","items":{"type":"string","format":"uuid"}},"symbol":{"description":"Symbol that is subscribed to by this maker. if makerIdOrWildcard is \"*\" this is a core symbol, otherwise this is a maker symbol.","type":"string"},"comment":{"description":"Comment to associate with the CFD operation.","type":"string"},"confirmed":{"description":"If false, the CFD Request will be validated and a response result of VALIDATED will be returned if successfully validated. If true, the CFD Request will be executed and a response result of EXECUTED will be returned if successfully executed.","type":"boolean"},"scheduleForLater":{"description":"If true the CFD request will be schedule to execute at the time set in timeToExecute.","type":"boolean"},"timeToExecute":{"description":"If scheduleForLater is true, CFD request will be schedule to execute at the time set in timeToExecute Format: yyyy-MM-ddTHH:mm:ss.000Z","type":"string","format":"timestamp"},"sendToTakers":{"description":"If enabled, the Hub will send the corporate action/s downstream to the Takers selected. If disabled, The Hub will not send any downstream messages to the Takers selected but will still process the corporate action on the Hub level only.","type":"boolean"},"initialShares":{"description":"Initial number of shares before split.","type":"integer","format":"int32"},"resultingShares":{"description":"Resulting number of shares after split.","type":"integer","format":"int32"},"preSplitPrice":{"description":"Initial price of the symbol before split.","type":"string","format":"decimal128"},"postSplitPrice":{"description":"Price of the symbol after split.","type":"string","format":"decimal128"},"liquidateFractionalShares":{"description":"Liquidate fractional shares.","type":"boolean"}},"required":["takerEntityIds","symbol","comment","confirmed","scheduleForLater","timeToExecute","sendToTakers","initialShares","resultingShares","liquidateFractionalShares"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Response to a CFD Query","example":{"result":"Initial and Resulting Shares are the same.This split would have no effect.","error":"unknown error"},"type":"object","properties":{"result":{"description":"Any errors that occured while processing the CFD operation.  Empty string if no occurs occured.","type":"string","enum":["REJECTED","VALIDATED","EXECUTED","SCHEDULED"]},"error":{"type":"string"}},"required":["result","error"]}}}}},"/core-symbol":{"get":{"operationId":"GET-core-symbol","summary":"Get all Core Symbols","description":"Retrieve all Core Symbols registered in the Hub\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.18|Renamed assetType into assetClass and Added subAssetClass for Instrument.|\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- REST Access","tags":["General","Hub"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Core Symbol","example":{"coreSymbol":"EUR/USD","type":"","symbolGroup":"FOREX","streamType":"Market Data","pricePrecision":5,"volumePrecision":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"baseCurrency":"EUR","termCurrency":"USD","isSynthetic":false,"instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"settlementDetail":{"tradeDate":"1/1/2000","spotSettlementDate":"1/1/2000","tenors":[{"tenor":"SPOT_NEXT","settlementDate":"1/1/2000","fixingDate":"1/1/2000"}]}},"type":"object","properties":{"coreSymbol":{"description":"Core symbol name","type":"string"},"type":{"description":"Type of symbol","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroup":{"description":"The symbol group of the symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecision":{"description":"Symbol price precision in digits","type":"integer","format":"int32"},"volumePrecision":{"description":"Symbol volume precision in digits","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Display precision for spot rate","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Display precision for forward rates and forward points","type":"integer","format":"int32"},"baseCurrency":{"description":"For Spot FX symbols, the base currency of the symbol. E.g. EUR for the FX symbol EUR/USD.","type":"string"},"termCurrency":{"description":"The term currency (denomination, or \"term currency\") of the symbol. E.g. USD for the FX symbol EUR/USD.","type":"string"},"isSynthetic":{"description":"True if this core symbol is synthetic (derived from two or more other core symbols).","type":"boolean"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"settlementDetail":{"description":"The symbol\u0027s settlement information","type":"object","properties":{"tradeDate":{"description":"The trade date used to calculate the settlement date information","type":"string","format":"date"},"spotSettlementDate":{"description":"The spot settlement date for the trade date","type":"string","format":"date"},"tenors":{"description":"The tenors and their correpsonding settlement related dates","type":"array","items":{"description":"Tenor Settlement Detail","type":"object","properties":{"tenor":{"description":"The tenor for this settlement information","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"settlementDate":{"description":"The settlement date for the tenor","type":"string","format":"date"},"fixingDate":{"description":"The fixing date for the tenor","type":"string","format":"date"}},"required":["tenor","settlementDate"]}}},"required":["tradeDate","spotSettlementDate","tenors"]}},"required":["coreSymbol","type","streamType","pricePrecision","volumePrecision","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","termCurrency","isSynthetic"]}}}}}},"/credit-group":{"get":{"operationId":"GET-credit-group","summary":"Retrieve all credit groups","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Credit Groups tile\n- Credit NOP Limits tile\n- Specific Credit Group entries in a Tile and Settings Permission Profile -\u003e View","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Credit Group","example":{"id":"cLupa0SpTNix0rPRKDuzRQ","name":"CreditGroup1","totalNopExposure":"1234.00","nopCreditLimitInfo":{"enabled":true,"limit":"1000.12","alertPercentage":"80"},"dslCreditLimitInfo":{"enabled":true,"limit":"1000.12","alertPercentage":"80"},"dslExposures":[{"usdExposure":"1000.12","date":"2016-11-20"}],"organizationId":"00000000-0000-0000-0000-000000000000","entityExposures":[{"entityId":"00000000-0000-0000-0000-000000000000","nopExposure":"156.789","dslExposures":[{"usdExposure":"1000.12","date":"2016-11-20"}]}],"isExternal":true},"type":"object","properties":{"id":{"description":"Unique Credit Group ID","type":"string","format":"guid"},"name":{"description":"Human readable name for credit group","type":"string"},"totalNopExposure":{"description":"Total NOP exposure in USD","type":"string","format":"decimal128"},"nopCreditLimitInfo":{"description":"Credit limit","type":"object","properties":{"enabled":{"description":"Is this limit enabled?","type":"boolean"},"limit":{"description":"The credit limit value","type":"string","format":"decimal128"},"alertPercentage":{"description":"Credit utilization % at which alert emails will be sent","type":"string","format":"decimal128"}},"required":["enabled","limit","alertPercentage"]},"dslCreditLimitInfo":{"description":"Credit limit","type":"object","properties":{"enabled":{"description":"Is this limit enabled?","type":"boolean"},"limit":{"description":"The credit limit value","type":"string","format":"decimal128"},"alertPercentage":{"description":"Credit utilization % at which alert emails will be sent","type":"string","format":"decimal128"}},"required":["enabled","limit","alertPercentage"]},"dslExposures":{"type":"array","items":{"description":"DSL Exposure","type":"object","properties":{"usdExposure":{"description":"USD exposure amount","type":"string","format":"decimal128"},"date":{"type":"string","format":"date"}},"required":["date"]}},"organizationId":{"type":"string","format":"uuid"},"entityExposures":{"type":"array","items":{"description":"Per Entity Exposures","type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"nopExposure":{"type":"string","format":"decimal128"},"dslExposures":{"type":"array","items":{"description":"DSL Exposure","type":"object","properties":{"usdExposure":{"description":"USD exposure amount","type":"string","format":"decimal128"},"date":{"type":"string","format":"date"}},"required":["date"]}}},"required":["entityId","dslExposures"]}},"isExternal":{"type":"boolean"}},"required":["name","nopCreditLimitInfo","dslCreditLimitInfo","dslExposures","entityExposures","isExternal"]}}}}}},"/credit-group/{id}/positions":{"get":{"operationId":"GET-credit-group-id-positions","summary":"Retrieve all core symbol positions of a credit group","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Credit Groups tile\n- Credit NOP Limits tile\n- Specific Credit Group entries in a Tile and Settings Permission Profile -\u003e View","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The Id (GUID) uniquely identifying the Credit Group","required":true,"type":"string"}],"responses":{"200":{"description":"An array and count of positions associated with the credit group","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Credit Group Position","example":{"coreSymbol":"AUD/CAD","position":"1000.45","termCurrencyPosition":"1234.00","vwap":"1.234","settlementTimeUTC":"2018-06-01 21:00:00.000000"},"type":"object","properties":{"coreSymbol":{"description":"Core symbol of this position","type":"string"},"position":{"description":"Symbol position","type":"string","format":"decimal128"},"termCurrencyPosition":{"description":"Position amount in term currency","type":"string","format":"decimal128"},"vwap":{"description":"Volume weighted average price of this position. This is only set when the position value is non-zero.","type":"string","format":"decimal128"},"settlementTimeUTC":{"description":"Settlement time UTC of this position","type":"string","format":"timestamp"}},"required":["coreSymbol","position","termCurrencyPosition","settlementTimeUTC"]}}}}}}}},"/currency-exposure":{"get":{"operationId":"GET-currency-exposure","summary":"Retrieve currency exposure details by currency","description":"Returns an array containing currency exposure of all makers and takers aggregated by currency\n\n| Version | Changes |\n| ------- | ------- |\n| 1.05 | Initial Version |\n|1.17|Added broker entity id query parameter|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Currency Exposure tile\n- DSL Exposure tile\n- NOP Exposure tile\n- Value Dates tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false},{"name":"brokerEntityId","in":"query","type":"string","format":"uuid","required":true}],"responses":{"200":{"description":"An array of currency exposure details","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Currency exposure details by currency","example":{"currency":"USD","exposure":"","usdExposure":"","takerExposure":"","makerExposure":""},"type":"object","properties":{"currency":{"description":"The exposure currency ","type":"string"},"exposure":{"description":"The exposure amount","type":"string","format":"decimal128"},"usdExposure":{"description":"USD exposure amount","type":"string","format":"decimal128"},"takerExposure":{"description":"Taker exposure amount","type":"string","format":"decimal128"},"makerExposure":{"description":"Maker exposure amount","type":"string","format":"decimal128"}},"required":["currency","exposure","takerExposure","makerExposure"]}}}}}}}},"/entity":{"get":{"operationId":"GET-entity","summary":"Retrieve all entities","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.12 | Initial Version |\n|1.33|Added new fields \u0027clientDefinedEntityAlias\u0027 and \u0027clientDefinedProviderAliases\u0027 to response|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"example":{"entityId":"00000000-0000-0000-0000-000000000000","name":"string value","legalEntityIdentifier":"string value","jurisdiction":"string value","organization":"00000000-0000-0000-0000-000000000000","type":"TAKER","participationType":"COUNTERPARTY","adapterBindings":[{"adapterName":"string value","adapterIds":["string value"]}],"entityAlias":"string value","takerEntities":["00000000-0000-0000-0000-000000000000"],"makerEntities":["00000000-0000-0000-0000-000000000000"],"clientDefinedProviderAliases":[{"provider":"string value","alias":"string value"}],"clientDefinedEntityAlias":"string value","primary":false,"isLocal":true},"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"name":{"type":"string"},"legalEntityIdentifier":{"type":"string"},"jurisdiction":{"type":"string"},"organization":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["TAKER","MAKER","BROKER","CREDIT"]},"participationType":{"type":"string","enum":["UNKNOWN","COUNTERPARTY","CHANNEL","CREDIT"]},"adapterBindings":{"type":"array","items":{"type":"object","properties":{"adapterName":{"type":"string"},"adapterIds":{"type":"array","items":{"type":"string"}}},"required":["adapterName","adapterIds"]}},"entityAlias":{"type":"string"},"takerEntities":{"type":"array","items":{"type":"string","format":"uuid"}},"makerEntities":{"type":"array","items":{"type":"string","format":"uuid"}},"clientDefinedProviderAliases":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"alias":{"type":"string"}},"required":["provider","alias"]}},"clientDefinedEntityAlias":{"type":"string"},"primary":{"type":"boolean"},"isLocal":{"type":"boolean"}},"required":["entityId","name","legalEntityIdentifier","jurisdiction","type","participationType","adapterBindings","entityAlias","takerEntities","makerEntities","clientDefinedProviderAliases","clientDefinedEntityAlias","primary","isLocal"]}}}}}},"/entity-currency-exposure":{"get":{"operationId":"GET-entity-currency-exposure","summary":"Retrieve currency exposure details by entities","description":"Returns an array containing currency exposure of all entities\n\n| Version | Changes |\n| ------- | ------- |\n| 1.12 | Initial Version |\n|1.21|Renamed \u0027entityGroupName\u0027 to \u0027displayName\u0027. Renamed fields of the \u0027exposures\u0027 array -\u003e [\u0027entityDisplayName\u0027 to \u0027displayName\u0027, \u0027fullEntityName\u0027 to \u0027displayTooltip\u0027 and \u0027entityId\u0027 to \u0027sourceEntityId\u0027]|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Currency Exposure tile\n- DSL Exposure tile\n- NOP Exposure tile\n- Value Dates tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"An array of currency exposure details","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Currency exposure of entities","example":{"exposures":[{"currency":"USD","exposure":"","usdExposure":"","sourceCategory":"","sourceEntityId":"","displayTooltip":"","displayName":""}],"displayName":"","sourceOrganizationId":""},"type":"object","properties":{"exposures":{"description":"Entity currency exposures in the group","type":"array","items":{"description":"Currency exposure details by entities.","type":"object","properties":{"currency":{"description":"The exposure currency ","type":"string"},"exposure":{"description":"The exposure amount","type":"string","format":"decimal128"},"usdExposure":{"description":"USD exposure amount","type":"string","format":"decimal128"},"sourceCategory":{"description":"Category of the exposure source","type":"string","enum":["MAKER","TAKER","WAREHOUSE"]},"sourceEntityId":{"description":"Entity id of the exposure source","type":"string","format":"uuid"},"displayTooltip":{"description":"Full entity name of the exposure source","type":"string"},"displayName":{"description":"Display name of the entity of the exposure source. Set to organization.If an organization name is not defined, the entity alias or the entity name is used","type":"string"}},"required":["currency","exposure","sourceCategory","sourceEntityId","displayTooltip","displayName"]}},"displayName":{"description":"The name of the group. This is set to the organization name by default.If an organization name is not defined, entity alias or the entity name is used","type":"string"},"sourceOrganizationId":{"description":"This is set to the organization id if an organization name is defined.","type":"string","format":"uuid"}},"required":["exposures","displayName"]}}}}}}}},"/entity/{id}":{"put":{"operationId":"PUT-entity-id","summary":"Set entity properties","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.12 | Initial Version |\n|1.33|Added new fields \u0027clientDefinedEntityAlias\u0027 and \u0027clientDefinedProviderAliases\u0027 to request and response|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"entityId":"00000000-0000-0000-0000-000000000000","takerEntities":["00000000-0000-0000-0000-000000000000"],"makerEntities":["00000000-0000-0000-0000-000000000000"],"clientDefinedProviderAliases":[{"provider":"string value","alias":"string value"}],"clientDefinedEntityAlias":"string value"},"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"takerEntities":{"type":"array","items":{"type":"string","format":"uuid"}},"makerEntities":{"type":"array","items":{"type":"string","format":"uuid"}},"clientDefinedProviderAliases":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"alias":{"type":"string"}},"required":["provider","alias"]}},"clientDefinedEntityAlias":{"type":"string"}},"required":["entityId","takerEntities","makerEntities","clientDefinedProviderAliases","clientDefinedEntityAlias"]}},{"name":"id","in":"path","description":"The entity id (UUID) uniquely identifying the entity","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"example":{"entityId":"00000000-0000-0000-0000-000000000000","name":"string value","legalEntityIdentifier":"string value","jurisdiction":"string value","organization":"00000000-0000-0000-0000-000000000000","type":"TAKER","participationType":"COUNTERPARTY","adapterBindings":[{"adapterName":"string value","adapterIds":["string value"]}],"entityAlias":"string value","takerEntities":["00000000-0000-0000-0000-000000000000"],"makerEntities":["00000000-0000-0000-0000-000000000000"],"clientDefinedProviderAliases":[{"provider":"string value","alias":"string value"}],"clientDefinedEntityAlias":"string value","primary":false,"isLocal":true},"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"name":{"type":"string"},"legalEntityIdentifier":{"type":"string"},"jurisdiction":{"type":"string"},"organization":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["TAKER","MAKER","BROKER","CREDIT"]},"participationType":{"type":"string","enum":["UNKNOWN","COUNTERPARTY","CHANNEL","CREDIT"]},"adapterBindings":{"type":"array","items":{"type":"object","properties":{"adapterName":{"type":"string"},"adapterIds":{"type":"array","items":{"type":"string"}}},"required":["adapterName","adapterIds"]}},"entityAlias":{"type":"string"},"takerEntities":{"type":"array","items":{"type":"string","format":"uuid"}},"makerEntities":{"type":"array","items":{"type":"string","format":"uuid"}},"clientDefinedProviderAliases":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string"},"alias":{"type":"string"}},"required":["provider","alias"]}},"clientDefinedEntityAlias":{"type":"string"},"primary":{"type":"boolean"},"isLocal":{"type":"boolean"}},"required":["entityId","name","legalEntityIdentifier","jurisdiction","type","participationType","adapterBindings","entityAlias","takerEntities","makerEntities","clientDefinedProviderAliases","clientDefinedEntityAlias","primary","isLocal"]}}}}},"/event-schedule/active":{"get":{"operationId":"GET-event-schedule-active","summary":"Get all Active Events","description":"Retrieve all currently active events for all asset names, optionally filtered by asset name\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|Moved from /active-events to /event-schedule/active. The events array now contains objects instead of strings; read eventName for the event name. Event details are included by default and can be omitted with includeDetails=false.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- REST Access","tags":["General","Hub"],"security":[{"Authorization":[]}],"parameters":[{"name":"assetNames","in":"query","description":"If set, returns only active events for the specified Assets. If not set, returns active events for all Assets.","type":"array","items":{"type":"string"},"required":false},{"name":"includeDetails","in":"query","description":"If true or unset, returns details about how each event was set. If false, returns only event names.","type":"boolean","required":false}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Active Events for Asset","example":{"assetName":"EUR/USD","events":[{"eventName":"string value","details":{"publishedAtUtc":"2016-11-20 10:55:01.289581","source":"REST_API","activatedByUser":"string value","exclusiveEventGroup":"string value","isOverrideLockApplied":true}}]},"type":"object","properties":{"assetName":{"description":"The asset name that the events are active for","type":"string"},"events":{"description":"The list of events currently active for this asset name","type":"array","items":{"description":"Active Event","type":"object","properties":{"eventName":{"description":"The event name","type":"string"},"details":{"description":"Additional details about how this event was set. Returned by default; omit with includeDetails=false.","type":"object","properties":{"publishedAtUtc":{"description":"The UTC time the event became active","type":"string","format":"timestamp"},"source":{"description":"The source that set the event","type":"string","enum":["DAILY_WEEKLY_SCHEDULE","ADHOC_SCHEDULE","REST_API"]},"activatedByUser":{"description":"The user who activated the event through the REST API. Omitted when the event was not activated by a user.","type":"string"},"exclusiveEventGroup":{"description":"The exclusive event group this event belongs to, or empty when it is not in a group","type":"string"},"isOverrideLockApplied":{"description":"Whether an override lock is active for this event","type":"boolean"}},"required":["publishedAtUtc","source","exclusiveEventGroup","isOverrideLockApplied"]}},"required":["eventName"]}}},"required":["assetName","events"]}}}}}},"/event-schedule/manual":{"post":{"operationId":"POST-event-schedule-manual","summary":"Add Manual Event Activation","description":"Manually activate an event for specified assets. The activation persists until explicitly removed via DELETE.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- REST Access","tags":["General","Hub"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Manual Event Activation Request","example":{"eventName":"NFP","assetNames":["string value"],"overrideLock":false},"type":"object","properties":{"eventName":{"description":"The name of the event to activate. Must match a configured event in EventSchedule settings.","type":"string"},"assetNames":{"description":"Asset names, wildcards (*), or group references ([Group] \u003cname\u003e) this activation applies to. If not set, applies to all assets.","type":"array","items":{"type":"string"}},"overrideLock":{"description":"Override lock: true (SET) takes priority over other events in exclusive groups, false (UNSET) uses normal priority.","type":"boolean"}},"required":["eventName","overrideLock"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"example":{"id":"123e4567-e89b-12d3-a456-426614174000","eventName":"NFP","assetNames":["string value"],"overrideLock":false,"createdBy":"operator"},"type":"object","properties":{"id":{"description":"The unique identifier for this activation","type":"string"},"eventName":{"description":"The event name","type":"string"},"assetNames":{"description":"The asset names this activation applies to. Empty means all assets.","type":"array","items":{"type":"string"}},"overrideLock":{"description":"Override lock state (true = SET, false = UNSET)","type":"boolean"},"createdBy":{"description":"The user who created this activation","type":"string"}},"required":["id","eventName","assetNames","overrideLock","createdBy"]}}}},"get":{"operationId":"GET-event-schedule-manual","summary":"List Manual Event Activations","description":"Retrieve all currently active manual event activations.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- REST Access","tags":["General","Hub"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"example":{"id":"123e4567-e89b-12d3-a456-426614174000","eventName":"NFP","assetNames":["string value"],"overrideLock":false,"createdBy":"operator"},"type":"object","properties":{"id":{"description":"The unique identifier for this activation","type":"string"},"eventName":{"description":"The event name","type":"string"},"assetNames":{"description":"The asset names this activation applies to. Empty means all assets.","type":"array","items":{"type":"string"}},"overrideLock":{"description":"Override lock state (true = SET, false = UNSET)","type":"boolean"},"createdBy":{"description":"The user who created this activation","type":"string"}},"required":["id","eventName","assetNames","overrideLock","createdBy"]}}}}}},"/event-schedule/manual/{id}":{"delete":{"operationId":"DELETE-event-schedule-manual-id","summary":"Remove Manual Event Activation","description":"Remove a previously added manual event activation by its unique identifier.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- REST Access","tags":["General","Hub"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The unique identifier of the manual activation to remove","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/maker":{"get":{"operationId":"GET-maker","summary":"Get the status of all Makers","description":"Retrieve a list of all Makers and their current status\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- CFD Actions tile\n- Maker Controls tile\n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Maker"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Maker Info","example":{"id":"","adapterId":"OZ_001","entityId":"00000000-0000-0000-0000-000000000000","entityDisplayName":"EN2","makerSymbols":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerSymbol":"string value"}],"canTrade":true,"canQuote":true,"connectionEnabled":true,"quoteConnectionStatus":"CONNECTED","tradeConnectionStatus":"CONNECTED","metadataConnectionStatus":"CONNECTED","bidEnabled":true,"askEnabled":true,"isSyntheticMaker":false,"liquidityStreamType":"Sweepable","supportedPassthroughExecutionMethods":[{"orderType":"PEG_LIMIT","timeInForce":"DAY"}]},"type":"object","properties":{"id":{"description":"Unique Identifier of the Maker","type":"string","format":"guid"},"adapterId":{"description":"Hub Maker Id","type":"string"},"entityId":{"description":"Hub Maker Entity Id","type":"string","format":"uuid"},"entityDisplayName":{"description":"Hub Maker Entity Display Name","type":"string"},"makerSymbols":{"description":"List of all Symbols available on the Maker","type":"array","items":{"description":"Maker Symbol Info","type":"object","properties":{"id":{"type":"string","format":"guid"},"makerSymbol":{"type":"string"}},"required":["id","makerSymbol"]}},"canTrade":{"description":"Does this Maker accept trades?","type":"boolean"},"canQuote":{"description":"Does this Maker supply quotes?","type":"boolean"},"connectionEnabled":{"description":"Connection status of the Maker","type":"boolean"},"quoteConnectionStatus":{"description":"Quote Connection status of the Maker","type":"string","enum":["CONNECTED","DISCONNECTED","DISABLED"]},"tradeConnectionStatus":{"description":"Trade Connection status of the Maker","type":"string","enum":["CONNECTED","DISCONNECTED","DISABLED"]},"metadataConnectionStatus":{"description":"Metadata Connection status of the Maker","type":"string","enum":["CONNECTED","DISCONNECTED","DISABLED"]},"bidEnabled":{"description":"Is Bid-side quoting enabled on this Maker","type":"boolean"},"askEnabled":{"description":"Is Ask-side quoting enabled on this Maker","type":"boolean"},"isSyntheticMaker":{"description":"Is this Maker a Synthetic Maker","type":"boolean"},"liquidityStreamType":{"description":"The LiquidityStreamType of the current Maker","type":"string"},"supportedPassthroughExecutionMethods":{"description":"Order Type and Time In Force pairs available for passthrough orders","type":"array","items":{"description":"Order Type and Time In Force Pair","type":"object","properties":{"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"type":"string","enum":["GTC","IOC","FOK","DAY"]}},"required":["orderType","timeInForce"]}}},"required":["id","adapterId","entityId","entityDisplayName","makerSymbols","canTrade","canQuote","connectionEnabled","quoteConnectionStatus","tradeConnectionStatus","metadataConnectionStatus","bidEnabled","askEnabled","isSyntheticMaker","liquidityStreamType","supportedPassthroughExecutionMethods"]}}}}}},"/maker-admin/killswitch/{commandId}":{"post":{"operationId":"POST-maker-admin-killswitch-commandId","summary":"Maker Connection Killswitch","description":"Used for disconnecting all Maker connections or returning all Maker connections to their previous state prior to a killswitch event. Individual Maker connection controls are disabled during this global Maker disconnect.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.23 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Maker Controls tile","tags":["General","Maker"],"security":[{"Authorization":[]}],"parameters":[{"name":"commandId","in":"path","description":"The command to be executed on all Makers.\n\nAllowed Values:\n\n* connect - Connect and subscribe all previously Connected/Connecting Makers that were disconnected via Killswitch.\n* disconnect-abrupt - Immediately disconnect all Makers.","required":true,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/maker/{id}":{"patch":{"operationId":"PATCH-maker-id","summary":"Update parameters for a Maker","description":"Enable or disable Bid/Ask quoting for a maker\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Maker Controls tile","tags":["General","Maker"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Maker Control Params","example":{"bidEnabled":true,"askEnabled":true},"type":"object","properties":{"bidEnabled":{"description":"Are Bid-side quotes from the Maker enabled","type":"boolean"},"askEnabled":{"description":"Are Ask-side quotes from the Maker enabled","type":"boolean"}}}},{"name":"id","in":"path","description":"The Maker Id (GUID) uniquely identifying the Maker","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Maker Info","example":{"id":"","adapterId":"OZ_001","connectionEnabled":true,"quoteConnectionStatus":"CONNECTED","tradeConnectionStatus":"CONNECTED","bidEnabled":true,"askEnabled":true},"type":"object","properties":{"id":{"description":"Unique Identifier of the Maker","type":"string","format":"guid"},"adapterId":{"description":"Hub Maker Id","type":"string"},"connectionEnabled":{"description":"Connection status of the Maker","type":"boolean"},"quoteConnectionStatus":{"description":"Quote Connection status of the Maker","type":"string","enum":["CONNECTED","DISCONNECTED","DISABLED"]},"tradeConnectionStatus":{"description":"Trade Connection status of the Maker","type":"string","enum":["CONNECTED","DISCONNECTED","DISABLED"]},"bidEnabled":{"description":"Is Bid-side quoting enabled on this Maker","type":"boolean"},"askEnabled":{"description":"Is Ask-side quoting enabled on this Maker","type":"boolean"}},"required":["id","adapterId","connectionEnabled","quoteConnectionStatus","tradeConnectionStatus","bidEnabled","askEnabled"]}}}}},"/maker/{id}/commands/{commandId}":{"post":{"operationId":"POST-maker-id-commands-commandId","summary":"Execute the specified command on a Maker","description":"Set the connection status for the Maker\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Maker Controls tile","tags":["General","Maker"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The Maker Id (GUID) uniquely identifying the Maker","required":true,"type":"string"},{"name":"commandId","in":"path","description":"The command to be executed on the Maker(s).\n\nAllowed Values:\n\n* connect - Connect and subscribe.\n* disconnect-wait-for-trades - Unsubscribe from quotes and wait for all orders to finish, then disconnect.\n* disconnect-cancel-trades - Unsubscribe from quotes and cancel orders, then disconnect.\n* disconnect-abrupt - Immediately disconnect.\n* cycle-connection-wait-for-trades - Unsubscribe from quotes and wait for all orders to finish, then cycle connection.\n* cycle-connection-cancel-trades - Unsubscribe from quotes and cancel all orders, then cycle connection.\n* cycle-connection-abrupt - Immediately disconnect, then reconnect.","required":true,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/maker/{id}/maker-symbols":{"get":{"operationId":"GET-maker-id-maker-symbols","summary":"Get the status of all Symbols for a specified Maker","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- CFD Actions tile\n- Maker Controls tile\n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Maker"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The Maker Id (GUID) uniquely identifying the Maker","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Maker Symbol Control Info","example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerSymbol":"string value","bidEnabled":true,"askEnabled":true,"coreSymbol":"AUD/USD","makerSpreadConfigurations":[{"providerFilter":"*","bidSpread":"-0.00002","askSpread":"0.00002"}],"contractSize":"1.0","priceMultiplier":"1.0"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"makerSymbol":{"type":"string"},"bidEnabled":{"description":"Are Bid-side quotes enabled for this Symbol","type":"boolean"},"askEnabled":{"description":"Are Ask-side quotes enabled for this Symbol","type":"boolean"},"coreSymbol":{"description":"CoreSymbol","type":"string"},"makerSpreadConfigurations":{"type":"array","items":{"description":"Maker Spread Info","type":"object","properties":{"providerFilter":{"description":"Quote provider filter of this configuration","type":"string","format":"filter-string"},"bidSpread":{"description":"Bid Spread in symbol price units","type":"string","format":"decimal128"},"askSpread":{"description":"Ask Spread in symbol price units","type":"string","format":"decimal128"}},"required":["providerFilter","bidSpread","askSpread"]}},"contractSize":{"description":"Size of the contract in which the maker is quoting this Symbol","type":"string","format":"decimal128"},"priceMultiplier":{"description":"Multiplication factor used to adjust the incoming maker price for this Symbol","type":"string","format":"decimal128"}},"required":["id","makerSymbol","bidEnabled","askEnabled","coreSymbol","makerSpreadConfigurations"]}}}}}},"/maker/{id}/maker-symbols/{symbolId}":{"patch":{"operationId":"PATCH-maker-id-maker-symbols-symbolId","summary":"Update the parameters for a Maker Symbol","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Maker Controls tile","tags":["General","Maker"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The Maker Id (GUID) uniquely identifying the Maker","required":true,"type":"string"},{"name":"symbolId","in":"path","description":"The GUID of the CoreSymbol to be updated","required":true,"type":"string"},{"name":"body","in":"body","schema":{"description":"Maker Control Params","example":{"bidEnabled":true,"askEnabled":true},"type":"object","properties":{"bidEnabled":{"description":"Are Bid-side quotes from the Maker enabled","type":"boolean"},"askEnabled":{"description":"Are Ask-side quotes from the Maker enabled","type":"boolean"}}}}],"responses":{"200":{"description":"","schema":{"description":"Maker Symbol Control Info","example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerSymbol":"string value","coreSymbol":"AUD/USD","bidEnabled":true,"askEnabled":true},"type":"object","properties":{"id":{"type":"string","format":"guid"},"makerSymbol":{"type":"string"},"coreSymbol":{"description":"CoreSymbol","type":"string"},"bidEnabled":{"description":"Are Bid-side quotes enabled for this Symbol","type":"boolean"},"askEnabled":{"description":"Are Ask-side quotes enabled for this Symbol","type":"boolean"}},"required":["id","makerSymbol","coreSymbol","bidEnabled","askEnabled"]}}}}},"/margin-account":{"get":{"operationId":"GET-margin-account","summary":"Retrieve all Margin Accounts","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.13|Removed takerIds field and added takerEntityIds field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"summary","in":"query","description":"If true, then only minimal summary information for each account will be returned","default":false,"type":"boolean","required":false},{"name":"takerLogin","in":"query","description":"If given, then only accounts that are associated with the takerLogin will be returned","type":"string","required":false}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Account information for a Margin Account","example":{"id":5,"name":"MargAccount1","currency":"USD","equityPrecisionDecimalPlaces":2,"reverseMakerPositions":true,"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"TakerLogin1","comment":"Low spread margin account","balance":"1000.45","accountCredit":"1000.45","unrealizedPnL":"1000.45","equity":"1000.45","margin":"1000.45","freeMargin":"1000.45","marginUtilizationPercentage":"0.05","autoLiquidationEnabled":true,"autoLiquidationPercentage":"0.05","marginCallPercentage":"0.05"},"type":"object","properties":{"id":{"description":"Unique Account ID","type":"integer","format":"int64"},"name":{"description":"Human readable name for account","type":"string"},"currency":{"description":"Base currency of account, e.g. USD","type":"string"},"equityPrecisionDecimalPlaces":{"description":"Precision in decimal places of equity values of account","type":"integer","format":"int32"},"reverseMakerPositions":{"description":"DESCRIPTION REQUIRED","type":"boolean"},"takerEntityIds":{"description":"Array of Taker Entity Ids associated with the account","type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"description":"Taker login associated with the account","type":"string"},"comment":{"description":"Comment in settings for account","type":"string"},"balance":{"description":"Account ledger balance","type":"string","format":"decimal128"},"accountCredit":{"description":"Account credit balance","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"Unrealized P\u0026L in account currency","type":"string","format":"decimal128"},"equity":{"description":"Total account equity in account currency","type":"string","format":"decimal128"},"margin":{"description":"Margin utilization in account currency","type":"string","format":"decimal128"},"freeMargin":{"description":"Free margin in account currency","type":"string","format":"decimal128"},"marginUtilizationPercentage":{"description":"Margin utilization as a percent of equity","type":"string","format":"decimal128"},"autoLiquidationEnabled":{"description":"true/false is auto liquidation enabled for the account","type":"boolean"},"autoLiquidationPercentage":{"description":"Margin % at which auto liquidation will occur","type":"string","format":"decimal128"},"marginCallPercentage":{"description":"Margin % at which margin call will occur","type":"string","format":"decimal128"}},"required":["id","name","currency","equityPrecisionDecimalPlaces","reverseMakerPositions","takerEntityIds","comment","accountCredit","autoLiquidationEnabled","marginCallPercentage"]}}}}}},"/margin-account-admin/{id}/taker-symbols":{"get":{"operationId":"GET-margin-account-admin-id-taker-symbols","summary":"Retrieve Taker Symbols available to a Margin Account","description":"Retrieve detailed information for all Taker Symbols that are available to a Margin Account\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Taker Symbol Detail","example":{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]}},"type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread"]}}}}}},"/margin-account/{id}":{"get":{"operationId":"GET-margin-account-id","summary":"Retrieve a single Margin Account","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.13|Removed takerIds field and added takerEntityIds field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"summary","in":"query","description":"If true, then only minimal summary information for each account will be returned","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","schema":{"description":"Account information for a Margin Account","example":{"id":5,"name":"MargAccount1","currency":"USD","equityPrecisionDecimalPlaces":2,"reverseMakerPositions":true,"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"TakerLogin1","comment":"Low spread margin account","balance":"1000.45","accountCredit":"1000.45","unrealizedPnL":"1000.45","equity":"1000.45","margin":"1000.45","freeMargin":"1000.45","marginUtilizationPercentage":"0.05","autoLiquidationEnabled":true,"autoLiquidationPercentage":"0.05","marginCallPercentage":"0.05"},"type":"object","properties":{"id":{"description":"Unique Account ID","type":"integer","format":"int64"},"name":{"description":"Human readable name for account","type":"string"},"currency":{"description":"Base currency of account, e.g. USD","type":"string"},"equityPrecisionDecimalPlaces":{"description":"Precision in decimal places of equity values of account","type":"integer","format":"int32"},"reverseMakerPositions":{"description":"DESCRIPTION REQUIRED","type":"boolean"},"takerEntityIds":{"description":"Array of Taker Entity Ids associated with the account","type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"description":"Taker login associated with the account","type":"string"},"comment":{"description":"Comment in settings for account","type":"string"},"balance":{"description":"Account ledger balance","type":"string","format":"decimal128"},"accountCredit":{"description":"Account credit balance","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"Unrealized P\u0026L in account currency","type":"string","format":"decimal128"},"equity":{"description":"Total account equity in account currency","type":"string","format":"decimal128"},"margin":{"description":"Margin utilization in account currency","type":"string","format":"decimal128"},"freeMargin":{"description":"Free margin in account currency","type":"string","format":"decimal128"},"marginUtilizationPercentage":{"description":"Margin utilization as a percent of equity","type":"string","format":"decimal128"},"autoLiquidationEnabled":{"description":"true/false is auto liquidation enabled for the account","type":"boolean"},"autoLiquidationPercentage":{"description":"Margin % at which auto liquidation will occur","type":"string","format":"decimal128"},"marginCallPercentage":{"description":"Margin % at which margin call will occur","type":"string","format":"decimal128"}},"required":["id","name","currency","equityPrecisionDecimalPlaces","reverseMakerPositions","takerEntityIds","comment","accountCredit","autoLiquidationEnabled","marginCallPercentage"]}}}}},"/margin-account/{id}/ledger":{"post":{"operationId":"POST-margin-account-id-ledger","summary":"Add a multi-entry ledger transaction to a Margin Account","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.01|Change \u0027type\u0027 member to use correct CAPS_CASE_NAMES|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Edit\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e Edit","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"type":"array","items":{"description":"Ledger Entry","example":{"type":"CASH","amount":"444.5","currency":"EUR","comment":"Customer deposit."},"type":"object","properties":{"type":{"description":"Type of the entry.","default":"CASH","type":"string","enum":["CASH","CASH_SWEEP","SETTLED_PNL","COMMISSION","SWAP_CHARGE","CFD_DIVIDEND","CFD_SPLIT_FRACTIONAL_SHARE_LIQUIDATION","CREDIT","FINANCE_CHARGE"]},"amount":{"description":"Amount for the entry.","type":"string","format":"decimal128"},"currency":{"description":"Ledger entry currency.","type":"string"},"comment":{"description":"Ledger entry comment.","default":"","type":"string"}},"required":["amount"]}}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Ledger Add Entry","example":{"type":"CASH","amount":"444.5","currency":"EUR","id":1234},"type":"object","properties":{"type":{"description":"Type of the entry.","type":"string"},"amount":{"description":"Amount for the entry.","type":"string","format":"decimal128"},"currency":{"description":"Ledger entry currency.","type":"string"},"id":{"description":"Database id of the created ledger entry","type":"integer","format":"int64"}},"required":["type","amount","currency","id"]}}}}},"get":{"tags":["General","Margin Account"],"summary":"Retrieve Margin Ledger Entries","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-margin-account-id-ledger","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"The ID of the margin account","required":true,"type":"integer","format":"int64"},{"in":"query","name":"Index","description":"Index within the underlying data to start returning items from","type":"integer","format":"int32","default":0},{"in":"query","name":"Count","description":"Maximum number of items to return","type":"integer","format":"int32","default":500},{"in":"query","name":"MinTimestamp","description":"Optional minimum timestamp of ledger entries to return. Anything older than this timestamp will be discarded.","type":"string","format":"date-time"},{"in":"query","name":"MaxTimestamp","description":"Optional maximum timestamp of ledger entries to return. Anything older than this timestamp will be discarded.","type":"string","format":"date-time"},{"in":"query","name":"filteredTypes[]","description":"Optional array of desired types of ledger entries to return. If empty all types will be returned.\n\nPass multiple values using Repeated Key Notation, e.g. `filteredTypes[]=\u003ca\u003e\u0026filteredTypes[]=\u003cb\u003e\u0026filteredTypes[]=\u003cc\u003e`","type":"array","items":{"enum":["UNKNOWN","CASH","CASH_SWEEP","SETTLED_PNL","COMMISSION","SWAP_CHARGE","CFD_DIVIDEND","CFD_SPLIT_FRACTIONAL_SHARE_LIQUIDATION","CREDIT","FINANCE_CHARGE"],"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MarginLedgerEntryDtoInt32TotaledQueryResponse"}}},"security":[{"Authorization":[]}]}},"/margin-account/{id}/ledger/currency-balance":{"get":{"operationId":"GET-margin-account-id-ledger-currency-balance","summary":"Retrieve ledger currency balances for a single Margin Account","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Currency Balance","example":{"currency":"EUR","balance":"-1234.5","balanceInAccountCurrency":"1234.5"},"type":"object","properties":{"currency":{"description":"Currency the balance is for, e.g. EUR","type":"string"},"balance":{"description":"Balance of the currency. May be negative if a loss has been realized","type":"string","format":"decimal128"},"balanceInAccountCurrency":{"description":"Balance of the currency converted to the account currency at current mark to market rates","type":"string","format":"decimal128"}},"required":["currency","balance"]}}}}}},"/margin-account/{id}/positions":{"get":{"operationId":"GET-margin-account-id-positions","summary":"Retrieve positions held by a single Margin Account","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.01|unrealizedPnLInQuoteCurrency renamed to unrealizedPnLInTermCurrency and floatingPnLInQuoteCurrency renamed to floatingPnLInTermCurrency|\n|1.13|adapterPositions renamed to entityPositions. In each position block, adapterId is replaced with entityId, and adapterSymbol renamed to entitySymbol.|\n|1.15|Renamed unrealizedPnL to unrealizedPnLInAccountCurrency. Renamed unrealizedPnLInTermCurrency to unrealizedPnL. Renamed floatingPnL to floatingPnLInAccountCurrency. Renamed floatingPnLInTermCurrency to floatingPnL.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"}],"responses":{"200":{"description":"An array and count of positions held by a Margin Account","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Core Symbol Position","example":{"position":"-100000","vwap":"63.458","fifoVWAP":"63.458","unrealizedPnLInAccountCurrency":"-2000.45","unrealizedPnL":{"value":"156.789","currency":"string value"},"coreSymbol":"string value","marginRate":"0.02","tierStates":[{"marginRate":"0.02","positionInAccountCurrency":"1000","marginInAccountCurrency":"10"}],"vwapPrecision":5,"margin":"5000.45","floatingPnLInAccountCurrency":"-2000.45","floatingPnL":{"value":"156.789","currency":"string value"},"entityPositions":[{"position":"-100000","vwap":"63.458","fifoVWAP":"63.458","unrealizedPnLInAccountCurrency":"-2000.45","unrealizedPnL":{"value":"156.789","currency":"string value"},"entityId":"10000000-0000-0000-0000-000000000001","entitySymbol":"AUDCAD.ht1","entityDisplayName":"EN1","marketPrice":"80.4562","settlementTimeUTC":"2018-06-01 21:00:00.000000"}],"positionInAccountCurrency":"100000"},"type":"object","properties":{"position":{"description":"Net position where positive is BUY and negative is SELL","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of the net position. Only set if the net position is non-zero","type":"string","format":"decimal128"},"fifoVWAP":{"description":"VWAP of the net position calculated using FIFO rules. Only set if the net position is non-zero and Display Mode for VWAP is set to \u0027FIFO Rules\u0027. WARNING: This VWAP does not correlate to the P\u0026L of the position. Any P\u0026L dependent calculations should use the \u0027vwap\u0027 field.","type":"string","format":"decimal128"},"unrealizedPnLInAccountCurrency":{"description":"The P\u0026L contribution of this net position that is yet to be settled (includes all floating P\u0026L), expressed in the account currency","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"The P\u0026L contribution of this net position that is yet to be settled (includes all floating P\u0026L), expressed in the quote currency","type":"object","properties":{"value":{"type":"string","format":"decimal128"},"currency":{"type":"string"}},"required":["value","currency"]},"coreSymbol":{"type":"string"},"marginRate":{"description":"The Margin Rate that applies to this net position expressed as a fraction [0..1], e.g. 0.02 == 2%","type":"string","format":"decimal128"},"tierStates":{"description":"Tiered Margin States","type":"array","items":{"description":"Tiered Margin State","type":"object","properties":{"marginRate":{"description":"The Margin Rate that applies to this position expressed as a fraction [0..1], e.g. 0.02 == 2%","type":"string","format":"decimal128"},"positionInAccountCurrency":{"description":"The position expressed in the account currency","type":"string","format":"decimal128"},"marginInAccountCurrency":{"description":"The margin contribution of this position expressed in the account currency","type":"string","format":"decimal128"}},"required":["marginRate"]}},"vwapPrecision":{"description":"The number of decimal places that VWAP is calculated at","type":"integer","format":"int32"},"margin":{"description":"The margin contribution of this net position expressed in the account currency","type":"string","format":"decimal128"},"floatingPnLInAccountCurrency":{"description":"The P\u0026L contribution of this net position that is yet to be swapped (i.e. is floating), expressed in the account currency","type":"string","format":"decimal128"},"floatingPnL":{"description":"The P\u0026L contribution of this net position that is yet to be swapped (i.e. is floating), expressed in the quote currency","type":"object","properties":{"value":{"type":"string","format":"decimal128"},"currency":{"type":"string"}},"required":["value","currency"]},"entityPositions":{"description":"Entity net positions that make up this core symbol net position","type":"array","items":{"description":"Entity Position","type":"object","properties":{"position":{"description":"Net position where positive is BUY and negative is SELL","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of the net position. Only set if the net position is non-zero","type":"string","format":"decimal128"},"fifoVWAP":{"description":"VWAP of the net position calculated using FIFO rules. Only set if the net position is non-zero and Display Mode for VWAP is set to \u0027FIFO Rules\u0027. WARNING: This VWAP does not correlate to the P\u0026L of the position. Any P\u0026L dependent calculations should use the \u0027vwap\u0027 field.","type":"string","format":"decimal128"},"unrealizedPnLInAccountCurrency":{"description":"The P\u0026L contribution of this net position that is yet to be settled (includes all floating P\u0026L), expressed in the account currency","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"The P\u0026L contribution of this net position that is yet to be settled (includes all floating P\u0026L), expressed in the quote currency","type":"object","properties":{"value":{"type":"string","format":"decimal128"},"currency":{"type":"string"}},"required":["value","currency"]},"entityId":{"description":"Entity Id (Maker or Taker) for this net position","type":"string","format":"uuid"},"entitySymbol":{"description":"Entity (Maker or Taker) specific symbol for this net position","type":"string"},"entityDisplayName":{"description":"Hub Taker Entity Display Name","type":"string"},"marketPrice":{"description":"The current mark to market price for this net position, used to compute P\u0026L","type":"string","format":"decimal128"},"settlementTimeUTC":{"description":"The UTC settlement time for this net position","type":"string","format":"timestamp"}},"required":["position","entityId","entitySymbol","entityDisplayName","settlementTimeUTC"]}},"positionInAccountCurrency":{"description":"Net marginable position expressed in the account currency","type":"string","format":"decimal128"}},"required":["position","coreSymbol","tierStates","vwapPrecision","entityPositions"]}}}}}}}},"/margin-account/{id}/trade/multileg-order":{"post":{"operationId":"POST-margin-account-id-trade-multileg-order","summary":"Place an Order for a Taker in a Margin Account","description":"This API call allows orders to be placed for a Taker that is mapped to a Margin Account. The query will return instantly with information about the Hub order that was created. A 200 OK response indicates that the order request was successfully processed by the Hub, *not* that the order was filled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Taker Trade Info","example":{"symbol":"string value","orderSide":"","orderType":"","timeInForce":"GTC","volume":"102000","price":"156.789","spotRate":"156.789","secondaryPrice":"156.789","takerStreamName":"Stream1","routing":"string value","externallyRested":true,"pegDistance":"156.789","pegType":"MID","takerQuoteRequestId":"12345","streamId":12345,"quoteId":12345,"isTermCurrencyDenominated":true,"legs":[{"price":"156.789","volume":"156.789"}],"orderAttributes":{"attribute1":"Algo","attribute2":"Client A","attribute3":"Desk 1"},"takerId":"FIX_001","takerEntityId":"10000000-0000-0000-0000-000000000001","liquidityType":"SWEEPABLE","takerOrderId":"string value"},"type":"object","properties":{"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"volume":{"description":"The tradable volume. If set for a swaps order, it is the volume on the far leg.","type":"string","format":"decimal128"},"price":{"type":"string","format":"decimal128"},"spotRate":{"type":"string","format":"decimal128"},"secondaryPrice":{"type":"string","format":"decimal128"},"takerStreamName":{"description":"Either this Taker Stream Name or Taker ID must be passed, but never both.","type":"string"},"routing":{"type":"string"},"externallyRested":{"type":"boolean"},"pegDistance":{"type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"takerQuoteRequestId":{"description":"If set, the query will provide quotes related to an RFQ Request ID specified by a taker, when it issued the RFQ.","type":"string"},"streamId":{"description":"If set, the unique stream Id assigned by the hub and returned on a successful RFQ request","type":"integer","format":"int64"},"quoteId":{"description":"If set, the unique quote Id assigned by the hub and returned for a quote. Needed for a PQ order.","type":"integer","format":"int64"},"isTermCurrencyDenominated":{"description":"If set, then requested volume is denominated in the term currency; otherwise, the request volume will be denominated in base currency","type":"boolean"},"legs":{"description":"The legs of the trade.","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}},"orderAttributes":{"description":"Optional order attribute values selected by the trader from the entity\u0027s assigned profile.","type":"object","properties":{"attribute1":{"description":"Selected value for attribute 1.","type":"string"},"attribute2":{"description":"Selected value for attribute 2.","type":"string"},"attribute3":{"description":"Selected value for attribute 3.","type":"string"}}},"takerId":{"description":"Either this Taker ID or Taker Stream Name must be passed, but never both.","type":"string"},"takerEntityId":{"description":"If not set the, first registered Taker on the specified margin account will be used.","type":"string","format":"uuid"},"liquidityType":{"description":"This must be sent if and only if Taker ID is sent.","type":"string","enum":["FULL_AMOUNT","SWEEPABLE"]},"takerOrderId":{"type":"string"}},"required":["symbol","orderSide","orderType","legs","takerEntityId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}},"get":{"operationId":"GET-margin-account-id-trade-multileg-order","summary":"Get a list of Margin Account Orders","description":"Query a list of Margin Account orders. Support filtering PENDING orders by passing status=PENDING param.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":500,"type":"integer","format":"uint64","required":false},{"name":"status","in":"query","description":"Status of the orders to return, currently only allow to filter by status=PENDING.","type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"],"required":false},{"name":"secondaryStatus","in":"query","description":"Secondary Status of the orders to return, currently only allow to filter by secondaryStatus=STOPLIMIT_MONITORED.","type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"],"required":false},{"name":"symbol","in":"query","description":"Symbol of the orders to return.","type":"string","required":false},{"name":"coreSymbol","in":"query","description":"The core symbol the orders to return. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"requestType","in":"query","description":"Request type of the orders to return.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"],"required":false},{"name":"portfolioId","in":"query","description":"Portfolio Id of the orders to return.","type":"integer","format":"int64","required":false},{"name":"orderAnnotationFlags","in":"query","type":"integer","format":"int32","required":false},{"name":"orderType","in":"query","description":"Order type.","type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"],"required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId","legs":[{"price":"156.789","volume":"156.789"}]},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"},"legs":{"type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse","legs"]}}}}}}}},"/margin-account/{id}/trade/multileg-order/{requestNewId}":{"get":{"operationId":"GET-margin-account-id-trade-multileg-order-requestNewId","summary":"Get the status of a Margin Account Order","description":"Allows the status of a previously placed order to be retrieved. This can be used to query any margin account order, even if it was not originally placed over REST. For the case of non-REST orders, the requestNewId should be set to the Database requestnew_id of the order.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"requestNewId","in":"path","description":"Database requestnew_id of the order","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId","legs":[{"price":"156.789","volume":"156.789"}]},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"},"legs":{"type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse","legs"]}}}}},"/margin-account/{id}/trade/multileg-quotes":{"get":{"operationId":"GET-margin-account-id-trade-multileg-quotes","summary":"Retrieve quotes for a Taker in a Margin Account","description":"This API call returns the quote book for a given Taker and symbol combination used in a Margin Account.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Margin Account id to get quotes for","required":true,"type":"string"},{"name":"coreSymbol","in":"query","description":"The core symbol to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"coreSymbols","in":"query","description":"The core symbols to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"array","items":{"type":"string"},"required":true},{"name":"symbol","in":"query","description":"The adapter specific symbol to get quotes for","type":"string","required":false},{"name":"depth","in":"query","description":"Depth of quotes to retrieve. If not set then the full book is returned","default":2147483647,"type":"integer","format":"uint32","required":false},{"name":"takerId","in":"query","description":"Either this Taker ID or Taker Stream Name must be passed, but never both.","type":"string","required":false},{"name":"takerEntityId","in":"query","description":"Optional parameter that\u0027s used if Taker Stream Name is specified.  If not set the, first registered Taker on the specified margin account will be used.","type":"string","format":"uuid","required":false},{"name":"takerStreamName","in":"query","description":"The taker stream (price channel) name to get quotes for","type":"string","required":false},{"name":"subscribedSymbolsOnly","in":"query","description":"Only return quotes that are currently part of a taker subscription","default":false,"type":"boolean","required":false},{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Quote Entry","example":{"bid":{"tradablePrice":"55.55","tradableSize":"123.30","indicative":true,"receiveTimestamp":""},"ask":{"tradablePrice":"55.55","tradableSize":"123.30","indicative":true,"receiveTimestamp":""},"symbol":"CoreSymbol1.Symbol2","coreSymbol":"CoreSymbol1","precision":5,"layer":1,"bookId":"cmBSAFVgjkCDv3_d8Kw9tw"},"type":"object","properties":{"bid":{"description":"Bid Quote","type":"object","properties":{"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"}},"required":["indicative","receiveTimestamp"]},"ask":{"description":"Ask Quote","type":"object","properties":{"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"}},"required":["indicative","receiveTimestamp"]},"symbol":{"description":"Taker symbol this quote is for","type":"string"},"coreSymbol":{"description":"Core symbol this quote is for","type":"string"},"precision":{"description":"Precision in decimal places of quote prices","type":"integer","format":"int32"},"layer":{"description":"Layer in the quote book for this quote, e.g. layer = 0 is Top of Book","type":"integer","format":"int32"},"bookId":{"description":"Unique identifier of the book this quote belongs to","type":"string","format":"guid"}},"required":["symbol","coreSymbol","precision","layer","bookId"]}}}}}}}},"/margin-account/{id}/trade/order":{"post":{"operationId":"POST-margin-account-id-trade-order","summary":"Place an Order for a Taker in a Margin Account","description":"This API call allows orders to be placed for a Taker that is mapped to a Margin Account. The query will return instantly with information about the Hub order that was created. A 200 OK response indicates that the order request was successfully processed by the Hub, *not* that the order was filled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.13|Added takerEntityId and takerStreamCharacteristic fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Taker Trade Info","example":{"symbol":"string value","orderSide":"","orderType":"","timeInForce":"GTC","volume":"102000","price":"156.789","spotRate":"156.789","secondaryPrice":"156.789","takerStreamName":"Stream1","routing":"string value","externallyRested":true,"pegDistance":"156.789","pegType":"MID","takerQuoteRequestId":"12345","streamId":12345,"quoteId":12345,"isTermCurrencyDenominated":true,"legs":[{"price":"156.789","volume":"156.789"}],"orderAttributes":{"attribute1":"Algo","attribute2":"Client A","attribute3":"Desk 1"},"takerId":"FIX_001","takerEntityId":"10000000-0000-0000-0000-000000000001","liquidityType":"SWEEPABLE","takerOrderId":"string value"},"type":"object","properties":{"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"volume":{"description":"The tradable volume. If set for a swaps order, it is the volume on the far leg.","type":"string","format":"decimal128"},"price":{"type":"string","format":"decimal128"},"spotRate":{"type":"string","format":"decimal128"},"secondaryPrice":{"type":"string","format":"decimal128"},"takerStreamName":{"description":"Either this Taker Stream Name or Taker ID must be passed, but never both.","type":"string"},"routing":{"type":"string"},"externallyRested":{"type":"boolean"},"pegDistance":{"type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"takerQuoteRequestId":{"description":"If set, the query will provide quotes related to an RFQ Request ID specified by a taker, when it issued the RFQ.","type":"string"},"streamId":{"description":"If set, the unique stream Id assigned by the hub and returned on a successful RFQ request","type":"integer","format":"int64"},"quoteId":{"description":"If set, the unique quote Id assigned by the hub and returned for a quote. Needed for a PQ order.","type":"integer","format":"int64"},"isTermCurrencyDenominated":{"description":"If set, then requested volume is denominated in the term currency; otherwise, the request volume will be denominated in base currency","type":"boolean"},"legs":{"description":"The legs of the trade.","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}},"orderAttributes":{"description":"Optional order attribute values selected by the trader from the entity\u0027s assigned profile.","type":"object","properties":{"attribute1":{"description":"Selected value for attribute 1.","type":"string"},"attribute2":{"description":"Selected value for attribute 2.","type":"string"},"attribute3":{"description":"Selected value for attribute 3.","type":"string"}}},"takerId":{"description":"Either this Taker ID or Taker Stream Name must be passed, but never both.","type":"string"},"takerEntityId":{"description":"If not set the, first registered Taker on the specified margin account will be used.","type":"string","format":"uuid"},"liquidityType":{"description":"This must be sent if and only if Taker ID is sent.","type":"string","enum":["FULL_AMOUNT","SWEEPABLE"]},"takerOrderId":{"type":"string"}},"required":["symbol","orderSide","orderType","legs","takerEntityId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}},"get":{"operationId":"GET-margin-account-id-trade-order","summary":"Get a list of Margin Account Orders","description":"Query a list of Margin Account orders. Support filtering PENDING orders by passing status=PENDING param.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.09|Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":500,"type":"integer","format":"uint64","required":false},{"name":"status","in":"query","description":"Status of the orders to return, currently only allow to filter by status=PENDING.","type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"],"required":false},{"name":"secondaryStatus","in":"query","description":"Secondary Status of the orders to return, currently only allow to filter by secondaryStatus=STOPLIMIT_MONITORED.","type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"],"required":false},{"name":"symbol","in":"query","description":"Symbol of the orders to return.","type":"string","required":false},{"name":"coreSymbol","in":"query","description":"The core symbol the orders to return. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"requestType","in":"query","description":"Request type of the orders to return.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"],"required":false},{"name":"portfolioId","in":"query","description":"Portfolio Id of the orders to return.","type":"integer","format":"int64","required":false},{"name":"orderAnnotationFlags","in":"query","type":"integer","format":"int32","required":false},{"name":"orderType","in":"query","description":"Order type.","type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"],"required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}}}}}},"/margin-account/{id}/trade/order/{requestNewId}":{"patch":{"operationId":"PATCH-margin-account-id-trade-order-requestNewId","summary":"Replace an order for a Taker in a Margin Account","description":"This API call allows a Taker that is mapped to a Margin Account to modify or cancel an order. The query will return instantly an 200 OK response which indicates that the order request was successfully processed by the Hub, *not* that the order was modified or cancelled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.01|\u0027requestNewId\u0027 removed as parameter from request body params, due to being a path parameter. Success response now contains the JsonOrder matching the \u0027requestNewId\u0027.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"requestNewId","in":"path","description":"Database requestnew_id of the order","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Order Replace Query","example":{"takerOrderId":"string value","requestedPrice":"156.789","requestedSecondaryPrice":"156.789","requestedVolume":"156.789","orderType":"PEG_LIMIT","timeInForce":"DAY","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","pegDistance":"156.789"},"type":"object","properties":{"takerOrderId":{"type":"string"},"requestedPrice":{"type":"string","format":"decimal128"},"requestedSecondaryPrice":{"type":"string","format":"decimal128"},"requestedVolume":{"type":"string","format":"decimal128"},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"type":"string","enum":["GTC","IOC","FOK","DAY"]},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"pegDistance":{"type":"string","format":"decimal128"}}}}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}},"get":{"operationId":"GET-margin-account-id-trade-order-requestNewId","summary":"Get the status of a Margin Account Order","description":"Allows the status of a previously placed order to be retrieved. This can be used to query any margin account order, even if it was not originally placed over REST. For the case of non-REST orders, the requestNewId should be set to the Database requestnew_id of the order.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.09|Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Margin Account Detail tile\n- Margin Account Summary tile\n- Specific Margin Account entries in a Tile and Settings Permission Profile -\u003e View\n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"requestNewId","in":"path","description":"Database requestnew_id of the order","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}}},"/margin-account/{id}/trade/quotes":{"get":{"operationId":"GET-margin-account-id-trade-quotes","summary":"Retrieve quotes for a Taker in a Margin Account","description":"This API call returns the quote book for a given Taker and symbol combination used in a Margin Account.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.13|New takerEntityId and takerStreamCharacteristic fields added.|\n|1.17|Renamed takerStreamCharacteristic into takerStreamName.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Legacy Risk Management Trade tile","tags":["General","Margin Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Margin Account id to get quotes for","required":true,"type":"string"},{"name":"coreSymbol","in":"query","description":"The core symbol to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"coreSymbols","in":"query","description":"The core symbols to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"array","items":{"type":"string"},"required":true},{"name":"symbol","in":"query","description":"The adapter specific symbol to get quotes for","type":"string","required":false},{"name":"depth","in":"query","description":"Depth of quotes to retrieve. If not set then the full book is returned","default":2147483647,"type":"integer","format":"uint32","required":false},{"name":"takerId","in":"query","description":"Either this Taker ID or Taker Stream Name must be passed, but never both.","type":"string","required":false},{"name":"takerEntityId","in":"query","description":"Optional parameter that\u0027s used if Taker Stream Name is specified.  If not set the, first registered Taker on the specified margin account will be used.","type":"string","format":"uuid","required":false},{"name":"takerStreamName","in":"query","description":"The taker stream (price channel) name to get quotes for","type":"string","required":false},{"name":"subscribedSymbolsOnly","in":"query","description":"Only return quotes that are currently part of a taker subscription","default":false,"type":"boolean","required":false},{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Quote Entry","example":{"bid":{"price":"55.55","size":"123.30","indicative":true,"receiveTimestamp":"2024-08-01 21:00:00.000000"},"ask":{"price":"55.55","size":"123.30","indicative":true,"receiveTimestamp":"2024-08-01 21:00:00.000000"},"symbol":"CoreSymbol1.Symbol2","coreSymbol":"CoreSymbol1","precision":5,"layer":1,"bookId":"cmBSAFVgjkCDv3_d8Kw9tw"},"type":"object","properties":{"bid":{"description":"Bid Quote","type":"object","properties":{"price":{"description":"Price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"size":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"}},"required":["indicative","receiveTimestamp"]},"ask":{"description":"Ask Quote","type":"object","properties":{"price":{"description":"Price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"size":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"}},"required":["indicative","receiveTimestamp"]},"symbol":{"description":"Taker symbol this quote is for","type":"string"},"coreSymbol":{"description":"Core symbol this quote is for","type":"string"},"precision":{"description":"Precision in decimal places of quote prices","type":"integer","format":"int32"},"layer":{"description":"Layer in the quote book for this quote, e.g. layer = 0 is Top of Book","type":"integer","format":"int32"},"bookId":{"description":"Unique identifier of the book this quote belongs to","type":"string","format":"guid"}},"required":["symbol","coreSymbol","precision","layer","bookId"]}}}}}}}},"/marginplus-account-admin/account-group-info/":{"get":{"operationId":"GET-marginplus-account-admin-account-group-info-","summary":"Retrieve Taker Symbols available to each MarginPlus Account Group","description":"Retrieve detailed information for all Taker Symbols that are available to each MarginPlus Account Group\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","tags":["General","MarginPlus Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"description":"MarginPlus Account Group Info","example":{"name":"group1","groupId":"","spreadGroupProfileId":"","takerSymbols":[{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]},"description":"Euro Dollar","commissionChargePerVolume":"1.0","commissionVolume":"100.0","commissionChargeCurrency":"USD","commissionMode":"PER_VOLUME_BASE","groupBidSpread":"-0.00005","groupAskSpread":"0.00005","marginInformation":{"marginType":"SINGLE_TIER","marginPct":"5","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]},"swapLongPoints":"0.05","swapShortPoints":"0.05","swapDaysToChargeAndMultiplier":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153},"sessionProfile":{"timeZone":"UTC/GMT","sessions":[{"quotes":true,"trades":true,"sessionTimes":[{"startDay":"Monday","startTime":"09:00:00.000000","endDay":"Friday","endTime":"17:00:00.000000"}]}]},"symbolAttributes":{"lotSize":"100000","minOrderVolume":"100","maxOrderVolume":"1000000.0","orderVolumeStepSize":"10","defaultOrderVolume":"1000"},"swapsMode":"POINTS","swapLong":"0.05","swapShort":"0.05"}]},"type":"object","properties":{"name":{"description":"Group Name","type":"string"},"groupId":{"description":"Group Id","type":"string","format":"guid"},"spreadGroupProfileId":{"description":"Spread Group Profile Id","type":"string","format":"guid"},"takerSymbols":{"description":"Taker Symbols","type":"array","items":{"description":"MarginPlus Group Taker Symbol Detail","type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]},"description":{"description":"Symbol Description","type":"string"},"commissionChargePerVolume":{"description":"Commission Charge Per Volume","type":"string","format":"decimal128"},"commissionVolume":{"description":"Commission Volume","type":"string","format":"decimal128"},"commissionChargeCurrency":{"description":"Commission Charge Currency","type":"string"},"commissionMode":{"description":"Commission Mode","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"groupBidSpread":{"description":"Group Bid Spread","type":"string","format":"decimal128"},"groupAskSpread":{"description":"Group Ask Spread","type":"string","format":"decimal128"},"marginInformation":{"description":"Margin Information","type":"object","properties":{"marginType":{"description":"Margin Type","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"marginPct":{"description":"Margin Pct","type":"string","format":"decimal128"},"tiers":{"description":"Margin Tiers","type":"array","items":{"description":"Margin Tier Information","type":"object","properties":{"fromValueRange":{"type":"string","format":"decimal128"},"toValueRange":{"type":"string","format":"decimal128"},"marginPct":{"type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["marginType"]},"swapLongPoints":{"description":"Swap Long Points","type":"string","format":"decimal128"},"swapShortPoints":{"description":"Swap Short Points","type":"string","format":"decimal128"},"swapDaysToChargeAndMultiplier":{"description":"Swap Days To Charge and Multiplier","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}},"sessionProfile":{"description":"Session Profile","type":"object","properties":{"timeZone":{"description":"Session Time Zone","type":"string"},"sessions":{"description":"List of sessions","type":"array","items":{"description":"MarginPlus Symbol Session Detail","type":"object","properties":{"quotes":{"description":"Are quotes available during this session?","type":"boolean"},"trades":{"description":"Are trades possible during this session?","type":"boolean"},"sessionTimes":{"description":"Times for this session","type":"array","items":{"description":"Margin Plus Session Time Range","type":"object","properties":{"startDay":{"description":"Start Day","type":"string"},"startTime":{"description":"Start Time","type":"string"},"endDay":{"description":"End Day","type":"string"},"endTime":{"description":"End Time","type":"string"}},"required":["startDay","startTime","endDay","endTime"]}}},"required":["quotes","trades","sessionTimes"]}}},"required":["timeZone","sessions"]},"symbolAttributes":{"description":"Symbol Attributes","type":"object","properties":{"lotSize":{"description":"Represents the number of notional units per 1 lot. Must be greater than zero.","type":"string","format":"decimal128"},"minOrderVolume":{"description":"Represents the minimum number of notional units that can be traded in a single ticket.","type":"string","format":"decimal128"},"maxOrderVolume":{"description":"Represents the maximum number of notional units that can be traded in a single ticket.","type":"string","format":"decimal128"},"orderVolumeStepSize":{"description":"Represents the step size that each ticket must adhere to.","type":"string","format":"decimal128"},"defaultOrderVolume":{"description":"Broker defined default notional order size.","type":"string","format":"decimal128"}}},"swapsMode":{"description":"Swaps Mode","type":"string","enum":["POINTS","PERCENTAGE"]},"swapLong":{"description":"Swap Long","type":"string","format":"decimal128"},"swapShort":{"description":"Swap Short","type":"string","format":"decimal128"}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread","commissionChargePerVolume","commissionVolume","commissionChargeCurrency","commissionMode","marginInformation","swapDaysToChargeAndMultiplier","swapsMode","swapLong","swapShort"]}}},"required":["name","groupId","takerSymbols"]}}}}}},"/marginplus-account-admin/account-group-info/{groupId}":{"get":{"operationId":"GET-marginplus-account-admin-account-group-info-groupId","summary":"Retrieve Taker Symbols available to a MarginPlus Account Group","description":"Retrieve detailed information for all Taker Symbols that are available to a MarginPlus Account Group\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","tags":["General","MarginPlus Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"groupId","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"description":"MarginPlus Account Group Info","example":{"name":"group1","groupId":"","spreadGroupProfileId":"","takerSymbols":[{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]},"description":"Euro Dollar","commissionChargePerVolume":"1.0","commissionVolume":"100.0","commissionChargeCurrency":"USD","commissionMode":"PER_VOLUME_BASE","groupBidSpread":"-0.00005","groupAskSpread":"0.00005","marginInformation":{"marginType":"SINGLE_TIER","marginPct":"5","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]},"swapLongPoints":"0.05","swapShortPoints":"0.05","swapDaysToChargeAndMultiplier":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153},"sessionProfile":{"timeZone":"UTC/GMT","sessions":[{"quotes":true,"trades":true,"sessionTimes":[{"startDay":"Monday","startTime":"09:00:00.000000","endDay":"Friday","endTime":"17:00:00.000000"}]}]},"symbolAttributes":{"lotSize":"100000","minOrderVolume":"100","maxOrderVolume":"1000000.0","orderVolumeStepSize":"10","defaultOrderVolume":"1000"},"swapsMode":"POINTS","swapLong":"0.05","swapShort":"0.05"}]},"type":"object","properties":{"name":{"description":"Group Name","type":"string"},"groupId":{"description":"Group Id","type":"string","format":"guid"},"spreadGroupProfileId":{"description":"Spread Group Profile Id","type":"string","format":"guid"},"takerSymbols":{"description":"Taker Symbols","type":"array","items":{"description":"MarginPlus Group Taker Symbol Detail","type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]},"description":{"description":"Symbol Description","type":"string"},"commissionChargePerVolume":{"description":"Commission Charge Per Volume","type":"string","format":"decimal128"},"commissionVolume":{"description":"Commission Volume","type":"string","format":"decimal128"},"commissionChargeCurrency":{"description":"Commission Charge Currency","type":"string"},"commissionMode":{"description":"Commission Mode","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"groupBidSpread":{"description":"Group Bid Spread","type":"string","format":"decimal128"},"groupAskSpread":{"description":"Group Ask Spread","type":"string","format":"decimal128"},"marginInformation":{"description":"Margin Information","type":"object","properties":{"marginType":{"description":"Margin Type","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"marginPct":{"description":"Margin Pct","type":"string","format":"decimal128"},"tiers":{"description":"Margin Tiers","type":"array","items":{"description":"Margin Tier Information","type":"object","properties":{"fromValueRange":{"type":"string","format":"decimal128"},"toValueRange":{"type":"string","format":"decimal128"},"marginPct":{"type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["marginType"]},"swapLongPoints":{"description":"Swap Long Points","type":"string","format":"decimal128"},"swapShortPoints":{"description":"Swap Short Points","type":"string","format":"decimal128"},"swapDaysToChargeAndMultiplier":{"description":"Swap Days To Charge and Multiplier","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}},"sessionProfile":{"description":"Session Profile","type":"object","properties":{"timeZone":{"description":"Session Time Zone","type":"string"},"sessions":{"description":"List of sessions","type":"array","items":{"description":"MarginPlus Symbol Session Detail","type":"object","properties":{"quotes":{"description":"Are quotes available during this session?","type":"boolean"},"trades":{"description":"Are trades possible during this session?","type":"boolean"},"sessionTimes":{"description":"Times for this session","type":"array","items":{"description":"Margin Plus Session Time Range","type":"object","properties":{"startDay":{"description":"Start Day","type":"string"},"startTime":{"description":"Start Time","type":"string"},"endDay":{"description":"End Day","type":"string"},"endTime":{"description":"End Time","type":"string"}},"required":["startDay","startTime","endDay","endTime"]}}},"required":["quotes","trades","sessionTimes"]}}},"required":["timeZone","sessions"]},"symbolAttributes":{"description":"Symbol Attributes","type":"object","properties":{"lotSize":{"description":"Represents the number of notional units per 1 lot. Must be greater than zero.","type":"string","format":"decimal128"},"minOrderVolume":{"description":"Represents the minimum number of notional units that can be traded in a single ticket.","type":"string","format":"decimal128"},"maxOrderVolume":{"description":"Represents the maximum number of notional units that can be traded in a single ticket.","type":"string","format":"decimal128"},"orderVolumeStepSize":{"description":"Represents the step size that each ticket must adhere to.","type":"string","format":"decimal128"},"defaultOrderVolume":{"description":"Broker defined default notional order size.","type":"string","format":"decimal128"}}},"swapsMode":{"description":"Swaps Mode","type":"string","enum":["POINTS","PERCENTAGE"]},"swapLong":{"description":"Swap Long","type":"string","format":"decimal128"},"swapShort":{"description":"Swap Short","type":"string","format":"decimal128"}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread","commissionChargePerVolume","commissionVolume","commissionChargeCurrency","commissionMode","marginInformation","swapDaysToChargeAndMultiplier","swapsMode","swapLong","swapShort"]}}},"required":["name","groupId","takerSymbols"]}}}}},"/marginplus-account-admin/command/notify-account-email-changed":{"post":{"operationId":"POST-marginplus-account-admin-command-notify-account-email-changed","summary":"Notify the Hub that a MarginPlus user\u0027s email address has changed","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.26 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","tags":["General","MarginPlus Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/marginplus-account-admin/restore/{accountId}":{"post":{"operationId":"POST-marginplus-account-admin-restore-accountId","summary":"Restore a previously archived MarginPlus account","description":"Restores the account by re-enabling it in the database, reloading settings, and initializing account data. The account remains linked to the same user it was linked to before it was archived. The account becomes active without requiring a Hub restart.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.36 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","tags":["General","MarginPlus Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"accountId","in":"path","description":"The ID of the MarginPlus account to restore","required":true,"type":"integer"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/marginplus-account-admin/taker-stream-symbols":{"get":{"operationId":"GET-marginplus-account-admin-taker-stream-symbols","summary":"Retrieve Taker Symbols available in the MarginPlus system","description":"Retrieve detailed information for all Taker Symbols that are available in the MarginPlus system\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","tags":["General","MarginPlus Admin"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Taker Symbol Detail","example":{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]}},"type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread"]}}}}}},"/marginplus-account-admin/{accountId}":{"delete":{"operationId":"DELETE-marginplus-account-admin-accountId","summary":"Archive a MarginPlus account","description":"Archives the account by cancelling all pending orders, disabling the account in the database, and removing it from the runtime. The account must have no Open, Activating Open, or Activating Close tickets. The account can later be restored using the restore endpoint.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.36 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","tags":["General","MarginPlus Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"accountId","in":"path","description":"The ID of the MarginPlus account to archive","required":true,"type":"integer"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/marginplus-account/{id}/adjustment-ticket":{"post":{"operationId":"POST-marginplus-account-id-adjustment-ticket","summary":"Open a MarginPlus ticket by adjustment.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.26 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Open Adjustment Ticket Request","example":{"symbol":"EURUSD.mkt","orderSide":"BUY","volume":"150000","takeProfitPrice":"1.35000","stopLossPrice":"1.25000","takerTicketId":"ticket001","openPrice":"1.27000","comment":"Broker adjustment ticket","commissionCharge":"5","swapCharge":"0.01"},"type":"object","properties":{"symbol":{"description":"Taker Symbol","type":"string"},"orderSide":{"description":"Order Side","type":"string","enum":["BUY","SELL"]},"volume":{"description":"Order Volume","type":"string","format":"decimal128"},"takeProfitPrice":{"description":"Take Profit Price","type":"string","format":"decimal128"},"stopLossPrice":{"description":"Stop Loss Price","type":"string","format":"decimal128"},"takerTicketId":{"description":"Taker-specified unique ticket Id","type":"string"},"openPrice":{"description":"Open Price","type":"string","format":"decimal128"},"comment":{"description":"Comment","type":"string"},"commissionCharge":{"description":"CommissionCharge","type":"string","format":"decimal128"},"swapCharge":{"description":"SwapCharge","type":"string","format":"decimal128"}},"required":["symbol","orderSide","volume","openPrice"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOrderFinalized":null,"timeOpened":null,"timeClosed":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"PENDING_OPEN","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","openPrice":null,"closePrice":null,"takeProfitPrice":null,"stopLossPrice":null,"commissionCharge":"0","swapCharge":"0","lastSwapChargeTime":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","openGroupSpread":null,"closeGroupSpread":null,"trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"takeProfitVolume":null,"stopLossVolume":null,"gttStopLoss":null,"gttTakeProfit":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOrderFinalized":{"default":null,"type":"string","format":"timestamp"},"timeOpened":{"default":null,"type":"string","format":"timestamp"},"timeClosed":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN","OPEN","ACTIVATING_CLOSE","CLOSED","OUT_TRADE"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"openPrice":{"default":null,"type":"string","format":"decimal128"},"closePrice":{"default":null,"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"commissionCharge":{"type":"string","format":"decimal128"},"swapCharge":{"type":"string","format":"decimal128"},"lastSwapChargeTime":{"default":null,"type":"string","format":"timestamp"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"openGroupSpread":{"default":null,"type":"string","format":"decimal128"},"closeGroupSpread":{"default":null,"type":"string","format":"decimal128"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"takeProfitVolume":{"default":null,"type":"string","format":"decimal128"},"stopLossVolume":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","commissionCharge","swapCharge","ticketAnnotationFlag","comment"]}}}}},"/marginplus-account/{id}/adjustment-ticket/{ticketId}":{"put":{"operationId":"PUT-marginplus-account-id-adjustment-ticket-ticketId","summary":"Close a MarginPlus ticket by adjustment.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.26 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"ticketId","in":"path","description":"The ID of the ticket to close","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Open Adjustment Ticket Request","example":{"closePrice":"1.27000","comment":"Broker adjustment ticket"},"type":"object","properties":{"closePrice":{"description":"Open Price","type":"string","format":"decimal128"},"comment":{"description":"Comment","type":"string"}},"required":["closePrice"]}}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOrderFinalized":null,"timeOpened":null,"timeClosed":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"PENDING_OPEN","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","openPrice":null,"closePrice":null,"takeProfitPrice":null,"stopLossPrice":null,"commissionCharge":"0","swapCharge":"0","lastSwapChargeTime":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","openGroupSpread":null,"closeGroupSpread":null,"trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"takeProfitVolume":null,"stopLossVolume":null,"gttStopLoss":null,"gttTakeProfit":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOrderFinalized":{"default":null,"type":"string","format":"timestamp"},"timeOpened":{"default":null,"type":"string","format":"timestamp"},"timeClosed":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN","OPEN","ACTIVATING_CLOSE","CLOSED","OUT_TRADE"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"openPrice":{"default":null,"type":"string","format":"decimal128"},"closePrice":{"default":null,"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"commissionCharge":{"type":"string","format":"decimal128"},"swapCharge":{"type":"string","format":"decimal128"},"lastSwapChargeTime":{"default":null,"type":"string","format":"timestamp"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"openGroupSpread":{"default":null,"type":"string","format":"decimal128"},"closeGroupSpread":{"default":null,"type":"string","format":"decimal128"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"takeProfitVolume":{"default":null,"type":"string","format":"decimal128"},"stopLossVolume":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","commissionCharge","swapCharge","ticketAnnotationFlag","comment"]}}}}},"/marginplus-account/{id}/ledger":{"post":{"operationId":"POST-marginplus-account-id-ledger","summary":"Add a multi-entry ledger transaction to a MarginPlus Account","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.37|Added \u0027balance\u0027 and \u0027accountCredit\u0027 fields to the response. Ledger entries are now returned within an \u0027entries\u0027 field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account owner or has Account Group admin","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"},{"name":"skipMarginCheck","in":"query","description":"Skip margin checks when withdrawing cash.","default":false,"type":"boolean","required":false},{"name":"body","in":"body","schema":{"type":"array","items":{"description":"Ledger Entry","example":{"type":"CASH","amount":"444.5","currency":"EUR","comment":"Customer deposit."},"type":"object","properties":{"type":{"description":"Type of the entry.","default":"CASH","type":"string","enum":["CASH","CFD_DIVIDEND","CFD_SPLIT_FRACTIONAL_SHARE_LIQUIDATION","CREDIT"]},"amount":{"description":"Amount for the entry.","type":"string","format":"decimal128"},"currency":{"description":"Ledger entry currency.","type":"string"},"comment":{"description":"Ledger entry comment.","default":"","type":"string"}},"required":["amount"]}}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Ledger Add Transaction","example":{"balance":"1000.45","accountCredit":"500.00","entries":[{"type":"CASH","amount":"444.5","currency":"EUR","id":1234}]},"type":"object","properties":{"balance":{"description":"Account ledger balance","type":"string","format":"decimal128"},"accountCredit":{"description":"Account credit balance","type":"string","format":"decimal128"},"entries":{"description":"Created ledger entries","type":"array","items":{"description":"Ledger Add Entry","type":"object","properties":{"type":{"description":"Type of the entry.","type":"string"},"amount":{"description":"Amount for the entry.","type":"string","format":"decimal128"},"currency":{"description":"Ledger entry currency.","type":"string"},"id":{"description":"Database id of the created ledger entry","type":"integer","format":"int64"}},"required":["type","amount","currency","id"]}}},"required":["balance","accountCredit","entries"]}}}},"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve MarginPlus ledger entries","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n|1.27|Return Total matching results count in the response|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account-id-ledger","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"The ID of the MarginPlus account, for which ledger entries will be returned.","required":true,"type":"integer","format":"int64"},{"in":"query","name":"Index","description":"Start index at which to start returning ledger entries from.","type":"integer","format":"int32"},{"in":"query","name":"Count","description":"Maximum number of ledger entries to return.","type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MarginPlusLedgerEntryDtoInt32TotaledQueryResponse"}}},"security":[{"Authorization":[]}]}},"/marginplus-account/{id}/taker-symbols":{"get":{"operationId":"GET-marginplus-account-id-taker-symbols","summary":"Retrieve Taker Symbols available to a MarginPlus Account","description":"Retrieve detailed information for all Taker Symbols that are available to a MarginPlus Account\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.25|marginplus-account-admin/{id}/taker-symbols renamed to marginplus-account/{id}/taker-symbols|\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account owner or has Account Group admin","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the margin account","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"MarginPlus Group Taker Symbol Detail","example":{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]},"description":"Euro Dollar","commissionChargePerVolume":"1.0","commissionVolume":"100.0","commissionChargeCurrency":"USD","commissionMode":"PER_VOLUME_BASE","groupBidSpread":"-0.00005","groupAskSpread":"0.00005","marginInformation":{"marginType":"SINGLE_TIER","marginPct":"5","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]},"swapLongPoints":"0.05","swapShortPoints":"0.05","swapDaysToChargeAndMultiplier":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153},"sessionProfile":{"timeZone":"UTC/GMT","sessions":[{"quotes":true,"trades":true,"sessionTimes":[{"startDay":"Monday","startTime":"09:00:00.000000","endDay":"Friday","endTime":"17:00:00.000000"}]}]},"symbolAttributes":{"lotSize":"100000","minOrderVolume":"100","maxOrderVolume":"1000000.0","orderVolumeStepSize":"10","defaultOrderVolume":"1000"},"swapsMode":"POINTS","swapLong":"0.05","swapShort":"0.05"},"type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]},"description":{"description":"Symbol Description","type":"string"},"commissionChargePerVolume":{"description":"Commission Charge Per Volume","type":"string","format":"decimal128"},"commissionVolume":{"description":"Commission Volume","type":"string","format":"decimal128"},"commissionChargeCurrency":{"description":"Commission Charge Currency","type":"string"},"commissionMode":{"description":"Commission Mode","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"groupBidSpread":{"description":"Group Bid Spread","type":"string","format":"decimal128"},"groupAskSpread":{"description":"Group Ask Spread","type":"string","format":"decimal128"},"marginInformation":{"description":"Margin Information","type":"object","properties":{"marginType":{"description":"Margin Type","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"marginPct":{"description":"Margin Pct","type":"string","format":"decimal128"},"tiers":{"description":"Margin Tiers","type":"array","items":{"description":"Margin Tier Information","type":"object","properties":{"fromValueRange":{"type":"string","format":"decimal128"},"toValueRange":{"type":"string","format":"decimal128"},"marginPct":{"type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["marginType"]},"swapLongPoints":{"description":"Swap Long Points","type":"string","format":"decimal128"},"swapShortPoints":{"description":"Swap Short Points","type":"string","format":"decimal128"},"swapDaysToChargeAndMultiplier":{"description":"Swap Days To Charge and Multiplier","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}},"sessionProfile":{"description":"Session Profile","type":"object","properties":{"timeZone":{"description":"Session Time Zone","type":"string"},"sessions":{"description":"List of sessions","type":"array","items":{"description":"MarginPlus Symbol Session Detail","type":"object","properties":{"quotes":{"description":"Are quotes available during this session?","type":"boolean"},"trades":{"description":"Are trades possible during this session?","type":"boolean"},"sessionTimes":{"description":"Times for this session","type":"array","items":{"description":"Margin Plus Session Time Range","type":"object","properties":{"startDay":{"description":"Start Day","type":"string"},"startTime":{"description":"Start Time","type":"string"},"endDay":{"description":"End Day","type":"string"},"endTime":{"description":"End Time","type":"string"}},"required":["startDay","startTime","endDay","endTime"]}}},"required":["quotes","trades","sessionTimes"]}}},"required":["timeZone","sessions"]},"symbolAttributes":{"description":"Symbol Attributes","type":"object","properties":{"lotSize":{"description":"Represents the number of notional units per 1 lot. Must be greater than zero.","type":"string","format":"decimal128"},"minOrderVolume":{"description":"Represents the minimum number of notional units that can be traded in a single ticket.","type":"string","format":"decimal128"},"maxOrderVolume":{"description":"Represents the maximum number of notional units that can be traded in a single ticket.","type":"string","format":"decimal128"},"orderVolumeStepSize":{"description":"Represents the step size that each ticket must adhere to.","type":"string","format":"decimal128"},"defaultOrderVolume":{"description":"Broker defined default notional order size.","type":"string","format":"decimal128"}}},"swapsMode":{"description":"Swaps Mode","type":"string","enum":["POINTS","PERCENTAGE"]},"swapLong":{"description":"Swap Long","type":"string","format":"decimal128"},"swapShort":{"description":"Swap Short","type":"string","format":"decimal128"}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread","commissionChargePerVolume","commissionVolume","commissionChargeCurrency","commissionMode","marginInformation","swapDaysToChargeAndMultiplier","swapsMode","swapLong","swapShort"]}}}}}},"/marginplus-account/{id}/trade/orders":{"post":{"operationId":"POST-marginplus-account-id-trade-orders","summary":"Open a MarginPlus order.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Open Order Request","example":{"symbol":"EURUSD.mkt","orderSide":"BUY","orderType":"MARKET","volume":"150000","limitPrice":"1.27000","stopPrice":"1.25000","gttOpen":"2024-08-01 21:00:00.000000","takeProfitPrice":"1.35000","takeProfitSlippageTolerance":"0.3","stopLossPrice":"1.25000","gttTakeProfit":"2024-08-01 21:00:00.000000","gttStopLoss":"2024-08-01 21:00:00.000000","takerTicketId":"ticket001"},"type":"object","properties":{"symbol":{"description":"Taker Symbol","type":"string"},"orderSide":{"description":"Order Side","type":"string","enum":["BUY","SELL"]},"orderType":{"description":"Order Type","type":"string","enum":["MARKET","LIMIT","STOP_LIMIT"]},"volume":{"description":"Order Volume","type":"string","format":"decimal128"},"limitPrice":{"description":"Limit Price","type":"string","format":"decimal128"},"stopPrice":{"description":"Stop Price","type":"string","format":"decimal128"},"gttOpen":{"description":"Good Till Time Open","type":"string"},"takeProfitPrice":{"description":"Take Profit Price","type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"description":"Take Profit Slippage Tolerance","type":"string","format":"decimal128"},"stopLossPrice":{"description":"Stop Loss Price","type":"string","format":"decimal128"},"gttTakeProfit":{"description":"Good Till Time Take Profit","type":"string"},"gttStopLoss":{"description":"Good Till Time Stop Loss","type":"string"},"takerTicketId":{"description":"Taker-specified unique ticket Id","type":"string"}},"required":["symbol","orderSide","orderType","volume"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOrderFinalized":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"PENDING_OPEN","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","takeProfitPrice":null,"stopLossPrice":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"gttStopLoss":null,"gttTakeProfit":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOrderFinalized":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","ticketAnnotationFlag","comment"]}}}}},"/marginplus-account/{id}/trade/orders/{orderId}":{"delete":{"operationId":"DELETE-marginplus-account-id-trade-orders-orderId","summary":"Cancel a pending MarginPlus order.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"orderId","in":"path","description":"The ID of the order to cancel","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOrderFinalized":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"PENDING_OPEN","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","takeProfitPrice":null,"stopLossPrice":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"gttStopLoss":null,"gttTakeProfit":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOrderFinalized":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","ticketAnnotationFlag","comment"]}}}},"patch":{"operationId":"PATCH-marginplus-account-id-trade-orders-orderId","summary":"Modify a MarginPlus order.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"orderId","in":"path","description":"The ID of the order to modify","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Modify Order Request","example":{"volume":"150000","limitPrice":"1.27000","stopPrice":"1.25000","gttOpen":"\"2024-08-01 21:00:00.000000\" or \"null\"","takeProfitPrice":"1.35000","stopLossPrice":"1.25000","takeProfitSlippageTolerance":"0.002","gttTakeProfit":"\"2024-08-01 21:00:00.000000\" or \"null\"","gttStopLoss":"\"2024-08-01 21:00:00.000000\" or \"null\""},"type":"object","properties":{"volume":{"description":"Order Volume","type":"string","format":"decimal128"},"limitPrice":{"description":"Limit Price","type":"string","format":"decimal128"},"stopPrice":{"description":"Stop Price","type":"string","format":"decimal128"},"gttOpen":{"description":"Good Till Time Open","type":"string"},"takeProfitPrice":{"description":"Take Profit Price","default":"+NaN","type":"string","format":"decimal128"},"stopLossPrice":{"description":"Stop Loss Price","default":"+NaN","type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"description":"Take Profit Slippage Tolerance","default":"+NaN","type":"string","format":"decimal128"},"gttTakeProfit":{"description":"Good Till Time Take Profit","type":"string"},"gttStopLoss":{"description":"Good Till Time Stop Loss","type":"string"}}}}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOrderFinalized":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"PENDING_OPEN","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","takeProfitPrice":null,"stopLossPrice":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"gttStopLoss":null,"gttTakeProfit":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOrderFinalized":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","ticketAnnotationFlag","comment"]}}}}},"/marginplus-account/{id}/trade/positions/{positionId}":{"put":{"operationId":"PUT-marginplus-account-id-trade-positions-positionId","summary":"Close a MarginPlus position.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"positionId","in":"path","description":"The ID of the position to close","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Close Position Request","example":{"volume":"100000","closeByTicketIds":[153]},"type":"object","properties":{"volume":{"description":"Partial position volume to close. Must be less than the position volume. If not specified, the entire position volume will be closed.","type":"string","format":"decimal128"},"closeByTicketIds":{"description":"List of position ID\u0027s to close a position by.","type":"array","items":{"type":"integer","format":"int64"}}}}}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOpened":null,"timeClosed":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","openPrice":null,"closePrice":null,"takeProfitPrice":null,"stopLossPrice":null,"commissionCharge":"0","swapCharge":"0","lastSwapChargeTime":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","openGroupSpread":null,"closeGroupSpread":null,"trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"takeProfitVolume":null,"stopLossVolume":null,"gttStopLoss":null,"gttTakeProfit":null,"openConversionRateToAccountCurrency":null,"closePnlConversionRateToAccountCurrency":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOpened":{"default":null,"type":"string","format":"timestamp"},"timeClosed":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["OPEN","ACTIVATING_CLOSE","CLOSED","OUT_TRADE"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"openPrice":{"default":null,"type":"string","format":"decimal128"},"closePrice":{"default":null,"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"commissionCharge":{"type":"string","format":"decimal128"},"swapCharge":{"type":"string","format":"decimal128"},"lastSwapChargeTime":{"default":null,"type":"string","format":"timestamp"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"openGroupSpread":{"default":null,"type":"string","format":"decimal128"},"closeGroupSpread":{"default":null,"type":"string","format":"decimal128"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"takeProfitVolume":{"default":null,"type":"string","format":"decimal128"},"stopLossVolume":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"},"openConversionRateToAccountCurrency":{"default":null,"type":"string","format":"decimal128"},"closePnlConversionRateToAccountCurrency":{"default":null,"type":"string","format":"decimal128"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","commissionCharge","swapCharge","ticketAnnotationFlag","comment"]}}}},"patch":{"operationId":"PATCH-marginplus-account-id-trade-positions-positionId","summary":"Modify a MarginPlus position.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Trade Operations enabled and is the MarginPlus Account owner or an admin for the relevant Account Group","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The ID of the MarginPlus account","required":true,"type":"integer"},{"name":"positionId","in":"path","description":"The ID of the position to modify","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Modify Position Request","example":{"takeProfitPrice":"1.35000","stopLossPrice":"1.25000","trailingStopLossDistance":"0.001","takeProfitSlippageTolerance":"0.002","takeProfitVolume":"50000","stopLossVolume":"50000","gttTakeProfit":"\"2024-08-01 21:00:00.000000\" or \"null\"","gttStopLoss":"\"2024-08-01 21:00:00.000000\" or \"null\""},"type":"object","properties":{"takeProfitPrice":{"description":"Take Profit Price","default":"+NaN","type":"string","format":"decimal128"},"stopLossPrice":{"description":"Stop Loss Price","default":"+NaN","type":"string","format":"decimal128"},"trailingStopLossDistance":{"description":"Trailing Stop Loss Distance","default":"+NaN","type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"description":"Take Profit Slippage Tolerance","default":"+NaN","type":"string","format":"decimal128"},"takeProfitVolume":{"description":"Take Profit Volume","default":"+NaN","type":"string","format":"decimal128"},"stopLossVolume":{"description":"Stop Loss Volume","default":"+NaN","type":"string","format":"decimal128"},"gttTakeProfit":{"description":"Good Till Time Take Profit","type":"string"},"gttStopLoss":{"description":"Good Till Time Stop Loss","type":"string"}}}}],"responses":{"200":{"description":"","schema":{"example":{"id":153,"timeReceived":null,"timeOpened":null,"timeClosed":null,"accountId":153,"takerLogin":"string value","takerTicketId":"string value","linkedTicketId":153,"ticketStatus":"","side":"BUY","coreOrderType":"MARKET","symbol":"string value","coreSymbol":"string value","limitPrice":null,"stopPrice":null,"gttOpen":null,"volume":"0","openPrice":null,"closePrice":null,"takeProfitPrice":null,"stopLossPrice":null,"commissionCharge":"0","swapCharge":"0","lastSwapChargeTime":null,"ticketAnnotationFlag":"CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY","comment":"string value","openGroupSpread":null,"closeGroupSpread":null,"trailingStopLossDistance":null,"takeProfitSlippageTolerance":null,"takeProfitVolume":null,"stopLossVolume":null,"gttStopLoss":null,"gttTakeProfit":null,"openConversionRateToAccountCurrency":null,"closePnlConversionRateToAccountCurrency":null},"type":"object","properties":{"id":{"type":"integer","format":"int64"},"timeReceived":{"default":null,"type":"string","format":"timestamp"},"timeOpened":{"default":null,"type":"string","format":"timestamp"},"timeClosed":{"default":null,"type":"string","format":"timestamp"},"accountId":{"type":"integer","format":"int64"},"takerLogin":{"type":"string"},"takerTicketId":{"type":"string"},"linkedTicketId":{"type":"integer","format":"int64"},"ticketStatus":{"type":"string","enum":["OPEN","ACTIVATING_CLOSE","CLOSED","OUT_TRADE"]},"side":{"type":"string","enum":["BUY","SELL"]},"coreOrderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"symbol":{"type":"string"},"coreSymbol":{"type":"string"},"limitPrice":{"default":null,"type":"string","format":"decimal128"},"stopPrice":{"default":null,"type":"string","format":"decimal128"},"gttOpen":{"default":null,"type":"string","format":"timestamp"},"volume":{"type":"string","format":"decimal128"},"openPrice":{"default":null,"type":"string","format":"decimal128"},"closePrice":{"default":null,"type":"string","format":"decimal128"},"takeProfitPrice":{"default":null,"type":"string","format":"decimal128"},"stopLossPrice":{"default":null,"type":"string","format":"decimal128"},"commissionCharge":{"type":"string","format":"decimal128"},"swapCharge":{"type":"string","format":"decimal128"},"lastSwapChargeTime":{"default":null,"type":"string","format":"timestamp"},"ticketAnnotationFlag":{"type":"string","enum":["NONE","PARTIAL_CLOSE","CLOSE_BY","STOP_OUT","TAKE_PROFIT","STOP_LOSS","CANCELED_BY_GTT_OPEN","CANCELED_DUE_TO_DISABLED_SYMBOL","PARTIAL_FILL_REMAINDER","PARTIAL_OPEN","ADJUSTMENT_OPEN","ADJUSTMENT_CLOSE","BROKER_OPEN","BROKER_CLOSE","STOCK_SPLIT_OPEN","STOCK_SPLIT_CLOSE","HEDGE_TICKETS_PROHIBITED","CLOSE_ONLY_MODE","OUT_TRADE_OPEN","OUT_TRADE_CLOSE","FAILED_MARGIN_CHECK","DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","CANCELED_DUE_TO_ACCOUNT_ARCHIVE","CLOSE_FULLY_HEDGED_WITH_NEGATIVE_EQUITY"]},"comment":{"type":"string"},"openGroupSpread":{"default":null,"type":"string","format":"decimal128"},"closeGroupSpread":{"default":null,"type":"string","format":"decimal128"},"trailingStopLossDistance":{"default":null,"type":"string","format":"decimal128"},"takeProfitSlippageTolerance":{"default":null,"type":"string","format":"decimal128"},"takeProfitVolume":{"default":null,"type":"string","format":"decimal128"},"stopLossVolume":{"default":null,"type":"string","format":"decimal128"},"gttStopLoss":{"default":null,"type":"string","format":"timestamp"},"gttTakeProfit":{"default":null,"type":"string","format":"timestamp"},"openConversionRateToAccountCurrency":{"default":null,"type":"string","format":"decimal128"},"closePnlConversionRateToAccountCurrency":{"default":null,"type":"string","format":"decimal128"}},"required":["id","accountId","takerLogin","takerTicketId","ticketStatus","side","coreOrderType","symbol","coreSymbol","volume","commissionCharge","swapCharge","ticketAnnotationFlag","comment"]}}}}},"/marginplus-account/{id}/trade/quotes":{"get":{"operationId":"GET-marginplus-account-id-trade-quotes","summary":"Retrieve quotes for a Taker in a MarginPlus Account","description":"This API call returns the quote book for a given Taker and symbol combination used in a MarginPlus Account.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account owner or has Account Group admin","tags":["General","MarginPlus Account"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"MarginPlus Account id to get quotes for","required":true,"type":"string"},{"name":"symbols","in":"query","description":"The taker symbols to get quotes for. Supports repeated array query params, e.g. \u0027symbols[]=X\u0026symbols[]=Y\u0027. Takes precedence over the singular \u0027symbol\u0027 param when both are supplied.","type":"array","items":{"type":"string"},"required":true},{"name":"symbol","in":"query","description":"The adapter specific symbol to get quotes for","type":"string","required":false},{"name":"subscribedSymbolsOnly","in":"query","description":"Only return quotes that are currently part of a taker subscription","default":false,"type":"boolean","required":false},{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Quote Entry","example":{"bid":{"tradablePrice":"55.55","tradableSize":"123.30","indicative":true,"receiveTimestamp":""},"ask":{"tradablePrice":"55.55","tradableSize":"123.30","indicative":true,"receiveTimestamp":""},"symbol":"CoreSymbol1.Symbol2","coreSymbol":"CoreSymbol1","precision":5,"layer":1,"bookId":"cmBSAFVgjkCDv3_d8Kw9tw"},"type":"object","properties":{"bid":{"description":"Bid Quote","type":"object","properties":{"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"}},"required":["indicative","receiveTimestamp"]},"ask":{"description":"Ask Quote","type":"object","properties":{"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"}},"required":["indicative","receiveTimestamp"]},"symbol":{"description":"Taker symbol this quote is for","type":"string"},"coreSymbol":{"description":"Core symbol this quote is for","type":"string"},"precision":{"description":"Precision in decimal places of quote prices","type":"integer","format":"int32"},"layer":{"description":"Layer in the quote book for this quote, e.g. layer = 0 is Top of Book","type":"integer","format":"int32"},"bookId":{"description":"Unique identifier of the book this quote belongs to","type":"string","format":"guid"}},"required":["symbol","coreSymbol","precision","layer","bookId"]}}}}}}}},"/module-status":{"get":{"operationId":"GET-module-status","summary":"Get Hub Module Status","description":"Provides status information on all modules loaded in the Hub, e.g. makers, takers, post trade reporters etc.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Status"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Collection of module to status entries","example":{"moduleName":"OZFIXMakerAdapter","entries":[{"name":"Database","status":"Connected"}]},"type":"object","properties":{"moduleName":{"description":"Module name, eg OZFIXMakerAdapter","type":"string"},"entries":{"type":"array","items":{"description":"Status of a Hub module","type":"object","properties":{"name":{"description":"Name of status entry","type":"string"},"status":{"description":"Text status description","type":"string"}},"required":["name","status"]}}},"required":["moduleName","entries"]}}}}}},"/multileg-quotes":{"get":{"operationId":"GET-multileg-quotes","summary":"Retrieve quotes in multileg (modern) format","description":"This API call returns the quote books for the specified combination of query parameters\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Quotes"],"security":[{"Authorization":[]}],"parameters":[{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false},{"name":"mode","in":"query","description":"The mode to execute the quote query in","type":"string","enum":["MAKER","TRADE_MAKER","TAKER","AGGREGATED","RISK","SYNTHETIC"],"required":true},{"name":"coreSymbol","in":"query","description":"The core symbol to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"coreSymbols","in":"query","description":"The core symbols to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"array","items":{"type":"string"},"required":true},{"name":"symbol","in":"query","description":"The adapter specific symbol to get quotes for","type":"string","required":false},{"name":"depth","in":"query","description":"Depth of quotes to retrieve. If not set then the full book is returned","default":2147483647,"type":"integer","format":"uint32","required":false},{"name":"quotesWithLastPriceOnly","in":"query","description":"Only return quotes that contain a last price","type":"boolean","required":false},{"name":"channelId","in":"query","description":"The price channel id to get quotes for, only applicable when \u0027mode\u0027 = AGGREGATED","type":"string","required":false},{"name":"makerId","in":"query","description":"The maker Id to get quotes for, only applicable when \u0027mode\u0027 = MAKER or TRADE_MAKER or RISK","type":"string","required":false},{"name":"takerId","in":"query","description":"The taker Id to get quotes for, only applicable when \u0027mode\u0027 = TAKER","type":"string","required":false},{"name":"portfolioId","in":"query","description":"The portfolio Id to get quotes for, only applicable when \u0027mode\u0027 = RISK. The valuation risk maker pool will be used.","type":"integer","format":"int64","required":false},{"name":"subscribedSymbolsOnly","in":"query","description":"Only return quotes that are currently part of a taker subscription","default":false,"type":"boolean","required":false},{"name":"includeDisabledQuotes","in":"query","description":"Include quotes that are disabled. Quotes can be disabled via maker controls, session closure, quote filtering, quote deactivation, etc. The reason(s) for the quote being disabled will be set in the returned quote entry\u0027s \u0027disabledFlags\u0027.","default":false,"type":"boolean","required":false},{"name":"forceUseHedgeTradableSize","in":"query","description":"If true, the query will return Hedge Tradable Size for the quotes size field.","default":false,"type":"boolean","required":false},{"name":"includeMarkups","in":"query","default":false,"type":"boolean","required":false},{"name":"streamId","in":"query","description":"If set, the query will provide quotes related to the unique streamId for the RFQ","default":-1,"type":"integer","format":"int64","required":false},{"name":"makerIds","in":"query","description":"List of maker IDs whose quotes should be returned. Only applicable when \u0027mode\u0027 = MAKER or TRADE_MAKER or RISK. If specified returns quotes from those makers. If specified and empty, return quotes from all makers. Mutually exclusive with \u0027makerId\u0027 - cannot specify both.","type":"array","items":{"type":"string"},"required":true}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Quote Entry","example":{"bid":{"receiveTimestamp":"","quoteId":1241,"maker":"SampleMaker","tradeMaker":"SampleTradeMaker","provider":"SampleProvider","tradablePrice":"55.55","tradableSize":"123.30","tradableSide":"BID","spotPrice":"55.55","indicative":true,"disabledFlags":5,"liquidityStreamType":"","isSkewed":false,"legs":[{"price":"156.789","forwardPriceDelta":"156.789","midMarketRate":"156.789","size":"156.789","settlementDate":"2016-11-20","fixingDate":"2016-11-20"}]},"ask":{"receiveTimestamp":"","quoteId":1241,"maker":"SampleMaker","tradeMaker":"SampleTradeMaker","provider":"SampleProvider","tradablePrice":"55.55","tradableSize":"123.30","tradableSide":"BID","spotPrice":"55.55","indicative":true,"disabledFlags":5,"liquidityStreamType":"","isSkewed":false,"legs":[{"price":"156.789","forwardPriceDelta":"156.789","midMarketRate":"156.789","size":"156.789","settlementDate":"2016-11-20","fixingDate":"2016-11-20"}]},"lastPrice":{"receiveTimestamp":"","quoteId":1241,"maker":"SampleMaker","tradeMaker":"SampleTradeMaker","provider":"SampleProvider","tradablePrice":"55.55","tradableSize":"123.30","tradableSide":"BID","spotPrice":"55.55","indicative":true,"disabledFlags":5,"liquidityStreamType":"","isSkewed":false,"legs":[{"price":"156.789","forwardPriceDelta":"156.789","midMarketRate":"156.789","size":"156.789","settlementDate":"2016-11-20","fixingDate":"2016-11-20"}]},"symbol":"CoreSymbol1.Symbol2","coreSymbol":"CoreSymbol1","precision":5,"layer":1,"bookId":"cmBSAFVgjkCDv3_d8Kw9tw"},"type":"object","properties":{"bid":{"description":"Bid Quote","type":"object","properties":{"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"},"quoteId":{"description":"Unique quoteId assigned by the hub","type":"integer","format":"int64"},"maker":{"description":"Maker name","type":"string"},"tradeMaker":{"description":"Trade Maker name","type":"string"},"provider":{"description":"Quote provider name, only set if different to maker","type":"string"},"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"tradableSide":{"description":"Side of the quote","type":"string","enum":["BID","ASK"]},"spotPrice":{"description":"The spot price for a forward quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"disabledFlags":{"description":"Bit flags indicating the reason(s), if any, for the quote being disabled.","type":"integer","format":"uint32"},"liquidityStreamType":{"description":"The type of liquidity stream that this quote is from","type":"string","enum":["SWEEPABLE","SWEEPABLE_SINGLE_USE","NONSWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULLAMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"isSkewed":{"description":"Has a skew spread been applied to the quote","type":"boolean"},"legs":{"description":"Quote Legs","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"forwardPriceDelta":{"type":"string","format":"decimal128"},"midMarketRate":{"type":"string","format":"decimal128"},"size":{"type":"string","format":"decimal128"},"settlementDate":{"type":"string","format":"date"},"fixingDate":{"type":"string","format":"date"}}}}},"required":["receiveTimestamp","maker","tradableSide","indicative","disabledFlags","liquidityStreamType","legs"]},"ask":{"description":"Ask Quote","type":"object","properties":{"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"},"quoteId":{"description":"Unique quoteId assigned by the hub","type":"integer","format":"int64"},"maker":{"description":"Maker name","type":"string"},"tradeMaker":{"description":"Trade Maker name","type":"string"},"provider":{"description":"Quote provider name, only set if different to maker","type":"string"},"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"tradableSide":{"description":"Side of the quote","type":"string","enum":["BID","ASK"]},"spotPrice":{"description":"The spot price for a forward quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"disabledFlags":{"description":"Bit flags indicating the reason(s), if any, for the quote being disabled.","type":"integer","format":"uint32"},"liquidityStreamType":{"description":"The type of liquidity stream that this quote is from","type":"string","enum":["SWEEPABLE","SWEEPABLE_SINGLE_USE","NONSWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULLAMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"isSkewed":{"description":"Has a skew spread been applied to the quote","type":"boolean"},"legs":{"description":"Quote Legs","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"forwardPriceDelta":{"type":"string","format":"decimal128"},"midMarketRate":{"type":"string","format":"decimal128"},"size":{"type":"string","format":"decimal128"},"settlementDate":{"type":"string","format":"date"},"fixingDate":{"type":"string","format":"date"}}}}},"required":["receiveTimestamp","maker","tradableSide","indicative","disabledFlags","liquidityStreamType","legs"]},"lastPrice":{"description":"Last Price Quote, this is only set when layer = 0 and a Last Price Quote exists on coreSymbol.","type":"object","properties":{"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"},"quoteId":{"description":"Unique quoteId assigned by the hub","type":"integer","format":"int64"},"maker":{"description":"Maker name","type":"string"},"tradeMaker":{"description":"Trade Maker name","type":"string"},"provider":{"description":"Quote provider name, only set if different to maker","type":"string"},"tradablePrice":{"description":"Tradable price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"tradableSize":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"tradableSide":{"description":"Side of the quote","type":"string","enum":["BID","ASK"]},"spotPrice":{"description":"The spot price for a forward quote","type":"string","format":"decimal128"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"disabledFlags":{"description":"Bit flags indicating the reason(s), if any, for the quote being disabled.","type":"integer","format":"uint32"},"liquidityStreamType":{"description":"The type of liquidity stream that this quote is from","type":"string","enum":["SWEEPABLE","SWEEPABLE_SINGLE_USE","NONSWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULLAMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"isSkewed":{"description":"Has a skew spread been applied to the quote","type":"boolean"},"legs":{"description":"Quote Legs","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"forwardPriceDelta":{"type":"string","format":"decimal128"},"midMarketRate":{"type":"string","format":"decimal128"},"size":{"type":"string","format":"decimal128"},"settlementDate":{"type":"string","format":"date"},"fixingDate":{"type":"string","format":"date"}}}}},"required":["receiveTimestamp","maker","tradableSide","indicative","disabledFlags","liquidityStreamType","legs"]},"symbol":{"description":"Taker symbol this quote is for","type":"string"},"coreSymbol":{"description":"Core symbol this quote is for","type":"string"},"precision":{"description":"Precision in decimal places of quote prices","type":"integer","format":"int32"},"layer":{"description":"Layer in the quote book for this quote, e.g. layer = 0 is Top of Book","type":"integer","format":"int32"},"bookId":{"description":"Unique identifier of the book this quote belongs to","type":"string","format":"guid"}},"required":["symbol","coreSymbol","precision","layer","bookId"]}}}}}}}},"/organization":{"get":{"operationId":"GET-organization","summary":"Retrieve all organizations","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.12 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"example":{"organizationId":"00000000-0000-0000-0000-000000000000","organizationName":"string value","legalEntityIdentifier":"string value","jurisdiction":"string value","organizationAlias":"string value","isLocal":true},"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"organizationName":{"type":"string"},"legalEntityIdentifier":{"type":"string"},"jurisdiction":{"type":"string"},"organizationAlias":{"type":"string"},"isLocal":{"type":"boolean"}},"required":["organizationId","organizationName","legalEntityIdentifier","jurisdiction","organizationAlias","isLocal"]}}}}}},"/organization/{id}":{"put":{"operationId":"PUT-organization-id","summary":"Set organization alias","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.12 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"organizationId":"00000000-0000-0000-0000-000000000000","organizationAlias":"string value"},"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"organizationAlias":{"type":"string"}},"required":["organizationId","organizationAlias"]}},{"name":"id","in":"path","description":"The organization id (UUID) uniquely identifying the organization","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"example":{"organizationId":"00000000-0000-0000-0000-000000000000","organizationName":"string value","legalEntityIdentifier":"string value","jurisdiction":"string value","organizationAlias":"string value","isLocal":true},"type":"object","properties":{"organizationId":{"type":"string","format":"uuid"},"organizationName":{"type":"string"},"legalEntityIdentifier":{"type":"string"},"jurisdiction":{"type":"string"},"organizationAlias":{"type":"string"},"isLocal":{"type":"boolean"}},"required":["organizationId","organizationName","legalEntityIdentifier","jurisdiction","organizationAlias","isLocal"]}}}}},"/pending-risk-checks":{"get":{"operationId":"GET-pending-risk-checks","summary":"Get all pending risk checks","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.18 | Initial Version |\n|1.22|Replaced (notional) position with baseCurrencyPosition|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Check"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Risk Check","example":{"riskTakerId":"RiskTakerId001","riskCheckIdFromRiskTaker":1718,"id":45,"timedOut":true,"brokerEntityId":"00000000-0000-0000-0000-000000000001","makerEntityId":"00000000-0000-0000-0000-000000000123","creditEntityId":"00000000-0000-0000-0000-000000000456","coreSymbol":"EUR/USD","baseCurrencyPosition":"-10000","termCurrencyPosition":"13420","vwap":"1.342","settlementTimeUTC":"2022-07-01 21:00:00.000000"},"type":"object","properties":{"riskTakerId":{"description":"Risk Taker Id","type":"string"},"riskCheckIdFromRiskTaker":{"description":"Risk Check Id from Risk Taker","type":"integer","format":"int64"},"id":{"description":"Id","type":"integer","format":"int64"},"timedOut":{"description":"Has this risk check timed out?","type":"boolean"},"brokerEntityId":{"description":"Broker Entity","type":"string","format":"uuid"},"makerEntityId":{"description":"Maker Entity","type":"string","format":"uuid"},"creditEntityId":{"description":"Credit Entity","type":"string","format":"uuid"},"coreSymbol":{"description":"Core Symbol","type":"string"},"baseCurrencyPosition":{"description":"Base Currency Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"termCurrencyPosition":{"description":"Term Currency Position","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of position","type":"string","format":"decimal128"},"settlementTimeUTC":{"description":"Settlement time UTC of this position","type":"string","format":"timestamp"}},"required":["riskTakerId","riskCheckIdFromRiskTaker","id","timedOut","brokerEntityId","makerEntityId","creditEntityId","coreSymbol","baseCurrencyPosition","termCurrencyPosition","vwap","settlementTimeUTC"]}}}}}}}},"/pending-risk-checks/{id}/action/finalize":{"post":{"operationId":"POST-pending-risk-checks-id-action-finalize","summary":"Finalize a pending risk check","description":"This API call allows a pending risk check to be finalized either by accepting or releasing it\n\n| Version | Changes |\n| ------- | ------- |\n| 1.18 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Check"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The Risk Check ID uniquely identifying a Risk Check on *this* hub","required":true,"type":"string"},{"name":"body","in":"body","schema":{"description":"Risk Check Finalize Request","example":{"finalizeActionType":"ACCEPT / RELEASE","coreSymbol":"EUR/USD","finalizedRiskPositionData":{"orderSide":"SELL","filledPrice":"80.982","filledVolume":"1000","executedDateTimeUTC":"2016-11-20 10:55:01.289581","valueDateUTC":"2016-11-20"}},"type":"object","properties":{"finalizeActionType":{"description":"Finalize Action Type","type":"string","enum":["ACCEPT","RELEASE"]},"coreSymbol":{"description":"Core Symbol","type":"string"},"finalizedRiskPositionData":{"description":"Finalized Risk Position data (required when finalize action is ACCEPT)","type":"object","properties":{"orderSide":{"type":"string","enum":["BUY","SELL"]},"filledPrice":{"description":"Filled price","type":"string","format":"decimal128"},"filledVolume":{"description":"Filled volume","type":"string","format":"decimal128"},"executedDateTimeUTC":{"type":"string","format":"timestamp"},"valueDateUTC":{"type":"string","format":"date"}},"required":["orderSide","filledPrice","filledVolume","executedDateTimeUTC","valueDateUTC"]}},"required":["finalizeActionType","coreSymbol"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/portfolio":{"get":{"operationId":"GET-portfolio","summary":"Get all portfolios","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.16|Removed hasSystematicHedgeProfile field|\n|1.19|Added referenceCCY field|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolios"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Portfolio","example":{"id":0,"name":"Portfolio 1","isDefaultPortfolio":true,"isMissing":true,"brokerEntityId":"00000000-0000-0000-0000-000000000000","referenceCCY":"USD","systematicHedgeProfile":"Default Hedge Profile","totalDailyPnL":"1.342","totalDayStartPnL":"1.342"},"type":"object","properties":{"id":{"description":"Portfolio Id","type":"integer","format":"int64"},"name":{"description":"Portfolio Name","type":"string"},"isDefaultPortfolio":{"description":"Is this portfolio the default portfolio","type":"boolean"},"isMissing":{"description":"Is this a portfolio that has been deleted from the portfolio settings","type":"boolean"},"brokerEntityId":{"description":"Broker Entity included in the portfolio","type":"string","format":"uuid"},"referenceCCY":{"description":"Reference currency for portfolio","type":"string"},"systematicHedgeProfile":{"description":"Systematic hedge profile assigned to portfolio","type":"string"},"totalDailyPnL":{"description":"Total daily profit and loss","type":"string","format":"decimal128"},"totalDayStartPnL":{"description":"Total day start profit and loss","type":"string","format":"decimal128"}},"required":["id","name","isDefaultPortfolio","isMissing","brokerEntityId","referenceCCY","systematicHedgeProfile"]}}}}}},"/portfolio/{id}/asset-positions":{"get":{"operationId":"GET-portfolio-id-asset-positions","summary":"Get all asset positions for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Asset Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Portfolio Asset Position","example":{"assetName":"EUR/USD","position":"-10000","totalDailyPnL":"1.342","marketPrice":"1.342","coreSymbolUsedForMarketPrice":"EUR/USD","supportsManualTip":true,"positionLimit":"1.342","positionLimitPercent":"80.00","symbolPositions":[{"coreSymbol":"EUR/USD","streamType":"MARKET_DATA","instrumentInstanceName":"EUR/USD-Spot 2012-Aug-24","position":"-10000","baseCurrencyPosition":"13420","termCurrencyPosition":"13420","vwap":"1.342","unrealizedPnL":"1.342","dailyPnL":"1.342","dayStartPnL":"1.342","marketPrice":"1.342","positionLimit":"1.342","positionLimitPercent":"80.00","assetQuantity":"1.342","pendingHedgeTradeRequestNewId":1234}],"pendingHedgeTradeRequestNewId":1234},"type":"object","properties":{"assetName":{"description":"Asset Name","type":"string"},"position":{"description":"Net Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"totalDailyPnL":{"description":"Total daily profit and loss","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price of Hedge Symbol or Spot Instrument (if any)","type":"string","format":"decimal128"},"coreSymbolUsedForMarketPrice":{"description":"Core Symbol used for Market Price","type":"string"},"supportsManualTip":{"description":"Manual Tip Supported","type":"boolean"},"positionLimit":{"description":"Net position limit","type":"string","format":"decimal128"},"positionLimitPercent":{"description":"Net position limit percentage","type":"string","format":"decimal128"},"symbolPositions":{"description":"Symbol positions that make up the asset","type":"array","items":{"description":"Portfolio Position","type":"object","properties":{"coreSymbol":{"description":"Core Symbol","type":"string"},"streamType":{"description":"Stream Type","type":"string","enum":["MARKET_DATA","RFQ"]},"instrumentInstanceName":{"description":"Instrument Instance Name","type":"string"},"position":{"description":"Net Position (Notional), +/- = BUY/SELL","type":"string","format":"decimal128"},"baseCurrencyPosition":{"description":"Net Base Currency Position","type":"string","format":"decimal128"},"termCurrencyPosition":{"description":"Net Term Currency Position","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of net position","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"Unrealized profit and loss","type":"string","format":"decimal128"},"dailyPnL":{"description":"Daily profit and loss","type":"string","format":"decimal128"},"dayStartPnL":{"description":"Day start profit and loss","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price","type":"string","format":"decimal128"},"positionLimit":{"description":"Net position limit","type":"string","format":"decimal128"},"positionLimitPercent":{"description":"Net position limit percentage","type":"string","format":"decimal128"},"assetQuantity":{"description":"Asset quantity","type":"string","format":"decimal128"},"pendingHedgeTradeRequestNewId":{"description":"RequestNewId of the current pending hedge trade (if any)","type":"integer","format":"int64"}},"required":["instrumentInstanceName","position","baseCurrencyPosition","termCurrencyPosition","vwap"]}},"pendingHedgeTradeRequestNewId":{"description":"RequestNewId of the current pending hedge trade (if any)","type":"integer","format":"int64"}},"required":["assetName","position","supportsManualTip","symbolPositions"]}}}}}}}},"/portfolio/{id}/asset-systematic-hedge-module/action":{"post":{"operationId":"POST-portfolio-id-asset-systematic-hedge-module-action","summary":"Tip asset position of a portfolio mapped to the asset hedge module profile","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.16 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Portfolio Asset Hedge Module Tip Query Params","example":{"assetName":"","type":"TIP"},"type":"object","properties":{"assetName":{"description":"Asset Name","type":"string"},"type":{"description":"Action type","type":"string","enum":["TIP"]}},"required":["assetName","type"]}},{"name":"id","in":"path","description":"The Portfolio Id","required":true,"type":"integer"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/portfolio/{id}/component-risk-positions":{"get":{"operationId":"GET-portfolio-id-component-risk-positions","summary":"Get all component risk positions for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Component Risk Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Portfolio Positions - Component Risk","example":{"instrumentDefinitionName":"FANG","position":"-500000","positionLimit":"1000","positionLimitPercentage":"80.00","instruments":[{"instrumentInstanceName":"Facebook","position":"-500000"}],"pendingHedgeTradeRequestNewId":1234},"type":"object","properties":{"instrumentDefinitionName":{"description":"Instrument Definition Name","type":"string"},"position":{"description":"Position","type":"string","format":"decimal128"},"positionLimit":{"description":"Position Limit","type":"string","format":"decimal128"},"positionLimitPercentage":{"description":"Position Limit percentage","type":"string","format":"decimal128"},"instruments":{"description":"Instruments","type":"array","items":{"description":"Underlying Instrument Risk Position","type":"object","properties":{"instrumentInstanceName":{"description":"Instrument Instance Name","type":"string"},"position":{"description":"Position","type":"string","format":"decimal128"}},"required":["instrumentInstanceName","position"]}},"pendingHedgeTradeRequestNewId":{"description":"RequestNewId of the current pending hedge trade (if any)","type":"integer","format":"int64"}},"required":["instrumentDefinitionName","position","instruments"]}}}}}}}},"/portfolio/{id}/component-risk-systematic-hedge-module/action":{"post":{"operationId":"POST-portfolio-id-component-risk-systematic-hedge-module-action","summary":"Tip component risk position of a portfolio mapped to the component risk hedge module profile","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Portfolio Component Risk Hedge Module Tip Query Params","example":{"instrumentDefinitionName":"Facebook","type":"TIP"},"type":"object","properties":{"instrumentDefinitionName":{"description":"Instrument Definition Name","type":"string"},"type":{"description":"Action type","type":"string","enum":["TIP"]}},"required":["instrumentDefinitionName","type"]}},{"name":"id","in":"path","description":"The Portfolio Id","required":true,"type":"integer"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/portfolio/{id}/currency-positions":{"get":{"operationId":"GET-portfolio-id-currency-positions","summary":"Get all currency positions for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Currency Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Portfolio Currency Position","example":{"currency":"EUR","position":"-10000","positionInReferenceCurrency":"-10000","positionUSD":"-10000","limitCurrency":"USD","positionInLimitCurrency":"-10000","positionLimit":"20000","positionLimitPercent":"70.00","totalHedgePosition":"-20000","hedgeSymbol":"EUR/USD","settlementDatePositions":[{"settlementDate":"YYYY-MM-DD","position":"-10000","positionUSD":"-10000","positionInReferenceCurrency":"-10000"}],"hedgeToExecute":"Notional amount of the hedge trade that will be executed to flatten the book"},"type":"object","properties":{"currency":{"description":"Currency","type":"string"},"position":{"description":"Net Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionInReferenceCurrency":{"description":"Net Position in Reference Currency of the Portfolio, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionUSD":{"description":"Net Position in USD, +/- = BUY/SELL","type":"string","format":"decimal128"},"limitCurrency":{"description":"Limit Currency","type":"string"},"positionInLimitCurrency":{"description":"Position in Limit Currency, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionLimit":{"description":"Position Limit","type":"string","format":"decimal128"},"positionLimitPercent":{"description":"Position in Limit Currency","type":"string","format":"decimal128"},"totalHedgePosition":{"description":"Total Hedge Position","type":"string","format":"decimal128"},"hedgeSymbol":{"description":"Hedge Symbol","type":"string"},"settlementDatePositions":{"description":"Positions by settlement date","type":"array","items":{"description":"Currency Position for Settlement date","type":"object","properties":{"settlementDate":{"description":"Settlement Date","type":"string","format":"date"},"position":{"description":"Net Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionUSD":{"description":"Net Position in USD, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionInReferenceCurrency":{"description":"Net Position in Reference Currency of the Portfolio, +/- = BUY/SELL","type":"string","format":"decimal128"}},"required":["settlementDate","position"]}},"hedgeToExecute":{"description":"Hedge To Execute","type":"string","format":"decimal128"}},"required":["currency","position","settlementDatePositions"]}}}}}}}},"/portfolio/{id}/currency-systematic-hedge-module/action":{"post":{"operationId":"POST-portfolio-id-currency-systematic-hedge-module-action","summary":"Tip currency position of a portfolio mapped to the currency hedge module profile","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.16 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Portfolio Currency Hedge Module Tip Query Params","example":{"positionCurrency":"","type":"TIP"},"type":"object","properties":{"positionCurrency":{"description":"Position Currency","type":"string"},"type":{"description":"Action type","type":"string","enum":["TIP"]}},"required":["positionCurrency","type"]}},{"name":"id","in":"path","description":"The Portfolio Id","required":true,"type":"integer"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/portfolio/{id}/layered-currency-hedges":{"get":{"operationId":"GET-portfolio-id-layered-currency-hedges","summary":"Get layered currency hedge entry states for a given portfolio, optionally filtered by position currency and hedge symbol","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.38 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Layered Currency Hedge Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"},{"name":"positionCurrency","in":"query","description":"Optional. Filter by position currency (e.g. EUR).","required":false,"type":"string"},{"name":"hedgeSymbol","in":"query","description":"Optional. Filter by hedge symbol (e.g. EUR/USD).","required":false,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Layered Currency Hedge Entry State","example":{"positionCurrency":"EUR","limitCurrency":"USD","hedgeSymbol":"EUR/USD","rawCurrencyBalance":"1000000","hedgePositionBalance":"1200000","hedgePositionBalanceInLimitCurrency":"1296000","hedgeToExecute":"-120000","positionUSD":"-10000","settlementDatePositions":[{"settlementDate":"YYYY-MM-DD","position":"-10000","positionUSD":"-10000","positionInReferenceCurrency":"-10000"}],"rules":[{"startValue":"100000","endValue":"200000","orderSize":"50000","targetValue":"0","cancelOutstanding":false,"tradeMethodProfileName":"algo-profile","pendingBuyOrders":[{"takerRequestNewId":1234,"orderVolume":"100000","cancelRequested":false,"filledVolume":"50000","pendingVolume":"50000","isActive":false}],"pendingSellOrders":[{"takerRequestNewId":1234,"orderVolume":"100000","cancelRequested":false,"filledVolume":"50000","pendingVolume":"50000","isActive":false}],"positionSide":"LONG"}],"activeRuleSetName":"Default","isAsymmetric":false,"activePositionSide":"LONG","isRuleSetTransitioning":false},"type":"object","properties":{"positionCurrency":{"description":"Currency being hedged (e.g. AUD)","type":"string"},"limitCurrency":{"description":"Currency in which rule thresholds and order sizes are denominated","type":"string"},"hedgeSymbol":{"description":"Symbol used to place hedge orders for this currency pair","type":"string"},"rawCurrencyBalance":{"description":"Net currency exposure from trades before any hedge offset","type":"string","format":"decimal128"},"hedgePositionBalance":{"description":"Net currency exposure after offsetting existing hedge positions","type":"string","format":"decimal128"},"hedgePositionBalanceInLimitCurrency":{"description":"Hedge position balance converted to limit currency (absent when conversion rate is unavailable)","type":"string","format":"decimal128"},"hedgeToExecute":{"description":"Signed hedge-symbol volume required to flatten the cross-adjusted hedge position, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionUSD":{"description":"Net Position in USD, +/- = BUY/SELL","type":"string","format":"decimal128"},"settlementDatePositions":{"description":"Positions by settlement date","type":"array","items":{"description":"Currency Position for Settlement date","type":"object","properties":{"settlementDate":{"description":"Settlement Date","type":"string","format":"date"},"position":{"description":"Net Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionUSD":{"description":"Net Position in USD, +/- = BUY/SELL","type":"string","format":"decimal128"},"positionInReferenceCurrency":{"description":"Net Position in Reference Currency of the Portfolio, +/- = BUY/SELL","type":"string","format":"decimal128"}},"required":["settlementDate","position"]}},"rules":{"description":"Layered hedge rules configured for this currency entry","type":"array","items":{"description":"Layered Hedge Rule","type":"object","properties":{"startValue":{"description":"Net-position threshold at which this rule becomes active","type":"string","format":"decimal128"},"endValue":{"description":"Net-position threshold at which this rule stops being active (absent = no upper bound)","type":"string","format":"decimal128"},"orderSize":{"description":"Notional size of each hedge order placed by this rule","type":"string","format":"decimal128"},"targetValue":{"description":"Target net position that the rule attempts to reach","type":"string","format":"decimal128"},"cancelOutstanding":{"description":"Whether outstanding orders are cancelled when the rule becomes inactive","type":"boolean"},"tradeMethodProfileName":{"description":"Name of the hedge trade method profile used to place orders","type":"string"},"pendingBuyOrders":{"description":"Outstanding buy hedge orders placed by this rule","type":"array","items":{"description":"Layered Hedge Order","type":"object","properties":{"takerRequestNewId":{"description":"Internal request ID for this hedge order","type":"integer","format":"int64"},"orderVolume":{"description":"Notional volume at which the hedge trade was originally placed","type":"string","format":"decimal128"},"cancelRequested":{"description":"True when a cancel has been requested for this order","type":"boolean"},"filledVolume":{"description":"Notional volume that has been filled so far","type":"string","format":"decimal128"},"pendingVolume":{"description":"Remaining unfilled notional volume","type":"string","format":"decimal128"},"isActive":{"description":"True when an order is active i.e. has volume yet to be filled and cancellation is not requested.","type":"boolean"}},"required":["takerRequestNewId","orderVolume","cancelRequested","isActive"]}},"pendingSellOrders":{"description":"Outstanding sell hedge orders placed by this rule","type":"array","items":{"description":"Layered Hedge Order","type":"object","properties":{"takerRequestNewId":{"description":"Internal request ID for this hedge order","type":"integer","format":"int64"},"orderVolume":{"description":"Notional volume at which the hedge trade was originally placed","type":"string","format":"decimal128"},"cancelRequested":{"description":"True when a cancel has been requested for this order","type":"boolean"},"filledVolume":{"description":"Notional volume that has been filled so far","type":"string","format":"decimal128"},"pendingVolume":{"description":"Remaining unfilled notional volume","type":"string","format":"decimal128"},"isActive":{"description":"True when an order is active i.e. has volume yet to be filled and cancellation is not requested.","type":"boolean"}},"required":["takerRequestNewId","orderVolume","cancelRequested","isActive"]}},"positionSide":{"description":"Which side the rule belongs to","type":"string","enum":["LONG","SHORT"]}},"required":["startValue","cancelOutstanding","tradeMethodProfileName","pendingBuyOrders","pendingSellOrders","positionSide"]}},"activeRuleSetName":{"description":"Rule set currently applied to this entry, \u0027Default\u0027 or an event rule set name. Empty while switching between rule sets.","type":"string"},"isAsymmetric":{"description":"True when the active rule set configures long and short independently, so the two rule tables differ. Absent while switching between rule sets.","type":"boolean"},"activePositionSide":{"description":"Side of the rule set currently being evaluated, \u0027LONG\u0027 or \u0027SHORT\u0027. Absent when the entry is flat, has never held a position, or is switching between rule sets.","type":"string","enum":["LONG","SHORT"]},"isRuleSetTransitioning":{"description":"True while the entry is switching rule sets and waiting for its hedge orders to cancel. Hedging is suspended, and the rules, side and asymmetric flag are withheld until it completes.","type":"boolean"}},"required":["positionCurrency","limitCurrency","hedgeSymbol","rawCurrencyBalance","hedgePositionBalance","settlementDatePositions","rules","activeRuleSetName","isRuleSetTransitioning"]}}}}}}}},"/portfolio/{id}/layered-position-hedges":{"get":{"operationId":"GET-portfolio-id-layered-position-hedges","summary":"Get layered hedge entry states for a given portfolio, optionally filtered by instrument and tenor","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Layered Hedge Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"},{"name":"instrument","in":"query","description":"Optional. Filter by instrument definition name (e.g. AUD/USD).","required":false,"type":"string"},{"name":"tenor","in":"query","description":"Optional. Filter by tenor (e.g. SPOT).","required":false,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Layered Position Hedge Entry State","example":{"instrumentName":"AUD/USD","tenor":"SPOT","hedgeSymbol":"AUD/USD","settlementDate":"2024-08-09","coreSymbol":"AUD/USD","signedPosition":"250000","marketPrice":"1.342","vwap":"1.342","dailyPnL":"1.342","rules":[{"startValue":"100000","endValue":"200000","orderSize":"50000","targetValue":"0","cancelOutstanding":false,"tradeMethodProfileName":"algo-profile","pendingBuyOrders":[{"takerRequestNewId":1234,"orderVolume":"100000","cancelRequested":false,"filledVolume":"50000","pendingVolume":"50000","isActive":false}],"pendingSellOrders":[{"takerRequestNewId":1234,"orderVolume":"100000","cancelRequested":false,"filledVolume":"50000","pendingVolume":"50000","isActive":false}],"positionSide":"LONG"}],"activeRuleSetName":"Default","isAsymmetric":false,"activePositionSide":"LONG","isRuleSetTransitioning":false},"type":"object","properties":{"instrumentName":{"description":"Instrument definition name configured in the hedge entry settings","type":"string"},"tenor":{"description":"Tenor configured in the hedge entry settings","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"hedgeSymbol":{"description":"Hedge symbol used when placing orders for this entry","type":"string"},"settlementDate":{"description":"Settlement date of the tracked position (absent while no position exists)","type":"string","format":"date"},"coreSymbol":{"description":"Core symbol of the tracked position (present only when it maps to a known streaming symbol)","type":"string"},"signedPosition":{"description":"Current signed net position for this entry (positive = long, negative = short; zero while no position exists)","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price used for P\u0026L calculation (absent when no position data is available)","type":"string","format":"decimal128"},"vwap":{"description":"Volume-weighted average price of the net position (absent when no position data is available)","type":"string","format":"decimal128"},"dailyPnL":{"description":"Daily profit and loss in reference currency (absent when P\u0026L is not computed or feature is not enabled)","type":"string","format":"decimal128"},"rules":{"description":"Layered hedge rules configured for this entry, reported even when no position exists yet","type":"array","items":{"description":"Layered Hedge Rule","type":"object","properties":{"startValue":{"description":"Net-position threshold at which this rule becomes active","type":"string","format":"decimal128"},"endValue":{"description":"Net-position threshold at which this rule stops being active (absent = no upper bound)","type":"string","format":"decimal128"},"orderSize":{"description":"Notional size of each hedge order placed by this rule","type":"string","format":"decimal128"},"targetValue":{"description":"Target net position that the rule attempts to reach","type":"string","format":"decimal128"},"cancelOutstanding":{"description":"Whether outstanding orders are cancelled when the rule becomes inactive","type":"boolean"},"tradeMethodProfileName":{"description":"Name of the hedge trade method profile used to place orders","type":"string"},"pendingBuyOrders":{"description":"Outstanding buy hedge orders placed by this rule","type":"array","items":{"description":"Layered Hedge Order","type":"object","properties":{"takerRequestNewId":{"description":"Internal request ID for this hedge order","type":"integer","format":"int64"},"orderVolume":{"description":"Notional volume at which the hedge trade was originally placed","type":"string","format":"decimal128"},"cancelRequested":{"description":"True when a cancel has been requested for this order","type":"boolean"},"filledVolume":{"description":"Notional volume that has been filled so far","type":"string","format":"decimal128"},"pendingVolume":{"description":"Remaining unfilled notional volume","type":"string","format":"decimal128"},"isActive":{"description":"True when an order is active i.e. has volume yet to be filled and cancellation is not requested.","type":"boolean"}},"required":["takerRequestNewId","orderVolume","cancelRequested","isActive"]}},"pendingSellOrders":{"description":"Outstanding sell hedge orders placed by this rule","type":"array","items":{"description":"Layered Hedge Order","type":"object","properties":{"takerRequestNewId":{"description":"Internal request ID for this hedge order","type":"integer","format":"int64"},"orderVolume":{"description":"Notional volume at which the hedge trade was originally placed","type":"string","format":"decimal128"},"cancelRequested":{"description":"True when a cancel has been requested for this order","type":"boolean"},"filledVolume":{"description":"Notional volume that has been filled so far","type":"string","format":"decimal128"},"pendingVolume":{"description":"Remaining unfilled notional volume","type":"string","format":"decimal128"},"isActive":{"description":"True when an order is active i.e. has volume yet to be filled and cancellation is not requested.","type":"boolean"}},"required":["takerRequestNewId","orderVolume","cancelRequested","isActive"]}},"positionSide":{"description":"Which side the rule belongs to","type":"string","enum":["LONG","SHORT"]}},"required":["startValue","cancelOutstanding","tradeMethodProfileName","pendingBuyOrders","pendingSellOrders","positionSide"]}},"activeRuleSetName":{"description":"Rule set currently applied to this entry, \u0027Default\u0027 or an event rule set name. Empty while switching between rule sets.","type":"string"},"isAsymmetric":{"description":"True when the active rule set configures long and short independently, so the two rule tables differ. Absent while switching between rule sets.","type":"boolean"},"activePositionSide":{"description":"Side of the rule set currently being evaluated, \u0027LONG\u0027 or \u0027SHORT\u0027. Absent when the entry is flat, has never held a position, or is switching between rule sets.","type":"string","enum":["LONG","SHORT"]},"isRuleSetTransitioning":{"description":"True while the entry is switching rule sets and waiting for its hedge orders to cancel. Hedging is suspended, and the rules, side and asymmetric flag are withheld until it completes.","type":"boolean"}},"required":["instrumentName","tenor","hedgeSymbol","signedPosition","rules","activeRuleSetName","isRuleSetTransitioning"]}}}}}}}},"/portfolio/{id}/passive-hedge-positions":{"get":{"operationId":"GET-portfolio-id-passive-hedge-positions","summary":"Get all passive hedge positions for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Passive Hedge Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Portfolio Positions - Passive Hedged","example":{"coreSymbol":"EUR/USD","position":"-10000","passiveHedgeRanges":[{"positionRangeStart":"100000","positionRangeStop":"200000"}],"totalPendingHedges":"-10000","targetRiskPosition":"-10000","instrumentInstanceName":"AUD/CAD 2024-Aug-09"},"type":"object","properties":{"coreSymbol":{"description":"Core Symbol","type":"string"},"position":{"description":"Net Position (Notional), +/- = BUY/SELL","type":"string","format":"decimal128"},"passiveHedgeRanges":{"description":"Hedging ranges","type":"array","items":{"description":"Passive Hedge Range","type":"object","properties":{"positionRangeStart":{"description":"Start position of the hedging range (in absolute terms)","type":"string","format":"decimal128"},"positionRangeStop":{"description":"Stop position of the hedging range (in absolute terms)","type":"string","format":"decimal128"}},"required":["positionRangeStart","positionRangeStop"]}},"totalPendingHedges":{"description":"Total of all pending hedge trades, +/- = BUY/SELL","type":"string","format":"decimal128"},"targetRiskPosition":{"description":"Sum of Net Position (Notional) and Total Pending Hedges, +/- = BUY/SELL","type":"string","format":"decimal128"},"instrumentInstanceName":{"description":"The name of the instrument instance associated with the symbol","type":"string"}},"required":["coreSymbol","passiveHedgeRanges","instrumentInstanceName"]}}}}}}}},"/portfolio/{id}/positions":{"get":{"operationId":"GET-portfolio-id-positions","summary":"Get all positions for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Portfolio Position","example":{"coreSymbol":"EUR/USD","streamType":"MARKET_DATA","instrumentInstanceName":"EUR/USD-Spot 2012-Aug-24","position":"-10000","baseCurrencyPosition":"13420","termCurrencyPosition":"13420","vwap":"1.342","unrealizedPnL":"1.342","dailyPnL":"1.342","dayStartPnL":"1.342","marketPrice":"1.342","positionLimit":"1.342","positionLimitPercent":"80.00","assetQuantity":"1.342","pendingHedgeTradeRequestNewId":1234},"type":"object","properties":{"coreSymbol":{"description":"Core Symbol","type":"string"},"streamType":{"description":"Stream Type","type":"string","enum":["MARKET_DATA","RFQ"]},"instrumentInstanceName":{"description":"Instrument Instance Name","type":"string"},"position":{"description":"Net Position (Notional), +/- = BUY/SELL","type":"string","format":"decimal128"},"baseCurrencyPosition":{"description":"Net Base Currency Position","type":"string","format":"decimal128"},"termCurrencyPosition":{"description":"Net Term Currency Position","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of net position","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"Unrealized profit and loss","type":"string","format":"decimal128"},"dailyPnL":{"description":"Daily profit and loss","type":"string","format":"decimal128"},"dayStartPnL":{"description":"Day start profit and loss","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price","type":"string","format":"decimal128"},"positionLimit":{"description":"Net position limit","type":"string","format":"decimal128"},"positionLimitPercent":{"description":"Net position limit percentage","type":"string","format":"decimal128"},"assetQuantity":{"description":"Asset quantity","type":"string","format":"decimal128"},"pendingHedgeTradeRequestNewId":{"description":"RequestNewId of the current pending hedge trade (if any)","type":"integer","format":"int64"}},"required":["instrumentInstanceName","position","baseCurrencyPosition","termCurrencyPosition","vwap"]}}}}}}}},"/portfolio/{id}/skew-positions":{"get":{"operationId":"GET-portfolio-id-skew-positions","summary":"Get all skew positions for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Portfolio Skew Positions"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Portfolio Skew","example":{"coreSymbol":"EUR/USD","skewTargetGroupID":"Skew Target Group ID","position":"-500000","maxQuoteQuantity":"250000","targetQuoteSide":"Ask","currentSpreadApplied":"5.0"},"type":"object","properties":{"coreSymbol":{"description":"Core Symbol","type":"string"},"skewTargetGroupID":{"description":"Skew Target Group ID","type":"string","format":"guid"},"position":{"description":"Current Position","type":"string","format":"decimal128"},"maxQuoteQuantity":{"description":"Maximum Quote Quantity","type":"string","format":"decimal128"},"targetQuoteSide":{"type":"string"},"currentSpreadApplied":{"description":"Current Spread Applied","type":"string","format":"decimal128"}},"required":["coreSymbol","skewTargetGroupID","position"]}}}}}}}},"/position-change":{"get":{"operationId":"GET-position-change","summary":"Position Change Request","description":"Retrieves position changes for the provided portfolio.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- REST Access","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Position Change URL Query Parameters","example":{"portfolioId":1,"tradeDate":"1/1/2000","startTime":"2022-07-01 21:00:00.000000"},"type":"object","properties":{"portfolioId":{"description":"Portfolio ID to retreive position change for.","type":"integer","format":"int64"},"tradeDate":{"description":"Trade date of the positions to return. Must be within the previous week. Cannot be combined with startTime.","type":"string","format":"date"},"startTime":{"description":"Start time from which to return position change. Must be within the previous 48 hours. Cannot be combined with tradeDate.","type":"string","format":"timestamp"}},"required":["portfolioId"]}}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Position Change Response Row","example":{"coreSymbol":"string value","ccy1Currency":"string value","ccy2Currency":"string value","settlementDate":"2016-11-20","totalBuy":"156.789","totalSell":"156.789","avgRate":"156.789"},"type":"object","properties":{"coreSymbol":{"description":"The core symbol for this position change. Empty for FX instruments.","type":"string"},"ccy1Currency":{"description":"The first currency in the currency pair for this position change.","type":"string"},"ccy2Currency":{"description":"The second currency in the currency pair for this position change.","type":"string"},"settlementDate":{"description":"The settlement date for this position change.","type":"string","format":"date"},"totalBuy":{"description":"The total buy amount for this position change.","type":"string","format":"decimal128"},"totalSell":{"description":"The total sell amount for this position change.","type":"string","format":"decimal128"},"avgRate":{"description":"The average rate for this currency pair.","type":"string","format":"decimal128"}},"required":["coreSymbol","ccy1Currency","ccy2Currency","settlementDate","totalBuy","totalSell"]}}}}}},"/pricing-algo-settings":{"patch":{"operationId":"PATCH-pricing-algo-settings","summary":"pricing-algo-settings - Modify an array of Pricing Algo Maker/Taker settings","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.18 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Pricing Algo"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"type":"array","items":{"description":"Pricing Algo Maker Settings","example":{"adapterId":"string value","enabled":true,"moduleName":"string value","pluginTakerUserKeyValueSettings":[{"key":"string value","value":"string value"}]},"type":"object","properties":{"adapterId":{"type":"string"},"enabled":{"type":"boolean"},"moduleName":{"type":"string"},"pluginTakerUserKeyValueSettings":{"type":"array","items":{"description":"Plugin User Key Value Setting","type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}}},"required":["adapterId"]}}}}},"get":{"operationId":"GET-pricing-algo-settings","summary":"pricing-algo-settings - Retrieve all Pricing Algo Maker/Taker settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.18 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Pricing Algo"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Pricing Algo Maker Settings","example":{"adapterId":"string value","enabled":true,"moduleName":"string value","pluginTakerUserKeyValueSettings":[{"key":"string value","value":"string value"}]},"type":"object","properties":{"adapterId":{"type":"string"},"enabled":{"type":"boolean"},"moduleName":{"type":"string"},"pluginTakerUserKeyValueSettings":{"type":"array","items":{"description":"Plugin User Key Value Setting","type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]}}},"required":["adapterId"]}}}}}},"/quotes":{"get":{"operationId":"GET-quotes","summary":"Retrieve quotes in the old single leg format","description":"This API call returns the quote books for the specified combination of query parameters\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.04|\u0027includeQuotesFromDisabledSides\u0027 renamed to \u0027includeDisabledQuotes\u0027 due to individual quotes being disabled through quote deactivation.|\n|1.11|Query param \u0027forceUseSTPTradableSize\u0027 renamed \u0027forceUseHedgeTradableSize\u0027.|\n|1.21|Query param \u0027streamId\u0027 and \u0027quoteId\u0027 added.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Quotes"],"security":[{"Authorization":[]}],"parameters":[{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false},{"name":"mode","in":"query","description":"The mode to execute the quote query in","type":"string","enum":["MAKER","TRADE_MAKER","TAKER","AGGREGATED","RISK","SYNTHETIC"],"required":true},{"name":"coreSymbol","in":"query","description":"The core symbol to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"coreSymbols","in":"query","description":"The core symbols to get quotes for. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"array","items":{"type":"string"},"required":true},{"name":"symbol","in":"query","description":"The adapter specific symbol to get quotes for","type":"string","required":false},{"name":"depth","in":"query","description":"Depth of quotes to retrieve. If not set then the full book is returned","default":2147483647,"type":"integer","format":"uint32","required":false},{"name":"quotesWithLastPriceOnly","in":"query","description":"Only return quotes that contain a last price","type":"boolean","required":false},{"name":"channelId","in":"query","description":"The price channel id to get quotes for, only applicable when \u0027mode\u0027 = AGGREGATED","type":"string","required":false},{"name":"makerId","in":"query","description":"The maker Id to get quotes for, only applicable when \u0027mode\u0027 = MAKER or TRADE_MAKER or RISK","type":"string","required":false},{"name":"takerId","in":"query","description":"The taker Id to get quotes for, only applicable when \u0027mode\u0027 = TAKER","type":"string","required":false},{"name":"portfolioId","in":"query","description":"The portfolio Id to get quotes for, only applicable when \u0027mode\u0027 = RISK. The valuation risk maker pool will be used.","type":"integer","format":"int64","required":false},{"name":"subscribedSymbolsOnly","in":"query","description":"Only return quotes that are currently part of a taker subscription","default":false,"type":"boolean","required":false},{"name":"includeDisabledQuotes","in":"query","description":"Include quotes that are disabled. Quotes can be disabled via maker controls, session closure, quote filtering, quote deactivation, etc. The reason(s) for the quote being disabled will be set in the returned quote entry\u0027s \u0027disabledFlags\u0027.","default":false,"type":"boolean","required":false},{"name":"forceUseHedgeTradableSize","in":"query","description":"If true, the query will return Hedge Tradable Size for the quotes size field.","default":false,"type":"boolean","required":false},{"name":"includeMarkups","in":"query","default":false,"type":"boolean","required":false},{"name":"streamId","in":"query","description":"If set, the query will provide quotes related to the unique streamId for the RFQ","default":-1,"type":"integer","format":"int64","required":false},{"name":"makerIds","in":"query","description":"List of maker IDs whose quotes should be returned. Only applicable when \u0027mode\u0027 = MAKER or TRADE_MAKER or RISK. If specified returns quotes from those makers. If specified and empty, return quotes from all makers. Mutually exclusive with \u0027makerId\u0027 - cannot specify both.","type":"array","items":{"type":"string"},"required":true}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Quote Entry","example":{"bid":{"maker":"SampleMaker","tradeMaker":"SampleTradeMaker","provider":"SampleProvider","price":"55.55","spotPrice":"55.55","forwardPriceDelta":"0.00001","size":"123.30","settlementDate":"2021-08-18","fixingDate":"2021-08-18","indicative":true,"disabledFlags":5,"receiveTimestamp":"2024-08-01 21:00:00.000000","liquidityStreamType":"","isSkewed":false,"quoteId":1241},"ask":{"maker":"SampleMaker","tradeMaker":"SampleTradeMaker","provider":"SampleProvider","price":"55.55","spotPrice":"55.55","forwardPriceDelta":"0.00001","size":"123.30","settlementDate":"2021-08-18","fixingDate":"2021-08-18","indicative":true,"disabledFlags":5,"receiveTimestamp":"2024-08-01 21:00:00.000000","liquidityStreamType":"","isSkewed":false,"quoteId":1241},"lastPrice":{"maker":"SampleMaker","tradeMaker":"SampleTradeMaker","provider":"SampleProvider","price":"55.55","spotPrice":"55.55","forwardPriceDelta":"0.00001","size":"123.30","settlementDate":"2021-08-18","fixingDate":"2021-08-18","indicative":true,"disabledFlags":5,"receiveTimestamp":"2024-08-01 21:00:00.000000","liquidityStreamType":"","isSkewed":false,"quoteId":1241},"symbol":"CoreSymbol1.Symbol2","coreSymbol":"CoreSymbol1","precision":5,"layer":1,"bookId":"cmBSAFVgjkCDv3_d8Kw9tw"},"type":"object","properties":{"bid":{"description":"Bid Quote","type":"object","properties":{"maker":{"description":"Maker name","type":"string"},"tradeMaker":{"description":"Trade Maker name","type":"string"},"provider":{"description":"Quote provider name, only set if different to maker","type":"string"},"price":{"description":"Price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"spotPrice":{"description":"The spot price for a forward quote","type":"string","format":"decimal128"},"forwardPriceDelta":{"description":"The forward price delta for a forward quote","type":"string","format":"decimal128"},"size":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"settlementDate":{"description":"Settlement date for the quote","type":"string","format":"date"},"fixingDate":{"description":"Fixing date for the quote if it\u0027s an NDF","type":"string","format":"date"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"disabledFlags":{"description":"Bit flags indicating the reason(s), if any, for the quote being disabled.","type":"integer","format":"uint32"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"},"liquidityStreamType":{"description":"The type of liquidity stream that this quote is from","type":"string","enum":["SWEEPABLE","SWEEPABLE_SINGLE_USE","NONSWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULLAMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"isSkewed":{"description":"Has a skew spread been applied to the quote","type":"boolean"},"quoteId":{"description":"Unique quoteId assigned by the hub","type":"integer","format":"int64"}},"required":["maker","indicative","disabledFlags","receiveTimestamp","liquidityStreamType"]},"ask":{"description":"Ask Quote","type":"object","properties":{"maker":{"description":"Maker name","type":"string"},"tradeMaker":{"description":"Trade Maker name","type":"string"},"provider":{"description":"Quote provider name, only set if different to maker","type":"string"},"price":{"description":"Price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"spotPrice":{"description":"The spot price for a forward quote","type":"string","format":"decimal128"},"forwardPriceDelta":{"description":"The forward price delta for a forward quote","type":"string","format":"decimal128"},"size":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"settlementDate":{"description":"Settlement date for the quote","type":"string","format":"date"},"fixingDate":{"description":"Fixing date for the quote if it\u0027s an NDF","type":"string","format":"date"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"disabledFlags":{"description":"Bit flags indicating the reason(s), if any, for the quote being disabled.","type":"integer","format":"uint32"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"},"liquidityStreamType":{"description":"The type of liquidity stream that this quote is from","type":"string","enum":["SWEEPABLE","SWEEPABLE_SINGLE_USE","NONSWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULLAMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"isSkewed":{"description":"Has a skew spread been applied to the quote","type":"boolean"},"quoteId":{"description":"Unique quoteId assigned by the hub","type":"integer","format":"int64"}},"required":["maker","indicative","disabledFlags","receiveTimestamp","liquidityStreamType"]},"lastPrice":{"description":"Last Price Quote, this is only set when layer = 0 and a Last Price Quote exists on coreSymbol.","type":"object","properties":{"maker":{"description":"Maker name","type":"string"},"tradeMaker":{"description":"Trade Maker name","type":"string"},"provider":{"description":"Quote provider name, only set if different to maker","type":"string"},"price":{"description":"Price of the quote. This is the spot price for spot quotes; otherwise, it\u0027s the all-in-price","type":"string","format":"decimal128"},"spotPrice":{"description":"The spot price for a forward quote","type":"string","format":"decimal128"},"forwardPriceDelta":{"description":"The forward price delta for a forward quote","type":"string","format":"decimal128"},"size":{"description":"Size/Volume of the quote","type":"string","format":"decimal128"},"settlementDate":{"description":"Settlement date for the quote","type":"string","format":"date"},"fixingDate":{"description":"Fixing date for the quote if it\u0027s an NDF","type":"string","format":"date"},"indicative":{"description":"True/false is this an indicative quote","type":"boolean"},"disabledFlags":{"description":"Bit flags indicating the reason(s), if any, for the quote being disabled.","type":"integer","format":"uint32"},"receiveTimestamp":{"description":"High-precision timestamp denoting the time that the quote was received in the Hub","type":"string","format":"timestamp"},"liquidityStreamType":{"description":"The type of liquidity stream that this quote is from","type":"string","enum":["SWEEPABLE","SWEEPABLE_SINGLE_USE","NONSWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULLAMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"isSkewed":{"description":"Has a skew spread been applied to the quote","type":"boolean"},"quoteId":{"description":"Unique quoteId assigned by the hub","type":"integer","format":"int64"}},"required":["maker","indicative","disabledFlags","receiveTimestamp","liquidityStreamType"]},"symbol":{"description":"Taker symbol this quote is for","type":"string"},"coreSymbol":{"description":"Core symbol this quote is for","type":"string"},"precision":{"description":"Precision in decimal places of quote prices","type":"integer","format":"int32"},"layer":{"description":"Layer in the quote book for this quote, e.g. layer = 0 is Top of Book","type":"integer","format":"int32"},"bookId":{"description":"Unique identifier of the book this quote belongs to","type":"string","format":"guid"}},"required":["symbol","coreSymbol","precision","layer","bookId"]}}}}}}}},"/rfq-cancel-dealer-intervention":{"post":{"operationId":"POST-rfq-cancel-dealer-intervention","summary":"Cancel RFQ Request","description":"Cancels a dealer intervention RFQ request identified by the stream ID returned in a successful RFQ request and returns success if the RFQ was canceled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.34 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"RFQ Cancel Request","example":{"streamId":123},"type":"object","properties":{"streamId":{"description":"Unique stream ID returned as part of RFQ response","type":"integer","format":"int64"}},"required":["streamId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Cancel Request Response","example":{"streamId":123,"errorCode":"INVALID_STREAM_ID"},"type":"object","properties":{"streamId":{"description":"RFQ stream ID being cancelled.","type":"integer","format":"int64"},"errorCode":{"description":"Optional RFQ error response code.","type":"string","enum":["UNKNOWN_TAKER","INVALID_TAKER_OR_CORE_SYMBOL","INVALID_STREAM_ID","INVALID_CANCEL_REQUEST_ID","CANCELLATION_IN_PROGRESS_OR_TOO_LATE"]}},"required":["streamId"]}}}}},"/rfq-cancel-portfolio":{"post":{"operationId":"POST-rfq-cancel-portfolio","summary":"Cancel a portfolio API RFQ Request","description":"Cancels a portfolio API RFQ request identified by the stream ID returned in a successful RFQ request and returns success if the RFQ was canceled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.34|Query param \u0027cancelRequestId\u0027 removed.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"RFQ Cancel Request","example":{"streamId":123},"type":"object","properties":{"streamId":{"description":"Unique stream ID returned as part of RFQ response","type":"integer","format":"int64"}},"required":["streamId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Cancel Request Response","example":{"streamId":123,"errorCode":"INVALID_STREAM_ID"},"type":"object","properties":{"streamId":{"description":"RFQ stream ID being cancelled.","type":"integer","format":"int64"},"errorCode":{"description":"Optional RFQ error response code.","type":"string","enum":["UNKNOWN_TAKER","INVALID_TAKER_OR_CORE_SYMBOL","INVALID_STREAM_ID","INVALID_CANCEL_REQUEST_ID","CANCELLATION_IN_PROGRESS_OR_TOO_LATE"]}},"required":["streamId"]}}}}},"/rfq-cancel-taker":{"post":{"operationId":"POST-rfq-cancel-taker","summary":"Cancel a Taker API RFQ Request","description":"Cancels a taker API RFQ request identified by the stream ID returned in a successful RFQ request and returns success if the RFQ was canceled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.34|Query param \u0027cancelRequestId\u0027 removed.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"RFQ Cancel Request","example":{"streamId":123},"type":"object","properties":{"streamId":{"description":"Unique stream ID returned as part of RFQ response","type":"integer","format":"int64"}},"required":["streamId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Cancel Request Response","example":{"streamId":123,"errorCode":"INVALID_STREAM_ID"},"type":"object","properties":{"streamId":{"description":"RFQ stream ID being cancelled.","type":"integer","format":"int64"},"errorCode":{"description":"Optional RFQ error response code.","type":"string","enum":["UNKNOWN_TAKER","INVALID_TAKER_OR_CORE_SYMBOL","INVALID_STREAM_ID","INVALID_CANCEL_REQUEST_ID","CANCELLATION_IN_PROGRESS_OR_TOO_LATE"]}},"required":["streamId"]}}}}},"/rfq-pause-quoting":{"post":{"operationId":"POST-rfq-pause-quoting","summary":"Pause RFQ Quoting Request","description":"Pauses quoting for the RFQ associated with the provided stream ID. Returns success if the RFQ is paused.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"RFQ Pause Quoting Request","example":{"streamId":123},"type":"object","properties":{"streamId":{"description":"Unique stream ID returned as part of RFQ response","type":"integer","format":"int64"}},"required":["streamId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Pause Quoting Response","example":{"success":false},"type":"object","properties":{"success":{"description":"True if RFQ is paused.","type":"boolean"}},"required":["success"]}}}}},"/rfq-request-portfolio":{"post":{"operationId":"POST-rfq-request-portfolio","summary":"Create a Portfolio API RFQ Request","description":"Creates a portfolio API RFQ request using the specified parameters and returns information regarding the new RFQ stream.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Risk Management RFQ Request","example":{"requestId":"123","assetClass":"FX","subAssetClass":"CURRENCY","sideType":"TWO_WAY","legs":[{"side":"SELL","dealtQuantity":"156.789","tenor":"4IMM","settlementDate":"2016-11-20","fixingDate":"2016-11-20"}],"expirationTime":"","assetTermCurrency":"","assetBaseCurrency":"","isTermCurrencyDenominated":false,"makerIdWhitelist":["string value"],"coreSymbol":"EUR/USD","portfolioId":1},"type":"object","properties":{"requestId":{"description":"RFQ request ID.","type":"string"},"assetClass":{"description":"Class of the asset for this RFQ request.","type":"string","enum":["NA","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"subAssetClass":{"description":"Subclass of the asset for this RFQ request.","type":"string","enum":["NA","CURRENCY","ENERGY","METALS","AGRICULTURAL","INTEREST_RATES","COMMON_STOCK","PREFERRED_STOCK","ETF","MUTUAL_FUND","CRYPTOCURRENCY"]},"sideType":{"description":"RFQ request side type.","type":"string","enum":["ONE_WAY","TWO_WAY","TWO_WAY_HIDDEN"]},"legs":{"description":"Trade Legs in the RFQ Request","type":"array","items":{"type":"object","properties":{"side":{"type":"string","enum":["BUY","SELL"]},"dealtQuantity":{"type":"string","format":"decimal128"},"tenor":{"type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"settlementDate":{"type":"string","format":"date"},"fixingDate":{"type":"string","format":"date"}},"required":["side","dealtQuantity","tenor"]}},"expirationTime":{"description":"RFQ request stream expiration time.","type":"string","format":"timestamp"},"assetTermCurrency":{"description":"The term currency of the asset for this RFQ request.","type":"string"},"assetBaseCurrency":{"description":"The base currency of the asset for this RFQ request.","type":"string"},"isTermCurrencyDenominated":{"description":"RFQ request is denominated in term currency instead of base currency.","type":"boolean"},"makerIdWhitelist":{"description":"Specific makers to include in the RFQ request (all if no value is specified).","type":"array","items":{"type":"string"}},"coreSymbol":{"description":"Core symbol being requested.","type":"string"},"portfolioId":{"description":"Portfolio ID making the request.","type":"integer","format":"int64"}},"required":["requestId","assetClass","subAssetClass","sideType","legs","assetTermCurrency","assetBaseCurrency","isTermCurrencyDenominated","coreSymbol","portfolioId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Request Response","example":{"requestId":"123","streamId":123,"expirationTime":"2023-04-28 19:00:16.871761"},"type":"object","properties":{"requestId":{"description":"RFQ Request ID being responded to.","type":"string"},"streamId":{"description":"unique ID assigned by the hub to the RFQ request if it was successful","type":"integer","format":"int64"},"expirationTime":{"description":"The time to live for the request expressed as a UTC date and time","type":"string","format":"timestamp"}},"required":["requestId","streamId"]}}}}},"/rfq-request-taker":{"post":{"operationId":"POST-rfq-request-taker","summary":"Create a Taker API RFQ Request","description":"Creates a taker API RFQ request using the specified parameters and returns information regarding the new RFQ stream.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.33|RFQ taker query param \u0027makerIdWhitelist\u0027 added.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Taker RFQ Request","example":{"requestId":"123","assetClass":"FX","subAssetClass":"CURRENCY","sideType":"TWO_WAY","legs":[{"side":"SELL","dealtQuantity":"156.789","tenor":"4IMM","settlementDate":"2016-11-20","fixingDate":"2016-11-20"}],"expirationTime":"","assetTermCurrency":"","assetBaseCurrency":"","isTermCurrencyDenominated":false,"makerIdWhitelist":["string value"],"takerSymbol":"EURUSD","takerId":"Taker"},"type":"object","properties":{"requestId":{"description":"RFQ request ID.","type":"string"},"assetClass":{"description":"Class of the asset for this RFQ request.","type":"string","enum":["NA","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"subAssetClass":{"description":"Subclass of the asset for this RFQ request.","type":"string","enum":["NA","CURRENCY","ENERGY","METALS","AGRICULTURAL","INTEREST_RATES","COMMON_STOCK","PREFERRED_STOCK","ETF","MUTUAL_FUND","CRYPTOCURRENCY"]},"sideType":{"description":"RFQ request side type.","type":"string","enum":["ONE_WAY","TWO_WAY","TWO_WAY_HIDDEN"]},"legs":{"description":"Trade Legs in the RFQ Request","type":"array","items":{"type":"object","properties":{"side":{"type":"string","enum":["BUY","SELL"]},"dealtQuantity":{"type":"string","format":"decimal128"},"tenor":{"type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"settlementDate":{"type":"string","format":"date"},"fixingDate":{"type":"string","format":"date"}},"required":["side","dealtQuantity","tenor"]}},"expirationTime":{"description":"RFQ request stream expiration time.","type":"string","format":"timestamp"},"assetTermCurrency":{"description":"The term currency of the asset for this RFQ request.","type":"string"},"assetBaseCurrency":{"description":"The base currency of the asset for this RFQ request.","type":"string"},"isTermCurrencyDenominated":{"description":"RFQ request is denominated in term currency instead of base currency.","type":"boolean"},"makerIdWhitelist":{"description":"Specific makers to include in the RFQ request (all if no value is specified).","type":"array","items":{"type":"string"}},"takerSymbol":{"description":"Taker symbol being requested.","type":"string"},"takerId":{"description":"Taker ID making the RFQ request.","type":"string"}},"required":["requestId","assetClass","subAssetClass","sideType","legs","assetTermCurrency","assetBaseCurrency","isTermCurrencyDenominated","takerSymbol","takerId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Request Response","example":{"requestId":"123","streamId":123,"expirationTime":"2023-04-28 19:00:16.871761"},"type":"object","properties":{"requestId":{"description":"RFQ Request ID being responded to.","type":"string"},"streamId":{"description":"unique ID assigned by the hub to the RFQ request if it was successful","type":"integer","format":"int64"},"expirationTime":{"description":"The time to live for the request expressed as a UTC date and time","type":"string","format":"timestamp"}},"required":["requestId","streamId"]}}}}},"/rfq-resume-quoting":{"post":{"operationId":"POST-rfq-resume-quoting","summary":"Resume RFQ Quoting Request","description":"Resumes quoting for the RFQ associated with the provided stream ID. Returns success if the RFQ is no longer paused because of this action.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"RFQ Resume Quoting Response","example":{"success":false},"type":"object","properties":{"success":{"description":"True if RFQ was resumed from this call.","type":"boolean"}},"required":["success"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"RFQ Resume Quoting Response","example":{"success":false},"type":"object","properties":{"success":{"description":"True if RFQ was resumed from this call.","type":"boolean"}},"required":["success"]}}}}},"/risk-adjustment":{"post":{"operationId":"POST-risk-adjustment","summary":"Add a risk management adjustment","description":"Add a single risk management adjustment, returning a single response object.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Added takerEntityId and makerEntityId fields.|\n|1.13|Removed makerId and takerId fields.|\n|1.14|Added portfolioId and portfolio transfer related portfolioTransferMode, portfolioIdFrom, and portfolioIdTo fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Trade adjustment","example":{"orderSide":"","takerEntityId":"00000000-0000-0000-0000-000000000000","takerLogin":"string value","takerGroup":"string value","makerEntityId":"00000000-0000-0000-0000-000000000000","takerCreditEntityId":"00000000-0000-0000-0000-000000000000","makerCreditEntityId":"00000000-0000-0000-0000-000000000000","portfolioId":153,"portfolioIdFrom":153,"portfolioIdTo":153,"portfolioTransferMode":false,"symbol":"string value","filledPrice":"80.982","filledVolume":"1000","executedTime":"2016-11-20 10:55:01.289581","valueDate":"2016-11-20","comment":"string value","type":"ADJUSTMENT","reportingData":{"isin":null,"cfi":null,"requesterExternalChannelTrader":null,"requesterExternalChannelAccount":null,"requestedExecutionVenueType":null,"requestedExecutionVenueLEI":null,"requestedExecutionVenueMIC":null,"requestedExecutionVenueSwapDataRepositoryName":null,"counterpartyExecutionDecisionMaker":null,"counterpartyExecutionDecisionMakerIsAlgo":null,"counterpartyInvestmentDecisionMaker":null,"counterpartyInvestmentDecisionMakerIsAlgo":null,"requesterTradeCapacityType":null,"counterpartyTradeCapacityType":null,"requesterLEI":null,"counterpartyLEI":null,"upi":null,"requesterTVTIC":null,"requesterUTI":null,"requesterUTINamespace":null,"reportingTrackingNumber":null,"regulatoryIsRequiredTransaction":null,"regulatoryIsLargeInScaleOrder":null,"regulatoryIsFXSecurityConversion":null,"regulatoryIsNonPriceFormingTrade":null,"regulatoryIsExemptFromPublication":null,"regulatoryIsSecuritiesFinancingTransaction":null,"regulatoryIsExemptFromClearingRequirements":null,"regulatoryIsUSPerson":null,"regulatoryIsReportingEntity":null,"requesterOrganizationOrFirmName":null,"requestedFixingReference":null,"requesterFinancialEntityType":null,"regulatoryTransactionTime":null,"counterpartyOrganizationOrFirmName":null,"counterpartyIsSystematicInternalizer":null,"counterpartyFinancialEntityType":null,"requestingPlatformName":null,"requesterExecutionDecisionMaker":null,"requesterExecutionDecisionMakerIsAlgo":null,"requesterInvestmentDecisionMaker":null,"requesterInvestmentDecisionMakerIsAlgo":null,"counterpartyName":null}},"type":"object","properties":{"orderSide":{"type":"string","enum":["BUY","SELL"]},"takerEntityId":{"type":"string","format":"uuid"},"takerLogin":{"type":"string"},"takerGroup":{"type":"string"},"makerEntityId":{"type":"string","format":"uuid"},"takerCreditEntityId":{"type":"string","format":"uuid"},"makerCreditEntityId":{"type":"string","format":"uuid"},"portfolioId":{"type":"integer","format":"int64"},"portfolioIdFrom":{"type":"integer","format":"int64"},"portfolioIdTo":{"type":"integer","format":"int64"},"portfolioTransferMode":{"description":"Switches between trade adjustment and portfolio transfer. If Transfer Mode is false, do a standard trade adjustment, if true, then do a portfolio transfer","default":null,"type":"boolean"},"symbol":{"type":"string"},"filledPrice":{"description":"Effective filled price for the adjustment","type":"string","format":"decimal128"},"filledVolume":{"description":"Effective filled volume for the adjustment","type":"string","format":"decimal128"},"executedTime":{"type":"string","format":"timestamp"},"valueDate":{"type":"string","format":"date"},"comment":{"type":"string"},"type":{"description":"Type of the adjustment. This does not affect processing of the adjustment, but can be used for auditing purposes in the Database to flag particular types of adjustments.","default":"ADJUSTMENT","type":"string","enum":["ADJUSTMENT","SWAP","NDF_FIXING"]},"reportingData":{"description":"Optional regulatory reporting data relating to the adjustment","default":null,"type":"object","properties":{"isin":{"default":null,"type":"string"},"cfi":{"default":null,"type":"string"},"requesterExternalChannelTrader":{"default":null,"type":"string"},"requesterExternalChannelAccount":{"default":null,"type":"string"},"requestedExecutionVenueType":{"default":null,"type":"string","enum":["OFF_VENUE","SWAPS_EXECUTION_FACILITY","MULTILATERAL_TRADING_FACILITY"]},"requestedExecutionVenueLEI":{"default":null,"type":"string"},"requestedExecutionVenueMIC":{"default":null,"type":"string"},"requestedExecutionVenueSwapDataRepositoryName":{"default":null,"type":"string"},"counterpartyExecutionDecisionMaker":{"default":null,"type":"string"},"counterpartyExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyInvestmentDecisionMaker":{"default":null,"type":"string"},"counterpartyInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"counterpartyTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"requesterLEI":{"default":null,"type":"string"},"counterpartyLEI":{"default":null,"type":"string"},"upi":{"default":null,"type":"string"},"requesterTVTIC":{"default":null,"type":"string"},"requesterUTI":{"default":null,"type":"string"},"requesterUTINamespace":{"default":null,"type":"string"},"reportingTrackingNumber":{"default":null,"type":"string"},"regulatoryIsRequiredTransaction":{"default":null,"type":"boolean"},"regulatoryIsLargeInScaleOrder":{"default":null,"type":"boolean"},"regulatoryIsFXSecurityConversion":{"default":null,"type":"boolean"},"regulatoryIsNonPriceFormingTrade":{"default":null,"type":"boolean"},"regulatoryIsExemptFromPublication":{"default":null,"type":"boolean"},"regulatoryIsSecuritiesFinancingTransaction":{"default":null,"type":"boolean"},"regulatoryIsExemptFromClearingRequirements":{"default":null,"type":"boolean"},"regulatoryIsUSPerson":{"default":null,"type":"boolean"},"regulatoryIsReportingEntity":{"default":null,"type":"boolean"},"requesterOrganizationOrFirmName":{"default":null,"type":"string"},"requestedFixingReference":{"default":null,"type":"string"},"requesterFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"regulatoryTransactionTime":{"default":null,"type":"string","format":"timestamp"},"counterpartyOrganizationOrFirmName":{"default":null,"type":"string"},"counterpartyIsSystematicInternalizer":{"default":null,"type":"boolean"},"counterpartyFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"requestingPlatformName":{"default":null,"type":"string"},"requesterExecutionDecisionMaker":{"default":null,"type":"string"},"requesterExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterInvestmentDecisionMaker":{"default":null,"type":"string"},"requesterInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyName":{"default":null,"type":"string"}}}},"required":["orderSide","takerEntityId","makerEntityId","symbol","filledPrice","filledVolume","executedTime","valueDate"]}},{"name":"force","in":"query","description":"If true, force the adjustment to occur. Some adjustments will be rejected if their parameters are considered to be erroneous, e.g. a price that is too far from the current market price. Setting this flag will force those adjustments to proceed. If a risk-adjustment error response contains {\"needsForce\":true} then set this flag to true to force the adjustment.","default":false,"type":"boolean","required":false},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Trade adjustment response","example":{"orderSide":"","takerEntityId":"00000000-0000-0000-0000-000000000000","takerLogin":"string value","takerGroup":"string value","makerEntityId":"00000000-0000-0000-0000-000000000000","takerCreditEntityId":"00000000-0000-0000-0000-000000000000","makerCreditEntityId":"00000000-0000-0000-0000-000000000000","portfolioId":153,"portfolioIdFrom":153,"portfolioIdTo":153,"portfolioTransferMode":false,"symbol":"string value","filledPrice":"80.982","filledVolume":"1000","executedTime":"2016-11-20 10:55:01.289581","valueDate":"2016-11-20","comment":"string value","type":"ADJUSTMENT","reportingData":{"isin":null,"cfi":null,"requesterExternalChannelTrader":null,"requesterExternalChannelAccount":null,"requestedExecutionVenueType":null,"requestedExecutionVenueLEI":null,"requestedExecutionVenueMIC":null,"requestedExecutionVenueSwapDataRepositoryName":null,"counterpartyExecutionDecisionMaker":null,"counterpartyExecutionDecisionMakerIsAlgo":null,"counterpartyInvestmentDecisionMaker":null,"counterpartyInvestmentDecisionMakerIsAlgo":null,"requesterTradeCapacityType":null,"counterpartyTradeCapacityType":null,"requesterLEI":null,"counterpartyLEI":null,"upi":null,"requesterTVTIC":null,"requesterUTI":null,"requesterUTINamespace":null,"reportingTrackingNumber":null,"regulatoryIsRequiredTransaction":null,"regulatoryIsLargeInScaleOrder":null,"regulatoryIsFXSecurityConversion":null,"regulatoryIsNonPriceFormingTrade":null,"regulatoryIsExemptFromPublication":null,"regulatoryIsSecuritiesFinancingTransaction":null,"regulatoryIsExemptFromClearingRequirements":null,"regulatoryIsUSPerson":null,"regulatoryIsReportingEntity":null,"requesterOrganizationOrFirmName":null,"requestedFixingReference":null,"requesterFinancialEntityType":null,"regulatoryTransactionTime":null,"counterpartyOrganizationOrFirmName":null,"counterpartyIsSystematicInternalizer":null,"counterpartyFinancialEntityType":null,"requestingPlatformName":null,"requesterExecutionDecisionMaker":null,"requesterExecutionDecisionMakerIsAlgo":null,"requesterInvestmentDecisionMaker":null,"requesterInvestmentDecisionMakerIsAlgo":null,"counterpartyName":null},"id":7244},"type":"object","properties":{"orderSide":{"type":"string","enum":["BUY","SELL"]},"takerEntityId":{"type":"string","format":"uuid"},"takerLogin":{"type":"string"},"takerGroup":{"type":"string"},"makerEntityId":{"type":"string","format":"uuid"},"takerCreditEntityId":{"type":"string","format":"uuid"},"makerCreditEntityId":{"type":"string","format":"uuid"},"portfolioId":{"type":"integer","format":"int64"},"portfolioIdFrom":{"type":"integer","format":"int64"},"portfolioIdTo":{"type":"integer","format":"int64"},"portfolioTransferMode":{"description":"Switches between trade adjustment and portfolio transfer. If Transfer Mode is false, do a standard trade adjustment, if true, then do a portfolio transfer","default":null,"type":"boolean"},"symbol":{"type":"string"},"filledPrice":{"description":"Effective filled price for the adjustment","type":"string","format":"decimal128"},"filledVolume":{"description":"Effective filled volume for the adjustment","type":"string","format":"decimal128"},"executedTime":{"type":"string","format":"timestamp"},"valueDate":{"type":"string","format":"date"},"comment":{"type":"string"},"type":{"description":"Type of the adjustment. This does not affect processing of the adjustment, but can be used for auditing purposes in the Database to flag particular types of adjustments.","default":"ADJUSTMENT","type":"string","enum":["ADJUSTMENT","SWAP","NDF_FIXING"]},"reportingData":{"description":"Optional regulatory reporting data relating to the adjustment","default":null,"type":"object","properties":{"isin":{"default":null,"type":"string"},"cfi":{"default":null,"type":"string"},"requesterExternalChannelTrader":{"default":null,"type":"string"},"requesterExternalChannelAccount":{"default":null,"type":"string"},"requestedExecutionVenueType":{"default":null,"type":"string","enum":["OFF_VENUE","SWAPS_EXECUTION_FACILITY","MULTILATERAL_TRADING_FACILITY"]},"requestedExecutionVenueLEI":{"default":null,"type":"string"},"requestedExecutionVenueMIC":{"default":null,"type":"string"},"requestedExecutionVenueSwapDataRepositoryName":{"default":null,"type":"string"},"counterpartyExecutionDecisionMaker":{"default":null,"type":"string"},"counterpartyExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyInvestmentDecisionMaker":{"default":null,"type":"string"},"counterpartyInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"counterpartyTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"requesterLEI":{"default":null,"type":"string"},"counterpartyLEI":{"default":null,"type":"string"},"upi":{"default":null,"type":"string"},"requesterTVTIC":{"default":null,"type":"string"},"requesterUTI":{"default":null,"type":"string"},"requesterUTINamespace":{"default":null,"type":"string"},"reportingTrackingNumber":{"default":null,"type":"string"},"regulatoryIsRequiredTransaction":{"default":null,"type":"boolean"},"regulatoryIsLargeInScaleOrder":{"default":null,"type":"boolean"},"regulatoryIsFXSecurityConversion":{"default":null,"type":"boolean"},"regulatoryIsNonPriceFormingTrade":{"default":null,"type":"boolean"},"regulatoryIsExemptFromPublication":{"default":null,"type":"boolean"},"regulatoryIsSecuritiesFinancingTransaction":{"default":null,"type":"boolean"},"regulatoryIsExemptFromClearingRequirements":{"default":null,"type":"boolean"},"regulatoryIsUSPerson":{"default":null,"type":"boolean"},"regulatoryIsReportingEntity":{"default":null,"type":"boolean"},"requesterOrganizationOrFirmName":{"default":null,"type":"string"},"requestedFixingReference":{"default":null,"type":"string"},"requesterFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"regulatoryTransactionTime":{"default":null,"type":"string","format":"timestamp"},"counterpartyOrganizationOrFirmName":{"default":null,"type":"string"},"counterpartyIsSystematicInternalizer":{"default":null,"type":"boolean"},"counterpartyFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"requestingPlatformName":{"default":null,"type":"string"},"requesterExecutionDecisionMaker":{"default":null,"type":"string"},"requesterExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterInvestmentDecisionMaker":{"default":null,"type":"string"},"requesterInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyName":{"default":null,"type":"string"}}},"id":{"description":"Unique Id of the Adjustment, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"}},"required":["orderSide","takerEntityId","makerEntityId","symbol","filledPrice","filledVolume","executedTime","valueDate","id"]}}}}},"/risk-adjustment ":{"post":{"operationId":"POST-risk-adjustment ","summary":"Add multiple risk management adjustments","description":"Multiple adjustments can be batched together in an array request, returning an array response.Adjustments are processed as a single transaction.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Added takerEntityId and makerEntityId fields.|\n|1.13|Removed makerId and takerId fields.|\n|1.14|Added portfolioId and portfolio transfer related portfolioTransferMode, portfolioIdFrom, and portfolioIdTo fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"type":"array","items":{"description":"Trade adjustment","example":{"orderSide":"","takerEntityId":"00000000-0000-0000-0000-000000000000","takerLogin":"string value","takerGroup":"string value","makerEntityId":"00000000-0000-0000-0000-000000000000","takerCreditEntityId":"00000000-0000-0000-0000-000000000000","makerCreditEntityId":"00000000-0000-0000-0000-000000000000","portfolioId":153,"portfolioIdFrom":153,"portfolioIdTo":153,"portfolioTransferMode":false,"symbol":"string value","filledPrice":"80.982","filledVolume":"1000","executedTime":"2016-11-20 10:55:01.289581","valueDate":"2016-11-20","comment":"string value","type":"ADJUSTMENT","reportingData":{"isin":null,"cfi":null,"requesterExternalChannelTrader":null,"requesterExternalChannelAccount":null,"requestedExecutionVenueType":null,"requestedExecutionVenueLEI":null,"requestedExecutionVenueMIC":null,"requestedExecutionVenueSwapDataRepositoryName":null,"counterpartyExecutionDecisionMaker":null,"counterpartyExecutionDecisionMakerIsAlgo":null,"counterpartyInvestmentDecisionMaker":null,"counterpartyInvestmentDecisionMakerIsAlgo":null,"requesterTradeCapacityType":null,"counterpartyTradeCapacityType":null,"requesterLEI":null,"counterpartyLEI":null,"upi":null,"requesterTVTIC":null,"requesterUTI":null,"requesterUTINamespace":null,"reportingTrackingNumber":null,"regulatoryIsRequiredTransaction":null,"regulatoryIsLargeInScaleOrder":null,"regulatoryIsFXSecurityConversion":null,"regulatoryIsNonPriceFormingTrade":null,"regulatoryIsExemptFromPublication":null,"regulatoryIsSecuritiesFinancingTransaction":null,"regulatoryIsExemptFromClearingRequirements":null,"regulatoryIsUSPerson":null,"regulatoryIsReportingEntity":null,"requesterOrganizationOrFirmName":null,"requestedFixingReference":null,"requesterFinancialEntityType":null,"regulatoryTransactionTime":null,"counterpartyOrganizationOrFirmName":null,"counterpartyIsSystematicInternalizer":null,"counterpartyFinancialEntityType":null,"requestingPlatformName":null,"requesterExecutionDecisionMaker":null,"requesterExecutionDecisionMakerIsAlgo":null,"requesterInvestmentDecisionMaker":null,"requesterInvestmentDecisionMakerIsAlgo":null,"counterpartyName":null}},"type":"object","properties":{"orderSide":{"type":"string","enum":["BUY","SELL"]},"takerEntityId":{"type":"string","format":"uuid"},"takerLogin":{"type":"string"},"takerGroup":{"type":"string"},"makerEntityId":{"type":"string","format":"uuid"},"takerCreditEntityId":{"type":"string","format":"uuid"},"makerCreditEntityId":{"type":"string","format":"uuid"},"portfolioId":{"type":"integer","format":"int64"},"portfolioIdFrom":{"type":"integer","format":"int64"},"portfolioIdTo":{"type":"integer","format":"int64"},"portfolioTransferMode":{"description":"Switches between trade adjustment and portfolio transfer. If Transfer Mode is false, do a standard trade adjustment, if true, then do a portfolio transfer","default":null,"type":"boolean"},"symbol":{"type":"string"},"filledPrice":{"description":"Effective filled price for the adjustment","type":"string","format":"decimal128"},"filledVolume":{"description":"Effective filled volume for the adjustment","type":"string","format":"decimal128"},"executedTime":{"type":"string","format":"timestamp"},"valueDate":{"type":"string","format":"date"},"comment":{"type":"string"},"type":{"description":"Type of the adjustment. This does not affect processing of the adjustment, but can be used for auditing purposes in the Database to flag particular types of adjustments.","default":"ADJUSTMENT","type":"string","enum":["ADJUSTMENT","SWAP","NDF_FIXING"]},"reportingData":{"description":"Optional regulatory reporting data relating to the adjustment","default":null,"type":"object","properties":{"isin":{"default":null,"type":"string"},"cfi":{"default":null,"type":"string"},"requesterExternalChannelTrader":{"default":null,"type":"string"},"requesterExternalChannelAccount":{"default":null,"type":"string"},"requestedExecutionVenueType":{"default":null,"type":"string","enum":["OFF_VENUE","SWAPS_EXECUTION_FACILITY","MULTILATERAL_TRADING_FACILITY"]},"requestedExecutionVenueLEI":{"default":null,"type":"string"},"requestedExecutionVenueMIC":{"default":null,"type":"string"},"requestedExecutionVenueSwapDataRepositoryName":{"default":null,"type":"string"},"counterpartyExecutionDecisionMaker":{"default":null,"type":"string"},"counterpartyExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyInvestmentDecisionMaker":{"default":null,"type":"string"},"counterpartyInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"counterpartyTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"requesterLEI":{"default":null,"type":"string"},"counterpartyLEI":{"default":null,"type":"string"},"upi":{"default":null,"type":"string"},"requesterTVTIC":{"default":null,"type":"string"},"requesterUTI":{"default":null,"type":"string"},"requesterUTINamespace":{"default":null,"type":"string"},"reportingTrackingNumber":{"default":null,"type":"string"},"regulatoryIsRequiredTransaction":{"default":null,"type":"boolean"},"regulatoryIsLargeInScaleOrder":{"default":null,"type":"boolean"},"regulatoryIsFXSecurityConversion":{"default":null,"type":"boolean"},"regulatoryIsNonPriceFormingTrade":{"default":null,"type":"boolean"},"regulatoryIsExemptFromPublication":{"default":null,"type":"boolean"},"regulatoryIsSecuritiesFinancingTransaction":{"default":null,"type":"boolean"},"regulatoryIsExemptFromClearingRequirements":{"default":null,"type":"boolean"},"regulatoryIsUSPerson":{"default":null,"type":"boolean"},"regulatoryIsReportingEntity":{"default":null,"type":"boolean"},"requesterOrganizationOrFirmName":{"default":null,"type":"string"},"requestedFixingReference":{"default":null,"type":"string"},"requesterFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"regulatoryTransactionTime":{"default":null,"type":"string","format":"timestamp"},"counterpartyOrganizationOrFirmName":{"default":null,"type":"string"},"counterpartyIsSystematicInternalizer":{"default":null,"type":"boolean"},"counterpartyFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"requestingPlatformName":{"default":null,"type":"string"},"requesterExecutionDecisionMaker":{"default":null,"type":"string"},"requesterExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterInvestmentDecisionMaker":{"default":null,"type":"string"},"requesterInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyName":{"default":null,"type":"string"}}}},"required":["orderSide","takerEntityId","makerEntityId","symbol","filledPrice","filledVolume","executedTime","valueDate"]}}},{"name":"force","in":"query","description":"If true, force the adjustment to occur. Some adjustments will be rejected if their parameters are considered to be erroneous, e.g. a price that is too far from the current market price. Setting this flag will force those adjustments to proceed. If a risk-adjustment error response contains {\"needsForce\":true} then set this flag to true to force the adjustment.","default":false,"type":"boolean","required":false},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Trade adjustment response","example":{"orderSide":"","takerEntityId":"00000000-0000-0000-0000-000000000000","takerLogin":"string value","takerGroup":"string value","makerEntityId":"00000000-0000-0000-0000-000000000000","takerCreditEntityId":"00000000-0000-0000-0000-000000000000","makerCreditEntityId":"00000000-0000-0000-0000-000000000000","portfolioId":153,"portfolioIdFrom":153,"portfolioIdTo":153,"portfolioTransferMode":false,"symbol":"string value","filledPrice":"80.982","filledVolume":"1000","executedTime":"2016-11-20 10:55:01.289581","valueDate":"2016-11-20","comment":"string value","type":"ADJUSTMENT","reportingData":{"isin":null,"cfi":null,"requesterExternalChannelTrader":null,"requesterExternalChannelAccount":null,"requestedExecutionVenueType":null,"requestedExecutionVenueLEI":null,"requestedExecutionVenueMIC":null,"requestedExecutionVenueSwapDataRepositoryName":null,"counterpartyExecutionDecisionMaker":null,"counterpartyExecutionDecisionMakerIsAlgo":null,"counterpartyInvestmentDecisionMaker":null,"counterpartyInvestmentDecisionMakerIsAlgo":null,"requesterTradeCapacityType":null,"counterpartyTradeCapacityType":null,"requesterLEI":null,"counterpartyLEI":null,"upi":null,"requesterTVTIC":null,"requesterUTI":null,"requesterUTINamespace":null,"reportingTrackingNumber":null,"regulatoryIsRequiredTransaction":null,"regulatoryIsLargeInScaleOrder":null,"regulatoryIsFXSecurityConversion":null,"regulatoryIsNonPriceFormingTrade":null,"regulatoryIsExemptFromPublication":null,"regulatoryIsSecuritiesFinancingTransaction":null,"regulatoryIsExemptFromClearingRequirements":null,"regulatoryIsUSPerson":null,"regulatoryIsReportingEntity":null,"requesterOrganizationOrFirmName":null,"requestedFixingReference":null,"requesterFinancialEntityType":null,"regulatoryTransactionTime":null,"counterpartyOrganizationOrFirmName":null,"counterpartyIsSystematicInternalizer":null,"counterpartyFinancialEntityType":null,"requestingPlatformName":null,"requesterExecutionDecisionMaker":null,"requesterExecutionDecisionMakerIsAlgo":null,"requesterInvestmentDecisionMaker":null,"requesterInvestmentDecisionMakerIsAlgo":null,"counterpartyName":null},"id":7244},"type":"object","properties":{"orderSide":{"type":"string","enum":["BUY","SELL"]},"takerEntityId":{"type":"string","format":"uuid"},"takerLogin":{"type":"string"},"takerGroup":{"type":"string"},"makerEntityId":{"type":"string","format":"uuid"},"takerCreditEntityId":{"type":"string","format":"uuid"},"makerCreditEntityId":{"type":"string","format":"uuid"},"portfolioId":{"type":"integer","format":"int64"},"portfolioIdFrom":{"type":"integer","format":"int64"},"portfolioIdTo":{"type":"integer","format":"int64"},"portfolioTransferMode":{"description":"Switches between trade adjustment and portfolio transfer. If Transfer Mode is false, do a standard trade adjustment, if true, then do a portfolio transfer","default":null,"type":"boolean"},"symbol":{"type":"string"},"filledPrice":{"description":"Effective filled price for the adjustment","type":"string","format":"decimal128"},"filledVolume":{"description":"Effective filled volume for the adjustment","type":"string","format":"decimal128"},"executedTime":{"type":"string","format":"timestamp"},"valueDate":{"type":"string","format":"date"},"comment":{"type":"string"},"type":{"description":"Type of the adjustment. This does not affect processing of the adjustment, but can be used for auditing purposes in the Database to flag particular types of adjustments.","default":"ADJUSTMENT","type":"string","enum":["ADJUSTMENT","SWAP","NDF_FIXING"]},"reportingData":{"description":"Optional regulatory reporting data relating to the adjustment","default":null,"type":"object","properties":{"isin":{"default":null,"type":"string"},"cfi":{"default":null,"type":"string"},"requesterExternalChannelTrader":{"default":null,"type":"string"},"requesterExternalChannelAccount":{"default":null,"type":"string"},"requestedExecutionVenueType":{"default":null,"type":"string","enum":["OFF_VENUE","SWAPS_EXECUTION_FACILITY","MULTILATERAL_TRADING_FACILITY"]},"requestedExecutionVenueLEI":{"default":null,"type":"string"},"requestedExecutionVenueMIC":{"default":null,"type":"string"},"requestedExecutionVenueSwapDataRepositoryName":{"default":null,"type":"string"},"counterpartyExecutionDecisionMaker":{"default":null,"type":"string"},"counterpartyExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyInvestmentDecisionMaker":{"default":null,"type":"string"},"counterpartyInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"counterpartyTradeCapacityType":{"default":null,"type":"string","enum":["AGENCY","PRINCIPAL","MATCHED_PRINCIPAL"]},"requesterLEI":{"default":null,"type":"string"},"counterpartyLEI":{"default":null,"type":"string"},"upi":{"default":null,"type":"string"},"requesterTVTIC":{"default":null,"type":"string"},"requesterUTI":{"default":null,"type":"string"},"requesterUTINamespace":{"default":null,"type":"string"},"reportingTrackingNumber":{"default":null,"type":"string"},"regulatoryIsRequiredTransaction":{"default":null,"type":"boolean"},"regulatoryIsLargeInScaleOrder":{"default":null,"type":"boolean"},"regulatoryIsFXSecurityConversion":{"default":null,"type":"boolean"},"regulatoryIsNonPriceFormingTrade":{"default":null,"type":"boolean"},"regulatoryIsExemptFromPublication":{"default":null,"type":"boolean"},"regulatoryIsSecuritiesFinancingTransaction":{"default":null,"type":"boolean"},"regulatoryIsExemptFromClearingRequirements":{"default":null,"type":"boolean"},"regulatoryIsUSPerson":{"default":null,"type":"boolean"},"regulatoryIsReportingEntity":{"default":null,"type":"boolean"},"requesterOrganizationOrFirmName":{"default":null,"type":"string"},"requestedFixingReference":{"default":null,"type":"string"},"requesterFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"regulatoryTransactionTime":{"default":null,"type":"string","format":"timestamp"},"counterpartyOrganizationOrFirmName":{"default":null,"type":"string"},"counterpartyIsSystematicInternalizer":{"default":null,"type":"boolean"},"counterpartyFinancialEntityType":{"default":null,"type":"string","enum":["OTHER","SWAP_DEALERS","MAJOR_PARTICIPANT"]},"requestingPlatformName":{"default":null,"type":"string"},"requesterExecutionDecisionMaker":{"default":null,"type":"string"},"requesterExecutionDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"requesterInvestmentDecisionMaker":{"default":null,"type":"string"},"requesterInvestmentDecisionMakerIsAlgo":{"default":null,"type":"boolean"},"counterpartyName":{"default":null,"type":"string"}}},"id":{"description":"Unique Id of the Adjustment, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"}},"required":["orderSide","takerEntityId","makerEntityId","symbol","filledPrice","filledVolume","executedTime","valueDate","id"]}}}}}},"/risk-trade/multileg-order":{"post":{"operationId":"POST-risk-trade-multileg-order","summary":"Place a Risk Management Order (supports multileg)","description":"This API call allows risk management orders to be placed. The query will return instantly with the Hub Order Id of the order that was created. A 200 OK response indicates that the order request was successfully processed by the Hub, *not* that the order was filled. As Orders are placed using a POST query, they must include an Idempotency - Key header, see POST Idempotency.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.23|Added optional spotRate field. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Risk Trade Info","example":{"symbol":"string value","orderSide":"","orderType":"","timeInForce":"GTC","volume":"102000","price":"156.789","spotRate":"156.789","secondaryPrice":"156.789","takerStreamName":"Stream1","routing":"string value","externallyRested":true,"pegDistance":"156.789","pegType":"MID","takerQuoteRequestId":"12345","streamId":12345,"quoteId":12345,"isTermCurrencyDenominated":true,"legs":[{"price":"156.789","volume":"156.789"}],"orderAttributes":{"attribute1":"Algo","attribute2":"Client A","attribute3":"Desk 1"},"portfolioId":153,"strategy":"TWAP Instance 1","strategyParams":"{}"},"type":"object","properties":{"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"volume":{"description":"The tradable volume. If set for a swaps order, it is the volume on the far leg.","type":"string","format":"decimal128"},"price":{"type":"string","format":"decimal128"},"spotRate":{"type":"string","format":"decimal128"},"secondaryPrice":{"type":"string","format":"decimal128"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"routing":{"type":"string"},"externallyRested":{"type":"boolean"},"pegDistance":{"type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"takerQuoteRequestId":{"description":"If set, the query will provide quotes related to an RFQ Request ID specified by a taker, when it issued the RFQ.","type":"string"},"streamId":{"description":"If set, the unique stream Id assigned by the hub and returned on a successful RFQ request","type":"integer","format":"int64"},"quoteId":{"description":"If set, the unique quote Id assigned by the hub and returned for a quote. Needed for a PQ order.","type":"integer","format":"int64"},"isTermCurrencyDenominated":{"description":"If set, then requested volume is denominated in the term currency; otherwise, the request volume will be denominated in base currency","type":"boolean"},"legs":{"description":"The legs of the trade.","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}},"orderAttributes":{"description":"Optional order attribute values selected by the trader from the entity\u0027s assigned profile.","type":"object","properties":{"attribute1":{"description":"Selected value for attribute 1.","type":"string"},"attribute2":{"description":"Selected value for attribute 2.","type":"string"},"attribute3":{"description":"Selected value for attribute 3.","type":"string"}}},"portfolioId":{"type":"integer","format":"int64"},"strategy":{"description":"Optional strategy settings instance name","type":"string"},"strategyParams":{"description":"Optional JSON string specifying strategy specific parameters","type":"string"}},"required":["symbol","orderSide","orderType","legs","portfolioId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}},"get":{"operationId":"GET-risk-trade-multileg-order","summary":"Get a list of Risk Management Orders","description":"Query a list of Risk Management orders. Support filtering PENDING orders by passing status=PENDING param.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":500,"type":"integer","format":"uint64","required":false},{"name":"status","in":"query","description":"Status of the orders to return, currently only allow to filter by status=PENDING.","type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"],"required":false},{"name":"secondaryStatus","in":"query","description":"Secondary Status of the orders to return, currently only allow to filter by secondaryStatus=STOPLIMIT_MONITORED.","type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"],"required":false},{"name":"symbol","in":"query","description":"Symbol of the orders to return.","type":"string","required":false},{"name":"coreSymbol","in":"query","description":"The core symbol the orders to return. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"requestType","in":"query","description":"Request type of the orders to return.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"],"required":false},{"name":"portfolioId","in":"query","description":"Portfolio Id of the orders to return.","type":"integer","format":"int64","required":false},{"name":"orderAnnotationFlags","in":"query","type":"integer","format":"int32","required":false},{"name":"orderType","in":"query","description":"Order type.","type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"],"required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId","legs":[{"price":"156.789","volume":"156.789"}]},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"},"legs":{"type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse","legs"]}}}}}}}},"/risk-trade/multileg-order/{requestNewId}":{"get":{"operationId":"GET-risk-trade-multileg-order-requestNewId","summary":"Get the status of a Risk Management Order","description":"Allows the status of a previously placed order to be retrieved. This can be used to query any risk management order, even if it was not originally placed over REST. For the case of non-REST orders, the requestNewId should be set to the Database requestnew_id of the order.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.09|Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"requestNewId","in":"path","description":"Database requestnew_id of the order","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId","legs":[{"price":"156.789","volume":"156.789"}]},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"},"legs":{"type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse","legs"]}}}}},"/risk-trade/order":{"post":{"operationId":"POST-risk-trade-order","summary":"Place a single leg Risk Management Order","description":"This API call allows risk management orders to be placed. The query will return instantly with the Hub Order Id of the order that was created. A 200 OK response indicates that the order request was successfully processed by the Hub, *not* that the order was filled. As Orders are placed using a POST query, they must include an Idempotency - Key header, see POST Idempotency.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.14|Added portfolioId field.|\n|1.19|Added optional externallyRested field.|\n|1.21|Added quoteId field. Accept Previously Quoted (PQ) orders with Fill Or Kill (FOK) time in force.|\n|1.23|Added optional spotRate field. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Risk Trade Info","example":{"symbol":"string value","orderSide":"","orderType":"","timeInForce":"GTC","volume":"102000","price":"156.789","spotRate":"156.789","secondaryPrice":"156.789","takerStreamName":"Stream1","routing":"string value","externallyRested":true,"pegDistance":"156.789","pegType":"MID","takerQuoteRequestId":"12345","streamId":12345,"quoteId":12345,"isTermCurrencyDenominated":true,"legs":[{"price":"156.789","volume":"156.789"}],"orderAttributes":{"attribute1":"Algo","attribute2":"Client A","attribute3":"Desk 1"},"portfolioId":153,"strategy":"TWAP Instance 1","strategyParams":"{}"},"type":"object","properties":{"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"volume":{"description":"The tradable volume. If set for a swaps order, it is the volume on the far leg.","type":"string","format":"decimal128"},"price":{"type":"string","format":"decimal128"},"spotRate":{"type":"string","format":"decimal128"},"secondaryPrice":{"type":"string","format":"decimal128"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"routing":{"type":"string"},"externallyRested":{"type":"boolean"},"pegDistance":{"type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"takerQuoteRequestId":{"description":"If set, the query will provide quotes related to an RFQ Request ID specified by a taker, when it issued the RFQ.","type":"string"},"streamId":{"description":"If set, the unique stream Id assigned by the hub and returned on a successful RFQ request","type":"integer","format":"int64"},"quoteId":{"description":"If set, the unique quote Id assigned by the hub and returned for a quote. Needed for a PQ order.","type":"integer","format":"int64"},"isTermCurrencyDenominated":{"description":"If set, then requested volume is denominated in the term currency; otherwise, the request volume will be denominated in base currency","type":"boolean"},"legs":{"description":"The legs of the trade.","type":"array","items":{"type":"object","properties":{"price":{"type":"string","format":"decimal128"},"volume":{"type":"string","format":"decimal128"}}}},"orderAttributes":{"description":"Optional order attribute values selected by the trader from the entity\u0027s assigned profile.","type":"object","properties":{"attribute1":{"description":"Selected value for attribute 1.","type":"string"},"attribute2":{"description":"Selected value for attribute 2.","type":"string"},"attribute3":{"description":"Selected value for attribute 3.","type":"string"}}},"portfolioId":{"type":"integer","format":"int64"},"strategy":{"description":"Optional strategy settings instance name","type":"string"},"strategyParams":{"description":"Optional JSON string specifying strategy specific parameters","type":"string"}},"required":["symbol","orderSide","orderType","legs","portfolioId"]}},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}},"get":{"operationId":"GET-risk-trade-order","summary":"Get a list of Risk Management Orders","description":"Query a list of Risk Management orders. Support filtering PENDING orders by passing status=PENDING param.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.09|Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price.|\n|1.10|Query parameter \u0027autoHedgeGroupId\u0027 renamed to \u0027systematicHedgeGroupId\u0027.|\n|1.14|Query parameter \u0027systematicHedgeGroupId\u0027 removed. New query parameter \u0027portfolioId\u0027 added.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":500,"type":"integer","format":"uint64","required":false},{"name":"status","in":"query","description":"Status of the orders to return, currently only allow to filter by status=PENDING.","type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"],"required":false},{"name":"secondaryStatus","in":"query","description":"Secondary Status of the orders to return, currently only allow to filter by secondaryStatus=STOPLIMIT_MONITORED.","type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"],"required":false},{"name":"symbol","in":"query","description":"Symbol of the orders to return.","type":"string","required":false},{"name":"coreSymbol","in":"query","description":"The core symbol the orders to return. If \u0027symbol\u0027 is passed as a param, then this value is ignored","type":"string","required":false},{"name":"requestType","in":"query","description":"Request type of the orders to return.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"],"required":false},{"name":"portfolioId","in":"query","description":"Portfolio Id of the orders to return.","type":"integer","format":"int64","required":false},{"name":"orderAnnotationFlags","in":"query","type":"integer","format":"int32","required":false},{"name":"orderType","in":"query","description":"Order type.","type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"],"required":false}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}}}}}},"/risk-trade/order/{requestNewId}":{"patch":{"operationId":"PATCH-risk-trade-order-requestNewId","summary":"Replace a Risk Management Order","description":"This API call allows risk management orders to be modified or cancelled. The query will return instantly with a 200 OK response which indicates that the order request was successfully processed by the Hub, *not* that the order was modified or cancelled.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.01|\u0027requestNewId\u0027 removed as parameter from request body params, due to being a path parameter. Success response now contains the JsonOrder matching the \u0027requestNewId\u0027.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"requestNewId","in":"path","description":"Database requestnew_id of the order","required":true,"type":"integer"},{"name":"body","in":"body","schema":{"description":"Order Replace Query","example":{"takerOrderId":"string value","requestedPrice":"156.789","requestedSecondaryPrice":"156.789","requestedVolume":"156.789","orderType":"PEG_LIMIT","timeInForce":"DAY","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","pegDistance":"156.789"},"type":"object","properties":{"takerOrderId":{"type":"string"},"requestedPrice":{"type":"string","format":"decimal128"},"requestedSecondaryPrice":{"type":"string","format":"decimal128"},"requestedVolume":{"type":"string","format":"decimal128"},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"type":"string","enum":["GTC","IOC","FOK","DAY"]},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"pegDistance":{"type":"string","format":"decimal128"}}}}],"responses":{"200":{"description":"","schema":{"description":"Order Info","example":{"takerOrderId":"string value","id":7244,"orderId":7244,"takerId":"string value","takerEntityId":"00000000-0000-0000-0000-000000000000","takerEntityDisplayName":"string value","takerType":"FIX","symbol":"string value","orderSide":"SELL","orderType":"PEG_LIMIT","requestedVolume":"100000","requestedPrice":"1.0345","requestedSecondaryPrice":"1.0345","filledVolume":"100000","filledPrice":"1.0345","status":"CANCELLED","secondaryStatus":"STOPLIMIT_TRIGGERED","rejectReason":"","coreCreatedTime":"2016-11-20 10:55:01.289581","lastModified":"2016-11-20 10:55:01.289581","requestType":"TAKER_API","pegDistance":"BID","pegType":"MID","specificTradeMakersToUse":["string value"],"takerRFQRequestId":"SampleId"},"type":"object","properties":{"takerOrderId":{"type":"string"},"id":{"description":"Unique Id of the Order, will be the same as the associated Database RequestNew Id","type":"integer","format":"int64"},"orderId":{"description":"Unique Id of the Order, will be the same as the associated Database Order Id","type":"integer","format":"int64"},"takerId":{"type":"string"},"takerEntityId":{"type":"string","format":"uuid"},"takerEntityDisplayName":{"type":"string"},"takerType":{"description":"The type of taker that placed the order. Any internal or API related orders (e.g. via REST or swaps) will have a takerType of NATIVE","type":"string","enum":["MT4","FIX","WAREHOUSE","NATIVE","MT5","TRADE_CAPTURE"]},"symbol":{"type":"string"},"orderSide":{"type":"string","enum":["BUY","SELL"]},"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"requestedVolume":{"description":"The original volume requested by the Taker","type":"string","format":"decimal128"},"requestedPrice":{"description":"The original price requested by the Taker","type":"string","format":"decimal128"},"requestedSecondaryPrice":{"description":"The original secondary price requested by the Taker","type":"string","format":"decimal128"},"filledVolume":{"description":"The actual filled volume for the order. If status = PENDING, this will include any partial fills that have already occurred.","type":"string","format":"decimal128"},"filledPrice":{"description":"The filled price as seen by the Taker","type":"string","format":"decimal128"},"status":{"type":"string","enum":["PENDING","COMPLETE","COMPLETE_STRATEGY_TRADE","REJECTED","CANCELLED"]},"secondaryStatus":{"type":"string","enum":["NA","STOPLIMIT_MONITORED","STOPLIMIT_SUSPENDED","STOPLIMIT_TRIGGERED"]},"rejectReason":{"description":"Detailed order rejection message. Will only be set if status = REJECTED","type":"string"},"coreCreatedTime":{"type":"string","format":"timestamp"},"lastModified":{"type":"string","format":"timestamp"},"requestType":{"description":"The request type of this order record.","type":"string","enum":["TAKER_ADAPTER","ADJUSTMENT","BROKER","AUTO_LIQUIDATION","SWAP","TAKER_API","TRADE_CAPTURE_ADJUSTMENT","NDF_FIXING"]},"pegDistance":{"description":"Price point from which the peg rate is offset  BID|ASK|MID.","type":"string","format":"decimal128"},"pegType":{"type":"string","enum":["BID","ASK","MID"]},"specificTradeMakersToUse":{"description":"Specific maker routing","type":"array","items":{"type":"string"}},"takerRFQRequestId":{"description":"For RFQ-backed orders, this is the Taker-specified RFQ Request Id.","type":"string"}},"required":["id","takerId","takerEntityId","takerEntityDisplayName","takerType","symbol","orderSide","orderType","requestedVolume","filledVolume","filledPrice","status","secondaryStatus","requestType","specificTradeMakersToUse"]}}}}},"/settings/broker/{brokerId}/gap-level-mapping":{"get":{"operationId":"GET-settings-broker-brokerId-gap-level-mapping","summary":"broker/{brokerId}/gap-level-mapping - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}}},"post":{"operationId":"POST-settings-broker-brokerId-gap-level-mapping","summary":"broker/{brokerId}/gap-level-mapping - Create a new Resource","description":"Create a new broker/{brokerId}/gap-level-mapping settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}}},"/settings/broker/{brokerId}/gap-level-mapping/{id}":{"get":{"operationId":"GET-settings-broker-brokerId-gap-level-mapping-id","summary":"broker/{brokerId}/gap-level-mapping - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-mapping","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"patch":{"operationId":"PATCH-settings-broker-brokerId-gap-level-mapping-id","summary":"broker/{brokerId}/gap-level-mapping - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"put":{"operationId":"PUT-settings-broker-brokerId-gap-level-mapping-id","summary":"broker/{brokerId}/gap-level-mapping - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"delete":{"operationId":"DELETE-settings-broker-brokerId-gap-level-mapping-id","summary":"broker/{brokerId}/gap-level-mapping - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-mapping","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/broker/{brokerId}/gap-level-profile":{"get":{"operationId":"GET-settings-broker-brokerId-gap-level-profile","summary":"broker/{brokerId}/gap-level-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}}},"post":{"operationId":"POST-settings-broker-brokerId-gap-level-profile","summary":"broker/{brokerId}/gap-level-profile - Create a new Resource","description":"Create a new broker/{brokerId}/gap-level-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","default":"TRADABLE_RATE","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["profileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}}},"/settings/broker/{brokerId}/gap-level-profile/{id}":{"get":{"operationId":"GET-settings-broker-brokerId-gap-level-profile-id","summary":"broker/{brokerId}/gap-level-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}},"patch":{"operationId":"PATCH-settings-broker-brokerId-gap-level-profile-id","summary":"broker/{brokerId}/gap-level-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","default":"TRADABLE_RATE","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}},"put":{"operationId":"PUT-settings-broker-brokerId-gap-level-profile-id","summary":"broker/{brokerId}/gap-level-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","default":"TRADABLE_RATE","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["profileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}},"delete":{"operationId":"DELETE-settings-broker-brokerId-gap-level-profile-id","summary":"broker/{brokerId}/gap-level-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/gap-level-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/broker/{brokerId}/order-routing-mapping":{"get":{"operationId":"GET-settings-broker-brokerId-order-routing-mapping","summary":"broker/{brokerId}/order-routing-mapping - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}}},"post":{"operationId":"POST-settings-broker-brokerId-order-routing-mapping","summary":"broker/{brokerId}/order-routing-mapping - Create a new Resource","description":"Create a new broker/{brokerId}/order-routing-mapping settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}}},"/settings/broker/{brokerId}/order-routing-mapping/{id}":{"get":{"operationId":"GET-settings-broker-brokerId-order-routing-mapping-id","summary":"broker/{brokerId}/order-routing-mapping - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-mapping","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"patch":{"operationId":"PATCH-settings-broker-brokerId-order-routing-mapping-id","summary":"broker/{brokerId}/order-routing-mapping - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"put":{"operationId":"PUT-settings-broker-brokerId-order-routing-mapping-id","summary":"broker/{brokerId}/order-routing-mapping - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"delete":{"operationId":"DELETE-settings-broker-brokerId-order-routing-mapping-id","summary":"broker/{brokerId}/order-routing-mapping - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-mapping","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/broker/{brokerId}/order-routing-profile":{"get":{"operationId":"GET-settings-broker-brokerId-order-routing-profile","summary":"broker/{brokerId}/order-routing-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}}},"post":{"operationId":"POST-settings-broker-brokerId-order-routing-profile","summary":"broker/{brokerId}/order-routing-profile - Create a new Resource","description":"Create a new broker/{brokerId}/order-routing-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","default":"SYNC_HEDGE","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","default":"0","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","default":false,"type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","default":"50","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","default":"0","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","default":"0","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","default":false,"type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","default":-1,"type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","default":"VWAP","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":true,"type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":false,"type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["profileName","brokerTraderName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}}},"/settings/broker/{brokerId}/order-routing-profile/{id}":{"get":{"operationId":"GET-settings-broker-brokerId-order-routing-profile-id","summary":"broker/{brokerId}/order-routing-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}},"patch":{"operationId":"PATCH-settings-broker-brokerId-order-routing-profile-id","summary":"broker/{brokerId}/order-routing-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","default":"SYNC_HEDGE","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","default":"0","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","default":false,"type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","default":"50","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","default":"0","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","default":"0","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","default":false,"type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","default":-1,"type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","default":"VWAP","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":true,"type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":false,"type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","default":"autotrader","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}},"put":{"operationId":"PUT-settings-broker-brokerId-order-routing-profile-id","summary":"broker/{brokerId}/order-routing-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","default":"SYNC_HEDGE","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","default":"0","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","default":false,"type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","default":"50","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","default":"0","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","default":"0","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","default":false,"type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","default":-1,"type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","default":"VWAP","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":true,"type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":false,"type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["profileName","brokerTraderName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}},"delete":{"operationId":"DELETE-settings-broker-brokerId-order-routing-profile-id","summary":"broker/{brokerId}/order-routing-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/order-routing-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/broker/{brokerId}/portfolio":{"get":{"operationId":"GET-settings-broker-brokerId-portfolio","summary":"broker/{brokerId}/portfolio - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}}},"post":{"operationId":"POST-settings-broker-brokerId-portfolio","summary":"broker/{brokerId}/portfolio - Create a new Resource","description":"Create a new broker/{brokerId}/portfolio settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"default":false,"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["portfolioName","referenceCurrency"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}}},"/settings/broker/{brokerId}/portfolio/{id}":{"get":{"operationId":"GET-settings-broker-brokerId-portfolio-id","summary":"broker/{brokerId}/portfolio - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/portfolio","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}},"patch":{"operationId":"PATCH-settings-broker-brokerId-portfolio-id","summary":"broker/{brokerId}/portfolio - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/portfolio","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"default":false,"type":"boolean"},"referenceCurrency":{"default":"USD","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}},"put":{"operationId":"PUT-settings-broker-brokerId-portfolio-id","summary":"broker/{brokerId}/portfolio - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/portfolio","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"default":false,"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["portfolioName","referenceCurrency"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}},"delete":{"operationId":"DELETE-settings-broker-brokerId-portfolio-id","summary":"broker/{brokerId}/portfolio - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.17 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"brokerId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the broker/{brokerId}/portfolio","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/credit-group":{"get":{"operationId":"GET-settings-credit-group","summary":"credit-group - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Credit Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"type":"boolean"},"nopLimit":{"type":"string","format":"decimal128"},"nopAlertPercentage":{"type":"string","format":"decimal128"},"enableDslLimit":{"type":"boolean"},"dslLimit":{"type":"string","format":"decimal128"},"dslAlertPercentage":{"type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["id","name","enableNopLimit","nopLimit","nopAlertPercentage","enableDslLimit","dslLimit","dslAlertPercentage","preventNetShortExposureOnNonFXSymbols","notificationList","takerEntityIds","makerEntityIds","coreSymbolFilter","symbolGroupFilter"]}}}}},"post":{"operationId":"POST-settings-credit-group","summary":"credit-group - Create a new Resource","description":"Create a new credit-group settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Credit Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"name":{"type":"string"},"enableNopLimit":{"default":true,"type":"boolean"},"nopLimit":{"default":"0","type":"string","format":"decimal128"},"nopAlertPercentage":{"default":"80","type":"string","format":"decimal128"},"enableDslLimit":{"default":true,"type":"boolean"},"dslLimit":{"default":"0","type":"string","format":"decimal128"},"dslAlertPercentage":{"default":"80","type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","default":false,"type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["name","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"type":"boolean"},"nopLimit":{"type":"string","format":"decimal128"},"nopAlertPercentage":{"type":"string","format":"decimal128"},"enableDslLimit":{"type":"boolean"},"dslLimit":{"type":"string","format":"decimal128"},"dslAlertPercentage":{"type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["id","name","enableNopLimit","nopLimit","nopAlertPercentage","enableDslLimit","dslLimit","dslAlertPercentage","preventNetShortExposureOnNonFXSymbols","notificationList","takerEntityIds","makerEntityIds","coreSymbolFilter","symbolGroupFilter"]}}}}},"/settings/credit-group/{id}":{"get":{"operationId":"GET-settings-credit-group-id","summary":"credit-group - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Credit Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the credit-group","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"type":"boolean"},"nopLimit":{"type":"string","format":"decimal128"},"nopAlertPercentage":{"type":"string","format":"decimal128"},"enableDslLimit":{"type":"boolean"},"dslLimit":{"type":"string","format":"decimal128"},"dslAlertPercentage":{"type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["id","name","enableNopLimit","nopLimit","nopAlertPercentage","enableDslLimit","dslLimit","dslAlertPercentage","preventNetShortExposureOnNonFXSymbols","notificationList","takerEntityIds","makerEntityIds","coreSymbolFilter","symbolGroupFilter"]}}}},"patch":{"operationId":"PATCH-settings-credit-group-id","summary":"credit-group - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Credit Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the credit-group","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"default":true,"type":"boolean"},"nopLimit":{"default":"0","type":"string","format":"decimal128"},"nopAlertPercentage":{"default":"80","type":"string","format":"decimal128"},"enableDslLimit":{"default":true,"type":"boolean"},"dslLimit":{"default":"0","type":"string","format":"decimal128"},"dslAlertPercentage":{"default":"80","type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","default":false,"type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"type":"boolean"},"nopLimit":{"type":"string","format":"decimal128"},"nopAlertPercentage":{"type":"string","format":"decimal128"},"enableDslLimit":{"type":"boolean"},"dslLimit":{"type":"string","format":"decimal128"},"dslAlertPercentage":{"type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["id","name","enableNopLimit","nopLimit","nopAlertPercentage","enableDslLimit","dslLimit","dslAlertPercentage","preventNetShortExposureOnNonFXSymbols","notificationList","takerEntityIds","makerEntityIds","coreSymbolFilter","symbolGroupFilter"]}}}},"put":{"operationId":"PUT-settings-credit-group-id","summary":"credit-group - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Credit Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the credit-group","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"default":true,"type":"boolean"},"nopLimit":{"default":"0","type":"string","format":"decimal128"},"nopAlertPercentage":{"default":"80","type":"string","format":"decimal128"},"enableDslLimit":{"default":true,"type":"boolean"},"dslLimit":{"default":"0","type":"string","format":"decimal128"},"dslAlertPercentage":{"default":"80","type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","default":false,"type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["name","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","enableNopLimit":true,"nopLimit":"0","nopAlertPercentage":"80","enableDslLimit":true,"dslLimit":"0","dslAlertPercentage":"80","preventNetShortExposureOnNonFXSymbols":false,"notificationList":["string value"],"takerEntityIds":["00000000-0000-0000-0000-000000000000"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"organizationId":"00000000-0000-0000-0000-000000000000","brokerEntityId":"00000000-0000-0000-0000-000000000000","coreSymbolFilter":"*","symbolGroupFilter":"*"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"enableNopLimit":{"type":"boolean"},"nopLimit":{"type":"string","format":"decimal128"},"nopAlertPercentage":{"type":"string","format":"decimal128"},"enableDslLimit":{"type":"boolean"},"dslLimit":{"type":"string","format":"decimal128"},"dslAlertPercentage":{"type":"string","format":"decimal128"},"preventNetShortExposureOnNonFXSymbols":{"description":"Credit limit rules track each symbol position separately for non-FX symbols. For FX symbols the position is tracked by CCY and not symbol so they are not included in this check. When this setting is enabled, an order that would result in a negative position for a non-FX symbol covered by the rule will be rejected.","type":"boolean"},"notificationList":{"type":"array","items":{"type":"string"}},"takerEntityIds":{"description":"Taker Entities included in the Credit Group. Click the field to add Taker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Taker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"makerEntityIds":{"description":"Maker Entities included in the Credit Group. Click the field to add Maker Entities to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include a Broker Entity when Maker Entities are included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"array","items":{"type":"string","format":"uuid"}},"organizationId":{"description":"Organization included in the Credit Group. Click the field to add an Organization to a Credit Group.\n\nNotes:\n - Positions are netted against each other, so if both the Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - You may not include specific Maker Entities or Taker Entities when an Organization is included in the Credit Group.\n - You may not include a Broker Entity when an Organization is included in the Credit Group. This is to prevent warehouse broker-to-maker orders from reaching a credit limit for the rule set and shutting off hedge broker-to-maker orders for the Taker.","type":"string","format":"uuid"},"brokerEntityId":{"description":"Broker Entity included in the Credit Group. Click the field to add a Broker Entity to a Credit Group. If included, the Credit Group includes warehoused positions when calculating DSL and NOP exposure.\n\nNotes:\n - Positions are netted against each other, so if a broker-to-maker order\u0027s Maker and Taker are configured for the same limit, they net each other out (excluding spread).\n - To avoid generating unintended risk, limits can include hedge broker-to-maker orders (optionally restricted by Maker Entity or Taker Entity), or all warehoused broker-to-maker orders, but not both.","type":"string","format":"uuid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["id","name","enableNopLimit","nopLimit","nopAlertPercentage","enableDslLimit","dslLimit","dslAlertPercentage","preventNetShortExposureOnNonFXSymbols","notificationList","takerEntityIds","makerEntityIds","coreSymbolFilter","symbolGroupFilter"]}}}},"delete":{"operationId":"DELETE-settings-credit-group-id","summary":"credit-group - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Credit Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the credit-group","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/gap-level-mapping":{"get":{"operationId":"GET-settings-gap-level-mapping","summary":"gap-level-mapping - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}}},"post":{"operationId":"POST-settings-gap-level-mapping","summary":"gap-level-mapping - Create a new Resource","description":"Create a new gap-level-mapping settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}}},"/settings/gap-level-mapping/profiles":{"get":{"operationId":"GET-settings-gap-level-mapping-profiles","summary":"gap-level-mapping/profiles - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}},"required":["id","name","settings"]}}}}},"post":{"operationId":"POST-settings-gap-level-mapping-profiles","summary":"gap-level-mapping/profiles - Create a new Resource","description":"Create a new gap-level-mapping/profiles settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}},"required":["id","name","settings"]}}}}},"/settings/gap-level-mapping/profiles/{id}":{"get":{"operationId":"GET-settings-gap-level-mapping-profiles-id","summary":"gap-level-mapping/profiles - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}},"required":["id","name","settings"]}}}},"patch":{"operationId":"PATCH-settings-gap-level-mapping-profiles-id","summary":"gap-level-mapping/profiles - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}},"required":["id","name","settings"]}}}},"put":{"operationId":"PUT-settings-gap-level-mapping-profiles-id","summary":"gap-level-mapping/profiles - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Gap Level Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Gap Level Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed using the default values for a Gap Level Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}},"required":["id","name","settings"]}}}},"delete":{"operationId":"DELETE-settings-gap-level-mapping-profiles-id","summary":"gap-level-mapping/profiles - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/gap-level-mapping/profiles/{profileId}/settings":{"get":{"operationId":"GET-settings-gap-level-mapping-profiles-profileId-settings","summary":"gap-level-mapping/profiles/{profileId}/settings - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}}},"post":{"operationId":"POST-settings-gap-level-mapping-profiles-profileId-settings","summary":"gap-level-mapping/profiles/{profileId}/settings - Create a new Resource","description":"Create a new gap-level-mapping/profiles/{profileId}/settings settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}}},"/settings/gap-level-mapping/profiles/{profileId}/settings/{id}":{"get":{"operationId":"GET-settings-gap-level-mapping-profiles-profileId-settings-id","summary":"gap-level-mapping/profiles/{profileId}/settings - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"patch":{"operationId":"PATCH-settings-gap-level-mapping-profiles-profileId-settings-id","summary":"gap-level-mapping/profiles/{profileId}/settings - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"put":{"operationId":"PUT-settings-gap-level-mapping-profiles-profileId-settings-id","summary":"gap-level-mapping/profiles/{profileId}/settings - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"delete":{"operationId":"DELETE-settings-gap-level-mapping-profiles-profileId-settings-id","summary":"gap-level-mapping/profiles/{profileId}/settings - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mapping Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the gap-level-mapping/profiles/{profileId}/settings","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/gap-level-mapping/{id}":{"get":{"operationId":"GET-settings-gap-level-mapping-id","summary":"gap-level-mapping - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"patch":{"operationId":"PATCH-settings-gap-level-mapping-id","summary":"gap-level-mapping - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"put":{"operationId":"PUT-settings-gap-level-mapping-id","summary":"gap-level-mapping - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"default":"*","type":"string","format":"filter-string"},"takerGroup":{"default":"*","type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["gapLevelProfileName","symbolGroupFilter"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","gapLevelProfileName":"string value","coreSymbolStreamType":"MARKET_DATA","takerId":"*","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerLogin":"*","takerGroup":"*","takerStatus":"*","takerColor":null,"coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"gapLevelProfileName":{"type":"string"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"takerId":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerLogin":{"type":"string","format":"filter-string"},"takerGroup":{"type":"string","format":"filter-string"},"takerStatus":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"}},"required":["id","gapLevelProfileName","coreSymbolStreamType","takerId","takerEntityIds","takerLogin","takerGroup","takerStatus","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction"]}}}},"delete":{"operationId":"DELETE-settings-gap-level-mapping-id","summary":"gap-level-mapping - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-mapping","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/gap-level-profile":{"get":{"operationId":"GET-settings-gap-level-profile","summary":"gap-level-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}}},"post":{"operationId":"POST-settings-gap-level-profile","summary":"gap-level-profile - Create a new Resource","description":"Create a new gap-level-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","default":"TRADABLE_RATE","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["profileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}}},"/settings/gap-level-profile/{id}":{"get":{"operationId":"GET-settings-gap-level-profile-id","summary":"gap-level-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}},"patch":{"operationId":"PATCH-settings-gap-level-profile-id","summary":"gap-level-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","default":"TRADABLE_RATE","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}},"put":{"operationId":"PUT-settings-gap-level-profile-id","summary":"gap-level-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","default":0,"type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","default":"MARKET_PRICE","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","default":"TRADABLE_RATE","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["profileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","positiveGapLevelInPointsBid":0,"negativeGapLevelInPointsBid":0,"positiveGapLevelInPointsAsk":0,"negativeGapLevelInPointsAsk":0,"executedPriceTypeIfWithinGap":"MARKET_PRICE","executedPriceTypeIfOutsideGap":"MARKET_PRICE","rfqGapLevelPriceType":"TRADABLE_RATE"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"positiveGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsBid":{"description":"This value will be used when an order matches a bid quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"positiveGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is positive.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"negativeGapLevelInPointsAsk":{"description":"This value will be used when an order matches an ask quote and the difference between the requested and market price of an order is negative.\nIf the difference in points between the requested price and market price is less than or equal to this value, the order is priced according to the \"Executed Price Type if Requested Price Within Gap\" setting.\n\nIf the difference in points is greater than this value, the \"Executed Price Type If Requested Price Outside Gap\" setting is used.\n\nNote : Applies only to warehoused and sync hedged orders.","type":"integer","format":"int32"},"executedPriceTypeIfWithinGap":{"description":"Determines what price is used for a warehouse order if the difference between the requested price and the market price is less than the Gap Level In Points.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls inside of the slippage range. PQ orders inside the range will always be executed at the PQ rate.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REQUESTED_PRICE","BETTER_OF_MARKET_OR_REQUESTED"]},"executedPriceTypeIfOutsideGap":{"description":"When the difference between the requested price and the market price is greater than the Gap Level in Points, this setting will determine the order execution.\n\nThis setting is ignored for Previously Quoted (PQ) orders where the price falls outside of the slippage range. PQ orders outside the range will always get rejected.\n\nNote : Applies only to warehoused market data orders.","type":"string","enum":["MARKET_PRICE","REJECT"]},"rfqGapLevelPriceType":{"description":"For RFQ orders (single or multiple legs), determines which price component is validated for gap level slippage checks.\nNot applicable to market data orders.\n\nMultiple mapping rules can match the same incoming trade if they have different RFQ Gap Level Price Types. Each configured price type is checked independently, and the trade is rejected if any of the checks fail.\n\nOptions:\n - Spot: checks slippage of the spot component.\n - Forward Points: checks slippage of forward points on each non-spot leg.\n - Tradable Rate: checks slippage of the tradable rate derived from quote forward points.","type":"string","enum":["SPOT","FWD_POINTS","TRADABLE_RATE"]}},"required":["id","profileName","positiveGapLevelInPointsBid","negativeGapLevelInPointsBid","positiveGapLevelInPointsAsk","negativeGapLevelInPointsAsk","executedPriceTypeIfWithinGap","executedPriceTypeIfOutsideGap","rfqGapLevelPriceType"]}}}},"delete":{"operationId":"DELETE-settings-gap-level-profile-id","summary":"gap-level-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing - Gap Level Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the gap-level-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/index-instrument-definitions":{"get":{"operationId":"GET-settings-index-instrument-definitions","summary":"index-instrument-definitions - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Index Instrument Definition"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","type":"string","format":"decimal128"}},"required":["name","weight"]}}},"required":["id","name","priceOffset","instrumentComposition"]}}}}},"post":{"operationId":"POST-settings-index-instrument-definitions","summary":"index-instrument-definitions - Create a new Resource","description":"Create a new index-instrument-definitions settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Index Instrument Definition"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","default":"0","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","default":"0","type":"string","format":"decimal128"}},"required":["name"]}}},"required":["name","instrumentComposition"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","type":"string","format":"decimal128"}},"required":["name","weight"]}}},"required":["id","name","priceOffset","instrumentComposition"]}}}}},"/settings/index-instrument-definitions/{id}":{"get":{"operationId":"GET-settings-index-instrument-definitions-id","summary":"index-instrument-definitions - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Index Instrument Definition"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the index-instrument-definitions","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","type":"string","format":"decimal128"}},"required":["name","weight"]}}},"required":["id","name","priceOffset","instrumentComposition"]}}}},"patch":{"operationId":"PATCH-settings-index-instrument-definitions-id","summary":"index-instrument-definitions - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Index Instrument Definition"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the index-instrument-definitions","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","default":"0","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","default":"0","type":"string","format":"decimal128"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","type":"string","format":"decimal128"}},"required":["name","weight"]}}},"required":["id","name","priceOffset","instrumentComposition"]}}}},"put":{"operationId":"PUT-settings-index-instrument-definitions-id","summary":"index-instrument-definitions - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Index Instrument Definition"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the index-instrument-definitions","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","default":"0","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","default":"0","type":"string","format":"decimal128"}},"required":["name"]}}},"required":["name","instrumentComposition"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","priceOffset":"0","instrumentComposition":[{"name":"string value","weight":"0"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"priceOffset":{"description":"This is an additive value for the resulting price of an index instrument. Price is calculated with:\n\nPrice(Index) = Sum Over All Component Instruments( Weight(Component Instrument) * Price(Component Instrument) ) + Price Offset","type":"string","format":"decimal128"},"instrumentComposition":{"description":"Allows for changing the instruments that make up this index.","type":"array","items":{"type":"object","properties":{"name":{"description":"Names of Instruments that make up this instrument index","type":"string"},"weight":{"description":"Instrument weight needs to be a positive value that is less than or equal to 10,000.","type":"string","format":"decimal128"}},"required":["name","weight"]}}},"required":["id","name","priceOffset","instrumentComposition"]}}}},"delete":{"operationId":"DELETE-settings-index-instrument-definitions-id","summary":"index-instrument-definitions - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Index Instrument Definition"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the index-instrument-definitions","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/maker-pools":{"get":{"operationId":"GET-settings-maker-pools","summary":"maker-pools - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.12|makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids.|\n|1.13|MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Maker Pools"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["entityId","makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["id","name","additionalHedgeSymbolsEnabled","additionalHedgeSymbolsFilter","additionalHedgeSymbolsGroupPathFilter","includeIndicativeQuotes","type","aggregationPriority","liquidityTypeFilter","allowTakersToReceiveAxeStreams","includeAxeStreams","makerIds"]}}}}},"post":{"operationId":"POST-settings-maker-pools","summary":"maker-pools - Create a new Resource","description":"Create a new maker-pools settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.12|makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids.|\n|1.13|MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Pools"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":false,"type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":"*","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","default":false,"type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","default":"FAILOVER","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","default":"MAKER_PRIORITY","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","default":"ANY","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","default":false,"type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","default":false,"type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["name","additionalHedgeSymbolsGroupPathFilter","makerIds"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["entityId","makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["id","name","additionalHedgeSymbolsEnabled","additionalHedgeSymbolsFilter","additionalHedgeSymbolsGroupPathFilter","includeIndicativeQuotes","type","aggregationPriority","liquidityTypeFilter","allowTakersToReceiveAxeStreams","includeAxeStreams","makerIds"]}}}}},"/settings/maker-pools/{id}":{"get":{"operationId":"GET-settings-maker-pools-id","summary":"maker-pools - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.12|makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids.|\n|1.13|MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Maker Pools"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-pools","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["entityId","makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["id","name","additionalHedgeSymbolsEnabled","additionalHedgeSymbolsFilter","additionalHedgeSymbolsGroupPathFilter","includeIndicativeQuotes","type","aggregationPriority","liquidityTypeFilter","allowTakersToReceiveAxeStreams","includeAxeStreams","makerIds"]}}}},"patch":{"operationId":"PATCH-settings-maker-pools-id","summary":"maker-pools - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.12|makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids.|\n|1.13|MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Pools"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-pools","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":false,"type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":"*","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":"*","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","default":false,"type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","default":"FAILOVER","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","default":"MAKER_PRIORITY","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","default":"ANY","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","default":false,"type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","default":false,"type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}}}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["entityId","makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["id","name","additionalHedgeSymbolsEnabled","additionalHedgeSymbolsFilter","additionalHedgeSymbolsGroupPathFilter","includeIndicativeQuotes","type","aggregationPriority","liquidityTypeFilter","allowTakersToReceiveAxeStreams","includeAxeStreams","makerIds"]}}}},"put":{"operationId":"PUT-settings-maker-pools-id","summary":"maker-pools - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.12|makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids.|\n|1.13|MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Pools"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-pools","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":false,"type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","default":"*","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","default":false,"type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","default":"FAILOVER","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","default":"MAKER_PRIORITY","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","default":"ANY","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","default":false,"type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","default":false,"type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["name","additionalHedgeSymbolsGroupPathFilter","makerIds"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","additionalHedgeSymbolsEnabled":false,"additionalHedgeSymbolsFilter":"*","additionalHedgeSymbolsGroupPathFilter":"*","includeIndicativeQuotes":false,"type":"FAILOVER","aggregationPriority":"MAKER_PRIORITY","liquidityTypeFilter":"ANY","allowTakersToReceiveAxeStreams":false,"includeAxeStreams":false,"makerIds":[{"entityId":"00000000-0000-0000-0000-000000000000","makerId":"string value"}],"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":null},"type":"object","properties":{"id":{"description":"Unique Maker Pool ID","type":"string","format":"guid"},"name":{"type":"string"},"additionalHedgeSymbolsEnabled":{"description":"Defines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"boolean"},"additionalHedgeSymbolsFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string","format":"filter-string"},"additionalHedgeSymbolsGroupPathFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)\n\nDefines an additional set of symbols to add to this maker pool if enabled.\n\nThe symbols used for a maker pool are implicitly defined by the combination of Settings Rules, Taker Streams, and Core Symbols. When enabled, the associated \u0027Additional Hedge Symbols Filter\u0027 adds an additional set of symbols, not covered by that combination, for which this maker pool should subscribe and build an aggregated book. This allows for additional hedging and risk management options that are independent of taker stream usage.","type":"string"},"includeIndicativeQuotes":{"description":"If set, enabled then the maker pool aggregated book will include non-indicative and indicative quotes; otherwise, it will contain only non-indicative quotes.\n\nThe takers subscribed to this maker pool (via the consuming taker stream) should have their \u0027Send Indicative Quotes\u0027 settings configured to match this value.","type":"boolean"},"type":{"description":"Determines how quotes from multiple makers are fed to takers.\n\n - Exchange: Single feed from a list of (1..n) makers, ranked in order of precedence. The first maker that is connected always determines the price feed.\n - Failover: Single feed with failover to a list of (1..n) makers, ranked in order of precedence. Failover is initiated on disconnect, when no volume is available, or when QuoteTimeoutThreshold is reached. Feed will revert to higher ranking makers in precedence list when they reconnect or a new quote is received.\n - Simple Aggregation: Blended feed from pool of (1...n) makers. Orders are routed to maker at TOB only. Sweeping is allowed at TOB maker only.\n - Advanced Aggregation: Blended feed from pool of (1..n) makers. Orders sweep at multiple makers.\n - Ticket: A single maker feed that will keep MT4 OrderIds synchronized with Maker Stream Order IDs, for Makers that support it. When an MT4 Close Order occurs, the Maker will be provided with the original Maker Stream Order ID for the specified MT4 Order. Makers that support this have an additional setting, EnableTicketMatching, which must also be enabled for this feature to function as expected.","type":"string","enum":["EXCHANGE","FAILOVER","SIMPLE_AGGREGATION","ADV_AGGREGATION","TICKET"]},"aggregationPriority":{"description":"[Note: Must be set to \u0027Maker Priority\u0027 for \u0027Failover\u0027, \u0027Ticket\u0027 or \u0027Exchange\u0027 Taker Stream Types]\n\nDetermines how to prioritize quotes in an Aggregation setup when multiple Makers have the same quoted price.\n\n - Maker Priority: Quote priority is based on the order of Maker Stream IDs in the Maker Entities section of this Maker Pool.\n - Quote Age: Quote priority is given to the most recent quote.\n - Quote Volume: Quote priority is given to the quote with the most volume.","type":"string","enum":["MAKER_PRIORITY","QUOTE_AGE","QUOTE_VOLUME_HIGH_TO_LOW","QUOTE_VOLUME_LOW_TO_HIGH"]},"liquidityTypeFilter":{"description":"Restrict the range of liquidity stream types this Maker Pool will accept.\n\nIf \u0027Any\u0027, any mix of liquidity stream types is accepted.\nOtherwise, only the selected liquidity type is accepted.\n\n  * Sweepable: designates sweepable, order - based \"volume for price\" liquidity. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Sweepable, Single Use: designates sweepable, order-based \"volume for price\" liquidity, where the quote\u0027s entire volume is depleted regardless of whether the execution made against it calls for all or some of the quote\u0027s volume. These quotes may participate in a sweeping of the maker\u0027s book, potentially generating multiple executions to the same maker per order.\n\n  * Non-Sweepable : designates non-sweepable, quote-based \"price for volume\" liquidity.These quotes may NOT participate in a sweeping of the maker\u0027s book; each quote must be evaluated individually for suitability using \"fill or kill\" semantics. At most one execution will be sent to the corresponding maker per order.\n\n  * Full-Volume Order Routing : designates liquidity in which, instead of the Hub sweeping the book and generating multiple executions, the external maker is given responsibility for any VWAPing of the order across multiple executions if that is required to fill the requested volume. When walking the book, as soon as such a quote is encountered that has non-zero volume, the full amount of remaining order volume will be sent in a single execution to that quote\u0027s maker. This means that quotes using this setting will participate in Hub-side book sweeping only as the final execution.\n\n  * Full Amount: designates liquidity in which a trade will only be attempt if the quote has enough volume to fill the entire requested volume of the order. When walking the book, as soon as such a quote is encountered, a single order is sent to the maker meaning an order will not be broken up and sent to multiple makers.\n\n  * Demo: designates liquidity that is non - tradable. These quotes do NOT participate in trade execution.\n\n  * Axe, Sweepable: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n\n  * Axe, Full Amount: designates liquidity that is proprietary to the broker entity. These quotes are for internal use only and are not streamed to taker entities. These quotes are only available for trading by the broker entity via Risk Management, Asynchronous Hedge, or Systematic Hedge systems.\n","type":"string","enum":["ANY","SWEEPABLE","SWEEPABLE_SINGLE_USE","NON_SWEEPABLE","FULL_VOLUME_ORDER_ROUTING","FULL_AMOUNT","DEMO","AXE_SWEEPABLE","AXE_FULLAMOUNT"]},"allowTakersToReceiveAxeStreams":{"description":"Allow Axe streams to be forwarded to Takers.","type":"boolean"},"includeAxeStreams":{"description":"Allow Makers to feed Axe streams into this Maker Pool.","type":"boolean"},"makerIds":{"description":"The prioritized list of Maker Entities and Stream IDs for this Maker Pool.","type":"array","items":{"type":"object","properties":{"entityId":{"type":"string","format":"uuid"},"makerId":{"type":"string"}},"required":["entityId","makerId"]}},"exchangeModeMaxEmptyBookDurationBeforeTreatAsDisconnected":{"description":"[NOTE: If empty, this settings has no effect]\nIf the maker pool is using type \u0027Exchange\u0027, then treat an LP as disconnected if its book contains no bids and no asks for this amount of time","default":null,"type":"string","format":"duration"}},"required":["id","name","additionalHedgeSymbolsEnabled","additionalHedgeSymbolsFilter","additionalHedgeSymbolsGroupPathFilter","includeIndicativeQuotes","type","aggregationPriority","liquidityTypeFilter","allowTakersToReceiveAxeStreams","includeAxeStreams","makerIds"]}}}},"delete":{"operationId":"DELETE-settings-maker-pools-id","summary":"maker-pools - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.12|makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids.|\n|1.13|MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Pools"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-pools","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/maker-stream-rules":{"get":{"operationId":"GET-settings-maker-stream-rules","summary":"maker-stream-rules - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Maker Stream Rules"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"bidSpreadPoints":{"type":"integer","format":"int32"},"askSpreadPoints":{"type":"integer","format":"int32"}},"required":["provider","bidSpreadPoints","askSpreadPoints"]}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}},"required":["provider"]}}},"required":["id","makerStreamId","coreSymbol","symbolGroupPath","makerSymbol","sessionProfileName","disableQuotesWithIncorrectForwardPricing","fixingDateHandling","settlementDateHandling","makerSpreadRules","makerQuoteRules"]}}}}},"post":{"operationId":"POST-settings-maker-stream-rules","summary":"maker-stream-rules - Create a new Resource","description":"Create a new maker-stream-rules settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Stream Rules"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"makerStreamId":{"default":"*","type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","default":true,"type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","default":"VALIDATE_AND_DISABLE_ON_MISMATCH","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","default":"VALIDATE_AND_DISABLE_ON_MISMATCH","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","default":"*","type":"string","format":"filter-string"},"bidSpreadPoints":{"default":0,"type":"integer","format":"int32"},"askSpreadPoints":{"default":0,"type":"integer","format":"int32"}}}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","default":"*","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}}}}},"required":["symbolGroupPath"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"bidSpreadPoints":{"type":"integer","format":"int32"},"askSpreadPoints":{"type":"integer","format":"int32"}},"required":["provider","bidSpreadPoints","askSpreadPoints"]}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}},"required":["provider"]}}},"required":["id","makerStreamId","coreSymbol","symbolGroupPath","makerSymbol","sessionProfileName","disableQuotesWithIncorrectForwardPricing","fixingDateHandling","settlementDateHandling","makerSpreadRules","makerQuoteRules"]}}}}},"/settings/maker-stream-rules/{id}":{"get":{"operationId":"GET-settings-maker-stream-rules-id","summary":"maker-stream-rules - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Maker Stream Rules"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-stream-rules","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"bidSpreadPoints":{"type":"integer","format":"int32"},"askSpreadPoints":{"type":"integer","format":"int32"}},"required":["provider","bidSpreadPoints","askSpreadPoints"]}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}},"required":["provider"]}}},"required":["id","makerStreamId","coreSymbol","symbolGroupPath","makerSymbol","sessionProfileName","disableQuotesWithIncorrectForwardPricing","fixingDateHandling","settlementDateHandling","makerSpreadRules","makerQuoteRules"]}}}},"patch":{"operationId":"PATCH-settings-maker-stream-rules-id","summary":"maker-stream-rules - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Stream Rules"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-stream-rules","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"default":"*","type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","default":true,"type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","default":"VALIDATE_AND_DISABLE_ON_MISMATCH","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","default":"VALIDATE_AND_DISABLE_ON_MISMATCH","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","default":"*","type":"string","format":"filter-string"},"bidSpreadPoints":{"default":0,"type":"integer","format":"int32"},"askSpreadPoints":{"default":0,"type":"integer","format":"int32"}}}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","default":"*","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"bidSpreadPoints":{"type":"integer","format":"int32"},"askSpreadPoints":{"type":"integer","format":"int32"}},"required":["provider","bidSpreadPoints","askSpreadPoints"]}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}},"required":["provider"]}}},"required":["id","makerStreamId","coreSymbol","symbolGroupPath","makerSymbol","sessionProfileName","disableQuotesWithIncorrectForwardPricing","fixingDateHandling","settlementDateHandling","makerSpreadRules","makerQuoteRules"]}}}},"put":{"operationId":"PUT-settings-maker-stream-rules-id","summary":"maker-stream-rules - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Stream Rules"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-stream-rules","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"default":"*","type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","default":true,"type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","default":"VALIDATE_AND_DISABLE_ON_MISMATCH","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","default":"VALIDATE_AND_DISABLE_ON_MISMATCH","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","default":"*","type":"string","format":"filter-string"},"bidSpreadPoints":{"default":0,"type":"integer","format":"int32"},"askSpreadPoints":{"default":0,"type":"integer","format":"int32"}}}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","default":"*","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}}}}},"required":["symbolGroupPath"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","makerStreamId":"*","coreSymbol":"*","symbolGroupPath":"*","makerSymbol":"regex[\u003cexpr\u003e], \u003cvalue\u003e, or empty; * is not allowed","sessionProfileName":"string value","disableQuotesWithIncorrectForwardPricing":true,"fixingDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","settlementDateHandling":"VALIDATE_AND_DISABLE_ON_MISMATCH","makerSpreadRules":[{"provider":"*","bidSpreadPoints":0,"askSpreadPoints":0}],"makerQuoteRules":[{"provider":"*","tradeVolumeStepSize":"156.789","tradeVolumeMinQuantity":"156.789"}]},"type":"object","properties":{"id":{"description":"Unique Maker Stream Rule ID","type":"string","format":"guid"},"makerStreamId":{"type":"string","format":"filter-string"},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"makerSymbol":{"description":"\u003cpre class=\u0027oz-fixedWidth\u0027\u003e[Note: if this field is left empty, the MakerSymbol will be the same as the CoreSymbol] \n\nThe symbol or regex replacement filter that should be used to map a Core Symbol to a Maker Symbol. This may be a direct replacement string, or regex[\u003cexpr\u003e] may be used to replace symbol using regular expression.\n\nIf it\u0027s a regex replacement filter it may refer to the entire match of the Core Symbol filter using $\u0026, and any parenthesized sub-expressions that matched by their number ($1, $2, etc).\n\nThis allows you to do things like this (all examples use EUR/USD as the core symbol being mapped):\n\nCoreSymbol field          MakerSymbol field     Resulting Maker Symbol\n*                                               EUR/USD \n*                         regex[#$\u0026]            #EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]                        EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[!$\u0026]            !EUR/USD \nregex[(\\w\\w\\w)/(\\w\\w\\w)]  regex[$1_$2]          EUR_USD \n*                         regex[@@$\u0026]           @@EUR/USD \n\nIf you enable Debug logging in the Hub, the mapping process will output detailed information about how rules are being matched against symbols, and also information about all the sub-expressions that can be referred to in the MakerSymbol field regex.\u003c/pre\u003e","type":"string","format":"filter-string-replacement"},"sessionProfileName":{"description":"The session that is associated with this Maker Stream Rule.","type":"string"},"disableQuotesWithIncorrectForwardPricing":{"description":"If this is true, quotes for a forward symbol will be disabled when they do not have at least two of the following:\n\n* all - in price,\n* spot rate,\n* forward price delta\n\nIf all three are present, all-in price must be equal to spot rate + forward price delta.","type":"boolean"},"fixingDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s fixing date does not match the Hub\u0027s expected fixing date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s fixing date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s fixing date and overwrites it with the Hub\u0027s calculated fixing date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"settlementDateHandling":{"description":"Controls how the Hub handles the Maker\u0027s fixing date on quotes.\n\nValidate and Disable on Mismatch: Disables the quote if the LP\u0027s settlement date does not match the Hub\u0027s expected settlement date. This is the default.\n\nUse Maker/LP Date: Always uses the LP\u0027s settlement date. A warning is logged if dates differ.\n\nUse Hub Date: Ignores the LP\u0027s settlement date and overwrites it with the Hub\u0027s calculated settlement date. A warning is logged if dates differ.","type":"string","enum":["VALIDATE_AND_DISABLE_ON_MISMATCH","USE_MAKER_DATE","USE_HUB_DATE"]},"makerSpreadRules":{"description":"Rules that dictate how spread is determined for this maker symbol. The first rule that matches will be used to determine the spread.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This spread will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"bidSpreadPoints":{"type":"integer","format":"int32"},"askSpreadPoints":{"type":"integer","format":"int32"}},"required":["provider","bidSpreadPoints","askSpreadPoints"]}},"makerQuoteRules":{"description":"Rules that dictate how properties for quotes for this maker symbol are configured. The first rule that matches will be used to determine the quote properties.","type":"array","items":{"type":"object","properties":{"provider":{"description":"This quote rule will only apply to quotes with providers that pass this filter.","type":"string","format":"filter-string"},"tradeVolumeStepSize":{"description":"The volume step size to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"},"tradeVolumeMinQuantity":{"description":"The minimum allowed quantity to use for broker-to-maker orders on this symbol.","type":"string","format":"decimal128"}},"required":["provider"]}}},"required":["id","makerStreamId","coreSymbol","symbolGroupPath","makerSymbol","sessionProfileName","disableQuotesWithIncorrectForwardPricing","fixingDateHandling","settlementDateHandling","makerSpreadRules","makerQuoteRules"]}}}},"delete":{"operationId":"DELETE-settings-maker-stream-rules-id","summary":"maker-stream-rules - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Maker Stream Rules"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the maker-stream-rules","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-account-profile":{"get":{"operationId":"GET-settings-margin-account-profile","summary":"margin-account-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Account Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","type":"boolean"}},"required":["id","name","enableCashSweep","depositCurrency","reverseMakerPositions","removeTakerSpreadFromPositions"]}}}}},"post":{"operationId":"POST-settings-margin-account-profile","summary":"margin-account-profile - Create a new Resource","description":"Create a new margin-account-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Account Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","default":true,"type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","default":false,"type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","default":false,"type":"boolean"}},"required":["name","depositCurrency"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","type":"boolean"}},"required":["id","name","enableCashSweep","depositCurrency","reverseMakerPositions","removeTakerSpreadFromPositions"]}}}}},"/settings/margin-account-profile/{id}":{"get":{"operationId":"GET-settings-margin-account-profile-id","summary":"margin-account-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Account Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-account-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","type":"boolean"}},"required":["id","name","enableCashSweep","depositCurrency","reverseMakerPositions","removeTakerSpreadFromPositions"]}}}},"patch":{"operationId":"PATCH-settings-margin-account-profile-id","summary":"margin-account-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Account Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-account-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","default":true,"type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","default":"USD","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","default":false,"type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","default":false,"type":"boolean"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","type":"boolean"}},"required":["id","name","enableCashSweep","depositCurrency","reverseMakerPositions","removeTakerSpreadFromPositions"]}}}},"put":{"operationId":"PUT-settings-margin-account-profile-id","summary":"margin-account-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Account Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-account-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","default":true,"type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","default":false,"type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","default":false,"type":"boolean"}},"required":["name","depositCurrency"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","enableCashSweep":true,"depositCurrency":"USD","reverseMakerPositions":false,"removeTakerSpreadFromPositions":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"enableCashSweep":{"description":"Will the daily cash sweep be run on this account. If disabled, this account is allowed to accumulate balances in non-account currencies.","type":"boolean"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency, and the daily cash sweep will convert other currency balances into this currency.","type":"string"},"reverseMakerPositions":{"description":"Reverse positions in the account so they are tracked as they would be seen by the Maker. I.e. a BUY from a Taker is tracked as a SELL in the account, while a SELL from a Taker is tracked as a BUY.","type":"boolean"},"removeTakerSpreadFromPositions":{"description":"If enabled then positions in the account will be tracked without any Taker Spread applied. However Taker Spread will still be applied to prices sent out to the Taker.","type":"boolean"}},"required":["id","name","enableCashSweep","depositCurrency","reverseMakerPositions","removeTakerSpreadFromPositions"]}}}},"delete":{"operationId":"DELETE-settings-margin-account-profile-id","summary":"margin-account-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Account Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-account-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-benchmark-rate":{"get":{"operationId":"GET-settings-margin-benchmark-rate","summary":"margin-benchmark-rate - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n|1.20|margin-benchmark-rate added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Benchmark Rates"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}},"required":["currency","dayCountConvention","benchmarkRate"]}}}}},"post":{"operationId":"POST-settings-margin-benchmark-rate","summary":"margin-benchmark-rate - Create a new Resource","description":"Create a new margin-benchmark-rate settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n|1.20|margin-benchmark-rate added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Benchmark Rates"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","default":"360","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}},"required":["currency","dayCountConvention","benchmarkRate"]}}}}},"/settings/margin-benchmark-rate/{currency}":{"get":{"operationId":"GET-settings-margin-benchmark-rate-currency","summary":"margin-benchmark-rate - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n|1.20|margin-benchmark-rate added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Benchmark Rates"],"security":[{"Authorization":[]}],"parameters":[{"name":"currency","in":"path","description":"The currency of the margin-benchmark-rate","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}},"required":["currency","dayCountConvention","benchmarkRate"]}}}},"patch":{"operationId":"PATCH-settings-margin-benchmark-rate-currency","summary":"margin-benchmark-rate - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n|1.20|margin-benchmark-rate added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Benchmark Rates"],"security":[{"Authorization":[]}],"parameters":[{"name":"currency","in":"path","description":"The currency of the margin-benchmark-rate","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","default":"360","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}},"required":["currency","dayCountConvention","benchmarkRate"]}}}},"put":{"operationId":"PUT-settings-margin-benchmark-rate-currency","summary":"margin-benchmark-rate - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n|1.20|margin-benchmark-rate added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Benchmark Rates"],"security":[{"Authorization":[]}],"parameters":[{"name":"currency","in":"path","description":"The currency of the margin-benchmark-rate","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","default":"360","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"currency":"string value","dayCountConvention":"360","benchmarkRate":"156.789"},"type":"object","properties":{"currency":{"description":"Matches the CFDs denomination currency when determining the day count and benchmark rate for a CFD. ","type":"string"},"dayCountConvention":{"description":"Determines the Day Count to be used in the CFD Financing Charge calculation. For most currencies, this is 360 with the exception of GBP, SGD and ZAR denominated markets.","type":"string","enum":["360","365"]},"benchmarkRate":{"description":"Defines the benchmark rate used for the CFD Financing Charge. For proper calculation, this value should be configured as a percentage.","type":"string","format":"decimal128"}},"required":["currency","dayCountConvention","benchmarkRate"]}}}},"delete":{"operationId":"DELETE-settings-margin-benchmark-rate-currency","summary":"margin-benchmark-rate - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.20 | Initial Version |\n|1.20|margin-benchmark-rate added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Benchmark Rates"],"security":[{"Authorization":[]}],"parameters":[{"name":"currency","in":"path","description":"The currency of the margin-benchmark-rate","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-commission-profile":{"get":{"operationId":"GET-settings-margin-commission-profile","summary":"margin-commission-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Commission Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","type":"string","format":"decimal128"},"volumeAmount":{"type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["coreSymbol","symbolGroupPath","chargePerVolumeAmount","volumeAmount","mode","changeCurrency"]}}},"required":["id","name","items"]}}}}},"post":{"operationId":"POST-settings-margin-commission-profile","summary":"margin-commission-profile - Create a new Resource","description":"Create a new margin-commission-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Commission Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","default":"0","type":"string","format":"decimal128"},"volumeAmount":{"default":"0","type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","default":"PER_VOLUME_BASE","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["symbolGroupPath","changeCurrency"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","type":"string","format":"decimal128"},"volumeAmount":{"type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["coreSymbol","symbolGroupPath","chargePerVolumeAmount","volumeAmount","mode","changeCurrency"]}}},"required":["id","name","items"]}}}}},"/settings/margin-commission-profile/{id}":{"get":{"operationId":"GET-settings-margin-commission-profile-id","summary":"margin-commission-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Commission Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-commission-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","type":"string","format":"decimal128"},"volumeAmount":{"type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["coreSymbol","symbolGroupPath","chargePerVolumeAmount","volumeAmount","mode","changeCurrency"]}}},"required":["id","name","items"]}}}},"patch":{"operationId":"PATCH-settings-margin-commission-profile-id","summary":"margin-commission-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Commission Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-commission-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","default":"0","type":"string","format":"decimal128"},"volumeAmount":{"default":"0","type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","default":"PER_VOLUME_BASE","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","type":"string","format":"decimal128"},"volumeAmount":{"type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["coreSymbol","symbolGroupPath","chargePerVolumeAmount","volumeAmount","mode","changeCurrency"]}}},"required":["id","name","items"]}}}},"put":{"operationId":"PUT-settings-margin-commission-profile-id","summary":"margin-commission-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Commission Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-commission-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","default":"0","type":"string","format":"decimal128"},"volumeAmount":{"default":"0","type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","default":"PER_VOLUME_BASE","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["symbolGroupPath","changeCurrency"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","chargePerVolumeAmount":"0","volumeAmount":"0","mode":"PER_VOLUME_BASE","changeCurrency":"string value"}]},"type":"object","properties":{"id":{"description":"Unique Commission Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"chargePerVolumeAmount":{"description":"The amount charged per Commission Volume. For example if this value is 1 and Commission Volume is 100,000, a commission of $1 per 100,000 volume will be charged.\n\nTrades that are only a fraction of Commission Volume will be charged a fractional amount. So continuing the above example a trade with volume 250,000 will be charged $2.50.\n\nIf this value is a negative number, then the account will be credited the calculated commission instead of being charged.","type":"string","format":"decimal128"},"volumeAmount":{"type":"string","format":"decimal128"},"mode":{"description":"The mode that controls commission charge calculation.\n\n- Per Volume/Base: Commission is calculated purely on the trade volume and then directly charged to the account in the Charge Currency.\n\n- Per Volume/USD: The trade volume is converted from the symbols Base currency into USD, and then commission calculated on the converted volume. This is then directly charged to the account in the Charge Currency.","type":"string","enum":["PER_VOLUME_BASE","PER_VOLUME_USD"]},"changeCurrency":{"description":"The currency that the commission is charged in, usually this would be the deposit currency for the account. If the charge currency is not the deposit currency it will be converted over by the daily cash sweep.","type":"string"}},"required":["coreSymbol","symbolGroupPath","chargePerVolumeAmount","volumeAmount","mode","changeCurrency"]}}},"required":["id","name","items"]}}}},"delete":{"operationId":"DELETE-settings-margin-commission-profile-id","summary":"margin-commission-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Commission Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-commission-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-conversion-rate-profile":{"get":{"operationId":"GET-settings-margin-conversion-rate-profile","summary":"margin-conversion-rate-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Conversion Rate Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","markupPoints"]}}},"required":["id","name","items"]}}}}},"post":{"operationId":"POST-settings-margin-conversion-rate-profile","summary":"margin-conversion-rate-profile - Create a new Resource","description":"Create a new margin-conversion-rate-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Conversion Rate Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","default":"0","type":"string","format":"decimal128"}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","markupPoints"]}}},"required":["id","name","items"]}}}}},"/settings/margin-conversion-rate-profile/{id}":{"get":{"operationId":"GET-settings-margin-conversion-rate-profile-id","summary":"margin-conversion-rate-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Conversion Rate Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-conversion-rate-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","markupPoints"]}}},"required":["id","name","items"]}}}},"patch":{"operationId":"PATCH-settings-margin-conversion-rate-profile-id","summary":"margin-conversion-rate-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Conversion Rate Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-conversion-rate-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","default":"0","type":"string","format":"decimal128"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","markupPoints"]}}},"required":["id","name","items"]}}}},"put":{"operationId":"PUT-settings-margin-conversion-rate-profile-id","summary":"margin-conversion-rate-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Conversion Rate Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-conversion-rate-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","default":"0","type":"string","format":"decimal128"}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","markupPoints":"0"}]},"type":"object","properties":{"id":{"description":"Unique Conversion Rate Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"markupPoints":{"description":"Price markup in points to apply when the associated symbol is used as a cross currency pair for converting balances to the account currency. For example if the associated symbol is EUR/USD this markup will be applied when converting EUR to a USD account balance.\n\nThis markup will be applied when converting:\n- Settled P\u0026L\n- Commissions, when the commission currency is different to the account currency\n- Swap Charges, when swap mode is \u0027Ledger\u0027\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","markupPoints"]}}},"required":["id","name","items"]}}}},"delete":{"operationId":"DELETE-settings-margin-conversion-rate-profile-id","summary":"margin-conversion-rate-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Conversion Rate Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-conversion-rate-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-entity-account":{"get":{"operationId":"GET-settings-margin-entity-account","summary":"margin-entity-account - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Entity Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["makerEntityId","valuationMakerId"]}}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","closeonly","takers","makers"]}}}}},"post":{"operationId":"POST-settings-margin-entity-account","summary":"margin-entity-account - Create a new Resource","description":"Create a new margin-entity-account settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Entity Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","default":true,"type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","default":true,"type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","default":false,"type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["valuationMakerId"]}}},"required":["name","accountProfileName","riskProfileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["makerEntityId","valuationMakerId"]}}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","closeonly","takers","makers"]}}}}},"/settings/margin-entity-account/{id}":{"get":{"operationId":"GET-settings-margin-entity-account-id","summary":"margin-entity-account - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Entity Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-entity-account","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["makerEntityId","valuationMakerId"]}}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","closeonly","takers","makers"]}}}},"patch":{"operationId":"PATCH-settings-margin-entity-account-id","summary":"margin-entity-account - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Entity Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-entity-account","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","default":true,"type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","default":true,"type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","default":false,"type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["makerEntityId","valuationMakerId"]}}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","closeonly","takers","makers"]}}}},"put":{"operationId":"PUT-settings-margin-entity-account-id","summary":"margin-entity-account - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Entity Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-entity-account","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","default":true,"type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","default":true,"type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","default":false,"type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["valuationMakerId"]}}},"required":["name","accountProfileName","riskProfileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","closeonly":false,"takers":["00000000-0000-0000-0000-000000000000"],"makers":[{"makerEntityId":"00000000-0000-0000-0000-000000000000","valuationMakerId":"string value"}]},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"closeonly":{"description":"When enabled, a Margin Entity Account will only be able to reduce existing positions, ie:\n - if the Margin Entity Account is long on a symbol, they will only be able to execute sell orders on that symbol\n - if the Margin Entity Account is short on a symbol, they will only be able to execute buy orders on that symbol","type":"boolean"},"takers":{"description":"The Taker Entities that define the account. Orders that originate from any of these takers will belong to this account.","type":"array","items":{"type":"string","format":"uuid"}},"makers":{"description":"The Maker Entities that define the account. Executions that are sent to any of these makers will belong to this account.","type":"array","items":{"type":"object","properties":{"makerEntityId":{"type":"string","format":"uuid"},"valuationMakerId":{"description":"If checked, this maker will be used to compute P\u0026L positions for the entity. This maker will also be used for auto liquidation trades.","type":"string"}},"required":["makerEntityId","valuationMakerId"]}}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","closeonly","takers","makers"]}}}},"delete":{"operationId":"DELETE-settings-margin-entity-account-id","summary":"margin-entity-account - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.13 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Entity Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-entity-account","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-profile":{"get":{"operationId":"GET-settings-margin-profile","summary":"margin-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Margin Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","items"]}}}}},"post":{"operationId":"POST-settings-margin-profile","summary":"margin-profile - Create a new Resource","description":"Create a new margin-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Margin Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","default":"SINGLE_TIER","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}}}}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","items"]}}}}},"/settings/margin-profile/{id}":{"get":{"operationId":"GET-settings-margin-profile-id","summary":"margin-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Margin Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","items"]}}}},"patch":{"operationId":"PATCH-settings-margin-profile-id","summary":"margin-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Margin Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","default":"SINGLE_TIER","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}}}}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","items"]}}}},"put":{"operationId":"PUT-settings-margin-profile-id","summary":"margin-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Margin Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","default":"SINGLE_TIER","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}}}}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","items"]}}}},"delete":{"operationId":"DELETE-settings-margin-profile-id","summary":"margin-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Margin Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-risk-profile":{"get":{"operationId":"GET-settings-margin-risk-profile","summary":"margin-risk-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Risk Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","type":"string"}},"required":["id","name","marginCallPct","autoLiquidationLevelPct","autoLiquidationTakerLogin","autoLiquidationTakerGroup"]}}}}},"post":{"operationId":"POST-settings-margin-risk-profile","summary":"margin-risk-profile - Create a new Resource","description":"Create a new margin-risk-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Risk Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","default":110.0,"type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","default":150.0,"type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","default":"","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","default":"AutoLiquidation","type":"string"}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","type":"string"}},"required":["id","name","marginCallPct","autoLiquidationLevelPct","autoLiquidationTakerLogin","autoLiquidationTakerGroup"]}}}}},"/settings/margin-risk-profile/{id}":{"get":{"operationId":"GET-settings-margin-risk-profile-id","summary":"margin-risk-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Risk Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-risk-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","type":"string"}},"required":["id","name","marginCallPct","autoLiquidationLevelPct","autoLiquidationTakerLogin","autoLiquidationTakerGroup"]}}}},"patch":{"operationId":"PATCH-settings-margin-risk-profile-id","summary":"margin-risk-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Risk Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-risk-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","default":110.0,"type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","default":150.0,"type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","default":"","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","default":"AutoLiquidation","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","type":"string"}},"required":["id","name","marginCallPct","autoLiquidationLevelPct","autoLiquidationTakerLogin","autoLiquidationTakerGroup"]}}}},"put":{"operationId":"PUT-settings-margin-risk-profile-id","summary":"margin-risk-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Risk Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-risk-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","default":110.0,"type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","default":150.0,"type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","default":"","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","default":"AutoLiquidation","type":"string"}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","marginCallPct":110.0,"autoLiquidationLevelPct":150.0,"autoLiquidationTakerLogin":"","autoLiquidationTakerGroup":"AutoLiquidation"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"marginCallPct":{"description":"When the margin utilization of the account exceeds this level a Margin Call risk event email will be sent.","type":"number","format":"double"},"autoLiquidationLevelPct":{"description":"If Auto Liquidation is enabled and the margin utilization of the account exceeds this level, the account will be liquidated by automatically placing appropriate closing trades.","type":"number","format":"double"},"autoLiquidationTakerLogin":{"description":"All Auto Liquidation trades will set their Taker Login field to this value.","type":"string"},"autoLiquidationTakerGroup":{"description":"All Auto Liquidation trades will set their Taker Group field to this value.","type":"string"}},"required":["id","name","marginCallPct","autoLiquidationLevelPct","autoLiquidationTakerLogin","autoLiquidationTakerGroup"]}}}},"delete":{"operationId":"DELETE-settings-margin-risk-profile-id","summary":"margin-risk-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Risk Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-risk-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-swaps-profile":{"get":{"operationId":"GET-settings-margin-swaps-profile","summary":"margin-swaps-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.19|mode and items moved into swapCharges section. Added cfdFinancingMarkupRates.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Swaps Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints"]}}},"required":["mode","items"]},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longMarkup","shortMarkup"]}}},"required":["id","name","useMultipleDayMarkup","swapCharges","cfdFinancingMarkupRates"]}}}}},"post":{"operationId":"POST-settings-margin-swaps-profile","summary":"margin-swaps-profile - Create a new Resource","description":"Create a new margin-swaps-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.19|mode and items moved into swapCharges section. Added cfdFinancingMarkupRates.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Swaps Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","default":true,"type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","default":"SWAP","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","default":"0","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","default":"0","type":"string","format":"decimal128"}},"required":["symbolGroupPath"]}}}},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","default":"0","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","default":"0","type":"string","format":"decimal128"}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints"]}}},"required":["mode","items"]},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longMarkup","shortMarkup"]}}},"required":["id","name","useMultipleDayMarkup","swapCharges","cfdFinancingMarkupRates"]}}}}},"/settings/margin-swaps-profile/{id}":{"get":{"operationId":"GET-settings-margin-swaps-profile-id","summary":"margin-swaps-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.19|mode and items moved into swapCharges section. Added cfdFinancingMarkupRates.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Swaps Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-swaps-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints"]}}},"required":["mode","items"]},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longMarkup","shortMarkup"]}}},"required":["id","name","useMultipleDayMarkup","swapCharges","cfdFinancingMarkupRates"]}}}},"patch":{"operationId":"PATCH-settings-margin-swaps-profile-id","summary":"margin-swaps-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.19|mode and items moved into swapCharges section. Added cfdFinancingMarkupRates.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Swaps Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-swaps-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","default":true,"type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","default":"SWAP","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","default":"0","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","default":"0","type":"string","format":"decimal128"}}}}}},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","default":"0","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","default":"0","type":"string","format":"decimal128"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints"]}}},"required":["mode","items"]},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longMarkup","shortMarkup"]}}},"required":["id","name","useMultipleDayMarkup","swapCharges","cfdFinancingMarkupRates"]}}}},"put":{"operationId":"PUT-settings-margin-swaps-profile-id","summary":"margin-swaps-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.19|mode and items moved into swapCharges section. Added cfdFinancingMarkupRates.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Swaps Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-swaps-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","default":true,"type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","default":"SWAP","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","default":"0","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","default":"0","type":"string","format":"decimal128"}},"required":["symbolGroupPath"]}}}},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","default":"0","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","default":"0","type":"string","format":"decimal128"}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","useMultipleDayMarkup":true,"swapCharges":{"mode":"SWAP","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0"}]},"cfdFinancingMarkupRates":[{"coreSymbol":"*","symbolGroupPath":"*","longMarkup":"0","shortMarkup":"0"}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"useMultipleDayMarkup":{"description":"When enabled long/short points for both Swap and Ledger Mode will automatically be multiplied by the number of days the value date is shifting for the roll. For example a 3-day swap will occur on Wednesdays due to the value date shifting over the weekend, so when UseMultipleDayMarkup is enabled the long/short points applied on Wednesdays will automatically be 3x their normal value.","type":"boolean"},"swapCharges":{"type":"object","properties":{"mode":{"description":"Mode changes how the swap credit/charge is generated when positions are rolled. The amount will always be equivalent to +/- position size * Long/Short point value, where the exact point value is determined by the precision of the symbol. Long Points are used if the position is long while Short Points are used if it is short.\n\nMode options\n- Swap: points are added/subtracted to the far leg price of the swap transaction which occurs at local market close time for the symbol, hence the charge is not realized until settlement. It will be converted to the account currency after settlement by the account Cash Sweep.\n\u003e\u003e Example: LONG 100,000 EUR/USD (Precision 5), Long Points = 3, Base Swap Price = 1.10145\n\u003e\u003e Near Leg will be rolled @ 1.10145, Far Leg will be rolled @ (1.10145 + 0.00003)\n\n- Ledger: credit/debit is calculated during roll and immediately converted from the term currency into the account currency and charged to the account ledger.\n\u003e\u003e Example: SHORT 100,000 USD/JPY (Precision 3), Short Points = -7, Account currency is EUR\n\u003e\u003e Amount = -0.007 * 100,000 = -700 JPY\n\u003e\u003e 700 JPY will be immediately converted to EUR and subtracted from the account ledger.\n","type":"string","enum":["SWAP","LEDGER"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"description":"Points applied to long positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"},"shortPoints":{"description":"Points applied to short positions when they are swapped. The sign of this value is interpreted based on the profile\u0027s Mode:\n - Swap: +/- determines if the points are added/subtracted to the far leg swap price.\n - Ledger: +/- determines if the points are a credit/charge, ie +points will credit the ledger and -points will debit/charge the ledger.\n","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints"]}}},"required":["mode","items"]},"cfdFinancingMarkupRates":{"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longMarkup":{"description":"The markup applied to the benchmark rate for a long position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"},"shortMarkup":{"description":"The markup applied to the benchmark rate for a short position. This percentage markup is applied to the benchmark rate during the end-of-day process. +/- determines if the percent markup is a credit or charge.","type":"string","format":"decimal128"}},"required":["coreSymbol","symbolGroupPath","longMarkup","shortMarkup"]}}},"required":["id","name","useMultipleDayMarkup","swapCharges","cfdFinancingMarkupRates"]}}}},"delete":{"operationId":"DELETE-settings-margin-swaps-profile-id","summary":"margin-swaps-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n|1.19|mode and items moved into swapCharges section. Added cfdFinancingMarkupRates.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Swaps Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-swaps-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/margin-taker-login-account":{"get":{"operationId":"GET-settings-margin-taker-login-account","summary":"margin-taker-login-account - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.03 | Initial Version |\n|1.06|Margin accounts changed over to use risk and account profile system.|\n|1.13|taker field now refers to the taker entity id rather than the taker connection id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Taker Login Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","taker","takerLogin"]}}}}},"post":{"operationId":"POST-settings-margin-taker-login-account","summary":"margin-taker-login-account - Create a new Resource","description":"Create a new margin-taker-login-account settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.03 | Initial Version |\n|1.06|Margin accounts changed over to use risk and account profile system.|\n|1.13|taker field now refers to the taker entity id rather than the taker connection id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Taker Login Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","default":true,"type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","default":true,"type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["name","accountProfileName","riskProfileName","takerLogin"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","taker","takerLogin"]}}}}},"/settings/margin-taker-login-account/{id}":{"get":{"operationId":"GET-settings-margin-taker-login-account-id","summary":"margin-taker-login-account - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.03 | Initial Version |\n|1.06|Margin accounts changed over to use risk and account profile system.|\n|1.13|taker field now refers to the taker entity id rather than the taker connection id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Margin Accounts - Taker Login Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-taker-login-account","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","taker","takerLogin"]}}}},"patch":{"operationId":"PATCH-settings-margin-taker-login-account-id","summary":"margin-taker-login-account - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.03 | Initial Version |\n|1.06|Margin accounts changed over to use risk and account profile system.|\n|1.13|taker field now refers to the taker entity id rather than the taker connection id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Taker Login Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-taker-login-account","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","default":true,"type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","default":true,"type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","taker","takerLogin"]}}}},"put":{"operationId":"PUT-settings-margin-taker-login-account-id","summary":"margin-taker-login-account - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.03 | Initial Version |\n|1.06|Margin accounts changed over to use risk and account profile system.|\n|1.13|taker field now refers to the taker entity id rather than the taker connection id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Taker Login Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-taker-login-account","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","default":true,"type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","default":true,"type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["name","accountProfileName","riskProfileName","takerLogin"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"name":"string value","comment":"string value","enableTrading":true,"autoLiquidationEnabled":true,"marginProfile":"string value","swapsProfile":"string value","commissionProfile":"string value","conversionRateProfile":"string value","notificationList":["string value"],"accountProfileName":"string value","riskProfileName":"string value","taker":"00000000-0000-0000-0000-000000000000","takerLogin":"string value"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"name":{"type":"string"},"comment":{"type":"string"},"enableTrading":{"description":"Is trading allowed for makers or takers that use this account. If disabled then:\n- Orders from any of the account\u0027s Takers will be rejected\n- Executions will never be sent to any of the account\u0027s Makers","type":"boolean"},"autoLiquidationEnabled":{"description":"Will the account be auto liquidated if margin utilization exceeds the Auto Liquidation Level. If disabled then Auto Liquidation Level is ignored.","type":"boolean"},"marginProfile":{"description":"The name of the Margin Profile that controls margin settings for this account.","type":"string"},"swapsProfile":{"description":"The name of the Swaps Profile that controls swap settings for this account.","type":"string"},"commissionProfile":{"description":"The name of the Commission Profile that controls trade commissions for this account.","type":"string"},"conversionRateProfile":{"description":"The name of the Conversion Rate Profile that controls conversion rate settings for this account.","type":"string"},"notificationList":{"description":"Per account notification list. Only basic account status messages will be sent to this list, it will not be sent internal error or Hub information.","type":"array","items":{"type":"string"}},"accountProfileName":{"description":"The name of the Account Profile that controls settings for this account.","type":"string"},"riskProfileName":{"description":"The name of the Risk Profile that controls settings for this account.","type":"string"},"taker":{"description":"The Taker Entity used by the account. Positions on the account will be priced and auto liquidated using this Taker Entity.","type":"string","format":"uuid"},"takerLogin":{"description":"The Taker Login that defines the account. Orders that originate from the account Taker using this Taker Login will belong to this account.\n\nNOTE: The value must be a specific Taker Login; regular expressions and * wildcards are NOT allowed.","type":"string"}},"required":["id","name","comment","enableTrading","autoLiquidationEnabled","marginProfile","swapsProfile","commissionProfile","conversionRateProfile","notificationList","accountProfileName","riskProfileName","taker","takerLogin"]}}}},"delete":{"operationId":"DELETE-settings-margin-taker-login-account-id","summary":"margin-taker-login-account - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.03 | Initial Version |\n|1.06|Margin accounts changed over to use risk and account profile system.|\n|1.13|taker field now refers to the taker entity id rather than the taker connection id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Margin Accounts - Taker Login Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the margin-taker-login-account","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/marginplus-account":{"get":{"operationId":"GET-settings-marginplus-account","summary":"marginplus-account - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account added|\n|1.25|userName changed to userEmail|\n|1.27|userId removed|\n|1.37|DELETE method removed|\n|1.39|userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","type":"integer","format":"int64"},"userEmail":{"description":"Email address of the user.","type":"string"},"userId":{"description":"The Identity Provider Id of the user that owns this account. Must be set when an account is first created, and after account creation is then immutable/read only.","type":"string"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["id","userEmail","userId","enabled","closeOnly","accountGroup","marginProfileOverride","externalLinkId"]}}}}},"post":{"operationId":"POST-settings-marginplus-account","summary":"marginplus-account - Create a new Resource","description":"Create a new marginplus-account settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account added|\n|1.25|userName changed to userEmail|\n|1.27|userId removed|\n|1.37|DELETE method removed|\n|1.39|userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"userEmail":{"description":"Email address of the user.","default":"","type":"string"},"userId":{"description":"The Identity Provider Id of the user that owns this account. Must be set when an account is first created, and after account creation is then immutable/read only.","type":"string"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","default":true,"type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","default":false,"type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["userId","accountGroup"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","type":"integer","format":"int64"},"userEmail":{"description":"Email address of the user.","type":"string"},"userId":{"description":"The Identity Provider Id of the user that owns this account. Must be set when an account is first created, and after account creation is then immutable/read only.","type":"string"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["id","userEmail","userId","enabled","closeOnly","accountGroup","marginProfileOverride","externalLinkId"]}}}}},"/settings/marginplus-account-group":{"get":{"operationId":"GET-settings-marginplus-account-group","summary":"marginplus-account-group - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account-group added|\n|1.26|Removed stopOutBehaviour|\n|1.32|marginCallPct and stopOutLevelPct converted from numeric to decimal type.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","type":"string","format":"decimal128"},"skipStopOutEvent":{"type":"boolean"},"enableCloseBy":{"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["id","name","depositCurrency","marginCallPct","stopOutLevelPct","skipStopOutEvent","enableCloseBy","restrictHedgedTickets","autoCloseOnFullyHedgedNegativeEquity","marginProfileName","swapsProfileName","commissionProfileName","spreadProfileName","symbolPermissionProfileName","maximumActiveTickets"]}}}}},"post":{"operationId":"POST-settings-marginplus-account-group","summary":"marginplus-account-group - Create a new Resource","description":"Create a new marginplus-account-group settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account-group added|\n|1.26|Removed stopOutBehaviour|\n|1.32|marginCallPct and stopOutLevelPct converted from numeric to decimal type.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","default":"90","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","default":"50","type":"string","format":"decimal128"},"skipStopOutEvent":{"default":false,"type":"boolean"},"enableCloseBy":{"default":false,"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","default":false,"type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","default":true,"type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","default":50,"type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["depositCurrency","marginProfileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","type":"string","format":"decimal128"},"skipStopOutEvent":{"type":"boolean"},"enableCloseBy":{"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["id","name","depositCurrency","marginCallPct","stopOutLevelPct","skipStopOutEvent","enableCloseBy","restrictHedgedTickets","autoCloseOnFullyHedgedNegativeEquity","marginProfileName","swapsProfileName","commissionProfileName","spreadProfileName","symbolPermissionProfileName","maximumActiveTickets"]}}}}},"/settings/marginplus-account-group/{id}":{"get":{"operationId":"GET-settings-marginplus-account-group-id","summary":"marginplus-account-group - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account-group added|\n|1.26|Removed stopOutBehaviour|\n|1.32|marginCallPct and stopOutLevelPct converted from numeric to decimal type.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account-group","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","type":"string","format":"decimal128"},"skipStopOutEvent":{"type":"boolean"},"enableCloseBy":{"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["id","name","depositCurrency","marginCallPct","stopOutLevelPct","skipStopOutEvent","enableCloseBy","restrictHedgedTickets","autoCloseOnFullyHedgedNegativeEquity","marginProfileName","swapsProfileName","commissionProfileName","spreadProfileName","symbolPermissionProfileName","maximumActiveTickets"]}}}},"patch":{"operationId":"PATCH-settings-marginplus-account-group-id","summary":"marginplus-account-group - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account-group added|\n|1.26|Removed stopOutBehaviour|\n|1.32|marginCallPct and stopOutLevelPct converted from numeric to decimal type.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account-group","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","default":"90","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","default":"50","type":"string","format":"decimal128"},"skipStopOutEvent":{"default":false,"type":"boolean"},"enableCloseBy":{"default":false,"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","default":false,"type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","default":true,"type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","default":50,"type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","type":"string","format":"decimal128"},"skipStopOutEvent":{"type":"boolean"},"enableCloseBy":{"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["id","name","depositCurrency","marginCallPct","stopOutLevelPct","skipStopOutEvent","enableCloseBy","restrictHedgedTickets","autoCloseOnFullyHedgedNegativeEquity","marginProfileName","swapsProfileName","commissionProfileName","spreadProfileName","symbolPermissionProfileName","maximumActiveTickets"]}}}},"put":{"operationId":"PUT-settings-marginplus-account-group-id","summary":"marginplus-account-group - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account-group added|\n|1.26|Removed stopOutBehaviour|\n|1.32|marginCallPct and stopOutLevelPct converted from numeric to decimal type.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account-group","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","default":"90","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","default":"50","type":"string","format":"decimal128"},"skipStopOutEvent":{"default":false,"type":"boolean"},"enableCloseBy":{"default":false,"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","default":false,"type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","default":true,"type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","default":50,"type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["depositCurrency","marginProfileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","depositCurrency":"string value","marginCallPct":"90","stopOutLevelPct":"50","skipStopOutEvent":false,"enableCloseBy":false,"restrictHedgedTickets":false,"autoCloseOnFullyHedgedNegativeEquity":true,"marginProfileName":"string value","swapsProfileName":"string value","commissionProfileName":"string value","spreadProfileName":"string value","symbolPermissionProfileName":"string value","maximumActiveTickets":50,"dailyCumulativeTradingLimit":"156.789","dailyCumulativeTradingLimitThresholdPct":"156.789"},"type":"object","properties":{"id":{"description":"Unique Account Group ID","type":"string","format":"guid"},"name":{"description":"Gives a name to the Account Group. This is referenced when selecting Users to add to an Account Group.","type":"string"},"depositCurrency":{"description":"The base currency of the account. All cash deposits and withdrawals will occur in this currency.","type":"string"},"marginCallPct":{"description":"When the margin utilization of the account falls below this level a Margin Call risk event email will be sent.","type":"string","format":"decimal128"},"stopOutLevelPct":{"description":"Sets the margin utilization level where a Stop Out event occurs.","type":"string","format":"decimal128"},"skipStopOutEvent":{"type":"boolean"},"enableCloseBy":{"type":"boolean"},"restrictHedgedTickets":{"description":"When Restrict Hedged Tickets is enabled, if an account holds an open ticket or a pending ticket (e.g. Limit / Stop Limit) in one direction for a specific symbol (long or short), they are unable to open another ticket in the opposite direction or place a pending ticket in the opposite direction on that same symbol.","type":"boolean"},"autoCloseOnFullyHedgedNegativeEquity":{"description":"Enables automatic CloseBy liquidation of all positions when an account is fully hedged, has zero margin requirement, and equity falls below zero.","type":"boolean"},"marginProfileName":{"description":"The Margin Profile that controls the margin requirements for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"swapsProfileName":{"description":"The Swaps Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"commissionProfileName":{"description":"The Commission Profile that controls the commission settings for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"spreadProfileName":{"description":"The Spread Profile that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"symbolPermissionProfileName":{"description":"The Symbol Permissions that will be used for the account group. All individual margin accounts in this group will use this profile.","type":"string"},"maximumActiveTickets":{"description":"Once the maximum active tickets have been reached, this account group will not be able to open any new tickets.","type":"integer","format":"uint64"},"dailyCumulativeTradingLimit":{"description":"The cumulative absolute value in account currency of OPEN tickets (valued at the time of opening) that can be OPENED on the day before the next Daily Cumulative Trading Limit Reset Time. Empty disables the limit. Must be greater than 0 when set.","type":"string","format":"decimal128"},"dailyCumulativeTradingLimitThresholdPct":{"description":"This is a percentage value of the Daily Cumulative Trading Limit where the broker would like to be alerted. Value represents a percentage, when set must be greater than 0% and not greater than 100%.","type":"string","format":"decimal128"}},"required":["id","name","depositCurrency","marginCallPct","stopOutLevelPct","skipStopOutEvent","enableCloseBy","restrictHedgedTickets","autoCloseOnFullyHedgedNegativeEquity","marginProfileName","swapsProfileName","commissionProfileName","spreadProfileName","symbolPermissionProfileName","maximumActiveTickets"]}}}},"delete":{"operationId":"DELETE-settings-marginplus-account-group-id","summary":"marginplus-account-group - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account-group added|\n|1.26|Removed stopOutBehaviour|\n|1.32|marginCallPct and stopOutLevelPct converted from numeric to decimal type.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account-group","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/marginplus-account/{id}":{"get":{"operationId":"GET-settings-marginplus-account-id","summary":"marginplus-account - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account added|\n|1.25|userName changed to userEmail|\n|1.27|userId removed|\n|1.37|DELETE method removed|\n|1.39|userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","type":"integer","format":"int64"},"userEmail":{"description":"Email address of the user.","type":"string"},"userId":{"description":"The Identity Provider Id of the user that owns this account. Must be set when an account is first created, and after account creation is then immutable/read only.","type":"string"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["id","userEmail","userId","enabled","closeOnly","accountGroup","marginProfileOverride","externalLinkId"]}}}},"patch":{"operationId":"PATCH-settings-marginplus-account-id","summary":"marginplus-account - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account added|\n|1.25|userName changed to userEmail|\n|1.27|userId removed|\n|1.37|DELETE method removed|\n|1.39|userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","default":-1,"type":"integer","format":"int64"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","default":true,"type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","default":false,"type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","type":"integer","format":"int64"},"userEmail":{"description":"Email address of the user.","type":"string"},"userId":{"description":"The Identity Provider Id of the user that owns this account. Must be set when an account is first created, and after account creation is then immutable/read only.","type":"string"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["id","userEmail","userId","enabled","closeOnly","accountGroup","marginProfileOverride","externalLinkId"]}}}},"put":{"operationId":"PUT-settings-marginplus-account-id","summary":"marginplus-account - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-account added|\n|1.25|userName changed to userEmail|\n|1.27|userId removed|\n|1.37|DELETE method removed|\n|1.39|userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-account","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","default":-1,"type":"integer","format":"int64"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","default":true,"type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","default":false,"type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["accountGroup"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"userEmail":"","userId":"","enabled":true,"closeOnly":false,"accountGroup":"string value","marginProfileOverride":"string value","externalLinkId":"string value"},"type":"object","properties":{"id":{"description":"Identifies the MarginPlus Account using an ID.","type":"integer","format":"int64"},"userEmail":{"description":"Email address of the user.","type":"string"},"userId":{"description":"The Identity Provider Id of the user that owns this account. Must be set when an account is first created, and after account creation is then immutable/read only.","type":"string"},"enabled":{"description":"Disables the account. This will still allow the user to login to view the account, but no orders or changes can be made to the account.\nPending Open and Open tickets behave as normal and can be activated. Stop Out will behave as normal.","type":"boolean"},"closeOnly":{"description":"If this option is enabled, the MarginPlus Account can only process close tickets. New opens will be rejected.","type":"boolean"},"accountGroup":{"description":"Sets the account group that will be used for the account.\n- A  users Account Group can be changed if the deposit currency of the original account group and new account group match. Otherwise an error will occur and the Account Group cannot be changed.","type":"string"},"marginProfileOverride":{"description":"When set, the Account will use the Margin Profile defined in the Margin Profile Override, otherwise it will use the default Margin Profile from the Margin Plus Group configuration.","type":"string"},"externalLinkId":{"description":"An optional external identifier used to link this MarginPlus Account to an account in an external CRM system.","type":"string"}},"required":["id","userEmail","userId","enabled","closeOnly","accountGroup","marginProfileOverride","externalLinkId"]}}}}},"/settings/marginplus-margin-profile":{"get":{"operationId":"GET-settings-marginplus-margin-profile","summary":"marginplus-margin-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-margin-profile added with marginCalculationMode field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","marginCalculationMode","items"]}}}}},"post":{"operationId":"POST-settings-marginplus-margin-profile","summary":"marginplus-margin-profile - Create a new Resource","description":"Create a new marginplus-margin-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-margin-profile added with marginCalculationMode field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"default":"MARGIN_NET_POSITION","type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","default":"SINGLE_TIER","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}}}}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","marginCalculationMode","items"]}}}}},"/settings/marginplus-margin-profile/{id}":{"get":{"operationId":"GET-settings-marginplus-margin-profile-id","summary":"marginplus-margin-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-margin-profile added with marginCalculationMode field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-margin-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","marginCalculationMode","items"]}}}},"patch":{"operationId":"PATCH-settings-marginplus-margin-profile-id","summary":"marginplus-margin-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-margin-profile added with marginCalculationMode field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-margin-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"default":"MARGIN_NET_POSITION","type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","default":"SINGLE_TIER","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}}}}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","marginCalculationMode","items"]}}}},"put":{"operationId":"PUT-settings-marginplus-margin-profile-id","summary":"marginplus-margin-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-margin-profile added with marginCalculationMode field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-margin-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"default":"MARGIN_NET_POSITION","type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","default":"SINGLE_TIER","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}}}}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","marginCalculationMode":"MARGIN_NET_POSITION","items":[{"coreSymbol":"*","symbolGroupPath":"*","marginPct":"156.789","marginType":"SINGLE_TIER","tiers":[{"fromValueRange":"156.789","toValueRange":"156.789","marginPct":"156.789"}]}]},"type":"object","properties":{"id":{"description":"Unique Margin Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the margin profile. Used when configuring the Account Group in the Margin Profile Name drop down.","type":"string"},"marginCalculationMode":{"type":"string","enum":["MARGIN_NET_POSITION","MARGIN_GROSS_POSITIONS"]},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"marginPct":{"description":"The margin requirement for the symbol expressed as a percent. For example 2.5% equates to 40:1 leverage\n\nIf \u0027Tiered Margin\u0027 feature is licensed and if Multi Tier configuration is used, this value is used as the overflow margin pct to calculate the margin requirement for the part of the margin account value exceeding the range of the last tier. See the Tiers tooltip for an example.","type":"string","format":"decimal128"},"marginType":{"description":"Configures how the Margin Requirement is calculated. Possible values are:\n\nSingle Tier : If selected then Margin Requirement will be calculated by applying the given top level Margin Pct to the Margin Account Calculated Value on given symbol and symbol group\n\nMulti Tier : If selected then Margin Requirement will be calculated using Value Range Configuration\n\n","type":"string","enum":["SINGLE_TIER","MULTI_TIER"]},"tiers":{"description":"Note: This is applicable to \"Multi Tier\" Margin Type only\n\nExample:\n\nFrom Value Range : \u003e0; To Value Range : 1,000,000; Margin Pct = 1\n\nFrom Value Range : \u003e1,000,000; To Value Range : 3,000,000; Margin Pct = 2\n\nFrom Value Range : \u003e3,000,000; To Value Range : 5,000,000; Margin Pct = 1\n\nIf Margin Account Calculated Value = 6,000,000, then given the Last Configured Value Range is configured for up to 5,000,000 only, the Hub will calculate Margin requirement for each Value Range up to 5,000,000 using the 3 Value Range Tiers. For the remaining 1,000,000 (i.e. 6,000,000-5,000,000) which is the overflow amount the Hub will calculate Margin Requirement for the overflow amount by applying the top level \"Margin Pct\" to 1,000,000\n","type":"array","items":{"type":"object","properties":{"fromValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nFrom Value Range sets the lower boundary for which the configured Margin Pct applies. The boundary is exclusive.\n","type":"string","format":"decimal128"},"toValueRange":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nTo Value Range sets the upper boundary for which the configured Margin Pct applies. The boundary is inclusive.\n","type":"string","format":"decimal128"},"marginPct":{"description":"Note: This is applicable when Margin Type is set to Multi Tier\n\nThe margin requirement for the given Value range for the given symbol expressed as a percent. For example 2.5% equates to 40:1 leverage.\n","type":"string","format":"decimal128"}},"required":["fromValueRange","toValueRange","marginPct"]}}},"required":["coreSymbol","symbolGroupPath","marginPct","marginType","tiers"]}}},"required":["id","name","marginCalculationMode","items"]}}}},"delete":{"operationId":"DELETE-settings-marginplus-margin-profile-id","summary":"marginplus-margin-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-margin-profile added with marginCalculationMode field.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-margin-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/marginplus-spread-group-profile":{"get":{"operationId":"GET-settings-marginplus-spread-group-profile","summary":"marginplus-spread-group-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-spread-group-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"}},"required":["coreSymbol","symbolGroupPath","bidSpreadPoints","askSpreadPoints"]}}},"required":["id","name","items"]}}}}},"post":{"operationId":"POST-settings-marginplus-spread-group-profile","summary":"marginplus-spread-group-profile - Create a new Resource","description":"Create a new marginplus-spread-group-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-spread-group-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","default":0,"type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","default":0,"type":"integer","format":"int32"}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"}},"required":["coreSymbol","symbolGroupPath","bidSpreadPoints","askSpreadPoints"]}}},"required":["id","name","items"]}}}}},"/settings/marginplus-spread-group-profile/{id}":{"get":{"operationId":"GET-settings-marginplus-spread-group-profile-id","summary":"marginplus-spread-group-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-spread-group-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-spread-group-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"}},"required":["coreSymbol","symbolGroupPath","bidSpreadPoints","askSpreadPoints"]}}},"required":["id","name","items"]}}}},"patch":{"operationId":"PATCH-settings-marginplus-spread-group-profile-id","summary":"marginplus-spread-group-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-spread-group-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-spread-group-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","default":0,"type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","default":0,"type":"integer","format":"int32"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"}},"required":["coreSymbol","symbolGroupPath","bidSpreadPoints","askSpreadPoints"]}}},"required":["id","name","items"]}}}},"put":{"operationId":"PUT-settings-marginplus-spread-group-profile-id","summary":"marginplus-spread-group-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-spread-group-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-spread-group-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","default":0,"type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","default":0,"type":"integer","format":"int32"}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","bidSpreadPoints":0,"askSpreadPoints":0}]},"type":"object","properties":{"id":{"description":"Unique Spread Group Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the spread group profile. Used when configuring the Account Group in the Spread Group Profile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"bidSpreadPoints":{"description":"Sets the bid spread points added to a takers quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"},"askSpreadPoints":{"description":"Determines the points added to the ask quote. The value entered reflects a change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".","type":"integer","format":"int32"}},"required":["coreSymbol","symbolGroupPath","bidSpreadPoints","askSpreadPoints"]}}},"required":["id","name","items"]}}}},"delete":{"operationId":"DELETE-settings-marginplus-spread-group-profile-id","summary":"marginplus-spread-group-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.21|marginplus-spread-group-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-spread-group-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/marginplus-swaps-profile":{"get":{"operationId":"GET-settings-marginplus-swaps-profile","summary":"marginplus-swaps-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|marginplus-swaps-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"type":"string","format":"decimal128"},"shortPoints":{"type":"string","format":"decimal128"},"swapsMode":{"type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints","swapsMode","daysToCharge"]}}},"required":["id","name","items"]}}}}},"post":{"operationId":"POST-settings-marginplus-swaps-profile","summary":"marginplus-swaps-profile - Create a new Resource","description":"Create a new marginplus-swaps-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|marginplus-swaps-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"default":"0","type":"string","format":"decimal128"},"shortPoints":{"default":"0","type":"string","format":"decimal128"},"swapsMode":{"default":"POINTS","type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"type":"string","format":"decimal128"},"shortPoints":{"type":"string","format":"decimal128"},"swapsMode":{"type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints","swapsMode","daysToCharge"]}}},"required":["id","name","items"]}}}}},"/settings/marginplus-swaps-profile/{id}":{"get":{"operationId":"GET-settings-marginplus-swaps-profile-id","summary":"marginplus-swaps-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|marginplus-swaps-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-swaps-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"type":"string","format":"decimal128"},"shortPoints":{"type":"string","format":"decimal128"},"swapsMode":{"type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints","swapsMode","daysToCharge"]}}},"required":["id","name","items"]}}}},"patch":{"operationId":"PATCH-settings-marginplus-swaps-profile-id","summary":"marginplus-swaps-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|marginplus-swaps-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-swaps-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"longPoints":{"default":"0","type":"string","format":"decimal128"},"shortPoints":{"default":"0","type":"string","format":"decimal128"},"swapsMode":{"default":"POINTS","type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"type":"string","format":"decimal128"},"shortPoints":{"type":"string","format":"decimal128"},"swapsMode":{"type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints","swapsMode","daysToCharge"]}}},"required":["id","name","items"]}}}},"put":{"operationId":"PUT-settings-marginplus-swaps-profile-id","summary":"marginplus-swaps-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|marginplus-swaps-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-swaps-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"default":"0","type":"string","format":"decimal128"},"shortPoints":{"default":"0","type":"string","format":"decimal128"},"swapsMode":{"default":"POINTS","type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["symbolGroupPath"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","longPoints":"0","shortPoints":"0","swapsMode":"POINTS","daysToCharge":{"sunday":153,"monday":1,"tuesday":1,"wednesday":3,"thursday":1,"friday":1,"saturday":153}}]},"type":"object","properties":{"id":{"description":"Unique Swaps Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the swaps profile. Used when configuring the Account Group in the SwapProfile Name drop down","type":"string"},"items":{"description":"Symbols are matched from top to bottom, for example the following setup will apply a custom setting to EUR / USD and then a default setting to all other symbols : \n EUR/USD\t{Custom setting}\n *\t\t\t{Default setting}\n","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"longPoints":{"type":"string","format":"decimal128"},"shortPoints":{"type":"string","format":"decimal128"},"swapsMode":{"type":"string","enum":["POINTS","PERCENTAGE"]},"daysToCharge":{"description":"Determines how much of swap charge to post. If it is left blank, then no swap charge will be posted to ledger for that day. If it is set to a value of 1, then just the value in Long / Short points. If set to value greater than 1, then Long / Short points will be multiplied by the value and the charge posted.","type":"object","properties":{"sunday":{"type":"integer","format":"int32"},"monday":{"default":1,"type":"integer","format":"int32"},"tuesday":{"default":1,"type":"integer","format":"int32"},"wednesday":{"default":3,"type":"integer","format":"int32"},"thursday":{"default":1,"type":"integer","format":"int32"},"friday":{"default":1,"type":"integer","format":"int32"},"saturday":{"type":"integer","format":"int32"}}}},"required":["coreSymbol","symbolGroupPath","longPoints","shortPoints","swapsMode","daysToCharge"]}}},"required":["id","name","items"]}}}},"delete":{"operationId":"DELETE-settings-marginplus-swaps-profile-id","summary":"marginplus-swaps-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n|1.37|marginplus-swaps-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-swaps-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/marginplus-symbol-permission-profile":{"get":{"operationId":"GET-settings-marginplus-symbol-permission-profile","summary":"marginplus-symbol-permission-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-symbol-permission-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","type":"boolean"}},"required":["coreSymbol","symbolGroupPath","takerSymbol","enabled"]}}},"required":["id","name","items"]}}}}},"post":{"operationId":"POST-settings-marginplus-symbol-permission-profile","summary":"marginplus-symbol-permission-profile - Create a new Resource","description":"Create a new marginplus-symbol-permission-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-symbol-permission-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","default":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":true}],"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","default":false,"type":"boolean"}},"required":["symbolGroupPath","takerSymbol"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","type":"boolean"}},"required":["coreSymbol","symbolGroupPath","takerSymbol","enabled"]}}},"required":["id","name","items"]}}}}},"/settings/marginplus-symbol-permission-profile/{id}":{"get":{"operationId":"GET-settings-marginplus-symbol-permission-profile-id","summary":"marginplus-symbol-permission-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-symbol-permission-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-symbol-permission-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","type":"boolean"}},"required":["coreSymbol","symbolGroupPath","takerSymbol","enabled"]}}},"required":["id","name","items"]}}}},"patch":{"operationId":"PATCH-settings-marginplus-symbol-permission-profile-id","summary":"marginplus-symbol-permission-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-symbol-permission-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-symbol-permission-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","default":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":true}],"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","default":false,"type":"boolean"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","type":"boolean"}},"required":["coreSymbol","symbolGroupPath","takerSymbol","enabled"]}}},"required":["id","name","items"]}}}},"put":{"operationId":"PUT-settings-marginplus-symbol-permission-profile-id","summary":"marginplus-symbol-permission-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-symbol-permission-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-symbol-permission-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","default":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":true}],"type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","default":false,"type":"boolean"}},"required":["symbolGroupPath","takerSymbol"]}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","items":[{"coreSymbol":"*","symbolGroupPath":"*","takerSymbol":"*","enabled":false}]},"type":"object","properties":{"id":{"description":"Unique Symbol Permission Profile ID","type":"string","format":"guid"},"name":{"description":"Sets the name for the symbol permission profile. Used when configuring the Account Group in the Symbol Permission Profile Name drop down","type":"string"},"items":{"description":"Specifies the symbols that can be traded. Symbol rules are matched from top to bottom","type":"array","items":{"type":"object","properties":{"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerSymbol":{"description":"Taker symbol to match this rule. Special values supported include:\n* = any taker symbol, or\nregex[\u003cexpr\u003e] = match taker symbol to regular expression.","type":"string","format":"filter-string"},"enabled":{"description":"Enables or disables matching symbols for accounts in the Account Group.","type":"boolean"}},"required":["coreSymbol","symbolGroupPath","takerSymbol","enabled"]}}},"required":["id","name","items"]}}}},"delete":{"operationId":"DELETE-settings-marginplus-symbol-permission-profile-id","summary":"marginplus-symbol-permission-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.39 | Initial Version |\n|1.39|marginplus-symbol-permission-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","MarginPlus Accounts"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the marginplus-symbol-permission-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/order-routing-mapping":{"get":{"operationId":"GET-settings-order-routing-mapping","summary":"order-routing-mapping - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027.|\n|1.16|Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field.|\n|1.17|Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}}},"post":{"operationId":"POST-settings-order-routing-mapping","summary":"order-routing-mapping - Create a new Resource","description":"Create a new order-routing-mapping settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027.|\n|1.16|Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field.|\n|1.17|Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}}},"/settings/order-routing-mapping/profiles":{"get":{"operationId":"GET-settings-order-routing-mapping-profiles","summary":"order-routing-mapping/profiles - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}},"required":["id","name","settings"]}}}}},"post":{"operationId":"POST-settings-order-routing-mapping-profiles","summary":"order-routing-mapping/profiles - Create a new Resource","description":"Create a new order-routing-mapping/profiles settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}},"required":["id","name","settings"]}}}}},"/settings/order-routing-mapping/profiles/{id}":{"get":{"operationId":"GET-settings-order-routing-mapping-profiles-id","summary":"order-routing-mapping/profiles - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}},"required":["id","name","settings"]}}}},"patch":{"operationId":"PATCH-settings-order-routing-mapping-profiles-id","summary":"order-routing-mapping/profiles - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}},"required":["id","name","settings"]}}}},"put":{"operationId":"PUT-settings-order-routing-mapping-profiles-id","summary":"order-routing-mapping/profiles - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"description":"An ordered list of \u0027rules\u0027, each of which defines a set of trade characteristics and an associated Order Routing Profile.\n\nThe rules are evaluated in order from top to bottom. If the characteristics of an incoming trade request match the rule being evaluated, that rule\u0027s associated Order Routing Profile will be used to configure how the trade will be executed, and no further rules will be evaluated.\n\nIf no rules match an incoming trade, the trade will be executed as A-Book (STP) using the default values for an Order Routing Profile","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}},"required":["id","name","settings"]}}}},"delete":{"operationId":"DELETE-settings-order-routing-mapping-profiles-id","summary":"order-routing-mapping/profiles - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/order-routing-mapping/profiles/{profileId}/settings":{"get":{"operationId":"GET-settings-order-routing-mapping-profiles-profileId-settings","summary":"order-routing-mapping/profiles/{profileId}/settings - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}}},"post":{"operationId":"POST-settings-order-routing-mapping-profiles-profileId-settings","summary":"order-routing-mapping/profiles/{profileId}/settings - Create a new Resource","description":"Create a new order-routing-mapping/profiles/{profileId}/settings settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}}},"/settings/order-routing-mapping/profiles/{profileId}/settings/{id}":{"get":{"operationId":"GET-settings-order-routing-mapping-profiles-profileId-settings-id","summary":"order-routing-mapping/profiles/{profileId}/settings - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"patch":{"operationId":"PATCH-settings-order-routing-mapping-profiles-profileId-settings-id","summary":"order-routing-mapping/profiles/{profileId}/settings - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"put":{"operationId":"PUT-settings-order-routing-mapping-profiles-profileId-settings-id","summary":"order-routing-mapping/profiles/{profileId}/settings - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"delete":{"operationId":"DELETE-settings-order-routing-mapping-profiles-profileId-settings-id","summary":"order-routing-mapping/profiles/{profileId}/settings - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.25 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the order-routing-mapping/profiles/{profileId}/settings","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/order-routing-mapping/{id}":{"get":{"operationId":"GET-settings-order-routing-mapping-id","summary":"order-routing-mapping - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027.|\n|1.16|Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field.|\n|1.17|Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"patch":{"operationId":"PATCH-settings-order-routing-mapping-id","summary":"order-routing-mapping - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027.|\n|1.16|Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field.|\n|1.17|Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"put":{"operationId":"PUT-settings-order-routing-mapping-id","summary":"order-routing-mapping - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027.|\n|1.16|Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field.|\n|1.17|Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"default":["00000000-0000-0000-0000-000000000001"],"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","default":"*","type":"string","format":"filter-string"},"takerLoginFilter":{"default":"*","type":"string","format":"filter-string"},"takerGroupFilter":{"default":"*","type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","default":"*","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","default":"MARKET_DATA","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"default":"ANY","type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"default":"ANY","type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","default":"ANY","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","default":"ANY","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","default":"","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["orderRoutingProfileName","symbolGroupFilter","portfolioName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","orderRoutingProfileName":"string value","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIdFilter":"*","takerLoginFilter":"*","takerGroupFilter":"*","takerStatusFilter":"*","takerColor":null,"coreSymbolStreamType":"MARKET_DATA","coreSymbolFilter":"*","symbolGroupFilter":"*","takerInputExecutionMethodFilter":"ANY","takerInputTimeInForceFilter":"ANY","takerMTOrderTypeRestriction":"ANY","minimumOrderQuantity":"156.789","maximumOrderQuantity":"156.789","orderNotionalSide":"ANY","referenceCurrency":"","portfolioName":"string value","spotRiskPortfolioName":"string value","forwardRiskPortfolioName":"string value"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"orderRoutingProfileName":{"type":"string"},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIdFilter":{"description":"Trades from the Montage tile do not include a taker connection ID. Please be aware when applying this condition in the order routing mapping rule, as it may not behave as expected for these trades.","type":"string","format":"filter-string"},"takerLoginFilter":{"type":"string","format":"filter-string"},"takerGroupFilter":{"type":"string","format":"filter-string"},"takerStatusFilter":{"description":"Used in conjunction with \"IncludeUserStatusInOrder\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, the Status value from user record are passed to the oneZero Hub which can be mapped here for order routing purposes.","type":"string","format":"filter-string"},"takerColor":{"description":"Used in conjunction with \"IncludeUserColorInOrders\" parameters on MT4 Omni Plugins and MT5 Omni Gateways. If enabled on the relevant Omni, account Color can be used for exact-match routing. Leave empty (Match All) to match any color, including requests with no color. Select None to match only accounts whose color is explicitly None. Otherwise select a named color or custom color using RGB values to specify an exact match color to route.","default":null,"type":"string","format":"taker-color"},"coreSymbolStreamType":{"description":"Type of Stream","type":"string","enum":["ANY","MARKET_DATA","RFQ"]},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerInputExecutionMethodFilter":{"type":"string","enum":["ANY","INSTANT","MARKET","LIMIT","STOP","PREVIOUSLY_QUOTED","EXCHANGE","STOP_LIMIT","PEG_LIMIT"]},"takerInputTimeInForceFilter":{"type":"string","enum":["ANY","GTC","IOC","FOK","DAY"]},"takerMTOrderTypeRestriction":{"description":"The following MetaTrader order types will match a value of OPEN or ANY:\n\n - IE_OPEN \n - MK_OPEN \n - BR_OPEN \n - MT5_EX_OPEN \n - ENTRY_LIMIT \n - ENTRY_STOP \n\nThe following will match a value of CLOSE or ANY:\n\n - IE_CLOSE \n - MK_CLOSE \n - BR_CLOSE \n - MT5_EX_CLOSE \n - ACTIVATE_TP \n - ACTIVATE_SL \n - ACTIVATE_SO \n\nThe following will only match a value of ANY (note: these are not categorized as open or close because they are either never sent from the MT Omni to the Hub, or are unhandled or treated as errors within the Hub) : \n\n - ACTIVATE_CLOSE \n - ACTIVATE_STOPLIMIT \n - BR_ACTIVATE \n - BR_DELETE \n - BR_MODIFY \n - CLOSE_ALL \n - CLOSE_BY \n - DELETE \n - MODIFY \n - REQ_CLOSE \n - PENDING_OPEN \n - REQ_OPEN \n","type":"string","enum":["ANY","OPEN","CLOSE"]},"minimumOrderQuantity":{"description":"If set, an order\u0027s volume must be greater than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"maximumOrderQuantity":{"description":"If set, an order\u0027s volume must be less than or equal to this amount for this rule to apply. For most orders this is the volume of the last leg; for strips it is the largest leg volume.","type":"string","format":"decimal128"},"orderNotionalSide":{"description":"Notional Side the order is denominated in","type":"string","enum":["ANY","BASE","TERM"]},"referenceCurrency":{"description":"Only applicable when Minimum/Maximum Order Quantity is configured.\nWhen a reference currency is set, the order volume is converted to this currency before comparing against those thresholds.\nWhen the reference currency is empty and the order is term-currency denominated, the volume is converted to the base currency amount for the comparison. Otherwise the volume is compared as-is.\nIf no conversion rate is available, the next mapping is evaluated.","type":"string"},"portfolioName":{"description":"The destination portfolio for the broker positions resulting from order.","type":"string"},"spotRiskPortfolioName":{"description":"The destination portfolio for the spot risk component of broker positions resulting from order, if configured.","type":"string"},"forwardRiskPortfolioName":{"description":"The destination portfolio for the forward risk component of broker positions resulting from order, if configured.","type":"string"}},"required":["id","orderRoutingProfileName","takerEntityIds","takerConnectionIdFilter","takerLoginFilter","takerGroupFilter","takerStatusFilter","coreSymbolStreamType","coreSymbolFilter","symbolGroupFilter","takerInputExecutionMethodFilter","takerInputTimeInForceFilter","takerMTOrderTypeRestriction","orderNotionalSide","referenceCurrency","portfolioName","spotRiskPortfolioName","forwardRiskPortfolioName"]}}}},"delete":{"operationId":"DELETE-settings-order-routing-mapping-id","summary":"order-routing-mapping - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027.|\n|1.16|Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field.|\n|1.17|Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Mappings"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-mapping","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/order-routing-profile":{"get":{"operationId":"GET-settings-order-routing-profile","summary":"order-routing-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively.|\n|1.14|Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles.|\n|1.21|Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}}},"post":{"operationId":"POST-settings-order-routing-profile","summary":"order-routing-profile - Create a new Resource","description":"Create a new order-routing-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively.|\n|1.14|Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles.|\n|1.21|Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","default":"SYNC_HEDGE","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","default":"0","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","default":false,"type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","default":"50","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","default":"0","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","default":"0","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","default":false,"type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","default":-1,"type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","default":"VWAP","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":true,"type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":false,"type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["profileName","brokerTraderName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}}},"/settings/order-routing-profile/{id}":{"get":{"operationId":"GET-settings-order-routing-profile-id","summary":"order-routing-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively.|\n|1.14|Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles.|\n|1.21|Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}},"patch":{"operationId":"PATCH-settings-order-routing-profile-id","summary":"order-routing-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively.|\n|1.14|Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles.|\n|1.21|Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","default":"SYNC_HEDGE","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","default":"0","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","default":false,"type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","default":"50","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","default":"0","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","default":"0","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","default":false,"type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","default":-1,"type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","default":"VWAP","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":true,"type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":false,"type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","default":"autotrader","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}},"put":{"operationId":"PUT-settings-order-routing-profile-id","summary":"order-routing-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively.|\n|1.14|Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles.|\n|1.21|Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","default":"SYNC_HEDGE","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","default":"0","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","default":false,"type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","default":"50","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","default":"0","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","default":"0","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","default":false,"type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","default":-1,"type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","default":"VWAP","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","default":0,"type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":true,"type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","default":false,"type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["profileName","brokerTraderName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","orderRoutingMode":"SYNC_HEDGE","synchronousHedgeTradeMakerPool":"string value","maxOrderQuantity":"0","quantityThresholdForFullAmountExecution":"156.789","enforceLiquidityType":false,"percentForHedge":"50","minHedgeOrderQuantity":"0","hedgeOrderStepSize":"0","enforceOrderStepSize":false,"maxHedgeOrderQuantityPortionDecimalPlaces":-1,"warehouseLiquidityType":"VWAP","warehouseMinDelayInMilliseconds":0,"warehouseMaxDelayInMilliseconds":0,"takerStreamRoutingForAsyncHedge":"string value","hedgeTradeQuoteType":"TOP_OF_BOOK","synchronousHedgeMaxSpreadRejectEnabled":true,"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":false,"brokerTraderName":"autotrader","riskDecompositionTakerLogin":null},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"orderRoutingMode":{"description":"Determines the desired primary method of executing the order.\n\nImportant: Other settings in a rule can cause the quantity to be executed in a method other than the mode set here.\n\nExamples:\n - It is possible under certain scenarios and configurations for a rule set to Synchronous Hedge to end up with some warehoused quantity, depending on Order Step Size.\n - A rule set to Warehouse could end up with some quantity Synchronously Hedged, depending on Warehouse Limit settings and the value of Behavior When Warehouse Limit Is Exceeded While Order Is In Progress.\n\nIn order to fully understand the effect each configuration parameter might have on Order Routing Mode behavior, read carefully through the tooltips.","type":"string","enum":["SYNC_HEDGE","WAREHOUSE","REJECT","PERCENTAGE_CONTROLLED_WAREHOUSING","ASYNC_HEDGE"]},"synchronousHedgeTradeMakerPool":{"description":"(Optional) If not set, then the trade will be executed against the maker pool assigned to the price channel. Otherwise, this defines the trade maker pool to use when routing a synchronous hedge trade which may be different than the maker pool used to show pricing to the taker.\n\nNote: This only applies when Order Routing Mode is set to Synchronous Hedge and the full order amount is hedged. In the event that any component of the order is warehoused, this routing would not apply.\n\nMarkups for the trade will be computed from the price channel assigned to the taker by computing a volume-weighted-average of the min/max/target spread markups (VWAM) for the full volume of the trade. The VWAM will be applied uniformly to all fills received from the trade maker pool. ","type":"string"},"maxOrderQuantity":{"description":"If an order\u0027s quantity is greater than this value, then the following occurs:\n - If Order Routing Mode is set to Synchronous Hedge, the order is rejected.\n - If Order Routing Mode is set to Warehouse, the order is executed via Synchronous Hedge.\n - If Order Routing Mode is set to Percentage Controlled Warehousing, the order is rejected.\n - If Order Routing Mode is set to Reject, the order is rejected.\n - If Order Routing Mode is set to Asynchronous Hedge, the order is executed via Synchronous Hedge.\n\nNote: This setting is inactive when set to 0.","type":"string","format":"decimal128"},"quantityThresholdForFullAmountExecution":{"description":"[Note: Inactive if no value specified]\n\nIf an order\u0027s quantity is greater than or equal to this value, then it will be treated as a full amount order, meaning Liquidity Hub will only attempt to process the order with a quote that has enough available quantity to fill the entire requested quantity of the order. If an order\u0027s quantity is less than this value, Liquidity Hub will process the order normally","type":"string","format":"decimal128"},"enforceLiquidityType":{"description":"[Note: Inactive if no value specified for QuantityThresholdForFullAmountExecution]\n\nWhen disabled, orders will be executed using normal hub process:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 will be executed in a sweepable manner.\n - This could include both quotes from a Sweepable and Full Amount makers.\n - The Full Amount maker will only be hit ONCE in this process, which is similar to how we handle broker-to-maker orders on non-sweepable quotes.\nWhen enabled, orders will be forced to use quotes tagged with the correct liquidity type:\n - Orders with a quantity below the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a sweepable manner using ONLY quotes tagged with a Liquidity Type of Sweepable.\n - Orders with a quantity equal to or greater than the \u0027Quantity Threshold For Full Amount Execution\u0027 threshold will be executed in a full amount manner, i.e. quotes from Full Amount makers will be eligible and the order should ONLY go to one maker.\n - Orders will not be broken apart and directed at multiple full amount makers.","type":"boolean"},"percentForHedge":{"description":"Determines the percentage of the requested order that is hedged. The remainder is warehoused.\n\nNotes:\n - This value must be between 0 and 100, inclusive.\n - If a partial fill of the hedged portion of the order occurs, then the quantity warehoused is adjusted proportionally based on the filled quantity rather than the originally requested quantity.\n - If this percentage results in a hedged portion that is less than Minimum Order Quantity, then the entire order is warehoused.\n - If this percentage results in a hedged portion that is not evenly divisible by the Order Step Size, then Liquidity Hub attempts to execute the remaining portion at the Warehouse instead.","type":"string","format":"decimal128"},"minHedgeOrderQuantity":{"description":"If the hedged portion of this order is less than this value, then the entire order is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order completely or partially fails to fill.","type":"string","format":"decimal128"},"hedgeOrderStepSize":{"description":"If the hedged portion of this order is above the minimum order quantity but not within the order step size, then it will be rounded down to the nearest multiple of this value, and any remaining quantity is warehoused.\n\nIf the resulting adjusted order would cause a warehouse limit check to fail, the order may completely or partially fail to fill.\n","type":"string","format":"decimal128"},"enforceOrderStepSize":{"description":"When enabled, the warehoused portion of a Percentage Controlled Warehoused order is filled to the nearest multiple of the Order Step Size. This may result in a partial fill for the taker.","type":"boolean"},"maxHedgeOrderQuantityPortionDecimalPlaces":{"description":"Determines the maximum decimal place precision allowed in the hedged portion of an order.\n\nWhen an order matches a warehousing rule, the hedged portion of the order is rounded to a maximum number of decimal places, which is the lesser of either this value or the Volume Precision Decimal Places specified for the symbol in the Symbol Settings. Any remainder after rounding the hedged portion is applied to the warehoused portion.\n\nThe value in this field must be either -1 or a value of 0 or greater. -1 means that the maximum precision uses the Volume Precision Decimal Places specified for the symbol in the Symbol Settings.\n\nWARNING: When the precision specified here is less than that specified for the symbol being traded, a higher than expected portion of the order may be warehoused in order to maintain total quantity. In particular, some portion of the order may be warehoused even if configured to be entirely hedged.","type":"integer","format":"int32"},"warehouseLiquidityType":{"description":"Determines the price at which the order executes in the warehouse.\n\nOptions:\n - VWAP: Allows the order to sweep through the book as normal. Liquidity Hub uses each layer from the book to calculate the volume weighted average price.\n - Best Price for Volume: Uses the price of the first layer that can completely fill the requested quantity. If no layer can fill the quantity, the order is filled using the price of the layer with the most quantity.\n - Top of Book: Uses the Top of Book quote for pricing, ignoring quantity.","type":"string","enum":["VWAP","BEST_PRICE_FOR_VOLUME","TOP_OF_BOOK"]},"warehouseMinDelayInMilliseconds":{"description":"Specifies, in milliseconds, the minimum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 but less than or equal to the Maximum Order Delay\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"warehouseMaxDelayInMilliseconds":{"description":"Specifies, in milliseconds, the maximum amount of time to wait after an order is received before allowing warehouse quantity to begin executing. The actual length of the delay is a randomly chosen value between Minimum Order Delay in MS and Maximum Order Delay in MS, inclusive.\n\nThis setting only takes effect if:\n 1) the Order Routing Mode is set to Warehouse, or\n 2) the Order Routing Mode is set to Percentage Controlled Warehouse but the order has no hedged quantity (i.e. is effectively 100% warehoused) after adjustment of order parameters by the matching warehouse configuration.\n\nNotes:\n - This value must be greater than or equal to 0 and greater than or equal to the Minimum Order Delay.\n - Valid Input Range: 0 to 2,147,483,647","type":"integer","format":"int32"},"takerStreamRoutingForAsyncHedge":{"description":"For asynchronous hedge orders, choose a specific taker stream to which the subsequent hedge orders are routed.\n\nIf no taker stream is specified, then the original taker stream that matched the order is used.\n\nNote: Applies only to asynchronous hedge orders.","type":"string"},"hedgeTradeQuoteType":{"description":"For RFQ orders that are Synchronously Hedged, this option determines how a quote is selected when initiating a Hedge Trade.\n\nOptions:\n - \u003cBlank\u003e : Uses the option selected for \"Default Behavior For Synchronous Hedge Trade For RFQ Orders\" within the \"Global Settings\"\n - Previously Quoted: Uses the Previously Quoted quote from the Taker\u0027s trade.\n - Top of Book: Uses the Top of Book quote","type":"string","enum":["PREVIOUSLY_QUOTED","TOP_OF_BOOK"]},"synchronousHedgeMaxSpreadRejectEnabled":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then trades will be rejected if the max spread in effect (e.g.  \"Max Spread Gap Level Points For Hedge\") is exceeded by any quote when calculating markup.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"synchronousHedgeTradeExecutionsShouldExcludeMaxSpread":{"description":"[Note: Only applies to Synchronous Hedge trades and only when decoupled quote and trade execution is used]\n\nIf enabled, then max spread is not included in price returned to client.\n\nNote: This is only applicable when the order is executed via Synchronous Hedge. It does not affect the execution of other order types, such as warehouse orders. It also does not affect how we handle \u0027Normal\u0027 (non-decoupled) Synchronous Hedge orders.","type":"boolean"},"brokerTraderName":{"description":"The name of the automated trader that will place broker-to-maker trades. Used for EDM/IDM selection","type":"string"},"riskDecompositionTakerLogin":{"description":"The taker login that will be assigned to risk transfer trades. The setting can be assigned a specific value or can be set to blank, which means use the original trade\u0027s taker login.","default":null,"type":"string"}},"required":["id","profileName","orderRoutingMode","synchronousHedgeTradeMakerPool","maxOrderQuantity","enforceLiquidityType","percentForHedge","minHedgeOrderQuantity","hedgeOrderStepSize","enforceOrderStepSize","maxHedgeOrderQuantityPortionDecimalPlaces","warehouseLiquidityType","warehouseMinDelayInMilliseconds","warehouseMaxDelayInMilliseconds","takerStreamRoutingForAsyncHedge","synchronousHedgeMaxSpreadRejectEnabled","synchronousHedgeTradeExecutionsShouldExcludeMaxSpread","brokerTraderName"]}}}},"delete":{"operationId":"DELETE-settings-order-routing-profile-id","summary":"order-routing-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.10|As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively.|\n|1.14|Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles.|\n|1.21|Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Order Routing Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the order-routing-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/permission-groups":{"get":{"operationId":"GET-settings-permission-groups","summary":"permission-groups - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","User Permission Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"type":"string"},"entityAccessType":{"type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"type":"boolean"},"uiTileControlsEnabled":{"type":"boolean"},"hubRestApiEnabled":{"type":"boolean"},"viewOnlyAccess":{"type":"boolean"}},"required":["id","groupName","ssoRole","entityAccessType","takerEntityIds","takerConnectionIds","makerEntityIds","marginAccountIds","brokerEntityIds","portfolioIds","creditEntityIds","instrumentPermissionProfileId","montageAndOrderBlotterPermissionsProfileId","tileAndSettingsPermissionsProfileId","defaultDashboardIds","uiDashboardControlsEnabled","uiTileControlsEnabled","hubRestApiEnabled","viewOnlyAccess"]}}}}},"post":{"operationId":"POST-settings-permission-groups","summary":"permission-groups - Create a new Resource","description":"Create a new permission-groups settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","User Permission Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"default":"","type":"string"},"entityAccessType":{"default":"TAKER","type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"default":false,"type":"boolean"},"uiTileControlsEnabled":{"default":false,"type":"boolean"},"hubRestApiEnabled":{"default":false,"type":"boolean"},"viewOnlyAccess":{"default":false,"type":"boolean"}},"required":["id","groupName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"type":"string"},"entityAccessType":{"type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"type":"boolean"},"uiTileControlsEnabled":{"type":"boolean"},"hubRestApiEnabled":{"type":"boolean"},"viewOnlyAccess":{"type":"boolean"}},"required":["id","groupName","ssoRole","entityAccessType","takerEntityIds","takerConnectionIds","makerEntityIds","marginAccountIds","brokerEntityIds","portfolioIds","creditEntityIds","instrumentPermissionProfileId","montageAndOrderBlotterPermissionsProfileId","tileAndSettingsPermissionsProfileId","defaultDashboardIds","uiDashboardControlsEnabled","uiTileControlsEnabled","hubRestApiEnabled","viewOnlyAccess"]}}}}},"/settings/permission-groups/{id}":{"get":{"operationId":"GET-settings-permission-groups-id","summary":"permission-groups - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","User Permission Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the permission-groups","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"type":"string"},"entityAccessType":{"type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"type":"boolean"},"uiTileControlsEnabled":{"type":"boolean"},"hubRestApiEnabled":{"type":"boolean"},"viewOnlyAccess":{"type":"boolean"}},"required":["id","groupName","ssoRole","entityAccessType","takerEntityIds","takerConnectionIds","makerEntityIds","marginAccountIds","brokerEntityIds","portfolioIds","creditEntityIds","instrumentPermissionProfileId","montageAndOrderBlotterPermissionsProfileId","tileAndSettingsPermissionsProfileId","defaultDashboardIds","uiDashboardControlsEnabled","uiTileControlsEnabled","hubRestApiEnabled","viewOnlyAccess"]}}}},"patch":{"operationId":"PATCH-settings-permission-groups-id","summary":"permission-groups - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","User Permission Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the permission-groups","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"groupName":{"default":"","type":"string"},"ssoRole":{"default":"","type":"string"},"entityAccessType":{"default":"TAKER","type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"default":false,"type":"boolean"},"uiTileControlsEnabled":{"default":false,"type":"boolean"},"hubRestApiEnabled":{"default":false,"type":"boolean"},"viewOnlyAccess":{"default":false,"type":"boolean"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"type":"string"},"entityAccessType":{"type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"type":"boolean"},"uiTileControlsEnabled":{"type":"boolean"},"hubRestApiEnabled":{"type":"boolean"},"viewOnlyAccess":{"type":"boolean"}},"required":["id","groupName","ssoRole","entityAccessType","takerEntityIds","takerConnectionIds","makerEntityIds","marginAccountIds","brokerEntityIds","portfolioIds","creditEntityIds","instrumentPermissionProfileId","montageAndOrderBlotterPermissionsProfileId","tileAndSettingsPermissionsProfileId","defaultDashboardIds","uiDashboardControlsEnabled","uiTileControlsEnabled","hubRestApiEnabled","viewOnlyAccess"]}}}},"put":{"operationId":"PUT-settings-permission-groups-id","summary":"permission-groups - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","User Permission Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the permission-groups","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"default":"","type":"string"},"entityAccessType":{"default":"TAKER","type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","default":"00000000-0000-0000-0000-000000000000","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"default":false,"type":"boolean"},"uiTileControlsEnabled":{"default":false,"type":"boolean"},"hubRestApiEnabled":{"default":false,"type":"boolean"},"viewOnlyAccess":{"default":false,"type":"boolean"}},"required":["id","groupName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"00000000-0000-0000-0000-000000000000","groupName":"","ssoRole":"","entityAccessType":"TAKER","takerEntityIds":["00000000-0000-0000-0000-000000000000"],"takerConnectionIds":["string value"],"makerEntityIds":["00000000-0000-0000-0000-000000000000"],"marginAccountIds":[153],"brokerEntityIds":["00000000-0000-0000-0000-000000000000"],"portfolioIds":[153],"creditEntityIds":["00000000-0000-0000-0000-000000000000"],"instrumentPermissionProfileId":"00000000-0000-0000-0000-000000000000","montageAndOrderBlotterPermissionsProfileId":"00000000-0000-0000-0000-000000000000","tileAndSettingsPermissionsProfileId":"00000000-0000-0000-0000-000000000000","defaultDashboardIds":["00000000-0000-0000-0000-000000000000"],"uiDashboardControlsEnabled":false,"uiTileControlsEnabled":false,"hubRestApiEnabled":false,"viewOnlyAccess":false},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be 00000000-0000-0000-0000-000000000000 until settings are saved and an identifier is generated by the Hub.","type":"string","format":"uuid"},"groupName":{"type":"string"},"ssoRole":{"type":"string"},"entityAccessType":{"type":"string","enum":["NONE","ADMINISTRATOR","BROKER","TAKER","TAKER_MARGIN","MAKER_MARGIN","TAKER_MARKET_WATCH","CREDIT","CREDIT_GROUP"]},"takerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"takerConnectionIds":{"type":"array","items":{"type":"string"}},"makerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"marginAccountIds":{"type":"array","items":{"type":"integer","format":"int64"}},"brokerEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"portfolioIds":{"type":"array","items":{"type":"integer","format":"int64"}},"creditEntityIds":{"type":"array","items":{"type":"string","format":"uuid"}},"instrumentPermissionProfileId":{"description":"Name of the Instrument Permission Profile associated with this Group. A Permission Group can only have a single Instrument Permission Profile set.","type":"string","format":"uuid"},"montageAndOrderBlotterPermissionsProfileId":{"description":"Name of the Montage and Order Blotter Permission Profile associated with this Group. A Permission Group can only have a single Montage and Order Blotter Permission Profile set.","type":"string","format":"uuid"},"tileAndSettingsPermissionsProfileId":{"description":"Allows users in the group to add, delete, and rename dashboards.","type":"string","format":"uuid"},"defaultDashboardIds":{"type":"array","items":{"type":"string","format":"uuid"}},"uiDashboardControlsEnabled":{"type":"boolean"},"uiTileControlsEnabled":{"type":"boolean"},"hubRestApiEnabled":{"type":"boolean"},"viewOnlyAccess":{"type":"boolean"}},"required":["id","groupName","ssoRole","entityAccessType","takerEntityIds","takerConnectionIds","makerEntityIds","marginAccountIds","brokerEntityIds","portfolioIds","creditEntityIds","instrumentPermissionProfileId","montageAndOrderBlotterPermissionsProfileId","tileAndSettingsPermissionsProfileId","defaultDashboardIds","uiDashboardControlsEnabled","uiTileControlsEnabled","hubRestApiEnabled","viewOnlyAccess"]}}}},"delete":{"operationId":"DELETE-settings-permission-groups-id","summary":"permission-groups - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","User Permission Groups"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the permission-groups","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/portfolio":{"get":{"operationId":"GET-settings-portfolio","summary":"portfolio - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.19|Added referenceCurrency.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}}},"post":{"operationId":"POST-settings-portfolio","summary":"portfolio - Create a new Resource","description":"Create a new portfolio settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.19|Added referenceCurrency.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"default":false,"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["portfolioName","referenceCurrency"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}}},"/settings/portfolio/{id}":{"get":{"operationId":"GET-settings-portfolio-id","summary":"portfolio - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.19|Added referenceCurrency.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the portfolio","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}},"patch":{"operationId":"PATCH-settings-portfolio-id","summary":"portfolio - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.19|Added referenceCurrency.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the portfolio","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"default":false,"type":"boolean"},"referenceCurrency":{"default":"USD","type":"string"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}},"put":{"operationId":"PUT-settings-portfolio-id","summary":"portfolio - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.19|Added referenceCurrency.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the portfolio","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","default":-1,"type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"default":false,"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["portfolioName","referenceCurrency"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":-1,"portfolioName":"string value","systematicHedgeProfile":"string value","skewProfile":"string value","defaultPortfolio":false,"referenceCurrency":"USD"},"type":"object","properties":{"id":{"description":"Automatically generated unique identifier. It is not possible to edit this value. It will initially be -1 until settings are saved and an identifier is generated by the Hub.","type":"integer","format":"int64"},"portfolioName":{"type":"string"},"systematicHedgeProfile":{"description":"Any warehoused component of an order is routed to the Systematic Hedge Group specified here.\n\nNote: If the Group does not have any Systematic Hedge Buckets that match the order\u0027s core symbol, then it is ignored by the Systematic Hedge system and treated as a standard warehouse order.","type":"string"},"skewProfile":{"type":"string"},"defaultPortfolio":{"type":"boolean"},"referenceCurrency":{"type":"string"}},"required":["id","portfolioName","systematicHedgeProfile","skewProfile","defaultPortfolio","referenceCurrency"]}}}},"delete":{"operationId":"DELETE-settings-portfolio-id","summary":"portfolio - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.14 | Initial Version |\n|1.19|Added referenceCurrency.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Portfolio"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the portfolio","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/price-channel-rule":{"get":{"operationId":"GET-settings-price-channel-rule","summary":"price-channel-rule - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.02 | Initial Version |\n|1.03|PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027. |\n|1.09|MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027|\n|1.11|\u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027.|\n|1.13|\u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool.|\n|1.20|Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027|\n|1.22|Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Price Channel Rules - Default Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}}},"post":{"operationId":"POST-settings-price-channel-rule","summary":"price-channel-rule - Create a new Resource","description":"Create a new price-channel-rule settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.02 | Initial Version |\n|1.03|PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027. |\n|1.09|MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027|\n|1.11|\u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027.|\n|1.13|\u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool.|\n|1.20|Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027|\n|1.22|Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Default Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}},"required":["instrument","asset","symbolGroupPath","makerPoolName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}}},"/settings/price-channel-rule/profiles":{"get":{"operationId":"GET-settings-price-channel-rule-profiles","summary":"price-channel-rule/profiles - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}},"required":["id","name","settings"]}}}}},"post":{"operationId":"POST-settings-price-channel-rule-profiles","summary":"price-channel-rule/profiles - Create a new Resource","description":"Create a new price-channel-rule/profiles settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}},"required":["instrument","asset","symbolGroupPath","makerPoolName"]}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}},"required":["id","name","settings"]}}}}},"/settings/price-channel-rule/profiles/{id}":{"get":{"operationId":"GET-settings-price-channel-rule-profiles-id","summary":"price-channel-rule/profiles - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}},"required":["id","name","settings"]}}}},"patch":{"operationId":"PATCH-settings-price-channel-rule-profiles-id","summary":"price-channel-rule/profiles - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}},"required":["id","name","settings"]}}}},"put":{"operationId":"PUT-settings-price-channel-rule-profiles-id","summary":"price-channel-rule/profiles - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}},"required":["instrument","asset","symbolGroupPath","makerPoolName"]}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","settings":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"settings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}},"required":["id","name","settings"]}}}},"delete":{"operationId":"DELETE-settings-price-channel-rule-profiles-id","summary":"price-channel-rule/profiles - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/price-channel-rule/profiles/{profileId}/settings":{"get":{"operationId":"GET-settings-price-channel-rule-profiles-profileId-settings","summary":"price-channel-rule/profiles/{profileId}/settings - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}}},"post":{"operationId":"POST-settings-price-channel-rule-profiles-profileId-settings","summary":"price-channel-rule/profiles/{profileId}/settings - Create a new Resource","description":"Create a new price-channel-rule/profiles/{profileId}/settings settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}},"required":["instrument","asset","symbolGroupPath","makerPoolName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}}},"/settings/price-channel-rule/profiles/{profileId}/settings/{id}":{"get":{"operationId":"GET-settings-price-channel-rule-profiles-profileId-settings-id","summary":"price-channel-rule/profiles/{profileId}/settings - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}},"patch":{"operationId":"PATCH-settings-price-channel-rule-profiles-profileId-settings-id","summary":"price-channel-rule/profiles/{profileId}/settings - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}},"put":{"operationId":"PUT-settings-price-channel-rule-profiles-profileId-settings-id","summary":"price-channel-rule/profiles/{profileId}/settings - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles/{profileId}/settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}},"required":["instrument","asset","symbolGroupPath","makerPoolName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}},"delete":{"operationId":"DELETE-settings-price-channel-rule-profiles-profileId-settings-id","summary":"price-channel-rule/profiles/{profileId}/settings - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.09 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Profiles"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the price-channel-rule/profiles/{profileId}/settings","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/price-channel-rule/{id}":{"get":{"operationId":"GET-settings-price-channel-rule-id","summary":"price-channel-rule - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.02 | Initial Version |\n|1.03|PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027. |\n|1.09|MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027|\n|1.11|\u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027.|\n|1.13|\u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool.|\n|1.20|Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027|\n|1.22|Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Price Channel Rules - Default Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}},"patch":{"operationId":"PATCH-settings-price-channel-rule-id","summary":"price-channel-rule - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.02 | Initial Version |\n|1.03|PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027. |\n|1.09|MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027|\n|1.11|\u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027.|\n|1.13|\u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool.|\n|1.20|Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027|\n|1.22|Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Default Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}},"put":{"operationId":"PUT-settings-price-channel-rule-id","summary":"price-channel-rule - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.02 | Initial Version |\n|1.03|PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027. |\n|1.09|MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027|\n|1.11|\u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027.|\n|1.13|\u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool.|\n|1.20|Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027|\n|1.22|Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Default Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","default":"ANY","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","default":"ANY","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"default":"*","type":"string","format":"filter-string"},"feedToTakers":{"default":true,"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","default":"0","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","default":"0","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","default":false,"type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"default":"EXECUTED_PLUS_ALL_SPREADS","type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","default":false,"type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","default":false,"type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","default":"00:00:01.000000","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","default":"POINTS","type":"string","enum":["POINTS","PIPS"]}},"required":["instrument","asset","symbolGroupPath","makerPoolName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","instrument":"*","instrumentType":"ANY","asset":"*","assetClass":"ANY","coreSymbol":"*","symbolGroupPath":"*","priceChannelId":"*","feedToTakers":true,"bidSpreadPoints":"0","askSpreadPoints":"0","minSpreadPoints":"156.789","maxSpreadPoints":"156.789","useMaxSpreadGapLevelForWarehouse":false,"targetSpreadPoints":"156.789","initialTargetSpreadThresholdPoints":"156.789","targetSpreadScalingFactor":153,"maxTargetSpreadThresholdPoints":"156.789","maxSpreadAllowableGapLevelInPointsForHedgeOrders":"156.789","maxSpreadAllowableGapLevelInPointsForWarehouseOrders":"156.789","minSpreadGapLevelPointsProtection":"156.789","marketOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","instantOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","limitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","stopLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","previouslyQuotedPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","exchangeOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","pegLimitOrderPriceReporting":"EXECUTED_PLUS_ALL_SPREADS","volumeAndPriceConsolidationProfile":"string value","volumeBandProfile":"string value","makerPoolName":"string value","createUniquePricingViewsForPriceChannels":false,"enableWarehouseLiquidityDepletion":false,"warehouseLiquidityReplenishmentInterval":"00:00:01.000000","alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":90,"markupPrecision":"POINTS"},"type":"object","properties":{"id":{"type":"string","format":"guid"},"instrument":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"instrumentType":{"description":"The type of instruments this rule applies to. Valid values are Any, or any valid instrument type.","type":"string","enum":["ANY","OUTRIGHT","NDF","FUTURES","CFD","PERPETUAL_FUTURES","PERPETUAL_CFD","SWAP","NDSWAP","SPREADBET","FORWARD_POINTS","STRIP","NDSTRIP","INTEREST_RATE"]},"asset":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"assetClass":{"description":"The type of asset this rule applies to. Valid values are Any, or any valid asset class.","type":"string","enum":["ANY","FX","COMMODITY","EQUITY","CRYPTO","FIXED_INCOME"]},"coreSymbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"priceChannelId":{"type":"string","format":"filter-string"},"feedToTakers":{"type":"boolean"},"bidSpreadPoints":{"description":"The Bid Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00010, so a core bid price EUR / USD at 1.08254 would become 1.08244.\nFor pips, a value of - 10 Bid Spread entered for a Core Symbol configured with 5 Precision Decimals would change the value of the bid by - 0.00100, so a core bid price EUR / USD at 1.08254 would become 1.08154.","type":"string","format":"decimal128"},"askSpreadPoints":{"description":"The Ask Spread to apply to quotes passed through this Taker Stream / Symbol. \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.010, so a core ask price EUR/JPY at 108.541 would become 108.551.\nFor pips, a value of 10 Ask Spread entered for a Core Symbol configured with 3 Precision Decimals would change the value of the bid by 0.100, so a core ask price EUR / JPY at 108.541 would become 108.641.","type":"string","format":"decimal128"},"minSpreadPoints":{"description":"[Note: to disable Min Spread, leave this entry empty].\nMinimum spread to apply to quotes passed through this Taker Stream / Symbol.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.010.\nFor pips, a value of 10 entered for a Core Symbol configured with 3 Precision Decimals would set the minimum spread to 0.100.","type":"string","format":"decimal128"},"maxSpreadPoints":{"description":"[Note: to disable Max Spread, leave this entry empty].\nMaximum spread to allow on quotes passed through this Taker Stream / Symbol. Must be \u003e= MinSpread.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nFor example, for points, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.050.\nFor pips, a value of 50 entered for a Core Symbol configured with 3 Precision Decimals would set the maximum spread to 0.500.","type":"string","format":"decimal128"},"useMaxSpreadGapLevelForWarehouse":{"description":"If selected, orders routed through the Warehouse that have been clamped due to Max Spread will follow the same reject behaviour as hedged orders, instead of being filled at the Max Spread limit.","type":"boolean"},"targetSpreadPoints":{"description":"Defines the amount of spread that is applied to outgoing quotes, at any layer of depth, when the market spread is below the \"Initial Target Spread Threshold\". \n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nOnce the market spread is greater than the \"Initial Target Spread Threshold\", the \"Target Spread\" will no longer be applied.","type":"string","format":"decimal128"},"initialTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied.\nIf the market spread is greater than to the \"Initial Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"targetSpreadScalingFactor":{"description":"Defines the scaling factor to apply to the \"Advanced Target Spread\" calculation when \"Target Spread\" is enabled and \"Max Target Spread Threshold\" has been set.  See \"Max Target Spread Threshold\" for formula details.","type":"integer","format":"int32"},"maxTargetSpreadThresholdPoints":{"description":"Defines the level of market spread at which point \"Advanced Target Spread\" will be applied.\n\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nBetween \"Initial Target Spread Threshold\" and \"Max Target Spread Threshold\" a scaled target spread will be applied. \n\nFor any given layer: \n- If the market spread at any given layer is less than or equal to the \"Initial Target Spread Threshold\", then \"Target Spread\" will be applied. \n- If \"Initial Target Spread Threshold\" \u003c market spread \u003c= \"Max Target Spread Threshold\" the target spread will be calculated as ((market spread - \"Initial Target Spread Threshold\") * \"Target Spread Scaling Factor\") + \"Target Spread\" and applied to the outgoing quote. \n- If the calculated \"Advanced Target Spread\" exceeds the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote. \n- If the market spread is greater than the \"Max Target Spread Threshold\", then normal configured spread will be applied to the outgoing quote.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForHedgeOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nNormally hedged orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then hedge broker-to-maker orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed at the Maker.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via hedge.","type":"string","format":"decimal128"},"maxSpreadAllowableGapLevelInPointsForWarehouseOrders":{"description":"The value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf UseMaxSpreadGapLevelForWarehouse is enabled warehouse orders are disallowed on quotes that have been clamped due to Max Spread. However, if this value is greater than 0, and the difference between the market price and the max spread-affected price is less than or equal to this gap, then warehouse orders are allowed.\n\nIn this case, the Taker is executed at the quoted price (i.e. the max spread-affected price for the quote they are executing on), and the broker absorbs all slippage that occurs when the order is executed.\n\nSetting this value to 0 (or leaving it blank) disables this functionality, causing any quotes with Max Spread applied to be not tradable for hedging.\n\nNote: Ignored unless Max Spread is greater than 0 and the order is executed via warehouse.","type":"string","format":"decimal128"},"minSpreadGapLevelPointsProtection":{"description":"[NOTE: ignored unless the Top-of-Book spread is inverted prior to Min/Max Spread being applied]\n[NOTE: can be used even when Min/Max Spread is not set]\nThe value entered reflects a change in value based on the configured Markup Type:\n - Points: Change in value of the last digit as defined per symbol in \"Price Precision Decimal Places\".\n - Pips: Change in value of the second-to-last digit of precision.\n\nIf the current top-of-book spread is less than or equal to this value (which will only occur in an inverted market), the taker-to-broker order will (depending upon its time-in-force and execution method) either be rejected immediately or postpone generating new broker-to-maker orders until such time that the market corrects or the taker-to-broker order times out. \n\nLeaving this value blank will disable this functionality.","type":"string","format":"decimal128"},"marketOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"instantOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"limitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"stopLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"previouslyQuotedPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"exchangeOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"pegLimitOrderPriceReporting":{"type":"string","enum":["EXECUTED_PLUS_ALL_SPREADS","EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_CORE_AND_MAKER_SPREADS","EXECUTED_PLUS_MAKER_SPREAD","EXECUTED_PLUS_NO_SPREAD","REQUESTED_PLUS_ALL_SPREADS","REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_CORE_AND_MAKER_SPREADS","REQUESTED_PLUS_MAKER_SPREAD","REQUESTED_PLUS_NO_SPREAD","MATCHED_PLUS_ALL_SPREADS","MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_VOLUME_BAND_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_CORE_AND_MAKER_SPREADS","MATCHED_PLUS_MAKER_SPREAD","MATCHED_PLUS_NO_SPREAD","VB_MATCHED_PLUS_ALL_SPREADS"]},"volumeAndPriceConsolidationProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027]\n[NOTE: Volume Bands cannot be used together with Volume and Price Consolidation.]\n\nUnderlying quotes are combined, all volume for a specific price point is put into one layer, regardless of Maker.\nThe setting Consolidation Type controls if the volume is taken from only the highest volume maker, or added together from all Makers.","type":"string"},"volumeBandProfile":{"description":"[NOTE: Cannot be enabled if the Aggregated Type of the associated Maker Pool is set to \u0027Simple Aggregation\u0027 or \u0027Ticket\u0027.]\n[NOTE: Volume Bands and Consolidate Volume at Price cannot be used together.]\n[NOTE: Volume Bands are specified in points only]\n\nThe volume band configuration to use for this taker stream. If not specified, then no volume bands will be used.","type":"string"},"makerPoolName":{"type":"string"},"createUniquePricingViewsForPriceChannels":{"description":"If enabled, price channels will create unique pricing views (markup/spread views) of the associated maker pool aggregated book.\n\nNote: This can be expensive when enabled arbitrarily and should only be enabled if needed for features that require real-time dynamic stream parameterization (e.g. spot rate manager or swap curve manager).","type":"boolean"},"enableWarehouseLiquidityDepletion":{"description":"If selected, trades placed against this taker stream deplete warehouse quote liquidity.\n\nNote: This functionality requires that the corresponding Order Routing Profile be set to \"Order Routing Mode: Warehouse.\"","type":"boolean"},"warehouseLiquidityReplenishmentInterval":{"description":"Controls the frequency at which the Warehouse Liquidity on a quote is resynchronized to the Hedge Enqueued Volume.\n\nNotes:\n - Default: 1 second\n - Minimum: 100 milliseconds\n - Ignored unless Warehouse Liquidity Depletion is enabled.","type":"string","format":"duration"},"alertThresholdForPercentOfFullRefreshTransactionsInIncrementalStreams":{"description":"Incrementally consuming a full refresh feed can cause performance issues.\n\nIf enabled, this setting defines the percent of expected full refresh to incremental transactions that is expected for an incremental consumer of this stream. If the percent of full refresh transactions meets or exceeds this value, then an alert will be generated.\n\nThis only applies if:\n- a value is configured and\n- there are incremental consumers of this stream\n\nIf no value is defined, then this check will be disabled.\n\nNotes:\n- Only a small number (50) of the most recent transactions used to update this stream will be considered for the calculation.\n- Some full refreshes in an incremental stream are expected, so this value should be set high enough to filter out those occasional updates.","default":90,"type":"integer","format":"int32"},"markupPrecision":{"description":"Determines how markup values are interpreted.\nPoints: Markup applies to the final digit of precision.\nPips: Markup applies to the second-to-last digit of precision.","type":"string","enum":["POINTS","PIPS"]}},"required":["id","instrument","instrumentType","asset","assetClass","coreSymbol","symbolGroupPath","priceChannelId","feedToTakers","bidSpreadPoints","askSpreadPoints","useMaxSpreadGapLevelForWarehouse","marketOrderPriceReporting","instantOrderPriceReporting","limitOrderPriceReporting","stopOrderPriceReporting","stopLimitOrderPriceReporting","previouslyQuotedPriceReporting","exchangeOrderPriceReporting","pegLimitOrderPriceReporting","volumeAndPriceConsolidationProfile","volumeBandProfile","makerPoolName","createUniquePricingViewsForPriceChannels","enableWarehouseLiquidityDepletion","warehouseLiquidityReplenishmentInterval","markupPrecision"]}}}},"delete":{"operationId":"DELETE-settings-price-channel-rule-id","summary":"price-channel-rule - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.02 | Initial Version |\n|1.03|PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027. |\n|1.09|MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027|\n|1.11|\u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027.|\n|1.13|\u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool.|\n|1.20|Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027|\n|1.22|Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Price Channel Rules - Default Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the price-channel-rule","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/skew-profile":{"get":{"operationId":"GET-settings-skew-profile","summary":"skew-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}},"required":["id","profileName","rules"]}}}}},"post":{"operationId":"POST-settings-skew-profile","summary":"skew-profile - Create a new Resource","description":"Create a new skew-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","default":"ONE_SIDED","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","default":"0","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","default":"5000000","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","default":"100","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","default":50,"type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["symbolGroupFilter","takerStreamID"]}}},"required":["profileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}},"required":["id","profileName","rules"]}}}}},"/settings/skew-profile/{id}":{"get":{"operationId":"GET-settings-skew-profile-id","summary":"skew-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the skew-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}},"required":["id","profileName","rules"]}}}},"patch":{"operationId":"PATCH-settings-skew-profile-id","summary":"skew-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the skew-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerStreamID":{"default":["*"],"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","default":"ONE_SIDED","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","default":"0","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","default":"5000000","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","default":"100","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","default":50,"type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}},"required":["id","profileName","rules"]}}}},"put":{"operationId":"PUT-settings-skew-profile-id","summary":"skew-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the skew-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","default":"ONE_SIDED","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","default":"0","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","default":"5000000","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","default":"100","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","default":50,"type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["symbolGroupFilter","takerStreamID"]}}},"required":["profileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","profileName":"string value","rules":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153}]},"type":"object","properties":{"id":{"type":"string","format":"guid"},"profileName":{"type":"string"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}},"required":["id","profileName","rules"]}}}},"delete":{"operationId":"DELETE-settings-skew-profile-id","summary":"skew-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the skew-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/skew-profile/{profileId}/rules":{"get":{"operationId":"GET-settings-skew-profile-profileId-rules","summary":"skew-profile/{profileId}/rules - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile/{profileId}/rules added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}}}},"post":{"operationId":"POST-settings-skew-profile-profileId-rules","summary":"skew-profile/{profileId}/rules - Create a new Resource","description":"Create a new skew-profile/{profileId}/rules settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile/{profileId}/rules added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","default":"ONE_SIDED","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","default":"0","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","default":"5000000","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","default":"100","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","default":50,"type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["symbolGroupFilter","takerStreamID"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}}}},"/settings/skew-profile/{profileId}/rules/{id}":{"get":{"operationId":"GET-settings-skew-profile-profileId-rules-id","summary":"skew-profile/{profileId}/rules - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile/{profileId}/rules added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the skew-profile/{profileId}/rules","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}}},"patch":{"operationId":"PATCH-settings-skew-profile-profileId-rules-id","summary":"skew-profile/{profileId}/rules - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile/{profileId}/rules added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the skew-profile/{profileId}/rules","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"},"takerStreamID":{"default":["*"],"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","default":"ONE_SIDED","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","default":"0","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","default":"5000000","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","default":"100","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","default":50,"type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}}},"put":{"operationId":"PUT-settings-skew-profile-profileId-rules-id","summary":"skew-profile/{profileId}/rules - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile/{profileId}/rules added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the skew-profile/{profileId}/rules","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","default":"ONE_SIDED","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","default":"0","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","default":"5000000","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","default":"100","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","default":50,"type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["symbolGroupFilter","takerStreamID"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbolFilter":"*","symbolGroupFilter":"*","takerStreamID":["regex[\u003cexpr\u003e], *, or \u003cvalue\u003e"],"skewType":"ONE_SIDED","minimumRiskPositionRange":"0","maximumRiskPositionRange":"5000000","maximumAppliedSpread":"100","maxQuantityToApplySpread":"156.789","spreadPercentageCheck":50,"minimumTakerStreamDepth":153,"maximumTOBSpreadLevel":153},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbolFilter":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupFilter":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"},"takerStreamID":{"type":"array","items":{"type":"string","format":"filter-string"}},"skewType":{"description":"One-Sided: Applies the spread to ONLY the bid or ask quote. Side depends on whether the risk position in portfolio is long or short.\nTwo-Sided: Applies the spread to both the bid and ask quote equally. The side that is price improved relies on whether the risk position is long or short. The opposite side will quote will be made worse.","type":"string","enum":["ONE_SIDED","TWO_SIDED"]},"minimumRiskPositionRange":{"description":"This sets the lower bounds for the skew calculation. Additionally, this value is also used as a check against the risk position to decide whether or not to attempt the skew function.","type":"string","format":"decimal128"},"maximumRiskPositionRange":{"description":"This sets the maximum bounds for the skew calculation.","type":"string","format":"decimal128"},"maximumAppliedSpread":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nThe maximum of spread that can be applied when skewing quotes. This is the upper bound of spread for the skew calculation and is calculated in points.","type":"string","format":"decimal128"},"maxQuantityToApplySpread":{"description":"Sets the maximum quantity a quote can have when applying spread.\nThe hub will use the lesser of the Current Risk Position, Maximum Risk Position Range and Maximum Quantity to Apply Spread when selecting quotes to skew.","type":"string","format":"decimal128"},"spreadPercentageCheck":{"description":"Used when determining how much spread to apply to skew a quote. This value is multiplied against the spread of an identified quote. The hub then takes the lower of this value and the spread calculated by the skew function or maximum applied spread.","type":"integer","format":"int32"},"minimumTakerStreamDepth":{"description":"If the depth of the taker quote book is less than or equal to this value, then the skew function will not be performed.\nCan be left blank to mean that the depth check is disabled.","type":"integer","format":"int32"},"maximumTOBSpreadLevel":{"description":"[NOTE: Skew parameters are set in points regardless of whether the price channel settings are in points or pips.]\nIf the top-of-book spread is greater than or equal to this value, then the skew function will not be performed.\nThis check is done after all other spreads have been applied.\nCan be left blank to mean that the top-of-book spread check is disabled.\nSpread level is expressed in points\n","type":"integer","format":"int32"}},"required":["id","coreSymbolFilter","symbolGroupFilter","takerStreamID","skewType","minimumRiskPositionRange","maximumRiskPositionRange","maximumAppliedSpread","spreadPercentageCheck"]}}}},"delete":{"operationId":"DELETE-settings-skew-profile-profileId-rules-id","summary":"skew-profile/{profileId}/rules - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.19 | Initial Version |\n|1.19|skew-profile/{profileId}/rules added|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Skew Profile"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the skew-profile/{profileId}/rules","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/symbol-display-settings":{"get":{"operationId":"GET-settings-symbol-display-settings","summary":"symbol-display-settings - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Symbol Display Setting"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"type":"integer","format":"int32"}},"required":["id","coreSymbol","pipsDisplayPrecision"]}}}}},"post":{"operationId":"POST-settings-symbol-display-settings","summary":"symbol-display-settings - Create a new Resource","description":"Create a new symbol-display-settings settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Symbol Display Setting"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"default":2,"type":"integer","format":"int32"}},"required":["coreSymbol"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"type":"integer","format":"int32"}},"required":["id","coreSymbol","pipsDisplayPrecision"]}}}}},"/settings/symbol-display-settings/{id}":{"get":{"operationId":"GET-settings-symbol-display-settings-id","summary":"symbol-display-settings - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Symbol Display Setting"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the symbol-display-settings","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"type":"integer","format":"int32"}},"required":["id","coreSymbol","pipsDisplayPrecision"]}}}},"patch":{"operationId":"PATCH-settings-symbol-display-settings-id","summary":"symbol-display-settings - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Symbol Display Setting"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the symbol-display-settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"default":"*","type":"string"},"pipsDisplayPrecision":{"default":2,"type":"integer","format":"int32"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"type":"integer","format":"int32"}},"required":["id","coreSymbol","pipsDisplayPrecision"]}}}},"put":{"operationId":"PUT-settings-symbol-display-settings-id","summary":"symbol-display-settings - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Symbol Display Setting"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the symbol-display-settings","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"default":2,"type":"integer","format":"int32"}},"required":["coreSymbol"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"*","pipsDisplayPrecision":2},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"pipsDisplayPrecision":{"type":"integer","format":"int32"}},"required":["id","coreSymbol","pipsDisplayPrecision"]}}}},"delete":{"operationId":"DELETE-settings-symbol-display-settings-id","summary":"symbol-display-settings - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Symbol Display Setting"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the symbol-display-settings","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/systematic-hedge-trade-profile":{"get":{"operationId":"GET-settings-systematic-hedge-trade-profile","summary":"systematic-hedge-trade-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n|1.09|Add the capability to define a hedge percentage for each tip type|\n|1.10|auto-hedge-profile renamed to systematic-hedge-profile|\n|1.14|systematic-hedge-profile renamed to systematic-hedge-trade-profile. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["tipCategory","takerGroup","tipPercent","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbol","symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","type":"string","format":"decimal128"}},"required":["symbolFilter","stepSize"]}}},"required":["id","name","hedgeTradeMethod","hedgeTradeStrategyInstanceParameters","orderType","timeInForce","bucketHedgeTradeRules","makerRouting","stepSizeRules"]}}}}},"post":{"operationId":"POST-settings-systematic-hedge-trade-profile","summary":"systematic-hedge-trade-profile - Create a new Resource","description":"Create a new systematic-hedge-trade-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n|1.09|Add the capability to define a hedge percentage for each tip type|\n|1.10|auto-hedge-profile renamed to systematic-hedge-profile|\n|1.14|systematic-hedge-profile renamed to systematic-hedge-trade-profile. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","default":"HEDGE_BUCKET_SIZE","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","default":"MARKET","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","default":"ALL","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","default":"100","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["takerGroup","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","default":{"symbol":"*","symbolGroupPath":"*"},"type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","default":"1","type":"string","format":"decimal128"}}}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["tipCategory","takerGroup","tipPercent","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbol","symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","type":"string","format":"decimal128"}},"required":["symbolFilter","stepSize"]}}},"required":["id","name","hedgeTradeMethod","hedgeTradeStrategyInstanceParameters","orderType","timeInForce","bucketHedgeTradeRules","makerRouting","stepSizeRules"]}}}}},"/settings/systematic-hedge-trade-profile/{id}":{"get":{"operationId":"GET-settings-systematic-hedge-trade-profile-id","summary":"systematic-hedge-trade-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n|1.09|Add the capability to define a hedge percentage for each tip type|\n|1.10|auto-hedge-profile renamed to systematic-hedge-profile|\n|1.14|systematic-hedge-profile renamed to systematic-hedge-trade-profile. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedge-trade-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["tipCategory","takerGroup","tipPercent","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbol","symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","type":"string","format":"decimal128"}},"required":["symbolFilter","stepSize"]}}},"required":["id","name","hedgeTradeMethod","hedgeTradeStrategyInstanceParameters","orderType","timeInForce","bucketHedgeTradeRules","makerRouting","stepSizeRules"]}}}},"patch":{"operationId":"PATCH-settings-systematic-hedge-trade-profile-id","summary":"systematic-hedge-trade-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n|1.09|Add the capability to define a hedge percentage for each tip type|\n|1.10|auto-hedge-profile renamed to systematic-hedge-profile|\n|1.14|systematic-hedge-profile renamed to systematic-hedge-trade-profile. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedge-trade-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"default":"","type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","default":"HEDGE_BUCKET_SIZE","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}}}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","default":"MARKET","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","default":"ALL","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","default":"","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","default":"100","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","default":"AutoHedge","type":"string"}}}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","default":{"symbol":"*","symbolGroupPath":"*"},"type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","default":"*","type":"string"}}},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","default":"1","type":"string","format":"decimal128"}}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["tipCategory","takerGroup","tipPercent","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbol","symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","type":"string","format":"decimal128"}},"required":["symbolFilter","stepSize"]}}},"required":["id","name","hedgeTradeMethod","hedgeTradeStrategyInstanceParameters","orderType","timeInForce","bucketHedgeTradeRules","makerRouting","stepSizeRules"]}}}},"put":{"operationId":"PUT-settings-systematic-hedge-trade-profile-id","summary":"systematic-hedge-trade-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n|1.09|Add the capability to define a hedge percentage for each tip type|\n|1.10|auto-hedge-profile renamed to systematic-hedge-profile|\n|1.14|systematic-hedge-profile renamed to systematic-hedge-trade-profile. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedge-trade-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","default":"HEDGE_BUCKET_SIZE","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","default":"MARKET","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","default":"GTC","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","default":"ALL","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","default":"100","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["takerGroup","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","default":{"symbol":"*","symbolGroupPath":"*"},"type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","default":"*","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","default":"1","type":"string","format":"decimal128"}}}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"","hedgeTradeMethod":"HEDGE_BUCKET_SIZE","hedgeTradeStrategyInstanceParameters":[{"name":"string value","value":"string value","offsetFrom":"SIDE_RATE","offsetType":"SCALE"}],"tradeStrategyInstanceName":"","orderType":"MARKET","timeInForce":"GTC","bucketHedgeTradeRules":[{"tipCategory":"ALL","takerGroup":"","tipPercent":"100","brokerTraderName":"AutoHedge"}],"makerRouting":["string value"],"stepSizeRules":[{"symbolFilter":{"symbol":"*","symbolGroupPath":"*"},"stepSize":"1"}]},"type":"object","properties":{"id":{"description":"Unique Hedge Trade Profile ID","type":"string","format":"guid"},"name":{"type":"string"},"hedgeTradeMethod":{"description":"Method to use for handling hedge trade:\n- Hedge All: Hedge the entire bucket volume when placing a hedge trade.\n- Hedge Bucket Size: Hedge only Bucket Size volume when placing a hedge trade. Further hedge trades of the same size will be placed if there is still more than Bucket Size volume remaining in the bucket. If a bucket has no Bucket Size defined then this method will be ignored and Hedge All used instead.\n","type":"string","enum":["HEDGE_ALL","HEDGE_BUCKET_SIZE"]},"hedgeTradeStrategyInstanceParameters":{"description":"Parameter name and value pairs can be set here for the trade strategy chosen under the \"Trade Strategy Instance Name\" above. Parameter name must be an exact string match of the name that the particular algo uses.","type":"array","items":{"type":"object","properties":{"name":{"description":"Parameter name as defined by the selected trade strategy configuration in AlgoSettings.\nThis is not validated by the Hub","type":"string"},"value":{"description":"This value overrides the trade strategy instance\u0027s default, or it acts as an offset when \"Offset From\" and \"Offset Type\" are filled in.","type":"string"},"offsetFrom":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Side rate\" means Ask Rate if the user is buying and Bid Rate if the user is selling.","type":"string","enum":["CURRENT_TIME","NOTIONAL","MID_RATE","SIDE_RATE"]},"offsetType":{"description":"If this is empty, the parameter value represents a fixed value.\n\n\"Shift\" represents a constant addition to the parameters default value, whereas \"Scale\" is a multiplier.","type":"string","enum":["SHIFT","SCALE"]}},"required":["name","value"]}},"tradeStrategyInstanceName":{"description":"Name of the algo trade strategy to be used for hedge trades. These are configured in Algo Trading Settings.","default":"","type":"string"},"orderType":{"description":"Order type to be used for the hedge trades.","type":"string","enum":["MARKET","LIMIT","PREVIOUSLY_QUOTED","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"description":"Time In Force value to be used for the hedge trades.","type":"string","enum":["GTC","IOC","FOK","DAY"]},"bucketHedgeTradeRules":{"description":"A set of hedge trade rules that are evaluated for bucket tips. Each rule defines the tip type, the taker group and the percentage to hedge if the rule is satisfied.","type":"array","items":{"type":"object","properties":{"tipCategory":{"description":"The tip type that triggers the evaluation of the hedge trade rule.","type":"string","enum":["ALL","BUCKET_FULL","PROFIT_LIMIT","LOSS_LIMIT","USER_INITIATED","TIP_AFTER_TIME"]},"takerGroup":{"description":"Hedge trades for the trade rule will be placed using this Taker Group.","type":"string"},"tipPercent":{"description":"The percentage to hedge if the trade rule is satisfied.","type":"string","format":"decimal128"},"brokerTraderName":{"description":"The name of the automated trader that will place hedge trades. Used for EDM/IDM selection.","type":"string"}},"required":["tipCategory","takerGroup","tipPercent","brokerTraderName"]}},"makerRouting":{"description":"Hedge trades will be routed to these makers. If empty then default top of book routing will be used.","type":"array","items":{"type":"string"}},"stepSizeRules":{"description":"Configures the step size for hedge trades on a per-symbol basis. If a symbol matches a rule, any hedge trade on that symbol will be rounded down towards zero to the nearest multiple of that rule\u0027s step size.","type":"array","items":{"type":"object","properties":{"symbolFilter":{"description":"One or more core symbols that this step size rule applies to. A hedge trade is rounded towards zero if its symbol matches the filter.","type":"object","properties":{"symbol":{"description":"Used to test if a symbol matches this rule. Special values supported include:\n* = any symbol, or\nregex[\u003cexpr\u003e] = match symbol to regular expression.","type":"string","format":"filter-string"},"symbolGroupPath":{"description":"Used to further restrict Symbols by their Symbol Group Path. Examples:\n* = matches all groups and sub-groups.\nFOREX = matches only symbols that use the Symbol Group Path FOREX but does NOT match any symbols that are in sub-groups of FOREX.\nFOREX/* = matches symbols with the Symbol Group Path FOREX and any other Symbol Group Path that is a sub-group of FOREX (e.g. FOREX/BAML/MINOR)","type":"string"}},"required":["symbol","symbolGroupPath"]},"stepSize":{"description":"Hedge trades on matching symbols will be rounded down towards zero to the nearest multiple of this step size.","type":"string","format":"decimal128"}},"required":["symbolFilter","stepSize"]}}},"required":["id","name","hedgeTradeMethod","hedgeTradeStrategyInstanceParameters","orderType","timeInForce","bucketHedgeTradeRules","makerRouting","stepSizeRules"]}}}},"delete":{"operationId":"DELETE-settings-systematic-hedge-trade-profile-id","summary":"systematic-hedge-trade-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.06 | Initial Version |\n|1.09|Add the capability to define a hedge percentage for each tip type|\n|1.10|auto-hedge-profile renamed to systematic-hedge-profile|\n|1.14|systematic-hedge-profile renamed to systematic-hedge-trade-profile. |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedge-trade-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/systematic-hedging-profile":{"get":{"operationId":"GET-settings-systematic-hedging-profile","summary":"systematic-hedging-profile - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|auto-hedge-group renamed to systematic-hedge-group|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated.|\n|1.19|systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field.|\n|1.20|Moved position settings into position subelement, id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","type":"string","format":"duration"}},"required":["dailyProfitLimit","dailyLossLimit","buckets","tipAfterTime"]}},"required":["id","name","position"]}}}}},"post":{"operationId":"POST-settings-systematic-hedging-profile","summary":"systematic-hedging-profile - Create a new Resource","description":"Create a new systematic-hedging-profile settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|auto-hedge-group renamed to systematic-hedge-group|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated.|\n|1.19|systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field.|\n|1.20|Moved position settings into position subelement, id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","default":"HEDGE","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"default":"HEDGE_BUCKETS","type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","default":"0","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","default":0,"type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","default":"","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","default":"","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","default":false,"type":"boolean"}},"required":["coreSymbol","hedgeTradeProfileName"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","default":"00:00:00.000000","type":"string","format":"duration"}}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","type":"string","format":"duration"}},"required":["dailyProfitLimit","dailyLossLimit","buckets","tipAfterTime"]}},"required":["id","name","position"]}}}}},"/settings/systematic-hedging-profile/{id}":{"get":{"operationId":"GET-settings-systematic-hedging-profile-id","summary":"systematic-hedging-profile - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|auto-hedge-group renamed to systematic-hedge-group|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated.|\n|1.19|systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field.|\n|1.20|Moved position settings into position subelement, id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedging-profile","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","type":"string","format":"duration"}},"required":["dailyProfitLimit","dailyLossLimit","buckets","tipAfterTime"]}},"required":["id","name","position"]}}}},"patch":{"operationId":"PATCH-settings-systematic-hedging-profile-id","summary":"systematic-hedging-profile - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|auto-hedge-group renamed to systematic-hedge-group|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated.|\n|1.19|systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field.|\n|1.20|Moved position settings into position subelement, id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedging-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"default":"","type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","default":"HEDGE","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"default":"HEDGE_BUCKETS","type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","default":"0","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"default":"","type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","default":0,"type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","default":"","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","default":"","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","default":false,"type":"boolean"}}}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","default":"00:00:00.000000","type":"string","format":"duration"}}}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","type":"string","format":"duration"}},"required":["dailyProfitLimit","dailyLossLimit","buckets","tipAfterTime"]}},"required":["id","name","position"]}}}},"put":{"operationId":"PUT-settings-systematic-hedging-profile-id","summary":"systematic-hedging-profile - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|auto-hedge-group renamed to systematic-hedge-group|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated.|\n|1.19|systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field.|\n|1.20|Moved position settings into position subelement, id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedging-profile","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","default":"HEDGE","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"default":"HEDGE_BUCKETS","type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","default":"0","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","default":0,"type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","default":"","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","default":"","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","default":false,"type":"boolean"}},"required":["coreSymbol","hedgeTradeProfileName"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","default":"00:00:00.000000","type":"string","format":"duration"}}}},"required":["name"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","name":"string value","position":{"dailyProfitLimit":"0","dailyLossLimit":"0","buckets":[{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false}],"tipAfterTime":"00:00:00.000000"}},"type":"object","properties":{"id":{"type":"string","format":"guid"},"name":{"type":"string"},"position":{"type":"object","properties":{"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","type":"string","format":"decimal128"},"buckets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}},"tipAfterTime":{"description":"If set to a non zero duration, this will be the default Tip After Time for all buckets within the profile. If set to zero duration, Time Based Tipping will be disabled for this profile by default. Each bucket can override this by setting a Tip After Time value. ","type":"string","format":"duration"}},"required":["dailyProfitLimit","dailyLossLimit","buckets","tipAfterTime"]}},"required":["id","name","position"]}}}},"delete":{"operationId":"DELETE-settings-systematic-hedging-profile-id","summary":"systematic-hedging-profile - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|auto-hedge-group renamed to systematic-hedge-group|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated.|\n|1.19|systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field.|\n|1.20|Moved position settings into position subelement, id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The id of the systematic-hedging-profile","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/settings/systematic-hedging-profile/{profileId}/buckets":{"get":{"operationId":"GET-settings-systematic-hedging-profile-profileId-buckets","summary":"systematic-hedging-profile/{profileId}/buckets - Retrieve all Resource settings as an array","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.07|Convert autoHedgeEnabled to autoHedgeMode|\n|1.10|As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027.|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO.|\n|1.20|Bucket id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"type":"array","items":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}}}}},"post":{"operationId":"POST-settings-systematic-hedging-profile-profileId-buckets","summary":"systematic-hedging-profile/{profileId}/buckets - Create a new Resource","description":"Create a new systematic-hedging-profile/{profileId}/buckets settings.  The body of a resource POST can optionally include only a partial set of fields from the resource schema,as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. Thiswill be automatically allocated by the Hub and returned in the Response body.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.07|Convert autoHedgeEnabled to autoHedgeMode|\n|1.10|As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027.|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO.|\n|1.20|Bucket id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","default":"HEDGE","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"default":"HEDGE_BUCKETS","type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","default":"0","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","default":0,"type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","default":"","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","default":"","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","default":false,"type":"boolean"}},"required":["coreSymbol","hedgeTradeProfileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"},{"name":"Idempotency-Key","in":"header","description":"To prevent issues caused by repeated HTTP POSTs of the same request, the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific POST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive the same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.The Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, at which point it is no longer safe to use.For more details, see the documentation section titled \"POST Idempotency\".","required":true,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}}}}},"/settings/systematic-hedging-profile/{profileId}/buckets/{id}":{"get":{"operationId":"GET-settings-systematic-hedging-profile-profileId-buckets-id","summary":"systematic-hedging-profile/{profileId}/buckets - Retrieve a single Resource\u0027s settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.07|Convert autoHedgeEnabled to autoHedgeMode|\n|1.10|As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027.|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO.|\n|1.20|Bucket id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the systematic-hedging-profile/{profileId}/buckets","required":true,"type":"string"},{"name":"If-None-Match","in":"header","description":"Set to the last known ETag value. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty. Else If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers","required":false,"type":"string"},{"name":"appliedSettings","in":"query","description":"If true, returns the current in-memory Settings that are APPLIED to the Hub.\r\nIf false (default), returns the latest Settings from disk.","default":false,"type":"boolean","required":false}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}}}},"patch":{"operationId":"PATCH-settings-systematic-hedging-profile-profileId-buckets-id","summary":"systematic-hedging-profile/{profileId}/buckets - Modify an existing Resource","description":"A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified.If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.07|Convert autoHedgeEnabled to autoHedgeMode|\n|1.10|As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027.|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO.|\n|1.20|Bucket id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the systematic-hedging-profile/{profileId}/buckets","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","default":"HEDGE","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"default":"HEDGE_BUCKETS","type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","default":"0","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"default":"","type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","default":0,"type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","default":"","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","default":"","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","default":false,"type":"boolean"}}}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}}}},"put":{"operationId":"PUT-settings-systematic-hedging-profile-profileId-buckets-id","summary":"systematic-hedging-profile/{profileId}/buckets - Replace an existing Resource","description":"A PUT can optionally include only a partial set of fields, with all other fields being set to default.Hence a PUT will entirely replace an existing resource,even if only a subset of fields is specified.Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id.If the desire is to modify only a subset of fields(instead of replacing an entire resource), then a PATCH should be used instead.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.07|Convert autoHedgeEnabled to autoHedgeMode|\n|1.10|As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027.|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO.|\n|1.20|Bucket id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the systematic-hedging-profile/{profileId}/buckets","required":true,"type":"string"},{"name":"body","in":"body","schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","default":"HEDGE","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"default":"HEDGE_BUCKETS","type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","default":"0","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","default":"0","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","default":"0","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","default":"0","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","default":0,"type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","default":"","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","default":"","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","default":false,"type":"boolean"}},"required":["hedgeTradeProfileName"]}},{"name":"If-Match","in":"header","description":"REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. If the ETag / resource has changed from the value sent the server will return a 412 - Precondition Failed message.","required":false,"type":"string"}],"responses":{"200":{"description":"","headers":{"ETag":{"description":"The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, ETags are useful to help prevent simultaneous updates of a resource from overwriting each other (\"mid-air collisions\").If the resource at a given URL changes, a new ETag value must be generated.","type":"string"},"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}},"schema":{"example":{"id":"cmBSAFVgjkCDv3_d8Kw9tw","coreSymbol":"","lockRouting":"HEDGE","systematicHedgeMode":"HEDGE_BUCKETS","bucketSize":"0","takeProfitLimit":"0","stopLossLimit":"0","dailyProfitLimit":"0","dailyLossLimit":"0","hedgeTradeProfileName":"","alertPercentage":0,"sessionProfileName":"","systematicHedgeSessionProfileName":"","tipAfterTime":"00:03:00.000000","lossChecksUseOppositeSide":false},"type":"object","properties":{"id":{"type":"string","format":"guid"},"coreSymbol":{"type":"string"},"lockRouting":{"description":"Routes trades that would ordinarily go in a locked bucket.\n\nOptions:\n - Hedge Trade: Trades bypass the locked bucket and are hedged.\n - Send to Default Portfolio: Trades are sent to the default portfolio instead of the portfolio of the bucket (i.e. the trades are still warehoused but their quantity is not added to the portfolio of the bucket).","type":"string","enum":["HEDGE","DEFAULT_PORTFOLIO"]},"systematicHedgeMode":{"type":"string","enum":["DISABLED","HEDGE_BUCKETS","HEDGE_BUCKETS_AND_TRADES","DISABLED_INCLUDING_MANUAL_AND_DAILY"]},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"hedgeTradeProfileName":{"type":"string"},"alertPercentage":{"description":"Send a risk alert when the bucket reaches this percent full. Set to zero to disable alerts for this bucket.","type":"integer","format":"int32"},"sessionProfileName":{"description":"Session profile to control Locking of the bucket. The \u0027Trades\u0027 session in the profile controls locking:\r\n - Session active: Locking/Unlocking of the bucket is controlled by the lock control in the Systematic Hedge UI.\r\n - Session inactive: The bucket will be forced locked, regardless of the lock control state in the Systematic Hedge UI.","type":"string"},"systematicHedgeSessionProfileName":{"description":"Session profile to control Auto Tip of the bucket. The \u0027Trades\u0027 session in the profile controls Auto Tip:\r\n - Session active: Auto Tip is controlled by the bucket\u0027s Auto Tip Mode setting.\r\n - Session inactive: Auto Tip is forced disabled, regardless of the bucket\u0027s Auto Tip Mode setting.","type":"string"},"tipAfterTime":{"description":"If set to a non zero duration, Tip the bucket after the specified amount of time. The timer starts once the bucket has a non zero position. If set to zero duration, Time Based Tipping will be disabled for this bucket. If not set and Profile Settings Tip After Time has a non zero Duration, the bucket will tip after the Profile settings duration.","type":"string","format":"duration"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["id","coreSymbol","lockRouting","systematicHedgeMode","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","hedgeTradeProfileName","alertPercentage","sessionProfileName","systematicHedgeSessionProfileName","lossChecksUseOppositeSide"]}}}},"delete":{"operationId":"DELETE-settings-systematic-hedging-profile-profileId-buckets-id","summary":"systematic-hedging-profile/{profileId}/buckets - Delete a Resource","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.07|Convert autoHedgeEnabled to autoHedgeMode|\n|1.10|As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027.|\n|1.14|systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO.|\n|1.20|Bucket id is now a guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["Settings","Systematic Hedge"],"security":[{"Authorization":[]}],"parameters":[{"name":"profileId","in":"path","description":"","required":true,"type":"string"},{"name":"id","in":"path","description":"The id of the systematic-hedging-profile/{profileId}/buckets","required":true,"type":"string"}],"responses":{"200":{"description":"OK - Operation Complete","headers":{"Warning":{"description":"The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change. Syntax: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e","type":"string"}}}}}},"/symbol-exposure":{"get":{"operationId":"GET-symbol-exposure","summary":"Retrieve exposure details for all symbols with exposure","description":"Returns an array containing each symbol and the exposure, VWAP, and PnL by maker entity and taker entity.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.00 | Initial Version |\n|1.12|Removed taker adapter and maker adapter terminology and added support for maker and taker entities.|\n|1.17|Added query fields, brokerEntityId and coreSymbol|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Risk Management"],"security":[{"Authorization":[]}],"parameters":[{"name":"index","in":"query","description":"Index within the underlying data to start returning items from","default":0,"type":"integer","format":"uint64","required":false},{"name":"count","in":"query","description":"Maximum number of items to return","default":4294967295,"type":"integer","format":"uint64","required":false},{"name":"brokerEntityId","in":"query","type":"string","format":"uuid","required":true},{"name":"coreSymbol","in":"query","type":"string","required":false}],"responses":{"200":{"description":"An array of of exposure details by symbol, maker entity and taker entity","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Symbol exposure across  all Maker and Taker adapters","example":{"instrumentInstanceName":"EUR/USD-Spot 2012-Aug-24","symbol":"AUD/CHF","exposure":"600000","makerEntityExposure":"300000","takerEntityExposure":"300000","makerEntityPnl":"300.2385","takerEntityPnl":"300.2385","warehousePosition":{"name":"FIX_001","position":"-300000","vwap":"87.133","pnl":"3.2913","marketPrice":"1.342"},"makerEntityPositions":[{"name":"FIX_001","position":"-300000","vwap":"87.133","pnl":"3.2913","marketPrice":"1.342"}],"takerEntityPositions":[{"name":"FIX_001","position":"-300000","vwap":"87.133","pnl":"3.2913","marketPrice":"1.342"}]},"type":"object","properties":{"instrumentInstanceName":{"description":"Instrument Instance Name","type":"string"},"symbol":{"description":"Symbol exposure is being aggregated for","type":"string"},"exposure":{"description":"Total exposure for current symbol","type":"string","format":"decimal128"},"makerEntityExposure":{"description":"Total maker entity exposure for current symbol","type":"string","format":"decimal128"},"takerEntityExposure":{"description":"Total taker entity exposure for current symbol","type":"string","format":"decimal128"},"makerEntityPnl":{"description":"Total maker entity PnL for current symbol","type":"string","format":"decimal128"},"takerEntityPnl":{"description":"Total taker entity PnL for current symbol","type":"string","format":"decimal128"},"warehousePosition":{"description":"Warehouse position details for current symbol","type":"object","properties":{"name":{"description":"Name of the entity for the current symbol","type":"string"},"position":{"description":"Current position for entity and symbol","type":"string","format":"decimal128"},"vwap":{"description":"Current VWAP for entity and symbol","type":"string","format":"decimal128"},"pnl":{"description":"Profit and loss for entity and symbol in USD","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price","type":"string","format":"decimal128"}},"required":["name","position","vwap"]},"makerEntityPositions":{"description":"Array of all maker entity positions for this symbol","type":"array","items":{"description":"Exposure / position for current adapter","type":"object","properties":{"name":{"description":"Name of the entity for the current symbol","type":"string"},"position":{"description":"Current position for entity and symbol","type":"string","format":"decimal128"},"vwap":{"description":"Current VWAP for entity and symbol","type":"string","format":"decimal128"},"pnl":{"description":"Profit and loss for entity and symbol in USD","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price","type":"string","format":"decimal128"}},"required":["name","position","vwap"]}},"takerEntityPositions":{"description":"Array of all taker entity positions for this symbol","type":"array","items":{"description":"Exposure / position for current adapter","type":"object","properties":{"name":{"description":"Name of the entity for the current symbol","type":"string"},"position":{"description":"Current position for entity and symbol","type":"string","format":"decimal128"},"vwap":{"description":"Current VWAP for entity and symbol","type":"string","format":"decimal128"},"pnl":{"description":"Profit and loss for entity and symbol in USD","type":"string","format":"decimal128"},"marketPrice":{"description":"Market price","type":"string","format":"decimal128"}},"required":["name","position","vwap"]}}},"required":["instrumentInstanceName","exposure","makerEntityExposure","takerEntityExposure","makerEntityPositions","takerEntityPositions"]}}}}}}}},"/systematic-hedge-portfolio":{"get":{"operationId":"GET-systematic-hedge-portfolio","summary":"Get all Systematic Hedge Portfolios","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.14|Systematic hedge group is now represented as a portfolio. id and name fields now represent portfolio id and name. groupPnLDenomination field is renamed as portfolioPnLDenomination.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Systematic Hedge Control"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Systematic Hedge Portfolio","example":{"id":23,"name":"Portfolio 1","portfolioPnLDenomination":"USD","dailyProfitLimit":"4000","dailyLossLimit":"-4000","totalUnrealizedPnL":"1000","totalRealizedPnL":"1000","totalPnL":"1000","buckets":[{"_links":[{"href":"string value","requiresWrite":true}],"id":"cLupa0SpTNix0rPRKDuzRQ","coreSymbol":"EUR/USD","lossChecksUseOppositeSide":false}]},"type":"object","properties":{"id":{"description":"Portfolio Id","type":"integer","format":"int64"},"name":{"description":"Name","type":"string"},"portfolioPnLDenomination":{"description":"Denomination of P\u0026L values for the portfolio","type":"string"},"dailyProfitLimit":{"description":"Daily Profit limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile reaches this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":" Daily Loss limit for the profile.\n\nIf the net realized plus unrealized P\u0026L for all buckets in the profile drops below this level, a systematic hedge will be triggered on the profile\u0027s buckets and they will be locked.\n\nIf set to zero then the profile has no daily loss limit.","type":"string","format":"decimal128"},"totalUnrealizedPnL":{"description":"Total Unrealized (floating) P\u0026L of all buckets in the portfolio. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"totalRealizedPnL":{"description":"Total Realized P\u0026L of all buckets in the portfolio, generated whenever a position in a bucket is closed out or hedged to market. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"totalPnL":{"description":"Combined total for Unrealized and Realized P\u0026L of all buckets in the portfolio. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"buckets":{"description":"Buckets","type":"array","items":{"description":"Systematic Hedge Bucket","type":"object","properties":{"_links":{"type":"array","items":{"type":"object","properties":{"href":{"type":"string"},"requiresWrite":{"type":"boolean"}},"required":["href"]}},"id":{"description":"Bucket Id","type":"string","format":"guid"},"coreSymbol":{"description":"Core Symbol","type":"string"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"}},"required":["_links","id","coreSymbol","lossChecksUseOppositeSide"]}}},"required":["id","name","portfolioPnLDenomination","dailyProfitLimit","dailyLossLimit","buckets"]}}}}}}}},"/systematic-hedge-portfolio/{id}/buckets":{"get":{"operationId":"GET-systematic-hedge-portfolio-id-buckets","summary":"Get all Systematic Hedge Buckets for a given portfolio","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.10 | Initial Version |\n|1.14|id path parameter now represents portfolio id.|\n|1.20|Bucket ids are now a base64 guid instead of an integer. The sign of Bucket position is now from the brokers perspective instead of the takers perspective, i.e. a Taker BUY is negative, a Taker SELL is positive.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Systematic Hedge Control"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"type":"object","properties":{"total":{"type":"integer","format":"int32"},"data":{"type":"array","items":{"description":"Systematic Hedge Bucket","example":{"id":"cLupa0SpTNix0rPRKDuzRQ","coreSymbol":"EUR/USD","lossChecksUseOppositeSide":false,"locked":false,"position":"-10000","adjustedPosition":"-10000","vwap":"1.342","unrealizedPnL":"1000","realizedPnL":"1000","bucketSize":"1000","takeProfitLimit":"4000","stopLossLimit":"-4000","dailyProfitLimit":"4000","dailyLossLimit":"-4000","totalPnL":"1000","pendingHedgeTradeRequestNewId":1234,"pendingHedgeTradeVolume":"800","totalHedgeTradeVolume":"1000","lockedBySessionProfile":false,"systematicHedgeDisabledBySessionProfile":false,"instrumentInstanceName":"AUD/CAD 2024-Aug-09","hedgeTradingSuspended":false},"type":"object","properties":{"id":{"description":"Bucket Id","type":"string","format":"guid"},"coreSymbol":{"description":"Core Symbol","type":"string"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"},"locked":{"description":"Bucket lock state","type":"boolean"},"position":{"description":"Bucket Net Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"adjustedPosition":{"description":"Bucket Net Position assuming all pending hedges are filled, +/- = BUY/SELL","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of bucket net position","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"Unrealized (floating) P\u0026L. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"realizedPnL":{"description":"Realized P\u0026L, generated whenever a position in the bucket is closed out or hedged to market. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"totalPnL":{"description":"The total for Unrealized and Realized P\u0026L of the bucket. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"pendingHedgeTradeRequestNewId":{"description":"RequestNewId of the current pending hedge trade (if any) from the bucket.","type":"integer","format":"int64"},"pendingHedgeTradeVolume":{"description":"Current pending hedge trade volume (if any) from the bucket.","type":"string","format":"decimal128"},"totalHedgeTradeVolume":{"description":"Total (initial) hedge trade volume (if any) from the bucket.","type":"string","format":"decimal128"},"lockedBySessionProfile":{"description":"Bucket Session Profile lock state. Will not be present if the bucket is not associated with any Session Profile.","type":"boolean"},"systematicHedgeDisabledBySessionProfile":{"description":"Is systematic-hedge on this bucket currently disabled by a Session Profile? Will not be present if the bucket systematic-hedge is not associated with any Session Profile.","type":"boolean"},"instrumentInstanceName":{"description":"The name of the instrument instance associated with the symbol of the bucket","type":"string"},"hedgeTradingSuspended":{"description":"Is Hedge Trading Suspended","type":"boolean"}},"required":["id","coreSymbol","lossChecksUseOppositeSide","locked","position","adjustedPosition","vwap","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","instrumentInstanceName","hedgeTradingSuspended"]}}}}}}}},"/systematic-hedge-portfolio/{portfolioId}/all-buckets":{"patch":{"operationId":"PATCH-systematic-hedge-portfolio-portfolioId-all-buckets","summary":"Modify all buckets in a specific portfolio with the same update operation","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.14|Instead of groupId path parameter, using portfolioId path parameter that represents portfolio id.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Systematic Hedge Control"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Systematic Hedge Bucket","example":{"locked":false,"position":"0","hedgeTradeParameters":{"orderType":"PEG_LIMIT","timeInForce":"DAY","price":"156.789"},"resumeHedgingRequested":false},"type":"object","properties":{"locked":{"description":"Set whether the bucket is locked","type":"boolean"},"position":{"description":"Hedge the bucket by adjusting its position to the given value. NOTE: Bucket data returned in response may not show the updated position if the hedge order has not yet been filled by a liquidity provider at the time the response is generated.","type":"string","format":"decimal128"},"hedgeTradeParameters":{"description":"Optional parameters for the hedge trade that is placed if the bucket is hedged via a \u0027position\u0027 adjustment.","type":"object","properties":{"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"type":"string","enum":["GTC","IOC","FOK","DAY"]},"price":{"type":"string","format":"decimal128"}},"required":["orderType","timeInForce"]},"resumeHedgingRequested":{"description":"Requested to resume hedge trading on this bucket","type":"boolean"}}}},{"name":"portfolioId","in":"path","description":"Portfolio ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"OK - Operation Complete"}}}},"/systematic-hedge-portfolio/{portfolioId}/buckets/{bucketId}":{"patch":{"operationId":"PATCH-systematic-hedge-portfolio-portfolioId-buckets-bucketId","summary":"Modify an systematic hedge bucket","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|Field \u0027autoHedgeDisabledBySessionProfile\u0027 renamed \u0027systematicHedgeDisabledBySessionProfile\u0027.|\n|1.14|Instead of groupId path parameter, using portfolioId path parameter that represents portfolio id.|\n|1.20|Bucket ids are now a base64 guid instead of an integer|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile","tags":["General","Systematic Hedge Control"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"description":"Systematic Hedge Bucket","example":{"locked":false,"position":"0","hedgeTradeParameters":{"orderType":"PEG_LIMIT","timeInForce":"DAY","price":"156.789"},"resumeHedgingRequested":false},"type":"object","properties":{"locked":{"description":"Set whether the bucket is locked","type":"boolean"},"position":{"description":"Hedge the bucket by adjusting its position to the given value. NOTE: Bucket data returned in response may not show the updated position if the hedge order has not yet been filled by a liquidity provider at the time the response is generated.","type":"string","format":"decimal128"},"hedgeTradeParameters":{"description":"Optional parameters for the hedge trade that is placed if the bucket is hedged via a \u0027position\u0027 adjustment.","type":"object","properties":{"orderType":{"type":"string","enum":["MARKET","LIMIT","STOP_LIMIT","PEG_LIMIT"]},"timeInForce":{"type":"string","enum":["GTC","IOC","FOK","DAY"]},"price":{"type":"string","format":"decimal128"}},"required":["orderType","timeInForce"]},"resumeHedgingRequested":{"description":"Requested to resume hedge trading on this bucket","type":"boolean"}}}},{"name":"portfolioId","in":"path","description":"Portfolio ID.","required":true,"type":"integer"},{"name":"bucketId","in":"path","description":"Bucket ID.","required":true,"type":"integer"}],"responses":{"200":{"description":"","schema":{"description":"Systematic Hedge Bucket","example":{"id":"cLupa0SpTNix0rPRKDuzRQ","coreSymbol":"EUR/USD","lossChecksUseOppositeSide":false,"locked":false,"position":"-10000","adjustedPosition":"-10000","vwap":"1.342","unrealizedPnL":"1000","realizedPnL":"1000","bucketSize":"1000","takeProfitLimit":"4000","stopLossLimit":"-4000","dailyProfitLimit":"4000","dailyLossLimit":"-4000","totalPnL":"1000","pendingHedgeTradeRequestNewId":1234,"pendingHedgeTradeVolume":"800","totalHedgeTradeVolume":"1000","lockedBySessionProfile":false,"systematicHedgeDisabledBySessionProfile":false,"instrumentInstanceName":"AUD/CAD 2024-Aug-09","hedgeTradingSuspended":false},"type":"object","properties":{"id":{"description":"Bucket Id","type":"string","format":"guid"},"coreSymbol":{"description":"Core Symbol","type":"string"},"lossChecksUseOppositeSide":{"description":"Use the opposite side to calculate loss limits","type":"boolean"},"locked":{"description":"Bucket lock state","type":"boolean"},"position":{"description":"Bucket Net Position, +/- = BUY/SELL","type":"string","format":"decimal128"},"adjustedPosition":{"description":"Bucket Net Position assuming all pending hedges are filled, +/- = BUY/SELL","type":"string","format":"decimal128"},"vwap":{"description":"VWAP of bucket net position","type":"string","format":"decimal128"},"unrealizedPnL":{"description":"Unrealized (floating) P\u0026L. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"realizedPnL":{"description":"Realized P\u0026L, generated whenever a position in the bucket is closed out or hedged to market. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"bucketSize":{"description":"Target position for the bucket. If set to zero then the bucket has no target position and will continue to fill until a P\u0026L limit is hit or a user initiated hedge started.","type":"string","format":"decimal128"},"takeProfitLimit":{"description":"Take Profit limit for the bucket, when Unrealized P\u0026L reaches this level a systematic hedge will be triggered. If set to zero then the bucket has no Take Profit Limit and will continue to fill until the size or Stop Loss Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"stopLossLimit":{"description":"Stop Loss limit for the bucket, when Unrealized P\u0026L drops to this level a systematic hedge will be triggered. If set to zero then the bucket has no Stop Loss Limit and will continue to fill until the size or Take Profit Limit is hit, or a user initiated hedge is started.","type":"string","format":"decimal128"},"dailyProfitLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol reaches this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily profit limit.","type":"string","format":"decimal128"},"dailyLossLimit":{"description":"If the net realized plus unrealized P\u0026L for the configured symbol drops below this level, a systematic hedge is triggered on the symbol and that symbol\u0027s bucket is locked.\n\nIf set to zero, the symbol has no daily loss limit.","type":"string","format":"decimal128"},"totalPnL":{"description":"The total for Unrealized and Realized P\u0026L of the bucket. Will not be present if P\u0026L was unable to be calculated due to missing prices.","type":"string","format":"decimal128"},"pendingHedgeTradeRequestNewId":{"description":"RequestNewId of the current pending hedge trade (if any) from the bucket.","type":"integer","format":"int64"},"pendingHedgeTradeVolume":{"description":"Current pending hedge trade volume (if any) from the bucket.","type":"string","format":"decimal128"},"totalHedgeTradeVolume":{"description":"Total (initial) hedge trade volume (if any) from the bucket.","type":"string","format":"decimal128"},"lockedBySessionProfile":{"description":"Bucket Session Profile lock state. Will not be present if the bucket is not associated with any Session Profile.","type":"boolean"},"systematicHedgeDisabledBySessionProfile":{"description":"Is systematic-hedge on this bucket currently disabled by a Session Profile? Will not be present if the bucket systematic-hedge is not associated with any Session Profile.","type":"boolean"},"instrumentInstanceName":{"description":"The name of the instrument instance associated with the symbol of the bucket","type":"string"},"hedgeTradingSuspended":{"description":"Is Hedge Trading Suspended","type":"boolean"}},"required":["id","coreSymbol","lossChecksUseOppositeSide","locked","position","adjustedPosition","vwap","bucketSize","takeProfitLimit","stopLossLimit","dailyProfitLimit","dailyLossLimit","instrumentInstanceName","hedgeTradingSuspended"]}}}}},"/taker":{"get":{"operationId":"GET-taker","summary":"Get all Takers","description":"Retrieve all Takers registered in the Hub. Supports filtering by takerEntityId and takerAdapter query parameters.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|subscribedSymbolsOnly query param no longer supported. To get subscribed symbols instead query api/rest/quotes with subscribedSymbolsOnly = true|\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled\n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Hub"],"security":[{"Authorization":[]}],"parameters":[{"name":"summaryOnly","in":"query","type":"boolean","required":false},{"name":"takerEntityId","in":"query","description":"Taker entity ID to filter by. If specified, only takers for this entity are returned.","type":"string","format":"uuid","required":false},{"name":"takerAdapter","in":"query","description":"Taker adapter/connection ID to filter by. If specified, only this taker adapter is returned.","type":"string","required":false}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Taker Info","example":{"id":"","adapterId":"OZ_001","entityId":"10000000-0000-0000-0000-000000000001","entityDisplayName":"EN1","isOnBehalfOfId":false,"hasRfqSymbols":false,"hasMdsSymbols":true,"takerSymbols":[{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]}}]},"type":"object","properties":{"id":{"description":"Unique identifier","type":"string","format":"guid"},"adapterId":{"description":"Hub Taker Id","type":"string"},"entityId":{"description":"Hub Taker Entity Id","type":"string","format":"uuid"},"entityDisplayName":{"description":"Hub Taker Entity Display Name","type":"string"},"isOnBehalfOfId":{"description":"Is this Taker used for On Behalf Of trading","type":"boolean"},"hasRfqSymbols":{"description":"Does this taker have any RFQ symbols","type":"boolean"},"hasMdsSymbols":{"description":"Does this taker have any MDS symbols","type":"boolean"},"takerSymbols":{"description":"List of Taker symbols for this Taker. If the query is for subscribedSymbolsOnly, then only includes symbols the Taker is actively subscribed to.","type":"array","items":{"description":"Taker Symbol Detail","type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread"]}}},"required":["id","adapterId","entityId","entityDisplayName","isOnBehalfOfId","hasRfqSymbols","hasMdsSymbols","takerSymbols"]}}}}}},"/taker/{id}/taker-symbols":{"get":{"operationId":"GET-taker-id-taker-symbols","summary":"Get Taker Symbols","description":"Retrieve detailed information for all symbols used by a Taker\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.10|subscribedSymbolsOnly query param no longer supported. To get subscribed symbols instead query api/rest/quotes with subscribedSymbolsOnly = true|\n|1.38|Added assetIsInverted flag for Instrument.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled\n- Quick Exposure tile\n- Currency Pair Exposure tile\n- Taker Currency Positions tile\n- Taker Currency Pair Positions tile\n- Portfolios tile\n- Stop Order Monitor tile\n- Systematic Hedge Portfolios tile\n- Systematic Hedge Bucket tile\n- Legacy Risk Management Trade tile\n- Hub Status tile\n- Hub Log tile\n- Quote Monitor tile","tags":["General","Taker"],"security":[{"Authorization":[]}],"parameters":[{"name":"id","in":"path","description":"The Taker resource id to query symbol information for","required":true,"type":"string"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"description":"Taker Symbol Detail","example":{"takerStreamId":".mkt","takerStreamName":"Stream_Mkt","takerSymbol":"EURUSD.mkt","coreSymbol":"EUR/USD","streamType":"Market Data","pricePrecisionInDigits":5,"volumePrecisionInDigits":2,"spotRateDisplayPrecision":5,"pipsDecimalPlaces":5,"forwardRatePrecision":5,"takerId":"string value","makers":["string value"],"instrumentType":"SPOT_FX","symbolGroupPath":"","termCurrency":"USD","baseCurrency":"EUR","coreBidSpread":"-0.00002","coreAskSpread":"0.00002","minSpread":"0.00002","maxSpread":"0.00008","takerContractSize":"100","takerPriceMultiplier":"2","instrument":{"instrumentId":153,"instrumentName":"string value","instrumentType":"NA","settlementDate":"2016-11-20","tenor":"string value","fixingSource":"string value","isCFD":false,"isSpot":false,"isFxForward":false,"assetName":"string value","assetClass":"NA","subAssetClass":"NA","assetIsIndex":false,"assetIsInverted":false,"assetBaseCurrency":"string value","assetTermCurrency":"string value"},"rfqDetail":{"acceptedTenors":["string value"],"tenorRanges":[{"minTenorRange":"SPOT","maxTenorRange":"SPOT","minTenorRangeInclusive":false,"maxTenorRangeInclusive":false}]}},"type":"object","properties":{"takerStreamId":{"description":"Taker Stream Id","type":"string"},"takerStreamName":{"description":"Taker Stream Name","type":"string"},"takerSymbol":{"description":"Taker Symbol","type":"string"},"coreSymbol":{"description":"Core Symbol associated with this Taker Symbol","type":"string"},"streamType":{"description":"The symbol\u0027s stream type","type":"string","enum":["MARKET_DATA","RFQ"]},"pricePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in prices for this symbol","type":"integer","format":"int32"},"volumePrecisionInDigits":{"description":"Max number of significant digits after the decimal point in volumes for this symbol","type":"integer","format":"int32"},"spotRateDisplayPrecision":{"description":"Digits of precision for spot rates","type":"integer","format":"int32"},"pipsDecimalPlaces":{"description":"Decimal places shown in larger font","type":"integer","format":"int32"},"forwardRatePrecision":{"description":"Digits of precision for forward rates and forward points","type":"integer","format":"int32"},"takerId":{"description":"The taker Id","type":"string"},"makers":{"description":"Makers that are feeding pricing to this taker symbol","type":"array","items":{"type":"string"}},"instrumentType":{"description":"This symbol\u0027s instrument type","type":"string","enum":["SPOT_FX","CFD"]},"symbolGroupPath":{"description":"The Symbol Group Path associated with this taker symbol","type":"string"},"termCurrency":{"description":"The symbol\u0027s Term Currency","type":"string"},"baseCurrency":{"description":"The symbol\u0027s Base Currency","type":"string"},"coreBidSpread":{"description":"Core Bid Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"coreAskSpread":{"description":"Core Ask Spread (excludes maker/taker spread) in symbol price units","type":"string","format":"decimal128"},"minSpread":{"description":"Min Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"maxSpread":{"description":"Max Spread in symbol price units. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerContractSize":{"description":"1 Taker volume unit = \u003cTaker Contract Size\u003e volume units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"takerPriceMultiplier":{"description":"1 Taker price unit = \u003cTaker Price Multipler\u003e price units in the Hub. Omitted if not in use for the symbol","type":"string","format":"decimal128"},"instrument":{"description":"The symbol\u0027s instrument","type":"object","properties":{"instrumentId":{"type":"integer","format":"int64"},"instrumentName":{"type":"string"},"instrumentType":{"type":"string"},"settlementDate":{"type":"string","format":"date"},"tenor":{"type":"string"},"fixingSource":{"type":"string"},"isCFD":{"type":"boolean"},"isSpot":{"type":"boolean"},"isFxForward":{"type":"boolean"},"assetName":{"type":"string"},"assetClass":{"type":"string"},"subAssetClass":{"type":"string"},"assetIsIndex":{"type":"boolean"},"assetIsInverted":{"type":"boolean"},"assetBaseCurrency":{"type":"string"},"assetTermCurrency":{"type":"string"}},"required":["instrumentId","instrumentName","instrumentType","fixingSource","isCFD","isSpot","isFxForward","assetName","assetClass","subAssetClass","assetIsIndex","assetIsInverted","assetTermCurrency"]},"rfqDetail":{"description":"The taker symbol\u0027s RFQ information","type":"object","properties":{"acceptedTenors":{"description":"The set of valid tenors for this taker symbol. Broken dates may also be accepted depending on the tenorRanges.","type":"array","items":{"type":"string"}},"tenorRanges":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"array","items":{"description":"Taker Symbol RFQ Range Detail","type":"object","properties":{"minTenorRange":{"description":"Minimum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"maxTenorRange":{"description":"Maximum tenor value valid for this rfq","type":"string","enum":["NA","TODAY","TOMORROW","SPOT","SPOT_NEXT","1W","2W","3W","1M","2M","3M","4M","5M","6M","7M","8M","9M","10M","11M","1Y","2Y","3Y","4Y","5Y","6Y","7Y","8Y","9Y","10Y","1IMM","2IMM","3IMM","4IMM"]},"minTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the min tenor","type":"boolean"},"maxTenorRangeInclusive":{"description":"Whether or not the min/max tenor range includes the max tenor","type":"boolean"}},"required":["minTenorRange","maxTenorRange","minTenorRangeInclusive","maxTenorRangeInclusive"]}}},"required":["acceptedTenors","tenorRanges"]}},"required":["takerStreamId","takerStreamName","takerSymbol","coreSymbol","streamType","pricePrecisionInDigits","volumePrecisionInDigits","spotRateDisplayPrecision","pipsDecimalPlaces","forwardRatePrecision","takerId","makers","instrumentType","symbolGroupPath","termCurrency","coreBidSpread","coreAskSpread"]}}}}}},"/user-settings":{"get":{"operationId":"GET-user-settings","summary":"Retrieve all user settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.33 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group\n- Admin with View Only Mode enabled","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[],"responses":{"200":{"description":"","schema":{"type":"array","items":{"example":{"clientDefinedUserAliases":[{"userId":"string value","alias":"string value"}]},"type":"object","properties":{"clientDefinedUserAliases":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"alias":{"type":"string"}},"required":["userId","alias"]}}},"required":["clientDefinedUserAliases"]}}}}},"put":{"operationId":"PUT-user-settings","summary":"Set user settings","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.33 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Belong to the WebAdmin group","tags":["General","Admin"],"security":[{"Authorization":[]}],"parameters":[{"name":"body","in":"body","schema":{"example":{"clientDefinedUserAliases":[{"userId":"string value","alias":"string value"}]},"type":"object","properties":{"clientDefinedUserAliases":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"alias":{"type":"string"}},"required":["userId","alias"]}}},"required":["clientDefinedUserAliases"]}}],"responses":{"200":{"description":"","schema":{"example":{"clientDefinedUserAliases":[{"userId":"string value","alias":"string value"}]},"type":"object","properties":{"clientDefinedUserAliases":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"alias":{"type":"string"}},"required":["userId","alias"]}}},"required":["clientDefinedUserAliases"]}}}}},"/marginplus-account/{id}":{"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve a single MarginPlus Account","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.22|Added groupId|\n|1.25|Change account name to userId|\n|1.32|Change MarginUtilizationPercentage to MarginLevelPercentage|\n|1.33|Added Daily Cumulative Amount Used, Daily Cumulative Amount Remaining and Daily Limit Percentage Utilized|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account-id","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MarginPlusAccountDto"}}},"security":[{"Authorization":[]}]}},"/marginplus-account":{"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve MarginPlus Accounts","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.21 | Initial Version |\n|1.22|Added groupId|\n|1.25|Change account name to userId|\n|1.27|Add filtering and sorting and return Total matching results count in the response|\n|1.32|Change MarginUtilizationPercentage to MarginLevelPercentage|\n|1.33|Added Daily Cumulative Amount Used, Daily Cumulative Amount Remaining and Daily Limit Percentage Utilized|\n|1.35|Filtering of fields now requires wildcard * if it is not an exact match. Wildcard matching on Id is removed along with the related IdMatchAny parameter.|\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account","produces":["application/json"],"parameters":[{"in":"query","name":"Id","description":"A list of Account Ids to filter on\n\nPass multiple values using Repeated Key Notation, e.g. `Id=\u003ca\u003e\u0026Id=\u003cb\u003e\u0026Id=\u003cc\u003e`","type":"array","items":{"format":"int64","type":"integer"},"collectionFormat":"multi"},{"in":"query","name":"UserId","description":"A list of User Ids to filter on\n\nPass multiple values using Repeated Key Notation, e.g. `UserId=\u003ca\u003e\u0026UserId=\u003cb\u003e\u0026UserId=\u003cc\u003e`","type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"in":"query","name":"AccountGroup","description":"A list of Account Groups to filter on\n\nPass multiple values using Repeated Key Notation, e.g. `AccountGroup=\u003ca\u003e\u0026AccountGroup=\u003cb\u003e\u0026AccountGroup=\u003cc\u003e`","type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"in":"query","name":"AccountGroupMatchAny","description":"For more than one Account Group filter, any filter strings can match if this is true, otherwise all must match","type":"boolean"},{"in":"query","name":"Currency","description":"A list of Currencies to filter on\n\nPass multiple values using Repeated Key Notation, e.g. `Currency=\u003ca\u003e\u0026Currency=\u003cb\u003e\u0026Currency=\u003cc\u003e`","type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"in":"query","name":"CurrencyMatchAny","description":"For more than Currency filter, any filter strings can match if this is true, otherwise all must match","type":"boolean"},{"in":"query","name":"Email","description":"A list of Email Addresses to filter on\n\nPass multiple values using Repeated Key Notation, e.g. `Email=\u003ca\u003e\u0026Email=\u003cb\u003e\u0026Email=\u003cc\u003e`","type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"in":"query","name":"EmailMatchAny","description":"For more than one email address, any filter strings can match if this is true, otherwise all must match","type":"boolean"},{"in":"query","name":"SortColumn","description":"Which column to sort by: id (default), userId, accountGroup, currency, email","type":"string"},{"in":"query","name":"SortDirection","description":"Which direction to sort: asc (default), desc","type":"string"},{"in":"query","name":"Index","description":"Start index at which to start returning accounts from.","type":"integer","format":"int32"},{"in":"query","name":"Count","description":"Maximum number of accounts to return.","type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MarginPlusAccountDtoInt32TotaledQueryResponse"}}},"security":[{"Authorization":[]}]}},"/marginplus-account/{id}/state":{"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve the dynamic state of a Margin Plus account that is affected by pricing changes.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.34 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account-id-state","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MarginPlusAccountStateDto"}}},"security":[{"Authorization":[]}]}},"/marginplus-account/{id}/orders":{"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve MarginPlus Orders","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account-id-orders","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"The ID of the MarginPlus account, for which positions or orders will be returned.","required":true,"type":"integer","format":"int64"},{"in":"query","name":"TakerLogin","description":"Only return positions or orders whose taker login matches a particular value.","type":"string"},{"in":"query","name":"TicketOpenedStartTime","description":"Only return positions whose time opened value falls on or after this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"TicketOpenedEndTime","description":"Only return positions whose time opened value falls on or before this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"TicketClosedStartTime","description":"Only return positions whose time closed value falls on or after this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"TicketClosedEndTime","description":"Only return positions whose time closed value falls on or before this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"Symbol","description":"Only return orders or positions whose symbol matches a particular value.","type":"string"},{"in":"query","name":"Status","description":"Only return orders or positions whose status matches a particular value.\n\nPass multiple values using Repeated Key Notation, e.g. `Status=\u003ca\u003e\u0026Status=\u003cb\u003e\u0026Status=\u003cc\u003e`","type":"array","items":{"enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN","OPEN","ACTIVATING_CLOSE","CLOSED","OUT_TRADE"],"type":"string"},"collectionFormat":"multi"},{"in":"query","name":"Index","description":"Start index at which to start returning positions or orders from.","type":"integer","format":"int32"},{"in":"query","name":"Count","description":"Maximum number of positions or orders to return.","type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MarginPlusOrderDto"}}}},"security":[{"Authorization":[]}]}},"/marginplus-account/{id}/positions":{"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve MarginPlus Positions","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.35 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account-id-positions","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"The ID of the MarginPlus account, for which positions or orders will be returned.","required":true,"type":"integer","format":"int64"},{"in":"query","name":"TakerLogin","description":"Only return positions or orders whose taker login matches a particular value.","type":"string"},{"in":"query","name":"TicketOpenedStartTime","description":"Only return positions whose time opened value falls on or after this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"TicketOpenedEndTime","description":"Only return positions whose time opened value falls on or before this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"TicketClosedStartTime","description":"Only return positions whose time closed value falls on or after this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"TicketClosedEndTime","description":"Only return positions whose time closed value falls on or before this timestamp. The timestamp should be in ISO 8601 standard.","type":"string","format":"date-time"},{"in":"query","name":"Symbol","description":"Only return orders or positions whose symbol matches a particular value.","type":"string"},{"in":"query","name":"Status","description":"Only return orders or positions whose status matches a particular value.\n\nPass multiple values using Repeated Key Notation, e.g. `Status=\u003ca\u003e\u0026Status=\u003cb\u003e\u0026Status=\u003cc\u003e`","type":"array","items":{"enum":["PENDING_OPEN","ACTIVATING_OPEN","REJECTED_OPEN","CANCELED_OPEN","OPEN","ACTIVATING_CLOSE","CLOSED","OUT_TRADE"],"type":"string"},"collectionFormat":"multi"},{"in":"query","name":"Index","description":"Start index at which to start returning positions or orders from.","type":"integer","format":"int32"},{"in":"query","name":"Count","description":"Maximum number of positions or orders to return.","type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MarginPlusTicketDto"}}}},"security":[{"Authorization":[]}]}},"/marginplus-account/statement":{"get":{"tags":["General","MarginPlus Account"],"summary":"Generate MarginPlus Account Statement","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.23 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"GET-marginplus-account-statement","produces":["application/json"],"parameters":[{"in":"query","name":"AccountIds","description":"A list of MarginPlus Account Ids to generate a statement for\n\nPass multiple values using Repeated Key Notation, e.g. `AccountIds=\u003ca\u003e\u0026AccountIds=\u003cb\u003e\u0026AccountIds=\u003cc\u003e`","required":true,"type":"array","items":{"format":"int64","type":"integer"},"collectionFormat":"multi"},{"in":"query","name":"StartDate","description":"Statement Period Start Date","required":true,"type":"string","format":"date"},{"in":"query","name":"EndDate","description":"Statement Period End Date","required":true,"type":"string","format":"date"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MarginPlusStatementDto"}}}},"security":[{"Authorization":[]}]}},"/marginplus-account/events":{"get":{"tags":["General","MarginPlus Account"],"summary":"Retrieve MarginPlus Account Events","description":"This will only ever return up to 1000 events, but can be called multiple times with SinceEventId to page through events.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.32 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Admin user","operationId":"GET-marginplus-account-events","produces":["application/json"],"parameters":[{"in":"query","name":"SinceEventId","description":"Optional start event id to be specified. Only events whose id is \u003e SinceEventId will be returned.","type":"integer","format":"int64"},{"in":"query","name":"Type","description":"Optional 1 or more types to be specified to filter the query. Only events whose type is in this list will be returned.\n\nPass multiple values using Repeated Key Notation, e.g. `Type=\u003ca\u003e\u0026Type=\u003cb\u003e\u0026Type=\u003cc\u003e`","type":"array","items":{"enum":["ORDER_CREATED","POSITION_OPENED","POSITION_CLOSED","ORDER_REJECTED","ORDER_CANCELED","POSITION_CLOSE_REJECTED","ACCOUNT_STOP_OUT","ACCOUNT_MARGIN_CALL_ENTERED","ACCOUNT_MARGIN_CALL_EXITED","ACCOUNT_LEDGER_ADJUSTMENT","ACCOUNT_DAILY_CUMULATIVE_TRADING_LIMIT_REACHED","ORDER_MODIFIED","POSITION_MODIFIED"],"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MarginPlusEventDto"}}}},"security":[{"Authorization":[]}]}},"/marginplus-account-admin/user/{id}/password":{"put":{"tags":["General","MarginPlus Admin"],"summary":"Set MarginPlus Account Password","description":"Sets the password for the specified MarginPlus user account.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser/{id}/password renamed to api/rest/marginplus-account-admin/user/{id}/password|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"PUT-marginplus-account-admin-user-id-password","consumes":["multipart/form-data"],"parameters":[{"in":"path","name":"id","description":"The user id of the MarginPlus user account.","required":true,"type":"string"},{"in":"formData","name":"password","required":true,"type":"string"}],"responses":{"200":{"description":"OK"}},"security":[{"Authorization":[]}]}},"/marginplus-account-admin/user/{id}/set_email_address":{"put":{"tags":["General","MarginPlus Admin"],"summary":"Set MarginPlus Account Email Address","description":"Updates the email address associated with the specified MarginPlus user account.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.01 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser/{id}/set_email_address renamed to api/rest/marginplus-account-admin/user/{id}/set_email_address|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"PUT-marginplus-account-admin-user-id-set_email_address","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"The user id of the MarginPlus user account.","required":true,"type":"string"},{"in":"formData","name":"email","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/User"}}},"security":[{"Authorization":[]}]}},"/marginplus-account-admin/user/{id}/mfa_methods":{"delete":{"tags":["General","MarginPlus Admin"],"summary":"Delete MarginPlus Account MFA Methods","description":"Removes all multi-factor authentication methods configured for the specified MarginPlus\r\nuser account. After this call, the user will be prompted to re-enroll in MFA on their\r\nnext login.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.30 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser/{id}/mfa_methods renamed to api/rest/marginplus-account-admin/user/{id}/mfa_methods|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"DELETE-marginplus-account-admin-user-id-mfa_methods","parameters":[{"in":"path","name":"id","description":"The user id of the MarginPlus user account.","required":true,"type":"string"}],"responses":{"204":{"description":"No Content"}},"security":[{"Authorization":[]}]}},"/marginplus-account-admin/user":{"post":{"tags":["General","MarginPlus Admin"],"summary":"Create a new MarginPlus user account","description":"Creates a new MarginPlus user account with the specified email address.\r\nReturns the newly created user record including the assigned user id.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser renamed to api/rest/marginplus-account-admin/user|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"POST-marginplus-account-admin-user","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"in":"formData","name":"email","required":true,"type":"string"}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/User"}}},"security":[{"Authorization":[]}]},"get":{"tags":["General","MarginPlus Admin"],"summary":"Search for a MarginPlus user account by email address","description":"Searches for a MarginPlus user account matching the specified email address.\r\nReturns the user id and email address if a match is found.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser?email={email} renamed to api/rest/marginplus-account-admin/user?email={email}|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"GET-marginplus-account-admin-user","produces":["application/json"],"parameters":[{"in":"query","name":"email","description":"The email address to search for.","type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/User"}}},"security":[{"Authorization":[]}]}},"/marginplus-account-admin/user/{id}":{"delete":{"tags":["General","MarginPlus Admin"],"summary":"Delete a MarginPlus user account","description":"Permanently deletes the specified MarginPlus user account.\r\nThis action cannot be undone.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser/{id} renamed to api/rest/marginplus-account-admin/user/{id}|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"DELETE-marginplus-account-admin-user-id","parameters":[{"in":"path","name":"id","description":"The user id of the MarginPlus user account to delete.","required":true,"type":"string"}],"responses":{"204":{"description":"No Content"}},"security":[{"Authorization":[]}]},"get":{"tags":["General","MarginPlus Admin"],"summary":"Get MarginPlus user account by user id","description":"Retrieves the MarginPlus user account matching the specified user id.\r\nReturns the user id and email address.\n\n| Version | Changes |\n| ------- | ------- |\n| 1.31 | Initial Version |\n|1.36|api/rest/credentials/gatewayuser/{id} renamed to api/rest/marginplus-account-admin/user/{id}|\n\n\nUser requires one of the following permissions to access this endpoint: \n- MarginPlus Account Admin enabled","operationId":"GET-marginplus-account-admin-user-id","produces":["application/json"],"parameters":[{"in":"path","name":"id","description":"The user id of the MarginPlus user account.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/User"}}},"security":[{"Authorization":[]}]}},"/auth/password/change":{"post":{"tags":["General","Authentication"],"summary":"Change the current user\u0027s password. Requires a valid bearer token and the user\u0027s current password.","description":"\n\n| Version | Changes |\n| ------- | ------- |\n| 1.37 | Initial Version |\n\n\nUser requires one of the following permissions to access this endpoint: \n- Any authenticated Hub user","operationId":"POST-auth-password-change","consumes":["application/json-patch+json","application/json","text/json","application/*+json"],"parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/RestPasswordChangeRequestModel"}}],"responses":{"204":{"description":"No Content"}},"security":[{"Authorization":[]}]}}},"tags":[{"name":"REST API","description":"### Confidential and Propriety\n\nAll information contained in this document is proprietary information of oneZero Financial Systems LLC and should only be distributed, \nshared or otherwise made available to customers and partners of oneZero Financial Systems under an existing NDA.\n\n\n## Introduction\n#### Purpose\nThe purpose of this document is to outline the rules of engagement for interfacing with oneZero Financial Systems via a Restful API (Rest API) \nprotocol in order to query settings, real-time data and to enact administrative functions.\n\n#### Functionality\n\nThe oneZero Rest API is designed on a stateless Request/Response paradigm initiated over TCP with oneZero\u0027s software acting as the server side \nof the REST API query. Authentication is handled via the OAuth 2.0 protocol.\n\nIt is important to note that oneZero\u0027s Rest API does not natively support SSL. If the Restful API is to be queried over an unprotected network \n(not within a LAN), it is critical that an SSL wrapper such as STUNNEL be used to encrypt the traffic.\n\n#### System Overview\n![alt text](https://s3.us-east-2.amazonaws.com/oz-logo/SystemOverview.png \"System Overview\")\n\n#### References\nMore information on oneZero Financial Systems, LLC and oneZero Financial Systems technology can be found at our website: www.onezero.com\n\nDocumentation and standards for OAuth 2.0 Resource Owner Password Credentials can be found here: https://tools.ietf.org/html/rfc6749#section-4.3.\n\nMore details on the high level standards that dictate Rest APIs can be found here: https://en.wikipedia.org/wiki/Representational_state_transfer\n\n***\n\n## Authentication\n\nThe REST API uses a standard OAuth 2.0 Resource Owner Password Credentials authentication system to provide Access Tokens than can be used for \nREST API calls, see https://tools.ietf.org/html/rfc6749#section-4.3.\n\nThis system involves making a REST request to the Hub to acquire an Access Token, and then using that token for subsequent calls to the Hub REST API.\n\n#### Configuring a REST user account\n\nIt is highly recommended that a REST specific user account be configured on the Hub as per below. This will allow the REST account to have a \nvery strong password (long random string) and also account permissions limited to only the subset of functionality required by the external REST end point. \nA REST specific user and group can be configured for REST access using the standard Hub Web UI Admin page.\n1.\tCreate a user for the REST account. The account should have a long random string password because it will never need to be typed in manually and instead \n\twill be stored by the external REST end point.\n2.\tCreate a group for the REST account. The group must have the \"REST Access\" permission enabled. All other permissions should be limited to only what is \n    needed by the external REST end point.\n3.\tAdd the REST user to the REST group. If REST access to the Hub Settings is required, then the REST user will also need to be added to the WebAdmin group.\nOnce the REST user and group have been configured they can be used to acquire an Access Token for access to the REST API.\n\n#### Acquiring an Access Token\n\nAn Access Token can be accessed by using the /api/token endpoint described in more detail in the below section (ADD REFERENCE).\n\n|Request Type|Access Token|\n|------------|------------|\n|Method|POST|\n|URL|https://\u003c Hub Web Server \u003e/api/token\n|Content-Type| application/x-www-form-urlencoded|\n|Form Parameters| grant_type = password \u003cbr\u003eusername = \u003c REST account username \u003e\u003cbr\u003e password = \u003c REST account password \u003e\u003cbr\u003e rest_version = \u003c REST version implemented (Hub 6.3.0 onwards) \u003e|\n\n*Curl Example*\n```\ncurl https://localhost:44300/api/token\n\t-d grant_type=password\n\t-d username=myRESTUserName\n\t-d password=myRESTPassword\n\t-d rest_version=RESTVersion (Hub 6.3.0 onwards)\n\nRequest body Example -  For REST Clients that require x-www-form-urlencoded parameters to be manually specified in the request body\n\nSample Request: grant_type=password\u0026username=myRESTUserName\u0026password=myRESTPassword\u0026rest_version=1.00\n```\n\n|Response Type|Access Token Response|\n|-------------|----------------------|\n|access_token|The authentication token to use for subsequent calls to the REST API.|\n|token_type|Will always be \"bearer\"|\n|expires_in|The lifetime of the token in seconds. After this time the token will automatically expire and a new one must be requested.|\n\n*Example Response*\n```\n{\n\t\"access_token\":\"fZDl-pWrJbVXLqhQ62UsKOzJBDfCC4hdp_e2aJt5tzgkQENkyE9J4pYQ9\",\n\t\"token_type\":\"bearer\",\n\t\"expires_in\":86399\n}\n```\n\n### REST API Versioning (From Hub Version 6.3.0 onwards)\n\nREST API versioning has been introduced to the Hub as of Hub version 6.3.0 to ensure breaking changes and updates to endpoints are adequately highlighted to interface developers. \nThe initial REST version is 1.00 and a REST version parameter must be included as part of the Access Token request. Each endpoint will have a minimum REST version that it works with.\n\nThe REST version will be incremented as part of a Hub release under the following conditions:\n1. A breaking change has been made to a REST endpoint, such as a structural change to request parameters or renaming an endpoint.\n2. New endpoints are added.\n\nUnder these circumstances the REST version will be incremented to a new version i.e. 1.00 to 1.01.  If an endpoint has changes made to it as part of a Hub release it will be \nassigned the new REST version and if an interface attempts to call the endpoint with an older token, then the endpoint will return an error specifying that the minimum REST \nversion has not been met, along with the changes that have been made to that endpoint. \n\nEvery effort is made to keep endpoints backwards compatible between each REST version, hence in most cases a client application should only need to update its requested REST API version if it needs access to new endpoints. However in the event that a breaking change is introduced to a specific endpoint, client applications will receive a detailed error message if they attempt to access that endpoint using an older requested REST version number.\n\n#### REST API Version Increment - New Endpoint Example\n\nIf an interface has been written against REST API version 1.00 with the following endpoints:\n* GET /api/rest/margin-accounts (1.00)\n* GET /api/rest/risk-trade/order (1.00)\n\nAnd a new endpoint is added, the REST API version will be incremented to 1.01.  The existing interface will continue working as before with a 1.00 Access Token due to \nno breaking changes on the existing endpoints.\n* GET /api/rest/margin-accounts (1.00) - Still works with a 1.00 Access Token.\n* GET /api/rest/risk-trade/order (1.00) - Still works with a 1.00 Access Token.\n* GET /api/rest/new-endpoint (1.01) - Requires a 1.01 Access Token to interface with.\n\n#### REST API Version Increment - Updated Endpoint Example\n\nIf an interface has been written against REST API version 1.00 with the following endpoints:\n* GET /api/rest/margin-accounts (1.00) \n* GET /api/rest/risk-trade/order (1.00)\n\nAnd one of those endpoints has a breaking change, the REST API version will be incremented to 1.01.  If a 1.00 Access Token attempts to use one of the updated endpoints,\nthen a error message will be returned.\n* GET /api/rest/margin-accounts (1.00) - Still works with a 1.00 Access Token.\n* GET /api/rest/risk-trade/order (1.01) - Requires a 1.01 Access Token to interface with.\n\n\n#### Expiration of Access Tokens\nFor security reasons all access tokens will expire after 24 hours. Any REST API calls that use an expired token will receive a 401 Unauthorized error.\nHence REST API clients must re-acquire an access token every 24 hours as outlined above in Acquiring an Access Token. \nThe expires_in field returned with each access token can be used to create a timestamp for when to re-acquire a token, i.e. instead of just \nwaiting for a 401 Unauthorized response.\n\n#### Calling the API using an Access Token\nTo make calls to the REST API a valid Access Token must be included on every request. The token must be passed in each request\u0027s Authorization \nheader using the standard OAuth 2.0 Bearer token format, see https://tools.ietf.org/html/rfc6750#section-2.1.\n\n***\n\n|Request Type|Hub REST Request with Access Token|\n|------------|-------------------------------------|\n|URL|https://\u003c Hub Web Server \u003e/api/rest/\u003c REST RESOURCE \u003e\n|Authorization|Bearer \u003c access_token \u003e|\n\n*Curl Example*\n```\ncurl https://localhost:44300/api/rest/hub-settings/SymbolSettings\n\t-H \"Authorization: Bearer fZDl-pWrJbVXLqhQ62UsKOzJBDfCC4hdp_e2aJt5tzgkQENkyE9J4pYQ9\"\n\n```\n\n## CONCURRENCY\nSome requests return a concurrency ETag header in the response, as documented in the response API Reference. These requests enable Optimistic \nConcurrency Control to be used on the underlying resource, which allows for the following scenarios:\n1.\tConditional GET - a request that only returns data if the resource has been modified since the last request.\n2.\tConditional PUT - a request that only succeeds if the resource has not been modified by another REST client.\nIn all scenarios, the ETag is a unique string identifier that represents a specific version of the target resource. Hence if the resource changes \nthen its ETag is also guaranteed to change.\n\n*Curl Example - GET Resource with ETAG*\n```\nCurl -v https://localhost:44300/api/rest/hub-settings/SymbolSettings\n\nResponse:\n\n\u003c HTTP/1.1 200 OK\n\u003c ETag: \"t9GmyL5KBQA=\"\n\u003c { ...Resource JSON... }\n```\n\n#### Conditional GET\nA conditional GET may be used to increase performance and reduce latency/bandwidth when polling a resource at high frequency to monitor for modifications. \nThe basic steps are:\n1. GET the resource and extract the ETag from the response header;\n2. On the next request: GET the resource with the HTTP If-None-Match header set to the last known ETag value\n   1. If the resource is unchanged, the response code will be 304 - Not Modified and the response body will be empty.\n   2. If the resource has changed, the updated resource will be returned in the response body and a new ETag returned in the response headers.\n\n*Curl Example - Conditional GET resource*\n```\ncurl -v https://localhost:44300/api/rest/hub-settings/SymbolSettings\n\t-H \"If-None-Match: \\\"t9GmyL5KBQA=\\\"\"\n\nResponse - Resource unchanged (ETag is the same)\n\n\u003c HTTP/1.1 304 Not Modified\n\u003c ETag: \"t9GmyL5KBQA=\"\n\nResponse - Resource changed (ETag has also changed)\n\n\u003c HTTP/1.1 200 OK\n\u003c ETag: \"qwJTs+JKBQA=\"\n\u003c\n{ ...Resource JSON... }\n```\n\n#### Conditional PUT\n\nA conditional PUT is used where multiple REST clients are potentially writing to the same resource concurrently, and allows systems to detect if one client\u0027s PUT is overwriting data from another client\u0027s PUT. For example, in the following scenario Client A\u0027s changes to the resource are lost:\n1.\tClient A - GET resource X\n2.\tClient B - GET resource X\n3.\tClient A - Local modify resource X\n4.\tClient A - PUT resource X\n5.\tClient B - Local modify resource X\n6.\tClient B - PUT resource X *\u003c-This will overwrite the changes PUT by Client A in step 4*\n\nIn the above scenario, each REST Client can avoid overwrites by including the resources ETag in a HTTP If-Match header in their PUT requests. \nThe scenario then plays out as follows:\n1. Client A - GET resource X, returned ETag is \"t9GmyL5KBQA=\"\n2. Client B - GET resource X, returned ETag is \"t9GmyL5KBQA=\"\n3. Client A - Local modify resource X\n4. Client A - PUT resource X, If-Match: \"t9GmyL5KBQA=\"\n   1. Resource modified, ETag is now \"qwJTs+JKBQA=\"\n5. Client B - Local modify resource X\n6. Client B - PUT resource X, If-Match: \"t9GmyL5KBQA=\"\n   1. This PUT is rejected with a HTTP status of 412 - Precondition Failed\n \nDepending on the specific use case, it is up to the REST client to decide exactly how it will handle a 412 - Precondition Failed error.  A general approach is to:\n1.\tDo another GET of the resource to get the latest content and ETag\n2.\tRe-apply local changes to the updated resource\n3.\tAttempt the PUT If-Match again.\n\n*Curl Example - Conditional PUT resource*\n```\ncurl -v -X PUT https://localhost:44300/api/rest/hub-settings/SymbolSettings\n\t-H \"If-Match: \\\"t9GmyL5KBQA=\\\"\"\n\t-d \"{...Resource JSON...}\"\n\nResponse - Resource matches ETag.  PUT succeeds and the new ETag is returned in the response\n\n\u003c HTTP/1.1 200 OK\n\u003c ETag: \"qwJTs+JKBQA=\"\n\u003c\n{ ...Resource JSON... }\n\nResponse - Resource does not match ETag\n\n\u003c HTTP/1.1 412 Precondition Failed\n```\n\n***\n\n## POST Idempotency\n\nStandard HTTP POST requests are not considered idempotent, i.e. it is not safe to retry the same request multiple times. For example, a REST Client \nattempting to deposit money into a Margin Account might use the following request:\n\n`POST /api/rest/margin-account/4987/ledger`\n\nIn the event of a network error or some other REST Client issue, it is not safe for the REST Client to retry the POST again, as this may cause the account \ndeposit to occur multiple times (if the POST did succeed the first time).\n\n*Curl Example - Idempotency-Key Header*\n```\nCurl -X POST https://localhost:44300/api/rest/margin-account/4987/ledger\n\t-H \"Idempotency-Key: 1a4db0f3-c677-4dd4-a58f-4fefe954647e\"\n\t-d \"{...Resource JSON...}\"\n```\n\n#### Idempotency-Key Header\n\nTo resolve the above issues the oneZero REST API requires that all POST requests include an Idempotency-Key header that uniquely identifies that specific \nPOST request. If a request with a given Idempotency-Key is retried multiple times, it is guaranteed to only execute once on the sever. Each retry will receive \nthe same identical response back, so in the event of network issues it is safe for the REST client to continually retry a request until it gets a response back.\nThe Idempotency-Key can be any arbitrary unique identifier string generated by the REST client for each POST. A given Idempotency-Key expires after 48 hours, \nat which point it is no longer safe to use.\n\n***\n\n## 50x Server Error Responses\n\nThe following server error response codes may be received in response to any API request.\n\n|Server Error Code | Description |\n|------------------|-------------|\n|500 Internal Server Error | Indicates that the request parameters and body were all valid, but while processing the request the oneZero Hub encountered an unexpected error. The status of the request is unknown and it may have only partially completed. If the request was a critical operation (for example adding funds to an account) it is recommended that manual intervention be used to determine the status of the operation, i.e. *do not automatically retry the original request.*|\n|504 Gateway Timeout | Indicates that the oneZero Hub was disconnected at the time the request was sent. The request is guaranteed to have not been processed by the Hub, and hence it is safe to retry the original request.|\n \n## API Reference\n\nRequest query paths **are case sensitive**, they should be specified exactly as documented in this API Reference."},{"name":"Type Definitions","description":"The types defined in the oneZero REST Api Specification follow the Open Api Specification (OAS) 2.0 conventions on data types and formats (\u003chttps://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types\u003e).\n\nOAS 2.0 defines a limited set of field types (e.g. string, boolean) with the optional format field being used in combinartion to further define the type.  Using the data and format types together helps to ensure that the information in the field is what the Hub is expecting.  \n\n**Example:** Price is defined as a string type with a format type of decimal128.  This means that if the Hub does not receive the Price field as a string using decimal128 format, it will be rejected by the Hub as invalid data.  \n\nThe type and format information is available on both the Request and Response parameters for each endpoint by clicking on the field of interest within the REST API documentation, which will expand to display information about that field\u0027s expected format.\n\nThe table below defines the types used by the REST Api.\n\n| Format (Hub Type)       | OAS 2.0 Json Type | Example                       | Notes |\n|-------------------------|-------------------|-------------------------------|-------|\n| decimal128    | string    | 156.789                       | Sent as strings due to the Hub internally representing them in IEEE 754-2008 128-bit Decimal Floating Point (base-10) format (\u003chttps://en.wikipedia.org/wiki/Decimal_floating_point\u003e), which support much higher accuracy and use base-10 rounding, as would be expected in financial calculations. JSON\u0027s native \u0027number\u0027 types use the double-precision binary decimal floating point representation, which cannot precisely represent all values (\u003chttp://floating-point-gui.de/formats/exact/\u003e) and exhibit unexpected rounding due to their internal binary (base-2) decimal representation. |\n| filter-string | string    | regex[\u0026lt;regular expression\u0026gt;] OR \u0026lt;exact string\u0026gt; OR * | Perl-compatible regular expression to match, or exact string to match, or * to match everything |\n| guid          | string    | cmBSAFVgjkCDv3_d8Kw9tw     | Randomly generated unique identifier |\n| timestamp     | string    | 2016-11-20 10:55:01.289581    | SQL/MySQL format datetime string (YYYY-MM-DD HH:MM:SS.FFFfff)|\n| date          | string    | 2016-11-20                    | SQL/MySQL format date string (YYYY-MM-DD)|\n| int64         | integer   | -153                           |  Signed 64 bit integer |\n| uint64        | integer   | 153                           | Unsigned 64 bit integer|\n| int32         | integer   | -153                           |  Signed 32 bit integer |\n| uint32        | integer   | 153                           |  Unsigned 32 bit integer |\n| array         | array     | param[]=value                 | |\n| double        | number    | 168.295                       | |\n| float         | number    | 168.295                       | |\n| string       | string    | string value                  | |\n| boolean  | boolean   | true                          | |\n"},{"name":"Settings Overview","description":"## Hub Settings\n\nHub settings are exposed through resource collections rooted off the /api/rest/settings path. Each section of the Hub settings is represented by its own \nresource type (for example Order Routing Profiles), and has a custom path and schema. However, every resource supports the same set of operations as outlined below \nin Resource Operations.\n\nWithin a resource collection, each resource is identified by a unique identifier that allows operations to target only that resource, for example a specific Order Routing Profile. In addition, multiple operations can be batched together into a single query, see Batch Queries.\n\nExamples of the standard set of resource operations:\n\n|Operation |REST Settings Endpoint | Description |\n-------|-------------|-------------|\n|GET| /api/rest/settings/credit-group | Get all credit groups |\n|GET|/api/rest/settings/credit-group/qbwfr6PyRK\t| Get a specific credit group |\n|POST| /api/rest/settings/credit-group | Create a new credit group.|\n|PUT| /api/rest/settings/credit-group/qbwfr6PyRK | Replace an existing credit group with a new credit group |\n|PATCH| /api/rest/settings/credit-group/qbwfr6PyRK | Modify fields in an existing credit group |\n|DELETE| /api/rest/settings/credit-group/qbwfr6PyRK | Delete a credit group |\n\nAdditional detail:\n\n|Operation |REST Settings Endpoint | Description |\n-------|-------------|-------------|\n|GET| /api/rest/settings/{ResourceType} | Retrieve all Resources in a collection |\n|GET|/api/rest/settings/{ResourceType}/{ResourceId}\t| Retrieve a specific Resourcep |\n|POST| /api/rest/settings/{ResourceType} | Create a new Resource. \u003cbr\u003e\u003cbr\u003e The body of a resource POST can optionally include only a partial set of fields from the resource schema, as in most cases fields will automatically be set to default values if not provided. The fields in the POST body should *not* include an Id field. \u003cbr\u003e\u003cbr\u003eThis will be automatically allocated by the Hub and returned in the Response body. As this is a POST request it requires an Idempotency-Key, see POST Idempotency.|\n|PUT| /api/rest/settings/{ResourceType}/{ResourceId} | Replace an existing Resource. \u003cbr\u003e\u003cbr\u003e A PUT can optionally include only a partial set of fields, with all other fields being set to default. Hence a PUT will entirely replace an existing resource, even if only a subset of fields is specified. Hence it is essentially short hand for a DELETE + POST, but maintaining the same resource Id. If the desire is to modify only a subset of fields (instead of replacing an entire resource), then a PATCH should be used instead. |\n|PATCH| /api/rest/settings/{ResourceType}/{ResourceId} | Modify an existing Resource. \u003cbr\u003e\u003cbr\u003e A PATCH only requires a subset of fields to be specified, all other fields in the target resource will be left unmodified. If the desire is to entirely replace the target resource and reset its fields to defaults, then a PUT should be used instead. |\n|DELETE| /api/rest/settings/{ResourceType}/{ResourceId} | Delete a credit group |\n\n#### Reordering Resources\n\nSome resource collections, such as Trade Execution Mappings, are an ordered collection where the order of individual resources within the collection is important. \nAny resources that are part of an ordered collection will have a special \"_order\" field that indicates the resources order in the collection. This is a 0 based index \nfield, so _order = 0 is the first resource, _order = 1 is the second resource and so on.\n\nThe order of a Resource may be controlled in a PUT, PATCH or POST query by specifying the _order field in the resource body. Other fields can also be included in the \nquery as required. For example, the following request will move a Trade Execution Mapping to third in the collection, and change its Taker Id Filter:\n\nNOTE: To reorder multiple resources in a single query, a batch query can be used and should be sent by ascending order, see Batch Queries.\n\n*Reordering Resources Example*\n```\nPATCH /api/rest/settings/execution-mapping/pdpIQ9nMRSqms\n\nBody:\n{ \n\t\"_order\": 2, \n\ttakerIdFilter: \"*\" \n}\n```\n\n#### Batch Queries\nMultiple operations may be batched together into a single transactional query, such that if any operation in the batch fails, the entire query will be rolled back \nand no changes made. Batching multiple operations like this also gives better performance, as it only carries the overhead of a single REST query instead of needing \na query per operation.\n\nBatch queries are done by using a single POST query, with each sub query contained as an array element in the query body. \n\nAs this is a POST request it requires an Idempotency-Key, see POST Idempotency. An Idempotency-Key only needs to be set on the top level POST request, any \nsub queries within the batch that use POST will just inherit the top level Idempotency-Key.\n\nWhen sending batch queries that include reordering of resources, it is recommended to send the order changes in ascending order. Operations are processed \nwithin the batch message in a sequential order, as a result sending reorder operations in a non-ascending order may result in a final order that does not \nmatch the individual batch components _order tags.\n\n*Batch Queries Schema*\n```\nPOST /api/rest/settings\n\nRequest Body:\n[\n\t\u003cSub Query #1\u003e\n\t{\n\t\t\"method\": \u003cREST method for the sub query, e.g GET, POST, PUT etc\u003e,\n\t\t\"relativeUrl\": \u003cThe URL of the subquery relative to \"/api/rest/settings\", e.g \"credit-group\"\u003e,\n\t\t\"headers\": \u003cOptional - HTTP request headers for the sub query\u003e {\n\t\t\t\u003cHeader Tag\u003e : \u003cHeader Value\u003e,\n\t\t\t...\n\t\t},\n\t\t\"value\": \u003cRequired for POST/PUT/PATCH, The request body value for the query\u003e\n\t},\n\t\u003cSub Query #2\u003e\n\t{\n\t\t...\n\t},\n\t...\n]\n\nResponse Body:\n[\n\t\u003cResponse for Sub Query #1\u003e\n\t{\n\t\t\"code\": \u003cThe HTTP response code for the sub query\u003e,\n\t\t\"headers\": \u003cHTTP response headers for the sub query\u003e {\n\t\t\t\u003cHeader Tag\u003e : \u003cHeader Value\u003e,\n\t\t\t...\n\t\t},\n\t\t\"body\": \u003cResponse body object for the sub query\u003e\n\t},\n\t\u003cResponse for Sub Query #2\u003e\n\t{\n\t\t...\n\t},\n\t...\n]\n```\n\nAn example batch query is shown below. This Query will:\n- Create a new Credit Group with all values at defaults\n- Change the dslLimit of an existing Credit Group\n- Change the percentForHedge and minHedgeOrderQuantity of an existing Order Routing Profile\n\n\n*Batch Queries Request Example*\n```\n[\n    {\n        \"method\": \"POST\",\n        \"relativeUrl\": \"credit-group\",\n        \"value\": {\n            \"name\": \"Alpha\"\n        }\n    },\n    {\n        \"method\": \"PATCH\",\n        \"relativeUrl\": \"credit-group/qbwfr6PyRK-GzfspOtX2Lg\",\n        \"value\": {\n            \"dslLimit\":\"1000\"\n        }\n    },\n    {\n        \"method\": \"PATCH\",\n        \"relativeUrl\": \"order-routing-profile/pdpIQ9nMRSqmsJFrZCMjyg\",\n        \"value\": {\n            \"percentForHedge\": \"75\",\n            \"minHedgeOrderQuantity\": \"10000\"\n        }\n    }\n]\n```\n\n#### Response Headers\nResponses from the Settings API can include headers to provide additional information on the result of an API call. \n\nThe Settings endpoints support the following HTTP response headers:\n\n- `Etag`: The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, etags are useful to help prevent simultaneous updates of a resource from overwriting each other (\\\"mid-air collisions\\\"). If the resource at a given URL changes, a new Etag value must be generated.\n- `Warning`: The Warning general HTTP header contains information about possible problems with the status of the message. This information is typically used to warn about possible incorrectness introduced by the resource change.\nSyntax: `Warning: \u003cwarn-code\u003e \u003cwarn-agent\u003e \u003cwarn-text\u003e`\n\n*Response Header Examples*\n```\nETag: \"33a64df551425fcc55e4d42a148795d9f25f89d4\"\nWarning: 299 - \"Settings mismatch\"\n```\n\n### Raw Hub Settings Endpoint\nThe hub-settings resource exposes all settings managed by the Hub and allows them to be retrieved, saved and also have dynamic settings applied. This is analogous to what can be done via the Settings page in the Hub Web UI.\n\nIn addition, the special hub-settings-schema resource can be queried to get a detailed list of schemas for all settings that are available via the hub-settings resource.\n\nThe hub-settings endpoint does not support partial updates to a settings file, requiring a full schema be sent for each update operation. Additionally, there is no guarantee that that schemas will be stable between hub releases.  For these reasons the preferred way to modify hub settings is via the `/api/rest/settings/` endpoints.\n\n#### Retrieve Schemas for all Hub Settings\n|Operation |REST Settings Endpoint | \n-------|-------------|\n|GET| /api/rest/hub-settings-schema | \n\n*Response*\n```\n[\n\t{\n\t\t\"id\": \u003cUnique settings identifier, e.g. SymbolSettings\u003e,\n\t\t???rootType???: \u003cThe top level type of the settings, matches a schema.structs.name entry\u003e,\n\t\t\"schema\": {\n\t\t\t???enums???: [\n\t\t\t\t{\n\t\t\t\t\t???name???: \u003cUnique name for enumeration\u003e,\n\t\t\t\t\t???fields???: [\n\t\t\t\t\t\t\u003cList of possible values for enumeration\u003e\n\t\t\t\t\t]\n\t\t\t\t},\t\t\t\n\t\t\t\t???\n\t\t\t],\n\t\t\t???structs???: [\n\t\t\t\t{\n\t\t\t\t\t???name???: \u003cUnique name for structure\u003e,\n\t\t\t\t\t???fields???: [\n\t\t\t\t\t\t\u003cList of fields in structure plus their metadata\u003e\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t???\n\t\t\t]\n\t\t}\n\t},\n\t???\n]\n\n```\n\n#### Retrieve all Hub Settings\n|Operation |REST Settings Endpoint | Response Headers |\n-------|-------------|----------------|\n|GET| /api/rest/hub-settings | `Etag` - See \"Hub Settings\" -\u003e \"Response Headers\" |\n\n*Response Body*\n```\n[\n\t{\n\t\t\"id\": \u003cUnique settings identifier, e.g. SymbolSettings\u003e,\n\t\t\"settings\": \u003cSettings JSON\u003e,\n\t},\n\t???\n]\n```\n\n#### Retrieve a specific type of Hub Settings\n|Operation |REST Settings Endpoint | Response Headers |\n-------|-------------|----------------|\n|GET| /api/rest/hub-settings/{SettingsID} | `Etag` - See \"Hub Settings\" -\u003e \"Response Headers\" | \n\n*Response Body*\n```\n{\n\t\"id\": \u003cSettings ID\u003e,\n\t\"settings\": \u003cSettings JSON\u003e,\n}\n```\n\n#### Save multiple Hub Settings\n|Operation |REST Settings Endpoint | Query Parameters |\n-------|-------------|-------------|\n|PUT| /api/rest/hub-settings | `applyDynamic` - (optional) Boolean true/false. If true, then dynamic settings will be updated in the Hub (the same as clicking ???Save and Apply Dynamic Settings??? in the Settings Web UI). | \n\n*Request Body*\n```\n[\n\t{\n\t\t\"id\": \u003cUnique settings identifier, e.g. SymbolSettings\u003e,\n\t\t\"settings\": \u003cNew Settings JSON\u003e,\n\t},\n\t???\n]\n```\n\n#### Save a specific type of Hub Settings\n|Operation |REST Settings Endpoint | Query Parameters |\n-------|-------------|-------------|\n|PUT| /api/rest/hub-settings/{SettingsID} | `applyDynamic` - (optional) Boolean true/false. If true, then dynamic settings will be updated in the Hub (the same as clicking ???Save and Apply Dynamic Settings??? in the Settings Web UI). | \n\n*Request Body*\n```\n{\n\t\"id\": \u003cSettings ID\u003e,\n\t\"settings\": \u003cNew Settings JSON\u003e,\n}\n\n```"},{"name":"REST Version Change Log","description":"## Breaking Changes \r\n\r\nA breaking change is one that may require api consumers to modify their use of a particular end point for integrations to continue to function correctly.\r\n\r\n| REST Version | Endpoint | Notes | \r\n| ------------ | -------- | ----- | \r\n| 1.39 | GET /settings/marginplus-account | userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail. | \r\n| 1.39 | POST /settings/marginplus-account | userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail. | \r\n| 1.39 | GET /settings/marginplus-account/{id} | userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail. | \r\n| 1.39 | PATCH /settings/marginplus-account/{id} | userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail. | \r\n| 1.39 | PUT /settings/marginplus-account/{id} | userId is now required when creating an account. Accounts are no longer linked to a user by matching userEmail. | \r\n| 1.39 | GET /settings/marginplus-margin-profile | marginplus-margin-profile added with marginCalculationMode field. | \r\n| 1.39 | POST /settings/marginplus-margin-profile | marginplus-margin-profile added with marginCalculationMode field. | \r\n| 1.39 | GET /settings/marginplus-margin-profile/{id} | marginplus-margin-profile added with marginCalculationMode field. | \r\n| 1.39 | PATCH /settings/marginplus-margin-profile/{id} | marginplus-margin-profile added with marginCalculationMode field. | \r\n| 1.39 | PUT /settings/marginplus-margin-profile/{id} | marginplus-margin-profile added with marginCalculationMode field. | \r\n| 1.39 | DELETE /settings/marginplus-margin-profile/{id} | marginplus-margin-profile added with marginCalculationMode field. | \r\n| 1.39 | GET /settings/marginplus-symbol-permission-profile | marginplus-symbol-permission-profile added | \r\n| 1.39 | POST /settings/marginplus-symbol-permission-profile | marginplus-symbol-permission-profile added | \r\n| 1.39 | GET /settings/marginplus-symbol-permission-profile/{id} | marginplus-symbol-permission-profile added | \r\n| 1.39 | PATCH /settings/marginplus-symbol-permission-profile/{id} | marginplus-symbol-permission-profile added | \r\n| 1.39 | PUT /settings/marginplus-symbol-permission-profile/{id} | marginplus-symbol-permission-profile added | \r\n| 1.39 | DELETE /settings/marginplus-symbol-permission-profile/{id} | marginplus-symbol-permission-profile added | \r\n| 1.38 | GET /core-symbol | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /margin-account-admin/{id}/taker-symbols | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /marginplus-account-admin/account-group-info/ | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /marginplus-account-admin/account-group-info/{groupId} | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /marginplus-account-admin/taker-stream-symbols | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /marginplus-account/{id}/taker-symbols | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /taker | Added assetIsInverted flag for Instrument. | \r\n| 1.38 | GET /taker/{id}/taker-symbols | Added assetIsInverted flag for Instrument. | \r\n| 1.37 | GET /event-schedule/active | Moved from /active-events to /event-schedule/active. The events array now contains objects instead of strings; read eventName for the event name. Event details are included by default and can be omitted with includeDetails=false. | \r\n| 1.37 | POST /marginplus-account/{id}/ledger | Added \u0027balance\u0027 and \u0027accountCredit\u0027 fields to the response. Ledger entries are now returned within an \u0027entries\u0027 field. | \r\n| 1.37 | POST /marginplus-account/{id}/ledger | Added \u0027balance\u0027 and \u0027accountCredit\u0027 fields to the response. Ledger entries are now returned within an \u0027entries\u0027 field. | \r\n| 1.37 | GET /settings/marginplus-account | DELETE method removed | \r\n| 1.37 | POST /settings/marginplus-account | DELETE method removed | \r\n| 1.37 | GET /settings/marginplus-account/{id} | DELETE method removed | \r\n| 1.37 | PATCH /settings/marginplus-account/{id} | DELETE method removed | \r\n| 1.37 | PUT /settings/marginplus-account/{id} | DELETE method removed | \r\n| 1.37 | GET /settings/marginplus-swaps-profile | marginplus-swaps-profile added | \r\n| 1.37 | POST /settings/marginplus-swaps-profile | marginplus-swaps-profile added | \r\n| 1.37 | GET /settings/marginplus-swaps-profile/{id} | marginplus-swaps-profile added | \r\n| 1.37 | PATCH /settings/marginplus-swaps-profile/{id} | marginplus-swaps-profile added | \r\n| 1.37 | PUT /settings/marginplus-swaps-profile/{id} | marginplus-swaps-profile added | \r\n| 1.37 | DELETE /settings/marginplus-swaps-profile/{id} | marginplus-swaps-profile added | \r\n| 1.36 | DELETE /marginplus-account-admin/user/{id} | api/rest/credentials/gatewayuser/{id} renamed to api/rest/marginplus-account-admin/user/{id} | \r\n| 1.36 | DELETE /marginplus-account-admin/user/{id}/mfa_methods | api/rest/credentials/gatewayuser/{id}/mfa_methods renamed to api/rest/marginplus-account-admin/user/{id}/mfa_methods | \r\n| 1.36 | GET /marginplus-account-admin/user | api/rest/credentials/gatewayuser?email={email} renamed to api/rest/marginplus-account-admin/user?email={email} | \r\n| 1.36 | GET /marginplus-account-admin/user/{id} | api/rest/credentials/gatewayuser/{id} renamed to api/rest/marginplus-account-admin/user/{id} | \r\n| 1.36 | POST /marginplus-account-admin/user | api/rest/credentials/gatewayuser renamed to api/rest/marginplus-account-admin/user | \r\n| 1.36 | PUT /marginplus-account-admin/user/{id}/password | api/rest/credentials/gatewayuser/{id}/password renamed to api/rest/marginplus-account-admin/user/{id}/password | \r\n| 1.36 | PUT /marginplus-account-admin/user/{id}/set_email_address | api/rest/credentials/gatewayuser/{id}/set_email_address renamed to api/rest/marginplus-account-admin/user/{id}/set_email_address | \r\n| 1.35 | GET /marginplus-account | Filtering of fields now requires wildcard * if it is not an exact match. Wildcard matching on Id is removed along with the related IdMatchAny parameter. | \r\n| 1.34 | POST /rfq-cancel-portfolio | Query param \u0027cancelRequestId\u0027 removed. | \r\n| 1.34 | POST /rfq-cancel-taker | Query param \u0027cancelRequestId\u0027 removed. | \r\n| 1.33 | GET /entity | Added new fields \u0027clientDefinedEntityAlias\u0027 and \u0027clientDefinedProviderAliases\u0027 to response | \r\n| 1.33 | PUT /entity/{id} | Added new fields \u0027clientDefinedEntityAlias\u0027 and \u0027clientDefinedProviderAliases\u0027 to request and response | \r\n| 1.33 | POST /rfq-request-taker | RFQ taker query param \u0027makerIdWhitelist\u0027 added. | \r\n| 1.33 | GET /marginplus-account | Added Daily Cumulative Amount Used, Daily Cumulative Amount Remaining and Daily Limit Percentage Utilized | \r\n| 1.33 | GET /marginplus-account/{id} | Added Daily Cumulative Amount Used, Daily Cumulative Amount Remaining and Daily Limit Percentage Utilized | \r\n| 1.32 | GET /settings/marginplus-account-group | marginCallPct and stopOutLevelPct converted from numeric to decimal type. | \r\n| 1.32 | POST /settings/marginplus-account-group | marginCallPct and stopOutLevelPct converted from numeric to decimal type. | \r\n| 1.32 | GET /settings/marginplus-account-group/{id} | marginCallPct and stopOutLevelPct converted from numeric to decimal type. | \r\n| 1.32 | PATCH /settings/marginplus-account-group/{id} | marginCallPct and stopOutLevelPct converted from numeric to decimal type. | \r\n| 1.32 | PUT /settings/marginplus-account-group/{id} | marginCallPct and stopOutLevelPct converted from numeric to decimal type. | \r\n| 1.32 | DELETE /settings/marginplus-account-group/{id} | marginCallPct and stopOutLevelPct converted from numeric to decimal type. | \r\n| 1.32 | GET /marginplus-account | Change MarginUtilizationPercentage to MarginLevelPercentage | \r\n| 1.32 | GET /marginplus-account/{id} | Change MarginUtilizationPercentage to MarginLevelPercentage | \r\n| 1.27 | GET /settings/marginplus-account | userId removed | \r\n| 1.27 | POST /settings/marginplus-account | userId removed | \r\n| 1.27 | GET /settings/marginplus-account/{id} | userId removed | \r\n| 1.27 | PATCH /settings/marginplus-account/{id} | userId removed | \r\n| 1.27 | PUT /settings/marginplus-account/{id} | userId removed | \r\n| 1.27 | GET /marginplus-account | Add filtering and sorting and return Total matching results count in the response | \r\n| 1.27 | GET /marginplus-account/{id}/ledger | Return Total matching results count in the response | \r\n| 1.26 | GET /settings/marginplus-account-group | Removed stopOutBehaviour | \r\n| 1.26 | POST /settings/marginplus-account-group | Removed stopOutBehaviour | \r\n| 1.26 | GET /settings/marginplus-account-group/{id} | Removed stopOutBehaviour | \r\n| 1.26 | PATCH /settings/marginplus-account-group/{id} | Removed stopOutBehaviour | \r\n| 1.26 | PUT /settings/marginplus-account-group/{id} | Removed stopOutBehaviour | \r\n| 1.26 | DELETE /settings/marginplus-account-group/{id} | Removed stopOutBehaviour | \r\n| 1.25 | GET /marginplus-account/{id}/taker-symbols | marginplus-account-admin/{id}/taker-symbols renamed to marginplus-account/{id}/taker-symbols | \r\n| 1.25 | GET /settings/marginplus-account | userName changed to userEmail | \r\n| 1.25 | POST /settings/marginplus-account | userName changed to userEmail | \r\n| 1.25 | GET /settings/marginplus-account/{id} | userName changed to userEmail | \r\n| 1.25 | PATCH /settings/marginplus-account/{id} | userName changed to userEmail | \r\n| 1.25 | PUT /settings/marginplus-account/{id} | userName changed to userEmail | \r\n| 1.25 | GET /marginplus-account | Change account name to userId | \r\n| 1.25 | GET /marginplus-account/{id} | Change account name to userId | \r\n| 1.23 | POST /risk-trade/multileg-order | Added optional spotRate field.  | \r\n| 1.23 | POST /risk-trade/order | Added optional spotRate field.  | \r\n| 1.22 | GET /pending-risk-checks | Replaced (notional) position with baseCurrencyPosition | \r\n| 1.22 | GET /settings/price-channel-rule | Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027 | \r\n| 1.22 | POST /settings/price-channel-rule | Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027 | \r\n| 1.22 | GET /settings/price-channel-rule/{id} | Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027 | \r\n| 1.22 | PATCH /settings/price-channel-rule/{id} | Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027 | \r\n| 1.22 | PUT /settings/price-channel-rule/{id} | Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027 | \r\n| 1.22 | DELETE /settings/price-channel-rule/{id} | Renamed field \u0027warehouseMaxSpreadReject\u0027 to \u0027useMaxSpreadGapLevelForWarehouse\u0027 | \r\n| 1.22 | GET /marginplus-account | Added groupId | \r\n| 1.22 | GET /marginplus-account/{id} | Added groupId | \r\n| 1.21 | GET /entity-currency-exposure | Renamed \u0027entityGroupName\u0027 to \u0027displayName\u0027. Renamed fields of the \u0027exposures\u0027 array -\u003e [\u0027entityDisplayName\u0027 to \u0027displayName\u0027, \u0027fullEntityName\u0027 to \u0027displayTooltip\u0027 and \u0027entityId\u0027 to \u0027sourceEntityId\u0027] | \r\n| 1.21 | GET /quotes | Query param \u0027streamId\u0027 and \u0027quoteId\u0027 added. | \r\n| 1.21 | POST /risk-trade/order | Added quoteId field. Accept Previously Quoted (PQ) orders with Fill Or Kill (FOK) time in force. | \r\n| 1.21 | GET /settings/marginplus-account | marginplus-account added | \r\n| 1.21 | POST /settings/marginplus-account | marginplus-account added | \r\n| 1.21 | GET /settings/marginplus-account-group | marginplus-account-group added | \r\n| 1.21 | POST /settings/marginplus-account-group | marginplus-account-group added | \r\n| 1.21 | GET /settings/marginplus-account-group/{id} | marginplus-account-group added | \r\n| 1.21 | PATCH /settings/marginplus-account-group/{id} | marginplus-account-group added | \r\n| 1.21 | PUT /settings/marginplus-account-group/{id} | marginplus-account-group added | \r\n| 1.21 | DELETE /settings/marginplus-account-group/{id} | marginplus-account-group added | \r\n| 1.21 | GET /settings/marginplus-account/{id} | marginplus-account added | \r\n| 1.21 | PATCH /settings/marginplus-account/{id} | marginplus-account added | \r\n| 1.21 | PUT /settings/marginplus-account/{id} | marginplus-account added | \r\n| 1.21 | GET /settings/marginplus-spread-group-profile | marginplus-spread-group-profile added | \r\n| 1.21 | POST /settings/marginplus-spread-group-profile | marginplus-spread-group-profile added | \r\n| 1.21 | GET /settings/marginplus-spread-group-profile/{id} | marginplus-spread-group-profile added | \r\n| 1.21 | PATCH /settings/marginplus-spread-group-profile/{id} | marginplus-spread-group-profile added | \r\n| 1.21 | PUT /settings/marginplus-spread-group-profile/{id} | marginplus-spread-group-profile added | \r\n| 1.21 | DELETE /settings/marginplus-spread-group-profile/{id} | marginplus-spread-group-profile added | \r\n| 1.21 | GET /settings/order-routing-profile | Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles. | \r\n| 1.21 | POST /settings/order-routing-profile | Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles. | \r\n| 1.21 | GET /settings/order-routing-profile/{id} | Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles. | \r\n| 1.21 | PATCH /settings/order-routing-profile/{id} | Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles. | \r\n| 1.21 | PUT /settings/order-routing-profile/{id} | Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles. | \r\n| 1.21 | DELETE /settings/order-routing-profile/{id} | Added \u0027hedgeTradeQuoteType\u0027 field in order routing profiles. | \r\n| 1.20 | GET /settings/margin-benchmark-rate | margin-benchmark-rate added | \r\n| 1.20 | POST /settings/margin-benchmark-rate | margin-benchmark-rate added | \r\n| 1.20 | GET /settings/margin-benchmark-rate/{currency} | margin-benchmark-rate added | \r\n| 1.20 | PATCH /settings/margin-benchmark-rate/{currency} | margin-benchmark-rate added | \r\n| 1.20 | PUT /settings/margin-benchmark-rate/{currency} | margin-benchmark-rate added | \r\n| 1.20 | DELETE /settings/margin-benchmark-rate/{currency} | margin-benchmark-rate added | \r\n| 1.20 | GET /settings/price-channel-rule | Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027 | \r\n| 1.20 | POST /settings/price-channel-rule | Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027 | \r\n| 1.20 | GET /settings/price-channel-rule/{id} | Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027 | \r\n| 1.20 | PATCH /settings/price-channel-rule/{id} | Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027 | \r\n| 1.20 | PUT /settings/price-channel-rule/{id} | Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027 | \r\n| 1.20 | DELETE /settings/price-channel-rule/{id} | Added fields \u0027warehouseMaxSpreadReject\u0027 and \u0027maxSpreadAllowableGapLevelInPointsForWarehouseOrders\u0027 | \r\n| 1.20 | GET /settings/systematic-hedging-profile | Moved position settings into position subelement, id is now a guid instead of an integer | \r\n| 1.20 | POST /settings/systematic-hedging-profile | Moved position settings into position subelement, id is now a guid instead of an integer | \r\n| 1.20 | GET /settings/systematic-hedging-profile/{id} | Moved position settings into position subelement, id is now a guid instead of an integer | \r\n| 1.20 | PATCH /settings/systematic-hedging-profile/{id} | Moved position settings into position subelement, id is now a guid instead of an integer | \r\n| 1.20 | PUT /settings/systematic-hedging-profile/{id} | Moved position settings into position subelement, id is now a guid instead of an integer | \r\n| 1.20 | DELETE /settings/systematic-hedging-profile/{id} | Moved position settings into position subelement, id is now a guid instead of an integer | \r\n| 1.20 | GET /settings/systematic-hedging-profile/{profileId}/buckets | Bucket id is now a guid instead of an integer | \r\n| 1.20 | POST /settings/systematic-hedging-profile/{profileId}/buckets | Bucket id is now a guid instead of an integer | \r\n| 1.20 | GET /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Bucket id is now a guid instead of an integer | \r\n| 1.20 | PATCH /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Bucket id is now a guid instead of an integer | \r\n| 1.20 | PUT /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Bucket id is now a guid instead of an integer | \r\n| 1.20 | DELETE /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Bucket id is now a guid instead of an integer | \r\n| 1.20 | GET /systematic-hedge-portfolio/{id}/buckets | Bucket ids are now a base64 guid instead of an integer. The sign of Bucket position is now from the brokers perspective instead of the takers perspective, i.e. a Taker BUY is negative, a Taker SELL is positive. | \r\n| 1.20 | PATCH /systematic-hedge-portfolio/{portfolioId}/buckets/{bucketId} | Bucket ids are now a base64 guid instead of an integer | \r\n| 1.19 | GET /portfolio | Added referenceCCY field | \r\n| 1.19 | POST /risk-trade/order | Added optional externallyRested field. | \r\n| 1.19 | GET /settings/margin-swaps-profile | mode and items moved into swapCharges section. Added cfdFinancingMarkupRates. | \r\n| 1.19 | POST /settings/margin-swaps-profile | mode and items moved into swapCharges section. Added cfdFinancingMarkupRates. | \r\n| 1.19 | GET /settings/margin-swaps-profile/{id} | mode and items moved into swapCharges section. Added cfdFinancingMarkupRates. | \r\n| 1.19 | PATCH /settings/margin-swaps-profile/{id} | mode and items moved into swapCharges section. Added cfdFinancingMarkupRates. | \r\n| 1.19 | PUT /settings/margin-swaps-profile/{id} | mode and items moved into swapCharges section. Added cfdFinancingMarkupRates. | \r\n| 1.19 | DELETE /settings/margin-swaps-profile/{id} | mode and items moved into swapCharges section. Added cfdFinancingMarkupRates. | \r\n| 1.19 | GET /settings/portfolio | Added referenceCurrency. | \r\n| 1.19 | POST /settings/portfolio | Added referenceCurrency. | \r\n| 1.19 | GET /settings/portfolio/{id} | Added referenceCurrency. | \r\n| 1.19 | PATCH /settings/portfolio/{id} | Added referenceCurrency. | \r\n| 1.19 | PUT /settings/portfolio/{id} | Added referenceCurrency. | \r\n| 1.19 | DELETE /settings/portfolio/{id} | Added referenceCurrency. | \r\n| 1.19 | GET /settings/skew-profile | skew-profile added | \r\n| 1.19 | POST /settings/skew-profile | skew-profile added | \r\n| 1.19 | GET /settings/skew-profile/{id} | skew-profile added | \r\n| 1.19 | PATCH /settings/skew-profile/{id} | skew-profile added | \r\n| 1.19 | PUT /settings/skew-profile/{id} | skew-profile added | \r\n| 1.19 | DELETE /settings/skew-profile/{id} | skew-profile added | \r\n| 1.19 | GET /settings/skew-profile/{profileId}/rules | skew-profile/{profileId}/rules added | \r\n| 1.19 | POST /settings/skew-profile/{profileId}/rules | skew-profile/{profileId}/rules added | \r\n| 1.19 | GET /settings/skew-profile/{profileId}/rules/{id} | skew-profile/{profileId}/rules added | \r\n| 1.19 | PATCH /settings/skew-profile/{profileId}/rules/{id} | skew-profile/{profileId}/rules added | \r\n| 1.19 | PUT /settings/skew-profile/{profileId}/rules/{id} | skew-profile/{profileId}/rules added | \r\n| 1.19 | DELETE /settings/skew-profile/{profileId}/rules/{id} | skew-profile/{profileId}/rules added | \r\n| 1.19 | GET /settings/systematic-hedging-profile | systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field. | \r\n| 1.19 | POST /settings/systematic-hedging-profile | systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field. | \r\n| 1.19 | GET /settings/systematic-hedging-profile/{id} | systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field. | \r\n| 1.19 | PATCH /settings/systematic-hedging-profile/{id} | systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field. | \r\n| 1.19 | PUT /settings/systematic-hedging-profile/{id} | systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field. | \r\n| 1.19 | DELETE /settings/systematic-hedging-profile/{id} | systematic-hedging-profile removed the \u0027pnlDenomination\u0027 field. | \r\n| 1.18 | GET /core-symbol | Renamed assetType into assetClass and Added subAssetClass for Instrument. | \r\n| 1.17 | GET /currency-exposure | Added broker entity id query parameter | \r\n| 1.17 | GET /margin-account/{id}/trade/quotes | Renamed takerStreamCharacteristic into takerStreamName. | \r\n| 1.17 | GET /settings/order-routing-mapping | Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001. | \r\n| 1.17 | POST /settings/order-routing-mapping | Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001. | \r\n| 1.17 | GET /settings/order-routing-mapping/{id} | Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001. | \r\n| 1.17 | PATCH /settings/order-routing-mapping/{id} | Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001. | \r\n| 1.17 | PUT /settings/order-routing-mapping/{id} | Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001. | \r\n| 1.17 | DELETE /settings/order-routing-mapping/{id} | Empty entity identifier and wildcard identifier now have distinct values of, respectively, 00000000-0000-0000-0000-000000000000 and 00000000-0000-0000-0000-000000000001. | \r\n| 1.17 | GET /symbol-exposure | Added query fields, brokerEntityId and coreSymbol | \r\n| 1.16 | GET /portfolio | Removed hasSystematicHedgeProfile field | \r\n| 1.16 | GET /settings/order-routing-mapping | Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field. | \r\n| 1.16 | POST /settings/order-routing-mapping | Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field. | \r\n| 1.16 | GET /settings/order-routing-mapping/{id} | Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field. | \r\n| 1.16 | PATCH /settings/order-routing-mapping/{id} | Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field. | \r\n| 1.16 | PUT /settings/order-routing-mapping/{id} | Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field. | \r\n| 1.16 | DELETE /settings/order-routing-mapping/{id} | Removed \u0027takerEntityId\u0027 field and added \u0027takerEntityIds\u0027 field. | \r\n| 1.15 | GET /margin-account/{id}/positions | Renamed unrealizedPnL to unrealizedPnLInAccountCurrency. Renamed unrealizedPnLInTermCurrency to unrealizedPnL. Renamed floatingPnL to floatingPnLInAccountCurrency. Renamed floatingPnLInTermCurrency to floatingPnL. | \r\n| 1.14 | POST /risk-adjustment | Added portfolioId and portfolio transfer related portfolioTransferMode, portfolioIdFrom, and portfolioIdTo fields. | \r\n| 1.14 | POST /risk-adjustment  | Added portfolioId and portfolio transfer related portfolioTransferMode, portfolioIdFrom, and portfolioIdTo fields. | \r\n| 1.14 | POST /risk-trade/order | Added portfolioId field. | \r\n| 1.14 | GET /risk-trade/order | Query parameter \u0027systematicHedgeGroupId\u0027 removed. New query parameter \u0027portfolioId\u0027 added. | \r\n| 1.14 | GET /settings/order-routing-profile | Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles. | \r\n| 1.14 | POST /settings/order-routing-profile | Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles. | \r\n| 1.14 | GET /settings/order-routing-profile/{id} | Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles. | \r\n| 1.14 | PATCH /settings/order-routing-profile/{id} | Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles. | \r\n| 1.14 | PUT /settings/order-routing-profile/{id} | Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles. | \r\n| 1.14 | DELETE /settings/order-routing-profile/{id} | Removed the \u0027systematicHedgeGroup\u0027 field from order routing profiles. | \r\n| 1.14 | GET /settings/systematic-hedge-trade-profile | systematic-hedge-profile renamed to systematic-hedge-trade-profile.  | \r\n| 1.14 | POST /settings/systematic-hedge-trade-profile | systematic-hedge-profile renamed to systematic-hedge-trade-profile.  | \r\n| 1.14 | GET /settings/systematic-hedge-trade-profile/{id} | systematic-hedge-profile renamed to systematic-hedge-trade-profile.  | \r\n| 1.14 | PATCH /settings/systematic-hedge-trade-profile/{id} | systematic-hedge-profile renamed to systematic-hedge-trade-profile.  | \r\n| 1.14 | PUT /settings/systematic-hedge-trade-profile/{id} | systematic-hedge-profile renamed to systematic-hedge-trade-profile.  | \r\n| 1.14 | DELETE /settings/systematic-hedge-trade-profile/{id} | systematic-hedge-profile renamed to systematic-hedge-trade-profile.  | \r\n| 1.14 | GET /settings/systematic-hedging-profile | systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated. | \r\n| 1.14 | POST /settings/systematic-hedging-profile | systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated. | \r\n| 1.14 | GET /settings/systematic-hedging-profile/{id} | systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated. | \r\n| 1.14 | PATCH /settings/systematic-hedging-profile/{id} | systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated. | \r\n| 1.14 | PUT /settings/systematic-hedging-profile/{id} | systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated. | \r\n| 1.14 | DELETE /settings/systematic-hedging-profile/{id} | systematic-hedge-group renamed to systematic-hedging-profile. Field \u0027crossRateSymbols\u0027 has been deprecated. | \r\n| 1.14 | GET /settings/systematic-hedging-profile/{profileId}/buckets | systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO. | \r\n| 1.14 | POST /settings/systematic-hedging-profile/{profileId}/buckets | systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO. | \r\n| 1.14 | GET /settings/systematic-hedging-profile/{profileId}/buckets/{id} | systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO. | \r\n| 1.14 | PATCH /settings/systematic-hedging-profile/{profileId}/buckets/{id} | systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO. | \r\n| 1.14 | PUT /settings/systematic-hedging-profile/{profileId}/buckets/{id} | systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO. | \r\n| 1.14 | DELETE /settings/systematic-hedging-profile/{profileId}/buckets/{id} | systematic-hedge-group renamed to systematic-hedging-profile. hedgeProfileName field renamed as hedgeTradeProfileName. lockRouting value WAREHOUSE renamed to DEFAULT_PORTFOLIO. | \r\n| 1.14 | GET /systematic-hedge-portfolio | Systematic hedge group is now represented as a portfolio. id and name fields now represent portfolio id and name. groupPnLDenomination field is renamed as portfolioPnLDenomination. | \r\n| 1.14 | GET /systematic-hedge-portfolio/{id}/buckets | id path parameter now represents portfolio id. | \r\n| 1.14 | PATCH /systematic-hedge-portfolio/{portfolioId}/all-buckets | Instead of groupId path parameter, using portfolioId path parameter that represents portfolio id. | \r\n| 1.14 | PATCH /systematic-hedge-portfolio/{portfolioId}/buckets/{bucketId} | Instead of groupId path parameter, using portfolioId path parameter that represents portfolio id. | \r\n| 1.13 | GET /margin-account | Removed takerIds field and added takerEntityIds field. | \r\n| 1.13 | GET /margin-account/{id} | Removed takerIds field and added takerEntityIds field. | \r\n| 1.13 | GET /margin-account/{id}/positions | adapterPositions renamed to entityPositions. In each position block, adapterId is replaced with entityId, and adapterSymbol renamed to entitySymbol. | \r\n| 1.13 | POST /margin-account/{id}/trade/order | Added takerEntityId and takerStreamCharacteristic fields. | \r\n| 1.13 | GET /margin-account/{id}/trade/quotes | New takerEntityId and takerStreamCharacteristic fields added. | \r\n| 1.13 | POST /risk-adjustment | Removed makerId and takerId fields. | \r\n| 1.13 | POST /risk-adjustment  | Removed makerId and takerId fields. | \r\n| 1.13 | GET /settings/maker-pools | MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority. | \r\n| 1.13 | POST /settings/maker-pools | MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority. | \r\n| 1.13 | GET /settings/maker-pools/{id} | MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority. | \r\n| 1.13 | PATCH /settings/maker-pools/{id} | MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority. | \r\n| 1.13 | PUT /settings/maker-pools/{id} | MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority. | \r\n| 1.13 | DELETE /settings/maker-pools/{id} | MakerPools include Symbol and SymbolGroupPath settings plus Type and Aggregation Priority. | \r\n| 1.13 | GET /settings/margin-taker-login-account | taker field now refers to the taker entity id rather than the taker connection id. | \r\n| 1.13 | POST /settings/margin-taker-login-account | taker field now refers to the taker entity id rather than the taker connection id. | \r\n| 1.13 | GET /settings/margin-taker-login-account/{id} | taker field now refers to the taker entity id rather than the taker connection id. | \r\n| 1.13 | PATCH /settings/margin-taker-login-account/{id} | taker field now refers to the taker entity id rather than the taker connection id. | \r\n| 1.13 | PUT /settings/margin-taker-login-account/{id} | taker field now refers to the taker entity id rather than the taker connection id. | \r\n| 1.13 | DELETE /settings/margin-taker-login-account/{id} | taker field now refers to the taker entity id rather than the taker connection id. | \r\n| 1.13 | GET /settings/price-channel-rule | \u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool. | \r\n| 1.13 | POST /settings/price-channel-rule | \u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool. | \r\n| 1.13 | GET /settings/price-channel-rule/{id} | \u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool. | \r\n| 1.13 | PATCH /settings/price-channel-rule/{id} | \u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool. | \r\n| 1.13 | PUT /settings/price-channel-rule/{id} | \u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool. | \r\n| 1.13 | DELETE /settings/price-channel-rule/{id} | \u0027Type\u0027 and \u0027AggregationPriority\u0027 have been moved to the price channel rule\u0027s Maker Pool. | \r\n| 1.12 | POST /risk-adjustment | Added takerEntityId and makerEntityId fields. | \r\n| 1.12 | POST /risk-adjustment  | Added takerEntityId and makerEntityId fields. | \r\n| 1.12 | GET /settings/credit-group | Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields. | \r\n| 1.12 | POST /settings/credit-group | Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields. | \r\n| 1.12 | GET /settings/credit-group/{id} | Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields. | \r\n| 1.12 | PATCH /settings/credit-group/{id} | Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields. | \r\n| 1.12 | PUT /settings/credit-group/{id} | Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields. | \r\n| 1.12 | DELETE /settings/credit-group/{id} | Removed takerIds, makerIds and includeWarehouse fields, and added takerEntityIds, makerEntityIds, organizationId and brokerEntityId fields. | \r\n| 1.12 | GET /settings/maker-pools | makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids. | \r\n| 1.12 | POST /settings/maker-pools | makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids. | \r\n| 1.12 | GET /settings/maker-pools/{id} | makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids. | \r\n| 1.12 | PATCH /settings/maker-pools/{id} | makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids. | \r\n| 1.12 | PUT /settings/maker-pools/{id} | makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids. | \r\n| 1.12 | DELETE /settings/maker-pools/{id} | makerIds field now gives a list of makerId-entityId mappings instead of a list of maker ids. | \r\n| 1.12 | GET /symbol-exposure | Removed taker adapter and maker adapter terminology and added support for maker and taker entities. | \r\n| 1.11 | GET /quotes | Query param \u0027forceUseSTPTradableSize\u0027 renamed \u0027forceUseHedgeTradableSize\u0027. | \r\n| 1.11 | GET /settings/price-channel-rule | \u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027. | \r\n| 1.11 | POST /settings/price-channel-rule | \u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027. | \r\n| 1.11 | GET /settings/price-channel-rule/{id} | \u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027. | \r\n| 1.11 | PATCH /settings/price-channel-rule/{id} | \u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027. | \r\n| 1.11 | PUT /settings/price-channel-rule/{id} | \u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027. | \r\n| 1.11 | DELETE /settings/price-channel-rule/{id} | \u0027targetSpreadThresholdPoints\u0027 has been renamed to \u0027initialTargetSpreadThresholdPoints\u0027, \u0027maxSpreadAllowableGapLevelInPointsForSTPOrders\u0027 has been renamed to \u0027maxSpreadAllowableGapLevelInPointsForHedgeOrders\u0027, \u0027enableWarehouseVolumeDepletion\u0027 has been renamed to \u0027enableWarehouseLiquidityDepletion\u0027 and \u0027warehouseVolumeDepletionResyncInterval\u0027 has been renamed to \u0027warehouseLiquidityReplenishmentInterval\u0027. | \r\n| 1.10 | GET /risk-trade/order | Query parameter \u0027autoHedgeGroupId\u0027 renamed to \u0027systematicHedgeGroupId\u0027. | \r\n| 1.10 | GET /settings/order-routing-mapping | As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027. | \r\n| 1.10 | POST /settings/order-routing-mapping | As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027. | \r\n| 1.10 | GET /settings/order-routing-mapping/{id} | As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027. | \r\n| 1.10 | PATCH /settings/order-routing-mapping/{id} | As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027. | \r\n| 1.10 | PUT /settings/order-routing-mapping/{id} | As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027. | \r\n| 1.10 | DELETE /settings/order-routing-mapping/{id} | As part of the rename of \u0027execution-mapping\u0027 to \u0027order-routing-mapping\u0027, within the \u0027order-routing-mapping\u0027 field \u0027executionProfileName\u0027 renamed to \u0027orderRoutingProfileName\u0027 and field \u0027takerIdFilter\u0027 renamed to \u0027takerConnectionIdFilter\u0027. | \r\n| 1.10 | GET /settings/order-routing-profile | As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively. | \r\n| 1.10 | POST /settings/order-routing-profile | As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively. | \r\n| 1.10 | GET /settings/order-routing-profile/{id} | As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively. | \r\n| 1.10 | PATCH /settings/order-routing-profile/{id} | As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively. | \r\n| 1.10 | PUT /settings/order-routing-profile/{id} | As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively. | \r\n| 1.10 | DELETE /settings/order-routing-profile/{id} | As part of the rename of \u0027execution-profile\u0027 to \u0027order-routing-profile\u0027, within the \u0027order-routing-profile\u0027 field \u0027executionMode\u0027 renamed to \u0027orderRoutingMode\u0027, field \u0027autoHedgeGroup\u0027 renamed to \u0027systematicHedgeGroup\u0027, field \u0027maxTradeVolume\u0027 renamed to \u0027maxOrderQuantity\u0027, field \u0027percentStp\u0027 renamed to \u0027percentForHedge\u0027, field \u0027minStpVolume\u0027 renamed to \u0027minHedgeOrderQuantity\u0027, field \u0027stpStepSize\u0027 renamed to \u0027hedgeOrderStepSize\u0027, field \u0027maxStpPortionDecimalPlaces\u0027 renamed to \u0027maxHedgeOrderQuantityPortionDecimalPlaces\u0027, and field \u0027mirrorHedgePriceChannelRouting\u0027 renamed to \u0027takerStreamRoutingForAsyncHedge\u0027. For field \u0027orderRoutingMode\u0027 values \u0027A_BOOK\u0027, \u0027B_BOOK\u0027, and \u0027MIRROR_HEDGE\u0027 renamed to \u0027SYNC_HEDGE\u0027, \u0027WAREHOUSE\u0027, and \u0027ASYNC_HEDGE\u0027 respectively. | \r\n| 1.10 | GET /settings/systematic-hedge-trade-profile | auto-hedge-profile renamed to systematic-hedge-profile | \r\n| 1.10 | POST /settings/systematic-hedge-trade-profile | auto-hedge-profile renamed to systematic-hedge-profile | \r\n| 1.10 | GET /settings/systematic-hedge-trade-profile/{id} | auto-hedge-profile renamed to systematic-hedge-profile | \r\n| 1.10 | PATCH /settings/systematic-hedge-trade-profile/{id} | auto-hedge-profile renamed to systematic-hedge-profile | \r\n| 1.10 | PUT /settings/systematic-hedge-trade-profile/{id} | auto-hedge-profile renamed to systematic-hedge-profile | \r\n| 1.10 | DELETE /settings/systematic-hedge-trade-profile/{id} | auto-hedge-profile renamed to systematic-hedge-profile | \r\n| 1.10 | GET /settings/systematic-hedging-profile | auto-hedge-group renamed to systematic-hedge-group | \r\n| 1.10 | POST /settings/systematic-hedging-profile | auto-hedge-group renamed to systematic-hedge-group | \r\n| 1.10 | GET /settings/systematic-hedging-profile/{id} | auto-hedge-group renamed to systematic-hedge-group | \r\n| 1.10 | PATCH /settings/systematic-hedging-profile/{id} | auto-hedge-group renamed to systematic-hedge-group | \r\n| 1.10 | PUT /settings/systematic-hedging-profile/{id} | auto-hedge-group renamed to systematic-hedge-group | \r\n| 1.10 | DELETE /settings/systematic-hedging-profile/{id} | auto-hedge-group renamed to systematic-hedge-group | \r\n| 1.10 | GET /settings/systematic-hedging-profile/{profileId}/buckets | As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027. | \r\n| 1.10 | POST /settings/systematic-hedging-profile/{profileId}/buckets | As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027. | \r\n| 1.10 | GET /settings/systematic-hedging-profile/{profileId}/buckets/{id} | As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027. | \r\n| 1.10 | PATCH /settings/systematic-hedging-profile/{profileId}/buckets/{id} | As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027. | \r\n| 1.10 | PUT /settings/systematic-hedging-profile/{profileId}/buckets/{id} | As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027. | \r\n| 1.10 | DELETE /settings/systematic-hedging-profile/{profileId}/buckets/{id} | As part of the rename of \u0027auto-hedge-group/{groupId}/buckets\u0027 to \u0027systematic-hedge-group/{groupId}/buckets\u0027,  within the bucket representation field \u0027autoHedgeMode\u0027 renamed to \u0027systematicHedgeMode\u0027, and field \u0027autoHedgeSessionProfileName\u0027 renamed to \u0027systematicHedgeSessionProfileName\u0027. For field \u0027systematicHedgeMode\u0027, value \u0027STP\u0027 renamed to \u0027HEDGE\u0027. | \r\n| 1.10 | PATCH /systematic-hedge-portfolio/{portfolioId}/buckets/{bucketId} | Field \u0027autoHedgeDisabledBySessionProfile\u0027 renamed \u0027systematicHedgeDisabledBySessionProfile\u0027. | \r\n| 1.10 | GET /taker | subscribedSymbolsOnly query param no longer supported. To get subscribed symbols instead query api/rest/quotes with subscribedSymbolsOnly = true | \r\n| 1.10 | GET /taker/{id}/taker-symbols | subscribedSymbolsOnly query param no longer supported. To get subscribed symbols instead query api/rest/quotes with subscribedSymbolsOnly = true | \r\n| 1.09 | GET /margin-account/{id}/trade/order | Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price. | \r\n| 1.09 | GET /margin-account/{id}/trade/order/{requestNewId} | Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price. | \r\n| 1.09 | GET /risk-trade/multileg-order/{requestNewId} | Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price. | \r\n| 1.09 | GET /risk-trade/order | Field \u0027requestedPrice\u0027 was mandatory, and a value of 0 indicated no requested price, but it is now optional, and the absence of the field now indicates no requested price. | \r\n| 1.09 | GET /settings/price-channel-rule | MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027 | \r\n| 1.09 | POST /settings/price-channel-rule | MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027 | \r\n| 1.09 | GET /settings/price-channel-rule/{id} | MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027 | \r\n| 1.09 | PATCH /settings/price-channel-rule/{id} | MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027 | \r\n| 1.09 | PUT /settings/price-channel-rule/{id} | MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027 | \r\n| 1.09 | DELETE /settings/price-channel-rule/{id} | MakerIds has been renamed and restructured into maker pools, which are available from \u0027settings/maker-pools\u0027 | \r\n| 1.09 | GET /settings/systematic-hedge-trade-profile | Add the capability to define a hedge percentage for each tip type | \r\n| 1.09 | POST /settings/systematic-hedge-trade-profile | Add the capability to define a hedge percentage for each tip type | \r\n| 1.09 | GET /settings/systematic-hedge-trade-profile/{id} | Add the capability to define a hedge percentage for each tip type | \r\n| 1.09 | PATCH /settings/systematic-hedge-trade-profile/{id} | Add the capability to define a hedge percentage for each tip type | \r\n| 1.09 | PUT /settings/systematic-hedge-trade-profile/{id} | Add the capability to define a hedge percentage for each tip type | \r\n| 1.09 | DELETE /settings/systematic-hedge-trade-profile/{id} | Add the capability to define a hedge percentage for each tip type | \r\n| 1.07 | GET /settings/systematic-hedging-profile/{profileId}/buckets | Convert autoHedgeEnabled to autoHedgeMode | \r\n| 1.07 | POST /settings/systematic-hedging-profile/{profileId}/buckets | Convert autoHedgeEnabled to autoHedgeMode | \r\n| 1.07 | GET /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Convert autoHedgeEnabled to autoHedgeMode | \r\n| 1.07 | PATCH /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Convert autoHedgeEnabled to autoHedgeMode | \r\n| 1.07 | PUT /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Convert autoHedgeEnabled to autoHedgeMode | \r\n| 1.07 | DELETE /settings/systematic-hedging-profile/{profileId}/buckets/{id} | Convert autoHedgeEnabled to autoHedgeMode | \r\n| 1.06 | GET /settings/margin-taker-login-account | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | POST /settings/margin-taker-login-account | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | GET /settings/margin-taker-login-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | PATCH /settings/margin-taker-login-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | PUT /settings/margin-taker-login-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | DELETE /settings/margin-taker-login-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | GET settings/margin-adapter-account | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | GET settings/margin-adapter-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | PATCH settings/margin-adapter-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | PUT settings/margin-adapter-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | POST settings/margin-adapter-account | Margin accounts changed over to use risk and account profile system. | \r\n| 1.06 | DELETE settings/margin-adapter-account/{id} | Margin accounts changed over to use risk and account profile system. | \r\n| 1.04 | GET /quotes | \u0027includeQuotesFromDisabledSides\u0027 renamed to \u0027includeDisabledQuotes\u0027 due to individual quotes being disabled through quote deactivation. | \r\n| 1.03 | GET /settings/price-channel-rule | PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027.  | \r\n| 1.03 | POST /settings/price-channel-rule | PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027.  | \r\n| 1.03 | GET /settings/price-channel-rule/{id} | PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027.  | \r\n| 1.03 | PATCH /settings/price-channel-rule/{id} | PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027.  | \r\n| 1.03 | PUT /settings/price-channel-rule/{id} | PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027.  | \r\n| 1.03 | DELETE /settings/price-channel-rule/{id} | PriceReporting values \u0027EXECUTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_CORE_AND_MAKER_SPREADS\u0027 renamed to \u0027EXECUTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_APPLIED_MIN_VOLUME_BAND_CORE_AND_MAKER_SPREADS\u0027 respectively. Volume band spreads can be ignored using the existing values \u0027EXECUTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, \u0027REQUESTED_PLUS_CORE_AND_MAKER_SPREADS\u0027, and \u0027MATCHED_PLUS_CORE_AND_MAKER_SPREADS\u0027.  | \r\n| 1.01 | POST /margin-account/{id}/ledger | Change \u0027type\u0027 member to use correct CAPS_CASE_NAMES | \r\n| 1.01 | POST /margin-account/{id}/ledger | Change \u0027type\u0027 member to use correct CAPS_CASE_NAMES | \r\n| 1.01 | GET /margin-account/{id}/positions | unrealizedPnLInQuoteCurrency renamed to unrealizedPnLInTermCurrency and floatingPnLInQuoteCurrency renamed to floatingPnLInTermCurrency | \r\n| 1.01 | PATCH /margin-account/{id}/trade/order/{requestNewId} | \u0027requestNewId\u0027 removed as parameter from request body params, due to being a path parameter. Success response now contains the JsonOrder matching the \u0027requestNewId\u0027. | \r\n| 1.01 | PATCH /risk-trade/order/{requestNewId} | \u0027requestNewId\u0027 removed as parameter from request body params, due to being a path parameter. Success response now contains the JsonOrder matching the \u0027requestNewId\u0027. | \r\n\r\n\r\n## New Endpoints \r\n\r\n| REST Version | Endpoint | \r\n| ------------ | -------- | \r\n| 1.39 | GET /settings/marginplus-margin-profile | \r\n| 1.39 | POST /settings/marginplus-margin-profile | \r\n| 1.39 | GET /settings/marginplus-margin-profile/{id} | \r\n| 1.39 | PATCH /settings/marginplus-margin-profile/{id} | \r\n| 1.39 | PUT /settings/marginplus-margin-profile/{id} | \r\n| 1.39 | DELETE /settings/marginplus-margin-profile/{id} | \r\n| 1.39 | GET /settings/marginplus-symbol-permission-profile | \r\n| 1.39 | POST /settings/marginplus-symbol-permission-profile | \r\n| 1.39 | GET /settings/marginplus-symbol-permission-profile/{id} | \r\n| 1.39 | PATCH /settings/marginplus-symbol-permission-profile/{id} | \r\n| 1.39 | PUT /settings/marginplus-symbol-permission-profile/{id} | \r\n| 1.39 | DELETE /settings/marginplus-symbol-permission-profile/{id} | \r\n| 1.38 | GET /portfolio/{id}/layered-currency-hedges | \r\n| 1.37 | GET /event-schedule/active | \r\n| 1.37 | POST /event-schedule/manual | \r\n| 1.37 | GET /event-schedule/manual | \r\n| 1.37 | DELETE /event-schedule/manual/{id} | \r\n| 1.37 | GET /portfolio/{id}/layered-position-hedges | \r\n| 1.37 | GET /settings/marginplus-swaps-profile | \r\n| 1.37 | POST /settings/marginplus-swaps-profile | \r\n| 1.37 | GET /settings/marginplus-swaps-profile/{id} | \r\n| 1.37 | PATCH /settings/marginplus-swaps-profile/{id} | \r\n| 1.37 | PUT /settings/marginplus-swaps-profile/{id} | \r\n| 1.37 | DELETE /settings/marginplus-swaps-profile/{id} | \r\n| 1.37 | POST /auth/password/change | \r\n| 1.36 | POST /marginplus-account-admin/restore/{accountId} | \r\n| 1.36 | DELETE /marginplus-account-admin/{accountId} | \r\n| 1.35 | POST /marginplus-account/{id}/trade/orders | \r\n| 1.35 | DELETE /marginplus-account/{id}/trade/orders/{orderId} | \r\n| 1.35 | PATCH /marginplus-account/{id}/trade/orders/{orderId} | \r\n| 1.35 | PUT /marginplus-account/{id}/trade/positions/{positionId} | \r\n| 1.35 | PATCH /marginplus-account/{id}/trade/positions/{positionId} | \r\n| 1.35 | GET /position-change | \r\n| 1.35 | POST /rfq-pause-quoting | \r\n| 1.35 | POST /rfq-resume-quoting | \r\n| 1.35 | GET /marginplus-account/{id}/orders | \r\n| 1.35 | GET /marginplus-account/{id}/positions | \r\n| 1.34 | POST /rfq-cancel-dealer-intervention | \r\n| 1.34 | GET /marginplus-account/{id}/state | \r\n| 1.33 | GET /user-settings | \r\n| 1.33 | PUT /user-settings | \r\n| 1.32 | GET /settings/permission-groups | \r\n| 1.32 | POST /settings/permission-groups | \r\n| 1.32 | GET /settings/permission-groups/{id} | \r\n| 1.32 | PATCH /settings/permission-groups/{id} | \r\n| 1.32 | PUT /settings/permission-groups/{id} | \r\n| 1.32 | DELETE /settings/permission-groups/{id} | \r\n| 1.32 | GET /marginplus-account/events | \r\n| 1.31 | GET /settings/broker/{brokerId}/gap-level-mapping | \r\n| 1.31 | POST /settings/broker/{brokerId}/gap-level-mapping | \r\n| 1.31 | GET /settings/broker/{brokerId}/gap-level-mapping/{id} | \r\n| 1.31 | PATCH /settings/broker/{brokerId}/gap-level-mapping/{id} | \r\n| 1.31 | PUT /settings/broker/{brokerId}/gap-level-mapping/{id} | \r\n| 1.31 | DELETE /settings/broker/{brokerId}/gap-level-mapping/{id} | \r\n| 1.31 | GET /settings/broker/{brokerId}/gap-level-profile | \r\n| 1.31 | POST /settings/broker/{brokerId}/gap-level-profile | \r\n| 1.31 | GET /settings/broker/{brokerId}/gap-level-profile/{id} | \r\n| 1.31 | PATCH /settings/broker/{brokerId}/gap-level-profile/{id} | \r\n| 1.31 | PUT /settings/broker/{brokerId}/gap-level-profile/{id} | \r\n| 1.31 | DELETE /settings/broker/{brokerId}/gap-level-profile/{id} | \r\n| 1.31 | GET /settings/gap-level-mapping | \r\n| 1.31 | POST /settings/gap-level-mapping | \r\n| 1.31 | GET /settings/gap-level-mapping/profiles | \r\n| 1.31 | POST /settings/gap-level-mapping/profiles | \r\n| 1.31 | GET /settings/gap-level-mapping/profiles/{id} | \r\n| 1.31 | PATCH /settings/gap-level-mapping/profiles/{id} | \r\n| 1.31 | PUT /settings/gap-level-mapping/profiles/{id} | \r\n| 1.31 | DELETE /settings/gap-level-mapping/profiles/{id} | \r\n| 1.31 | GET /settings/gap-level-mapping/profiles/{profileId}/settings | \r\n| 1.31 | POST /settings/gap-level-mapping/profiles/{profileId}/settings | \r\n| 1.31 | GET /settings/gap-level-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.31 | PATCH /settings/gap-level-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.31 | PUT /settings/gap-level-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.31 | DELETE /settings/gap-level-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.31 | GET /settings/gap-level-mapping/{id} | \r\n| 1.31 | PATCH /settings/gap-level-mapping/{id} | \r\n| 1.31 | PUT /settings/gap-level-mapping/{id} | \r\n| 1.31 | DELETE /settings/gap-level-mapping/{id} | \r\n| 1.31 | GET /settings/gap-level-profile | \r\n| 1.31 | POST /settings/gap-level-profile | \r\n| 1.31 | GET /settings/gap-level-profile/{id} | \r\n| 1.31 | PATCH /settings/gap-level-profile/{id} | \r\n| 1.31 | PUT /settings/gap-level-profile/{id} | \r\n| 1.31 | DELETE /settings/gap-level-profile/{id} | \r\n| 1.31 | GET /settings/symbol-display-settings | \r\n| 1.31 | POST /settings/symbol-display-settings | \r\n| 1.31 | GET /settings/symbol-display-settings/{id} | \r\n| 1.31 | PATCH /settings/symbol-display-settings/{id} | \r\n| 1.31 | PUT /settings/symbol-display-settings/{id} | \r\n| 1.31 | DELETE /settings/symbol-display-settings/{id} | \r\n| 1.31 | DELETE /marginplus-account-admin/user/{id} | \r\n| 1.31 | GET /marginplus-account-admin/user | \r\n| 1.31 | GET /marginplus-account-admin/user/{id} | \r\n| 1.31 | POST /marginplus-account-admin/user | \r\n| 1.30 | DELETE /marginplus-account-admin/user/{id}/mfa_methods | \r\n| 1.26 | POST /marginplus-account-admin/command/notify-account-email-changed | \r\n| 1.26 | POST /marginplus-account/{id}/adjustment-ticket | \r\n| 1.26 | PUT /marginplus-account/{id}/adjustment-ticket/{ticketId} | \r\n| 1.25 | GET /marginplus-account-admin/account-group-info/ | \r\n| 1.25 | GET /marginplus-account-admin/account-group-info/{groupId} | \r\n| 1.25 | GET /portfolio/{id}/component-risk-positions | \r\n| 1.25 | POST /portfolio/{id}/component-risk-systematic-hedge-module/action | \r\n| 1.25 | GET /settings/index-instrument-definitions | \r\n| 1.25 | POST /settings/index-instrument-definitions | \r\n| 1.25 | GET /settings/index-instrument-definitions/{id} | \r\n| 1.25 | PATCH /settings/index-instrument-definitions/{id} | \r\n| 1.25 | PUT /settings/index-instrument-definitions/{id} | \r\n| 1.25 | DELETE /settings/index-instrument-definitions/{id} | \r\n| 1.25 | GET /settings/order-routing-mapping/profiles | \r\n| 1.25 | POST /settings/order-routing-mapping/profiles | \r\n| 1.25 | GET /settings/order-routing-mapping/profiles/{id} | \r\n| 1.25 | PATCH /settings/order-routing-mapping/profiles/{id} | \r\n| 1.25 | PUT /settings/order-routing-mapping/profiles/{id} | \r\n| 1.25 | DELETE /settings/order-routing-mapping/profiles/{id} | \r\n| 1.25 | GET /settings/order-routing-mapping/profiles/{profileId}/settings | \r\n| 1.25 | POST /settings/order-routing-mapping/profiles/{profileId}/settings | \r\n| 1.25 | GET /settings/order-routing-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.25 | PATCH /settings/order-routing-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.25 | PUT /settings/order-routing-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.25 | DELETE /settings/order-routing-mapping/profiles/{profileId}/settings/{id} | \r\n| 1.25 | GET /marginplus-account/{id}/ledger | \r\n| 1.23 | POST /maker-admin/killswitch/{commandId} | \r\n| 1.23 | GET /marginplus-account/statement | \r\n| 1.21 | POST /margin-account/{id}/trade/multileg-order | \r\n| 1.21 | GET /margin-account/{id}/trade/multileg-order | \r\n| 1.21 | GET /margin-account/{id}/trade/multileg-order/{requestNewId} | \r\n| 1.21 | GET /margin-account/{id}/trade/multileg-quotes | \r\n| 1.21 | GET /marginplus-account-admin/taker-stream-symbols | \r\n| 1.21 | POST /marginplus-account/{id}/ledger | \r\n| 1.21 | POST /marginplus-account/{id}/ledger | \r\n| 1.21 | GET /marginplus-account/{id}/taker-symbols | \r\n| 1.21 | GET /marginplus-account/{id}/trade/quotes | \r\n| 1.21 | GET /multileg-quotes | \r\n| 1.21 | POST /rfq-cancel-portfolio | \r\n| 1.21 | POST /rfq-cancel-taker | \r\n| 1.21 | POST /rfq-request-portfolio | \r\n| 1.21 | POST /rfq-request-taker | \r\n| 1.21 | POST /risk-trade/multileg-order | \r\n| 1.21 | GET /settings/marginplus-account | \r\n| 1.21 | POST /settings/marginplus-account | \r\n| 1.21 | GET /settings/marginplus-account-group | \r\n| 1.21 | POST /settings/marginplus-account-group | \r\n| 1.21 | GET /settings/marginplus-account-group/{id} | \r\n| 1.21 | PATCH /settings/marginplus-account-group/{id} | \r\n| 1.21 | PUT /settings/marginplus-account-group/{id} | \r\n| 1.21 | DELETE /settings/marginplus-account-group/{id} | \r\n| 1.21 | GET /settings/marginplus-account/{id} | \r\n| 1.21 | PATCH /settings/marginplus-account/{id} | \r\n| 1.21 | PUT /settings/marginplus-account/{id} | \r\n| 1.21 | GET /settings/marginplus-spread-group-profile | \r\n| 1.21 | POST /settings/marginplus-spread-group-profile | \r\n| 1.21 | GET /settings/marginplus-spread-group-profile/{id} | \r\n| 1.21 | PATCH /settings/marginplus-spread-group-profile/{id} | \r\n| 1.21 | PUT /settings/marginplus-spread-group-profile/{id} | \r\n| 1.21 | DELETE /settings/marginplus-spread-group-profile/{id} | \r\n| 1.21 | GET /marginplus-account | \r\n| 1.21 | GET /marginplus-account/{id} | \r\n| 1.20 | GET /portfolio/{id}/passive-hedge-positions | \r\n| 1.20 | GET /settings/margin-benchmark-rate | \r\n| 1.20 | POST /settings/margin-benchmark-rate | \r\n| 1.20 | GET /settings/margin-benchmark-rate/{currency} | \r\n| 1.20 | PATCH /settings/margin-benchmark-rate/{currency} | \r\n| 1.20 | PUT /settings/margin-benchmark-rate/{currency} | \r\n| 1.20 | DELETE /settings/margin-benchmark-rate/{currency} | \r\n| 1.19 | GET /portfolio/{id}/asset-positions | \r\n| 1.19 | GET /portfolio/{id}/positions | \r\n| 1.19 | GET /portfolio/{id}/skew-positions | \r\n| 1.19 | GET /settings/skew-profile | \r\n| 1.19 | POST /settings/skew-profile | \r\n| 1.19 | GET /settings/skew-profile/{id} | \r\n| 1.19 | PATCH /settings/skew-profile/{id} | \r\n| 1.19 | PUT /settings/skew-profile/{id} | \r\n| 1.19 | DELETE /settings/skew-profile/{id} | \r\n| 1.19 | GET /settings/skew-profile/{profileId}/rules | \r\n| 1.19 | POST /settings/skew-profile/{profileId}/rules | \r\n| 1.19 | GET /settings/skew-profile/{profileId}/rules/{id} | \r\n| 1.19 | PATCH /settings/skew-profile/{profileId}/rules/{id} | \r\n| 1.19 | PUT /settings/skew-profile/{profileId}/rules/{id} | \r\n| 1.19 | DELETE /settings/skew-profile/{profileId}/rules/{id} | \r\n| 1.18 | GET /pending-risk-checks | \r\n| 1.18 | POST /pending-risk-checks/{id}/action/finalize | \r\n| 1.18 | PATCH /pricing-algo-settings | \r\n| 1.18 | GET /pricing-algo-settings | \r\n| 1.17 | GET /portfolio/{id}/currency-positions | \r\n| 1.17 | GET /settings/broker/{brokerId}/order-routing-mapping | \r\n| 1.17 | POST /settings/broker/{brokerId}/order-routing-mapping | \r\n| 1.17 | GET /settings/broker/{brokerId}/order-routing-mapping/{id} | \r\n| 1.17 | PATCH /settings/broker/{brokerId}/order-routing-mapping/{id} | \r\n| 1.17 | PUT /settings/broker/{brokerId}/order-routing-mapping/{id} | \r\n| 1.17 | DELETE /settings/broker/{brokerId}/order-routing-mapping/{id} | \r\n| 1.17 | GET /settings/broker/{brokerId}/order-routing-profile | \r\n| 1.17 | POST /settings/broker/{brokerId}/order-routing-profile | \r\n| 1.17 | GET /settings/broker/{brokerId}/order-routing-profile/{id} | \r\n| 1.17 | PATCH /settings/broker/{brokerId}/order-routing-profile/{id} | \r\n| 1.17 | PUT /settings/broker/{brokerId}/order-routing-profile/{id} | \r\n| 1.17 | DELETE /settings/broker/{brokerId}/order-routing-profile/{id} | \r\n| 1.17 | GET /settings/broker/{brokerId}/portfolio | \r\n| 1.17 | POST /settings/broker/{brokerId}/portfolio | \r\n| 1.17 | GET /settings/broker/{brokerId}/portfolio/{id} | \r\n| 1.17 | PATCH /settings/broker/{brokerId}/portfolio/{id} | \r\n| 1.17 | PUT /settings/broker/{brokerId}/portfolio/{id} | \r\n| 1.17 | DELETE /settings/broker/{brokerId}/portfolio/{id} | \r\n| 1.16 | POST /portfolio/{id}/asset-systematic-hedge-module/action | \r\n| 1.16 | POST /portfolio/{id}/currency-systematic-hedge-module/action | \r\n| 1.14 | GET /portfolio | \r\n| 1.14 | GET /settings/portfolio | \r\n| 1.14 | POST /settings/portfolio | \r\n| 1.14 | GET /settings/portfolio/{id} | \r\n| 1.14 | PATCH /settings/portfolio/{id} | \r\n| 1.14 | PUT /settings/portfolio/{id} | \r\n| 1.14 | DELETE /settings/portfolio/{id} | \r\n| 1.13 | GET /settings/maker-stream-rules | \r\n| 1.13 | POST /settings/maker-stream-rules | \r\n| 1.13 | GET /settings/maker-stream-rules/{id} | \r\n| 1.13 | PATCH /settings/maker-stream-rules/{id} | \r\n| 1.13 | PUT /settings/maker-stream-rules/{id} | \r\n| 1.13 | DELETE /settings/maker-stream-rules/{id} | \r\n| 1.13 | GET /settings/margin-entity-account | \r\n| 1.13 | POST /settings/margin-entity-account | \r\n| 1.13 | GET /settings/margin-entity-account/{id} | \r\n| 1.13 | PATCH /settings/margin-entity-account/{id} | \r\n| 1.13 | PUT /settings/margin-entity-account/{id} | \r\n| 1.13 | DELETE /settings/margin-entity-account/{id} | \r\n| 1.12 | GET /entity | \r\n| 1.12 | GET /entity-currency-exposure | \r\n| 1.12 | PUT /entity/{id} | \r\n| 1.12 | GET /organization | \r\n| 1.12 | PUT /organization/{id} | \r\n| 1.10 | GET /systematic-hedge-portfolio/{id}/buckets | \r\n| 1.09 | GET /settings/maker-pools | \r\n| 1.09 | POST /settings/maker-pools | \r\n| 1.09 | GET /settings/maker-pools/{id} | \r\n| 1.09 | PATCH /settings/maker-pools/{id} | \r\n| 1.09 | PUT /settings/maker-pools/{id} | \r\n| 1.09 | DELETE /settings/maker-pools/{id} | \r\n| 1.09 | GET /settings/margin-commission-profile | \r\n| 1.09 | POST /settings/margin-commission-profile | \r\n| 1.09 | GET /settings/margin-commission-profile/{id} | \r\n| 1.09 | PATCH /settings/margin-commission-profile/{id} | \r\n| 1.09 | PUT /settings/margin-commission-profile/{id} | \r\n| 1.09 | DELETE /settings/margin-commission-profile/{id} | \r\n| 1.09 | GET /settings/margin-conversion-rate-profile | \r\n| 1.09 | POST /settings/margin-conversion-rate-profile | \r\n| 1.09 | GET /settings/margin-conversion-rate-profile/{id} | \r\n| 1.09 | PATCH /settings/margin-conversion-rate-profile/{id} | \r\n| 1.09 | PUT /settings/margin-conversion-rate-profile/{id} | \r\n| 1.09 | DELETE /settings/margin-conversion-rate-profile/{id} | \r\n| 1.09 | GET /settings/margin-profile | \r\n| 1.09 | POST /settings/margin-profile | \r\n| 1.09 | GET /settings/margin-profile/{id} | \r\n| 1.09 | PATCH /settings/margin-profile/{id} | \r\n| 1.09 | PUT /settings/margin-profile/{id} | \r\n| 1.09 | DELETE /settings/margin-profile/{id} | \r\n| 1.09 | GET /settings/margin-swaps-profile | \r\n| 1.09 | POST /settings/margin-swaps-profile | \r\n| 1.09 | GET /settings/margin-swaps-profile/{id} | \r\n| 1.09 | PATCH /settings/margin-swaps-profile/{id} | \r\n| 1.09 | PUT /settings/margin-swaps-profile/{id} | \r\n| 1.09 | DELETE /settings/margin-swaps-profile/{id} | \r\n| 1.09 | GET /settings/price-channel-rule/profiles | \r\n| 1.09 | POST /settings/price-channel-rule/profiles | \r\n| 1.09 | GET /settings/price-channel-rule/profiles/{id} | \r\n| 1.09 | PATCH /settings/price-channel-rule/profiles/{id} | \r\n| 1.09 | PUT /settings/price-channel-rule/profiles/{id} | \r\n| 1.09 | DELETE /settings/price-channel-rule/profiles/{id} | \r\n| 1.09 | GET /settings/price-channel-rule/profiles/{profileId}/settings | \r\n| 1.09 | POST /settings/price-channel-rule/profiles/{profileId}/settings | \r\n| 1.09 | GET /settings/price-channel-rule/profiles/{profileId}/settings/{id} | \r\n| 1.09 | PATCH /settings/price-channel-rule/profiles/{profileId}/settings/{id} | \r\n| 1.09 | PUT /settings/price-channel-rule/profiles/{profileId}/settings/{id} | \r\n| 1.09 | DELETE /settings/price-channel-rule/profiles/{profileId}/settings/{id} | \r\n| 1.08 | POST /cfd-dividend | \r\n| 1.08 | POST /cfd-split | \r\n| 1.06 | GET /settings/margin-account-profile | \r\n| 1.06 | POST /settings/margin-account-profile | \r\n| 1.06 | GET /settings/margin-account-profile/{id} | \r\n| 1.06 | PATCH /settings/margin-account-profile/{id} | \r\n| 1.06 | PUT /settings/margin-account-profile/{id} | \r\n| 1.06 | DELETE /settings/margin-account-profile/{id} | \r\n| 1.06 | GET /settings/margin-risk-profile | \r\n| 1.06 | POST /settings/margin-risk-profile | \r\n| 1.06 | GET /settings/margin-risk-profile/{id} | \r\n| 1.06 | PATCH /settings/margin-risk-profile/{id} | \r\n| 1.06 | PUT /settings/margin-risk-profile/{id} | \r\n| 1.06 | DELETE /settings/margin-risk-profile/{id} | \r\n| 1.06 | GET /settings/systematic-hedge-trade-profile | \r\n| 1.06 | POST /settings/systematic-hedge-trade-profile | \r\n| 1.06 | GET /settings/systematic-hedge-trade-profile/{id} | \r\n| 1.06 | PATCH /settings/systematic-hedge-trade-profile/{id} | \r\n| 1.06 | PUT /settings/systematic-hedge-trade-profile/{id} | \r\n| 1.06 | DELETE /settings/systematic-hedge-trade-profile/{id} | \r\n| 1.05 | GET /currency-exposure | \r\n| 1.05 | GET adapter-currency-exposure | \r\n| 1.03 | GET /settings/margin-taker-login-account | \r\n| 1.03 | POST /settings/margin-taker-login-account | \r\n| 1.03 | GET /settings/margin-taker-login-account/{id} | \r\n| 1.03 | PATCH /settings/margin-taker-login-account/{id} | \r\n| 1.03 | PUT /settings/margin-taker-login-account/{id} | \r\n| 1.03 | DELETE /settings/margin-taker-login-account/{id} | \r\n| 1.03 | GET settings/margin-adapter-account | \r\n| 1.03 | GET settings/margin-adapter-account/{id} | \r\n| 1.03 | PATCH settings/margin-adapter-account/{id} | \r\n| 1.03 | PUT settings/margin-adapter-account/{id} | \r\n| 1.03 | POST settings/margin-adapter-account | \r\n| 1.03 | DELETE settings/margin-adapter-account/{id} | \r\n| 1.02 | GET /settings/price-channel-rule | \r\n| 1.02 | POST /settings/price-channel-rule | \r\n| 1.02 | GET /settings/price-channel-rule/{id} | \r\n| 1.02 | PATCH /settings/price-channel-rule/{id} | \r\n| 1.02 | PUT /settings/price-channel-rule/{id} | \r\n| 1.02 | DELETE /settings/price-channel-rule/{id} | \r\n| 1.01 | GET /core-symbol | \r\n| 1.01 | GET /margin-account-admin/{id}/taker-symbols | \r\n| 1.01 | GET /settings/systematic-hedging-profile | \r\n| 1.01 | POST /settings/systematic-hedging-profile | \r\n| 1.01 | GET /settings/systematic-hedging-profile/{id} | \r\n| 1.01 | PATCH /settings/systematic-hedging-profile/{id} | \r\n| 1.01 | PUT /settings/systematic-hedging-profile/{id} | \r\n| 1.01 | DELETE /settings/systematic-hedging-profile/{id} | \r\n| 1.01 | GET /settings/systematic-hedging-profile/{profileId}/buckets | \r\n| 1.01 | POST /settings/systematic-hedging-profile/{profileId}/buckets | \r\n| 1.01 | GET /settings/systematic-hedging-profile/{profileId}/buckets/{id} | \r\n| 1.01 | PATCH /settings/systematic-hedging-profile/{profileId}/buckets/{id} | \r\n| 1.01 | PUT /settings/systematic-hedging-profile/{profileId}/buckets/{id} | \r\n| 1.01 | DELETE /settings/systematic-hedging-profile/{profileId}/buckets/{id} | \r\n| 1.01 | GET /systematic-hedge-portfolio | \r\n| 1.01 | PATCH /systematic-hedge-portfolio/{portfolioId}/all-buckets | \r\n| 1.01 | PATCH /systematic-hedge-portfolio/{portfolioId}/buckets/{bucketId} | \r\n| 1.01 | GET /taker | \r\n| 1.01 | GET /taker/{id}/taker-symbols | \r\n| 1.01 | GET settings/margin-account | \r\n| 1.01 | GET settings/margin-account/{id} | \r\n| 1.01 | PATCH settings/margin-account/{id} | \r\n| 1.01 | PUT settings/margin-account/{id} | \r\n| 1.01 | POST settings/margin-account | \r\n| 1.01 | DELETE settings/margin-account/{id} | \r\n| 1.01 | GET /margin-account/{id}/ledger | \r\n| 1.01 | PUT /marginplus-account-admin/user/{id}/password | \r\n| 1.01 | PUT /marginplus-account-admin/user/{id}/set_email_address | \r\n\r\n"}],"x-tagGroups":[{"name":"Overview","tags":["REST API","REST Version Change Log","Type Definitions"]},{"name":"General","tags":["Admin","Authentication","Corporate Actions","Hub","Maker","Margin Account","MarginPlus Account","MarginPlus Admin","Portfolio Asset Positions","Portfolio Component Risk Positions","Portfolio Currency Positions","Portfolio Layered Currency Hedge Positions","Portfolio Layered Hedge Positions","Portfolio Passive Hedge Positions","Portfolio Positions","Portfolio Skew Positions","Portfolios","Quotes","Risk Check","Risk Management","Status","Systematic Hedge Control","Taker"]},{"name":"Settings","tags":["Credit Groups","Index Instrument Definition","Maker Pools","Maker Stream Rules","Margin Accounts - Account Profiles","Margin Accounts - Benchmark Rates","Margin Accounts - Commission Profiles","Margin Accounts - Conversion Rate Profiles","Margin Accounts - Entity Accounts","Margin Accounts - Margin Profiles","Margin Accounts - Risk Profiles","Margin Accounts - Swaps Profiles","Margin Accounts - Taker Login Accounts","MarginPlus Accounts","Order Routing - Gap Level Mapping Profiles","Order Routing - Gap Level Mappings","Order Routing - Gap Level Profiles","Order Routing Mappings","Order Routing Mappings - Profiles","Order Routing Profiles","Portfolio","Price Channel Rules - Default Profile","Price Channel Rules - Profiles","Pricing Algo","Settings Overview","Skew Profile","Symbol Display Setting","Systematic Hedge","User Permission Groups"]}]}
