Modified and referenced bitstamps
After subscription to this data type is initialized, we immediately start delivering updates to the order book and at least one snapshot will be provided as soon as possible with the nearest update of the book.
Heartbeat message is sent to you every time there is one second of silence in communication between us, if you agreed on this feature in Hello message. Financial Information eXchange FIX protocol is an electronic communications protocol initiated in for international real-time exchange of information related to the securities transactions and markets. If your FIX protocol implementation does not support establishing a connection over a secure channel, you must use a proxy between your client and our FIX gateway to unbundle encryption.
After successful authorization, server will respond with same message type and start delivering market data messages to you. Message sent by any side to close established session. If received, should be sent back unchanged to confirm session termination.
If exchange has not reported who the aggressor side of the transaction was, we will classify who it most probably was based on current market view. There are 3 main interfaces that can be used to access CoinAPI: In repository you can find libraries or examples for languages or enviroments like: Asset codes ISO currency code standard is used for fiat money identifications. Numbers precision Numbers in our platform can have maximum 19 digits overall, but no more than 9 decimal places.
Time For all input and output time values ISO standard is used. Format specifier Description yyyy The year as a four-digit number. MM The month, from 01 through HH The hour, using a hour clock from 00 to Input time values are parsed using the following formats as far as possible: Endpoints Production endpoint, requires API key for authentication and providing real data: There are 2 methods for passing the API key to us, you only need to use one: We use the following error codes: X-RateLimit-Remaining int The number of requests left for the time window.
Superset of the ISO currency codes standard. List all symbols curl https: List all periods curl https: Latest data curl https: Current data curl https: Endpoint Production endpoint, requires API key for authentication and providing real data: Stream preferences Heartbeat and subscription details API key for authorization If your message will be incorrect, we will send you error message and disconnect connection afterwards.
Data type Description trade Executed transactions feed order book matches quote Quote updates feed order book level 1 book Order book snapshots and updates feed order book level 2, full order book snapshot and real-time updates book5 Order book snapshots feed order book level 2, 5 best levels from each side of book book20 Order book snapshots feed order book level 2, 20 best levels from each side of book book50 Order book snapshots feed order book level 2, 50 best levels from each side of book Error handling Example JSON error message is structured like this: If true then all bid and ask levels are listed, otherwise only changed since the last message.
FIX API General Financial Information eXchange FIX protocol is an electronic communications protocol initiated in for international real-time exchange of information related to the securities transactions and markets.
Endpoint FIX client configuration file: Parameter Value Hostname fix. Always the last field in a message, i. Stateful API providing streaming of realtime market data, widely adopted by the finance industry.
Output data format optional, default value is json , possible values are json , xml or csv. Ignore header line in CSV output? Encapsulate strings with quotes in CSV output? Comma delimited list of column names to ignore in CSV output optional, by default all columns are included. Character that will be used as column delimiter in CSV output optional, default value is ;. Character that will be used as decimal separator in CSV output optional, default value is.
New line type optional, default value is unix , possible values win , mac , unix. Boolean value; true for cryptocurrency assets, false otherwise. Comma or semicolon delimited parts of symbol identifier used to filter response. Type of symbol possible values are: FX Spot derivative contract where traders agree to trade right to require buy or sell of fx spot at agreed price on exercise date.
Boolean value representing option type. Requested exchange rate base asset identifier. Full list available here. Requested exchange rate quote asset identifier. Time at which exchange rate is calculated optional, if not supplied then current rate is returned. But you can set and retrieve them through these attributes. The last set values will always be used in the next action request. These values are obtained from BitStamp through your account. Will return true if the request is set and all conditions are met.
Will return false if: If the request did not work, error will contain a hash representing the problem. The hash contains the keys: This will contain the user agent of the last request to BitStamp. This will allow you to do detailed inspection of exactly what was sent and the raw BitPay response. This will contain the Request object of the last action called on the object.
You will find these modules using the naming Finance::