Helpdesk
  • Overview
    • Welcome to Finery Markets
    • About Our Products
      • FM Liquidity Match
        • Master Account
        • Sub-Account
      • FM Pulse
      • White Label solution
  • Product Features
    • Onboarding
    • Risk Management
    • Trading
      • Aggregated Order Book
      • Firm Order Book
      • Pending Limit Orders (GTC)
      • RFQ
      • Toxic Flow Protection
      • Markups
      • Authorized trading
      • Non-Deliverable Trading
      • Voice Trading
      • Interdealer Trading
    • Position Management
    • Settlements
      • Automated Settlements
      • Addresses
    • Control Center
      • Multi-Roles
      • Notifications
      • Reporting
      • Bulk Edit
    • Referral program
  • API Reference
    • Quick Start with API
      • For Market Makers
      • For Takers
    • Data Types
    • REST API
      • Client management
        • getSubaccounts
      • RFQ
        • getSettings
        • getSettings (authorized)
        • getUserSettings (authorized)
        • setUserSettings (authorized)
        • getProviders
        • getSessions
      • Trading
        • add
        • add (authorized)
        • Pending limit orders
          • add (pending limit order)
          • add (pending limit order) (authorized)
          • del
          • del (authorized)
          • delAll
          • delAll (authorized)
          • orders
          • orders (authorized)
        • mod
        • del
        • delAll
        • book
        • voiceTrade
        • liquidationTrade
        • dealHistory
        • dealHistory (authorized)
        • instruments
        • positions
        • instrumentMarkups
        • addInstrumentMarkups
        • delInstrumentMarkups
      • Settlements
        • settlementRequests
        • settlementOrders
        • settlementTransactions
        • settlementHistory
        • settlementTransactionHistory
        • addIncomingSettlementRequest
        • delIncomingSettlementRequest
        • delIncomingSettlementCPRequest
        • addOutgoingSettlementTransaction
        • addIncomingSettlementTransaction
        • sendSettlementTransaction
        • commitIncomingSettlementTransaction
        • delSettlementTransaction
      • Risk Management
        • climits
        • setCLimit
        • delCLimit
        • subaccountsLimits
        • setSubaccountLimit
        • delSubaccountLimit
        • enableTrading
        • disableTrading
        • cAssetLimits
        • setCAssetLimit
        • delCAssetLimit
        • cShortSalesBan
        • setShortSalesBan
        • delShortSalesBan
        • enableInstrumentsWhitelist
        • setInstrumentsWhitelist
        • disableInstrumentsWhitelist
        • instrumentsWhitelist
      • Non-deliverable Trading
        • settings/getOvernightRates
        • settings/setOvernightRates
    • Websocket API
      • Feed 'A' - Assets
      • Feed 'P' - Positions
      • Feed 'L' - Counterparty limits
      • Feed 'B' - Global order books
      • Feed 'F' - Tradable order books
      • Feed 'R' - Settlement requests
      • Feed 'N' - Settlement transactions
      • Feed 'K' - Positions
      • Feed 'O' - Orders
      • Feed 'S' - Settlement orders
      • RFQ
    • FIX API
      • Admin messages
      • Market Data
      • Trade
        • Trading for Takers
        • Trading for LPs and Masters
    • Troubleshooting Errors
      • List of Error Codes
      • Error 3
      • Error 6
      • Error 7
      • Error 14
Powered by GitBook
On this page
  1. API Reference
  2. REST API
  3. Non-deliverable Trading

settings/getOvernightRates

Returns snapshot of overnight rates.

Overnight rates are set by makers and masters for trading assets. There are 2 types of overnight rates: positive and negative, each is set in percent per annum (%APR).

The system will decrease counterparty's/sub-account's negative positions every day by a calculated amount if a maker/master sets non-zero negative rates. If positive rates are set, positive positions will increase. A maker/master can set an individual rate for a counterparty/sub-account per asset.

Once rates are set, a system executes settlement orders to change positions at 00:00 UTC on a daily basis from the next day.

POST api/settings/get_overnight_rates

{}

Response sample. Rates are in int32 format and rate=100 = 1 bps = 0.01%

[
  {
    "currency": "BTC", 
    "counterparty": 2, 
    "name": "FineryMarkets"
    "negativeRate": 100000, // negative rate value
    "positiveRate": 0 // positive rate value
  },
  ...
]
{
    "error": 9
}

Response description (for makers, takers)

Field name
Type
Description

Array of rates

Array of overnight rates by asset and counterparty

Rate

JSON

currency

string

Currency name

counterparty

ClientId

Counterparty id

name

string

Counterparty name

negativeRate

unsigned int32

Negative rate, min value=100=1 bps = 0.01%

positiveRate

unsigned int32

Positive rate, min value=100=1 bps = 0.01%

Response description (for masters)

Field name
Type
Description

own

Array of OwnOvernightRates

rate

Array of items

With the same structure as for makers, takers (above)

against

Array of AgainstOvernightRates

rate

Array of items

With the same structure as for makers, takers (above)

PreviousNon-deliverable TradingNextsettings/setOvernightRates

Last updated 1 year ago