diff --git a/drivers/bitsten.js b/drivers/bitsten.js index e52d5ea2..7790c776 100644 --- a/drivers/bitsten.js +++ b/drivers/bitsten.js @@ -19,7 +19,6 @@ module.exports = async () => { close: parseToFloat(ticker.last), bid: parseToFloat(ticker.bid), ask: parseToFloat(ticker.ask), - baseVolume: parseToFloat(ticker.basevolume), quoteVolume: parseToFloat(ticker.btcvolume), }); }); diff --git a/tests/fixtures/bitsten.json b/tests/fixtures/bitsten.json index 3423c15a..f4cb515d 100644 --- a/tests/fixtures/bitsten.json +++ b/tests/fixtures/bitsten.json @@ -6,16 +6,16 @@ "body": "", "status": 200, "response": [ - "83ab010064754c7fa39afa2fa5a13b907f6e01e1ead61c51c08907961d8601ee4b6116057e937e2fbe146813801efceb999794088b81af92f6f673bf150000dcccf053a603169a1cb19193020bdcc5f9bfbb4d8793dbb492e3f236beddcdc55aa3df1bb41cc9c2bfe9f15b00c911851454a3ea3159cfccea9928185fb7315923c4444819c90793c7eef87cc7ca2a0a215312b3851020159460d07a36a72296926a397d9b1a250a7aa5ca4e0815b3bff8639c1d97f3d0c372541228da1be9e1a5410f559d1ea3418fd942881c1987e8a1a7b4063cdb63bc30bfad", - "0cb92700885b88d838c51310cb36255f4a3d9a3a5b89ac9028515cabe8bb3cf3e3be2e7503b80c865a4382323fd933617e987184b1bc23122b300e085bab6c707ce01cfb8a574008c1da429da44d3666e96ada0a4c4e7bb2bc3bc966670f1c4776cbb0a122365ccd1d35b2ee4d4551160246f1353dfff9e2f1ddcbef9acf831e5cfcf224b9783f0752068b2a613f2760af65af821c990557dbaad27ecea40c0a700a72680e6c5778aa9724a8957e8864e538b63611dc253554edb5d2091f1089d7e265585c616f892b0c9621598ebacba894a37aefd842dd322cb140ef5fc8b4ce95a199f15453b4c5abb6a2987ff0fcc7cfc603c542712275a2f84a2b2467d3118dad24ca509c40f1edfaeae75b0c4ae4146f17ea22046050077dac1648a5047c8688645ed92813ad35b44a6629092a765e9bffacbcc76037c1a8699ca5313689535338cefafac8815a55288a32907408e7fee5d373cd930f73c97b32f735ae65c8e716367a7256ebec15529734672b4b4994218ca3350f9dd3c55f316e2d13e2c12a52b61b01b2284216c59af7ff68a122ba109d8273fffaf18beef79cfac19ffd106daa6c2f226452026449846cfd6bba87ca7d9123f5dd29414659f13958decc1c2c5f2ffd0db5716e313103a5e8f4f665fca108e4560337858839cddffee7af7f7f94f7d5f29a786442027a598f91ed46c0bab24d950649006f332aba1d0cbfa69f2f1e7ffd78f93318eea4ef4c4ff966db9b72fe2fe4ce10fcccf66a56ff67b66da6e01772f78e28ec4465e13663f66c56ddf3d58cc2a0d05ddc1c8bdc45cc90544886efcabc344adeab0a627e76c09ed67221c88d142885bdfa699eb8e824aba6790ae1efd04c79acaa964baa5336eab68d7b8a07c5dd797efaf01dc76d476524ebee8a7dbae770ded5a11f476ddfa406eee136c07c7276a21ae7e713e368e6349b2063b5b91faba7249d51b8302f274c3a83b78c9f1274c6b454904c9ac1a21ea4890b05aba59b68c4cc593b329abba59d1ea1bbd697c142c0c0b4e78fbf5fc320a0bfc02f7a7d202914f8437b69bdabdf0faa95018a555ebfdf734fc1a2c2ab1fe6efba280eb8434d096b3097ab22b5c83d5d6a705de4e0d00684a546f9320ad8b67f45d0543d5729d7204aa20c260f1dd5069ff3ffef7f711420c851a4ab5795e4803a350f52122f291b1c4656a7ab80ec3e64a8115977d019ff4fb0b1bb2e0f062b8efc07cf5e7e9eb5fab951d24d698dd22ecd086de82681cb6d7d8c29979d8b16766d65fc1ffadb7f9a875190359b0882bdf536c45d6a095a183bd1a8652a10e586a630cea931ba0ea6d235d6dd33057c28033efc57bfcbfb2ebaf10b1e72e9ca46e99abc74b2c1eeb5a1d9fdae0bf15247cdd7901a5461c354d88379d8dfbf54edc913d5a37863b0047d62ced724aeb2860ba780e561e1390dc3f2c19311c4c26203533eabf76c9b3126a8b8f27ebb1fdf7dfea07b47b1ebe618d67e53041ee82b3b131ef793d5dd0cd0ed097bd9c08385eb3a4366a61944d9dedafd3b109e3b435dd832a6cefdf3abbf8ee3087376a6eda36dca8ce69af7ea61b7a32dcd714a77f6f7792ad8ac42563c313d72cdea3ef5eaadea56756df0e09cf78b7f1f3925adabe6184ea1314eb29eb120ddd12965e0385a61175f1321202313373735e29432935baedf933c20e38c99f67ef1fbc529101f7be058076a9a5e5685d5c6430d83a007128a035da93e43172e8f173b0dd5e33e6b46589b4d48f7bf592ffeb02079967a5f49973d92731f7dc0636b3a615d6dce7c82d1428127c4", - "80c50200c4690393ee5280d2d6c9b9b9259fbf3c75096842b95262afb5da5858a4bd34d6b1ad5ab7ea36199df247a052734d5b2f277be59715a2bca8ed5fcbbb840d1e951db1e08450f7095ee654789f16ce0d1931f055bfa5305942a320bcc546df009e069bff7f3f7f370d7bae86be130efa224e9f19593d2746c78f12ea62e0a02a5f8fa77413ce5826f2c2a1052a42ee7587666a32e4735a41f06b4f64dc35ec12f4400ace38568812c1af50b74d8deee96fc8cf8302f75446f544f0424475b7665ac55b2eec04f6f6102b73", - "582c0040dc6a516c8eb88810fbb57f0b4f45c330c02298745231489d83c6b6c307b162eb741b8e44b23d287b919b0be223f11d59e3d710507ba46ad724fc8acb5eb6024ffd1cceb45f9fd1ac7d726bb6977e5c5c54d68e060a89e8c51efda9fd712cf6488d7097c14b2de90ff4ea81c3557f7f5c72f990a149c07625109b179b43c8d5110a5d51e4cb288cbf40948ea851b65f365cac2266473f7f90f153b12ad74d705a06030704c1b7c4402e41701e9f01875fc55e987b483178", - "80dc02006293c1eab6c0e0ee80a3559dc9cd2f5ff5ebb75669d1148e3b7e491a12768e3b6a231a2dedbfd985bb41639b442dc15c1d93a6766ebcec297148aa6be98dc2695dddcdea0830f3fffd7d41c8b094c23dad8360633e85b05cbcd0921f2804f95218b36d401d936af3e41488d28135cd79e0cd2a2b322718a5a86926413a7063445ca255fab1ebc1511220e8b0b46518619267c8e0bd5040c970883f8f097a66147768404a4bc11500d046b115bf16e5c1358b7b511c5e5ecafe99270bbe0e0fc1d14c8477c618d613feab55202ce728d8226aa560423961dcfec30bb015bb6fe06da40ee36efbf2c46b8c4072c07ac514b259dab9b9b2e0221bf9fd8cbe67bac9675ad3f9a2814c843d8f99c69236fa1d5170f97adeaa178e2bd46500748a8db9cf151910e0ca368a348e5a630f24161eb51d2b32e7180d7faa549eaabb4206c1eb88c3e96332d26fccfcfb3cdbaf2e38b08f709d9e23dd43ae9c7aae260b27ee36cee49afadd3c7665550cd50be4308a85bae4c93bca7e8f", - "df" + "83ab0100c4b235fd1bb5197f84eea1e49b5a40b8ba352796a55e989de03e77146651e037e9f7e2f7803601681394ce71a110020b03bed5b4ee9adf828808873e3e65bac04211009d9c84c8742faef7dd6d3a9cdca68d1c47b7f1ed6e26cabadf1bb41ca98d7fd3f36d26482ea5573ebaa05a4fd63373f452dae3ebd6452b0d31d148ad525a5dd81d9f2f0221d3488db726422a28c1a0b5144f1ece293ff936354a148c18335c46281a7ff1c3981d97f3d0c33656470a889220831305dc2429505314a819fc5c7265838c51bb52509a001e5b60de30bfad", + "0c2f16008833c69e8fe9ed06cc68e98bc99f7b9dfdb24ef67ce562c5c1ce775f36ae33e5852139cf791cb62ae38539d4982fcc48c6f4aef51e88b5466d753db0997e5c29a8a285de4910399d239ac0657dcf4e70b29a6477293119d11141b872fc038692aafc9c0952d56404f4477afef3c593772fbf5b7e15927302ea93c37ee0815746524865f0448bd16b4f7944f63b2dd0dae019ba9d934fe5a0683bd758fcd42b3569775db4ff62692335accebeb1381553ebe7ad50a27d2db2217bdec1c4e10a654d5dc144e3bc27e2faec77b24bcb8edc6d9161ee4897a40702cde91ffcf83972b0a85824c75bacb0a8990447b25297940bd6a2544dcba3860ec984befaf9961f2df2a35929d09dfc98da53a0c224f99ad390479f3058c2ee9de96b5a0b201b3c1dddfbffacc28f81a80b102205615f804ac6c2bc1464bbc711a80635b521554dcb8f30bdbe7b82d1ee4d027c9c2495767ebc7622cbe091d99e9e0463113a912860b3d7d1c650a32f4746cd837ffefaf7473fc39f79722a99b4f1ebdd598e0eacb01d45f522ebb29a09a6ebb0e747faf9e2c9af1f2f7fb23c52a97011cf3907a707f63fe768500f6d8e4cf0d0062951cf398748d626f057aa8ee9f5c4373f50eceea0da9de18f13dec59febc8ab40197d0583490245192abb9a1e50d441b5b98941443306097c81ce9012f9b91d55a66da36e97e5f0dacba25e9e58c4c26bb117f1500c7f13f9e9c3f7f3716120a0a3e6418b8b284c4e397258007bc225987361ca35a6b709de489a36ff3e02e9b6d81e507d53653f06e8a2fc40d105b440da8ca057c9c94aed05447eca4748baf0fcd6120475ef2a63ed2c1ffef80bc68d73a0b9563175953ffe7e4dbf99216dab1cf653a5f42d95767ed2b107712987fdafccbbae1992df4883dc5aa2cb9be386c853ced6fe3b6aab5435221f134debaf77e0dfe2e43eb6eb566cc2dfc53c03bc7ed62445a7e698d6fcc8825cd459a2035efc8e54d5d8598ebf57fdfffb5fc9cc2b690c1c32f1b24ae53e31d8dbcc6a859527f7baf50c175d2b8634", + "b8330040d4a1ecfc46d23669fb9d8282a24cf0101dba994b80e9981696ade5010618d82daaa3d6fe3520b7c5d52fe81b1243b4c674491cadfcfe97ebb9a868e810fd716bc05c850d541808a8433050138e594892354602b016d5d05e7bbfff8557afa86eac28eee1218a4ef73ba01c174dbf18f03fca2a12749afb3a9dc267b521b18d05153c86fddfbee9cea16717770b8f36bd95bd0ed3b64134b4951a7a5705f2f0f8463429bde5512d92661116faf3fead608db1703bcb4129cb2ec88ac09897fa198a40878111bc89ee0a6b95b714356555df127338e39ffb7a9ccffd8dc68cef949253", + "6b442c0020eaf2f98ddb7149d3a4dd4679080ee20711d1a173910e2168c348bbd90d336cb3f193542585983fe49ce58cc3fe0bf888a5a5179a141e5e950a4c78ee6220a3bd2565e0a0626b18fe13234d071fd1cc12c5ae522723ac6b7fbdffbdce3cf0e88ad1c4b6649ace1b251fe02ddbc3825a94cf7b435bb1570d1c6a2f21eeb40b27e0387bebcfff678117ef4653b048c56debcd543a129a8eb4566dd2abe997a71a07e464cd5dfdb2b56d21997e7e1f6054d7ac81aa7b5502aab304dab8e5310cb835f3918752ea835ce05673588453875ba1b77e8a52ea7bb75f917f1ddd83e712056928046d79aa8a242f6f8d234f61154072af329fd132ca3cefdf87146ad72a385b67aefef3f1f67de2c57bbbc97829845a8340effe066a2a9c3509518dee26a75fce4e25f6abecf172ed3bd5d2c22c5bce2422ff0e0e37a29fb002c41477cb8406de581a58a548ac1e29b7e75a4e2d3d61f99f44b6559798b855784645738d3cd5cadbda441c577f44789d3cd883ba", + "b058008038754ab56600a3ab14b737ffb133f09012da63fabc381f79dfa75959376a20d6744ed57091dd634f07c416bca3514b3ebc1dcab5d5001a2d22649a630f9e365eb9760db87e8d70dd11ed25e5f3709a9c4f7aa6aca3de52f63114db92232aa4ac2edfc8347d1bbbcc8e33d8683224a227a5aec5b88bd4c13ebf7ffa5584448e05a40aa9ce796b05284e56261f75955121604aa4f28736508a949278c4ba5f5c3d2b77250b00b672bb938ba0058210e4cc24cb68ed4979511f18225a2e62dd1e86d80f1081ec1d04ae69bfe505c43bd5f662860472a7a09c2de3ff79", + "112b0180d886d0f6a6fdc5bb534fb7b1a2a18a82a0b1abb5555225159249324950ca8b85488aa4df9b5bf4beed21222112c989f9c4606d9999d44f2be45370097553f71a437d142af023f54ecb2b0e1b9d86aaf49bfd8952c02fa39f9488ad5f12d1056f5688f2d5eaa9be8e829145602c60381108e1da6bd04b8f60998b9909c31910bb82b3e10778bc82fe32885c060debbfca06581534eebd581af9a3bc0470134a67112b9022aef33846cf1216db57ee25c585883bf28dd079f76d76287f168e979aa0e98329220c70ed5550922abd3c5bc90b9598edb0098fb4f7520516522bdc0a738f63e15f842ccd2a66591cadb0457821b68424858fdadb70c6d3fc654e228c761a996e27b139ed3462ba9d83f4b620c0da00f223c416e105ed51a645210df45239f9ad98e12abf7551858106d47d1c28146679fed4646f77a8b3e60022e21db088a593bcc99fcf17ddc81aac56c78f0f4a3b6a9612d71d976d51fdc499a691a18fdd7b884f54ad97ba7078c60f20e265c349e1a6b95ef2e5efeb8b5d463c6d37d25474cc313a18d42feb90c69e69fd692a7f4a570d6d8fc9691afed33343fcca0e721935f74640e1ad1d3809051fd7e93ce2614e4d14f3edf9978631e53a9a47c79a86d9d867621907a6d070c0964140e1ae8b147e6a187af05bde447a5c73c7f33a38f32a16110e26fefdc1c4a9bdd2884899542f182ce50342c94823b0525d4dfe3b15e2e5c9a4b3a70b489aee5c10ad4c7d0f5117309b21501f60d605adeb03ea1a01267f481c90ced82c9e08b40da80ffc47a4b19ae8fbb747e5b4ff1246eb9a916b36c996cd7ea6d5b1e374b5287743f1be5f6f3a3677d2b17d9642052f89299560c6c3ac092421abdfdaff4fff03" ], "rawHeaders": [ "Date", - "Tue, 03 Mar 2020 18:45:13 GMT", + "Fri, 20 Mar 2020 19:31:02 GMT", "Content-Type", "application/json", "Transfer-Encoding", @@ -23,13 +23,13 @@ "Connection", "keep-alive", "Set-Cookie", - "__cfduid=d4e9ab63395f21e1ce1771d842f11c63e1583261112; expires=Thu, 02-Apr-20 18:45:12 GMT; path=/; domain=.bitsten.com; HttpOnly; SameSite=Lax; Secure", + "__cfduid=dc66131b312b7357e38bb025ef0a3d5c21584732660; expires=Sun, 19-Apr-20 19:31:00 GMT; path=/; domain=.bitsten.com; HttpOnly; SameSite=Lax; Secure", "X-XSS-Protection", "1; mode=block", "Access-Control-Allow-Origin", "*", "Set-Cookie", - "__cfduidl_copy1=agtas5gbuj46avcukjftdgh8ggqh0akk; expires=Thu, 30-Apr-2020 15:38:33 GMT; Max-Age=5000000; path=/; secure; HttpOnly", + "__cfduidl_copy1=0ogb7r8rf0u8limqtk17vl6igdbe268v; expires=Sun, 17-May-2020 16:24:21 GMT; Max-Age=5000000; path=/; secure; HttpOnly", "Expires", "Thu, 19 Nov 1981 08:52:00 GMT", "Cache-Control", @@ -49,7 +49,7 @@ "Server", "cloudflare", "CF-RAY", - "56e5836118eb9103-ZAG", + "5771d9d78e03fc75-ZAG", "Content-Encoding", "br" ],