Skip to content

Instantly share code, notes, and snippets.

@skeller88
Created August 10, 2018 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skeller88/26dc61f141e9ddf113afbbb147880e01 to your computer and use it in GitHub Desktop.
Save skeller88/26dc61f141e9ddf113afbbb147880e01 to your computer and use it in GitHub Desktop.

size is in bytes

trade update json {"exchange_channel_name": "trades", "symbol": "BTCUSD", "exchange_create_timestamp": 1533930346.634666, "app_create_timestamp": 1533955546.635748, "schema_name": "bitfinex_messages_trade_update", "schema_version": 0, "channel_id": 30, "trade_message_type": "te", "trade": {"trade_id": 278290579, "exchange_trade_timestamp": 1533930346500, "amount": 0.075, "price": 6385.7}} 
 size 422
order snapshot json {"exchange_channel_name": "book", "symbol": "BTCUSD", "exchange_create_timestamp": 1533930339.132575, "app_create_timestamp": 1533955539.133975, "schema_version": 0, "schema_name": "bitfinex_messages_orderbook_snapshot", "orders": [{"price": 6385.6, "count": 4, "amount": 2.8684482}, {"price": 6385.5, "count": 1, "amount": 0.15}, {"price": 6385.1, "count": 2, "amount": 3.69599999}, {"price": 6385, "count": 1, "amount": 1.06845933}, {"price": 6384.7, "count": 1, "amount": 0.05}, {"price": 6384.3, "count": 2, "amount": 0.59966192}, {"price": 6384.2, "count": 1, "amount": 0.04321263}, {"price": 6384.1, "count": 1, "amount": 0.0686134}, {"price": 6383.8, "count": 1, "amount": 0.1}, {"price": 6383.6, "count": 1, "amount": 1.42}, {"price": 6383.4, "count": 1, "amount": 1}, {"price": 6383.1, "count": 1, "amount": 0.05}, {"price": 6383, "count": 1, "amount": 0.1}, {"price": 6382.5, "count": 1, "amount": 0.00352308}, {"price": 6382.4, "count": 1, "amount": 0.40605168}, {"price": 6382.3, "count": 3, "amount": 0.856}, {"price": 6382.2, "count": 1, "amount": 2}, {"price": 6382.1, "count": 1, "amount": 0.16}, {"price": 6381.9, "count": 4, "amount": 0.33599999}, {"price": 6381.8, "count": 4, "amount": 0.01396786}, {"price": 6381.6, "count": 3, "amount": 0.214}, {"price": 6381.4, "count": 1, "amount": 3}, {"price": 6381.3, "count": 1, "amount": 0.75269108}, {"price": 6381, "count": 3, "amount": 0.01394264}, {"price": 6380.8, "count": 1, "amount": 1.56}, {"price": 6385.7, "count": 3, "amount": -0.59448514}, {"price": 6385.8, "count": 1, "amount": -0.008}, {"price": 6386, "count": 1, "amount": -0.5}, {"price": 6387.2, "count": 1, "amount": -1.2122}, {"price": 6387.3, "count": 1, "amount": -0.4}, {"price": 6387.4, "count": 1, "amount": -0.4}, {"price": 6387.6, "count": 1, "amount": -0.43329298}, {"price": 6387.7, "count": 1, "amount": -0.05}, {"price": 6388, "count": 1, "amount": -0.4}, {"price": 6388.1, "count": 2, "amount": -0.35654228}, {"price": 6388.4, "count": 2, "amount": -0.30000001}, {"price": 6389, "count": 2, "amount": -2.12468667}, {"price": 6389.4, "count": 1, "amount": -1.01791992}, {"price": 6389.7, "count": 1, "amount": -0.05}, {"price": 6390, "count": 1, "amount": -0.4}, {"price": 6390.1, "count": 1, "amount": -1}, {"price": 6390.5, "count": 1, "amount": -0.23002861}, {"price": 6390.6, "count": 1, "amount": -0.41062305}, {"price": 6390.7, "count": 1, "amount": -1}, {"price": 6391.2, "count": 1, "amount": -0.42197576}, {"price": 6391.6, "count": 1, "amount": -0.22638093}, {"price": 6391.9, "count": 1, "amount": -0.39644183}, {"price": 6392.5, "count": 2, "amount": -0.15000001}, {"price": 6392.6, "count": 1, "amount": -0.5}, {"price": 6392.8, "count": 1, "amount": -0.3346199}]} 
size 2771
order update json {"exchange_channel_name": "book", "symbol": "BTCUSD", "exchange_create_timestamp": 1533930339.8965151, "app_create_timestamp": 1533955539.89777, "schema_version": 0, "schema_name": "bitfinex_messages_orderbook_update", "order": {"price": 6385.8, "count": 0, "amount": -1}} 
size 321
raw_order snapshot json {"exchange_channel_name": "raw_book", "symbol": "BTCUSD", "exchange_create_timestamp": 1533930339.892718, "app_create_timestamp": 1533955539.894505, "schema_version": 0, "schema_name": "bitfinex_messages_raw_orderbook_snapshot", "raw_orders": [{"order_id": 15297082798, "price": 6385.67356858, "amount": 2}, {"order_id": 15297080159, "price": 6385.6, "amount": 0.32}, {"order_id": 15297080452, "price": 6385.6, "amount": 0.5}, {"order_id": 15297081440, "price": 6385.6, "amount": 0.0484482}, {"order_id": 15297080182, "price": 6385.5, "amount": 0.15}, {"order_id": 15297079535, "price": 6385.1, "amount": 2.5}, {"order_id": 15297080289, "price": 6385.1, "amount": 1.196}, {"order_id": 15297058050, "price": 6385, "amount": 1.06845933}, {"order_id": 15297079439, "price": 6384.7, "amount": 0.05}, {"order_id": 15296961449, "price": 6384.3, "amount": 0.49966192}, {"order_id": 15296978807, "price": 6384.3, "amount": 0.1}, {"order_id": 15296895936, "price": 6384.2, "amount": 0.04321263}, {"order_id": 15296826367, "price": 6384.1, "amount": 0.0686134}, {"order_id": 15297066140, "price": 6383.8, "amount": 0.1}, {"order_id": 15297053048, "price": 6383.61780016, "amount": 1.42}, {"order_id": 15297075775, "price": 6383.4, "amount": 1}, {"order_id": 15297055726, "price": 6383.1, "amount": 0.05}, {"order_id": 15297058206, "price": 6383, "amount": 0.1}, {"order_id": 15297074279, "price": 6382.5, "amount": 0.00352308}, {"order_id": 15297082551, "price": 6382.4, "amount": 0.40605168}, {"order_id": 15295881001, "price": 6382.3, "amount": 0.7}, {"order_id": 15297054385, "price": 6382.3, "amount": 0.1}, {"order_id": 15297082609, "price": 6382.3, "amount": 0.056}, {"order_id": 15297054913, "price": 6382.24728787, "amount": 2}, {"order_id": 15297082371, "price": 6382.1, "amount": 0.16}, {"order_id": 15297072097, "price": 6385.7, "amount": -0.14955073}, {"order_id": 15297080927, "price": 6385.7, "amount": -0.14191541}, {"order_id": 15297081121, "price": 6385.7, "amount": -0.303019}, {"order_id": 15297059474, "price": 6385.8, "amount": -0.008}, {"order_id": 15297010446, "price": 6386, "amount": -0.5}, {"order_id": 15297081447, "price": 6387.2, "amount": -1.2122}, {"order_id": 15297081263, "price": 6387.3, "amount": -0.4}, {"order_id": 15297081348, "price": 6387.4, "amount": -0.4}, {"order_id": 15297064489, "price": 6387.6, "amount": -0.43329298}, {"order_id": 15297079721, "price": 6387.7, "amount": -0.05}, {"order_id": 15297080162, "price": 6388, "amount": -0.4}, {"order_id": 15296939402, "price": 6388.1, "amount": -0.05725028}, {"order_id": 15297041228, "price": 6388.1, "amount": -0.299292}, {"order_id": 15297074023, "price": 6388.3003838, "amount": -0.2}, {"order_id": 15297077972, "price": 6388.4, "amount": -0.1}, {"order_id": 15297074635, "price": 6389, "amount": -1.32468667}, {"order_id": 15297082941, "price": 6389, "amount": -0.8}, {"order_id": 15297064657, "price": 6389.4, "amount": -1.01791992}, {"order_id": 15297042520, "price": 6389.7, "amount": -0.05}, {"order_id": 15297082734, "price": 6390, "amount": -0.4}, {"order_id": 15297010335, "price": 6390.1, "amount": -1}, {"order_id": 15297073572, "price": 6390.5, "amount": -0.23002861}, {"order_id": 15297076134, "price": 6390.6, "amount": -0.41062305}, {"order_id": 15297082265, "price": 6390.7, "amount": -1}, {"order_id": 15297076978, "price": 6391.2, "amount": -0.42197576}]} 
size 3408
raw_order update json {"exchange_channel_name": "raw_book", "symbol": "BTCUSD", "exchange_create_timestamp": 1533930339.920374, "app_create_timestamp": 1533955539.921312, "schema_version": 0, "schema_name": "bitfinex_messages_raw_orderbook_update", "raw_order": {"order_id": 15297082798, "price": 0, "amount": 1}} 
size 340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment