Commit Graph

144 Commits

Author SHA1 Message Date
Aleksandr Kraiz
b2f3cdf5fb Orion, Orion Unit, Configuration (#40)
* Refactoring

* Better docs

* Bump

* ESLint standard

* Fix

* Bumo

* VerboseOrionUnitConfig to types

* Docs improvements

* Docs improvements. Orion default env
2023-02-08 14:51:58 +04:00
Mikhail Gladchenko
c0771d4fa5 CFD schema was updated 2023-02-03 07:58:14 +00:00
Mikhail Gladchenko
bf937abad1 Small type fix
package.json version was updated to 0.16.7-rc.0
2023-02-02 14:59:42 +00:00
Mikhail Gladchenko
42eb66c594 CFD small schema update 2023-02-02 12:49:05 +00:00
Mikhail Gladchenko
24d23e0784 CFD schemas update
package.json version was updated to 0.16.6-rc.1
2023-02-02 12:46:49 +00:00
Kuduzow Akhmad
f1718a3097 feat: added methods to get referral system analytics (#35)
Co-authored-by: kuduzow <admin@intocode.ru>
Co-authored-by: Aleksandr Kraiz <selfsurfer@gmail.com>
2023-02-01 12:22:30 +04:00
Kuduzow Akhmad
053a8bafc9 fix: added errorSchema for distinct-analytics and renamed method (#36)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-02-01 12:16:55 +04:00
Aleksandr Kraiz
1e3cf57c87 CFD (#28)
* Added new pairs type: futures

* Added new pairs type: futures

* added market param to pairsConfig request

* OP-3268 [CFD] Deposit amount

Added CFDContracts endpoint
package.json version update

* OP-3268 [CFD] Deposit amount

CFDContractsSchema export

* OP-3268 [CFD] Deposit amount

CFDContractsSchema export
package.json update

* cfdContractsSchema rename
Add getCFDHistory method
package.json update

* Parameter of getCFDHistory method was updated

* cfdHistorySchema was updated

* WS subscribtion for CFD balances, CFD Order signing functionality

* cfdHistorySchema was updated
package.json version 0.16.0-rc.6 was updated

* package.json version 0.16.0-rc.7 was updated

* Exchange and CFD history schemas was transformed
package.json version 0.16.0-rc.8 was updated

* Added HistoryTransactionStatus
package.json version 0.16.0-rc.8 was updated

* cfdContractsSchema was updated
package.json version 0.16.0-rc.10 was updated

* Merge conflicts fix
package.json version was updated to 0.16.0-rc.12

* updated schemas, updated version

* Updated CFD balance schema, updated unsubscribe with passing extra details

* CFD balances schema update

* Added CFD prices request

* typing small fix

* fixed transformation of CFD init / update responses

* temporary added debug

* temporary added debug. changed ver

* debug, ver up

* Add currentPrice to cfdBalanceSchema

* Added maxAvailableLong maxAvailableShort to balances

* added leverage and position status

* Update isWithCode - allow string code

* version up

Co-authored-by: Mikhail Gladchenko <m@gladchenko.pw>
Co-authored-by: Demid <demidn@gmail.com>
Co-authored-by: Dmitry Leleko <lelekodmitry@gmail.com>
2023-01-27 15:45:10 +04:00
Kuduzow Akhmad
e99c3ee9cd added errorSchema to ReferralSystem service (#34)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-01-27 00:46:22 +04:00
Kuduzow Akhmad
cf9e391ecf Добавлен новый метод для получения адреса реферрала (#32)
* Добавлен новый метод для получения адреса реферрала

* Апнута версия пакета

* Добавлена привязка контекста к методу

* Апнута версия пакета

* Доработа логика генерации apiUrl для тестинг-окружения реферальной системы

* URL custom-окружение обрабатывается теперь также как testing

* analytics schema updated

* fix zod schema by add z.record

Co-authored-by: kuduzow <admin@intocode.ru>
2023-01-24 11:37:57 +04:00
Mikhail Gladchenko
26b916c532 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2023-01-05 14:14:00 +00:00
Dmitry
d26f13b6ac OP-3279 Add /api/v1/pools/reserves endpoint (#33)
* OP-3279 Add /api/v1/pools/reserves endpoint

* OP-3279 Fixup

* OP-3279 Fixup

* OP-3279 Update version
2022-12-21 10:51:14 +04:00
Mikhail Gladchenko
f621b4abfd OP-2818 [Swap] Show order route path and benefits in Swap UI
SwapInfoBase type update
package.json version update
2022-12-19 10:24:31 +00:00
Aleksandr Kraiz
84f36a9800 merge 2022-12-16 14:03:53 +04:00
Aleksandr Kraiz
e4f8778b2d Fix schema 2022-12-16 14:02:21 +04:00
Mikhail Gladchenko
43fa0b8c58 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2022-12-16 08:00:06 +00:00
Kuduzow Akhmad
745bec7da5 Added new ReferralSystem service (#30)
* Added new ReferralSystem service

* Version conflict resolved after rebase

* Fixed http header because of backend updates

* Updated package version

Co-authored-by: kuduzow <admin@intocode.ru>
2022-12-15 13:03:45 +04:00
Aleksandr Kraiz
e69082319e no dep cycle 2022-12-14 21:07:38 +04:00
Aleksandr Kraiz
625785bf7d Exchange enum 2022-12-14 19:04:41 +04:00
Mikhail Gladchenko
e5baa6f4a6 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2022-12-14 14:40:20 +00:00
Aleksandr Kraiz
363dafc45c Added exchanges map 2022-12-14 18:37:50 +04:00
Mikhail Gladchenko
b34021695f OP-2818 [Swap] Show order route path and benefits in Swap UI
Data from WS was updated.
2022-12-14 09:23:40 +00:00
Mikhail Gladchenko
b4634b98f0 OP-2818 [Swap] Show order route path and benefits in Swap UI
Updated SwapInfo schemas for WS and REST.
Small type updates.
2022-12-14 08:24:05 +00:00
Mikhail Gladchenko
ab59310645 OP-2818 [Swap] Show order route path and benefits in Swap UI
Updated SwapInfo schemas for WS and REST.
2022-12-13 16:25:26 +00:00
Aleksandr Kraiz
60a2bc0bcd Schema transform optimization 2022-12-13 12:46:03 +04:00
Aleksandr Kraiz
990aa04e46 Broken deleted 2022-12-05 15:45:33 +04:00
Kuduzow Akhmad
842bc195d4 Add new methods to PriceFeed class to get statistics (#29) 2022-12-02 10:48:34 +04:00
Aleksandr Kraiz
f6623f9bec isKeyOfObject fix 2022-11-28 18:26:34 +04:00
Aleksandr Kraiz
1a33c41993 New utils 2022-11-28 17:50:20 +04:00
Aleksandr Kraiz
54b6425dc6 Fix types 2022-11-28 14:21:07 +04:00
Aleksandr Kraiz
1913a84f1e Types improvements 2022-11-28 13:43:55 +04:00
Aleksandr Kraiz
a6300ec2c8 Updated exchanges 2022-11-14 14:52:43 +04:00
Aleksandr Kraiz
88010c8364 Updated README 2022-11-14 14:07:15 +04:00
Aleksandr Kraiz
844dbe39e8 Deps updated 2022-11-10 18:31:14 +04:00
Dmitry
af631ba248 OP-2896 Remove pools qtyPrecision & pricePrecision (#26)
* OP-2896 Remove pools qtyPrecision & pricePrecision

* Change ver

* Update ver

Co-authored-by: Aleksandr Kraiz <selfsurfer@gmail.com>
2022-11-10 11:56:01 +04:00
Dmitry
993e7b7154 OP-3091 Add new endpoint /api/pool (#27) 2022-11-10 11:45:56 +04:00
Aleksandr Kraiz
1f22be1527 Added internalFeeAssets 2022-11-01 15:00:50 +04:00
Aleksandr Kraiz
da6ff21df3 Update types.ts 2022-10-18 18:06:31 +04:00
Aleksandr Kraiz
567587301a Update envs.json 2022-10-18 18:05:33 +04:00
Aleksandr Kraiz
2a04cd77eb Update chains.json 2022-10-18 18:01:10 +04:00
Aleksandr Kraiz
864d63b4ff schema update 2022-10-12 19:29:54 +04:00
Dmitry
fdefe21954 OP-2478 Add ws price feed candle subscription (#25) 2022-09-09 14:40:31 +04:00
Aleksandr Kraiz
050a719e08 Deprecate baseAssetPrecision and quoteAssetPrecision 2022-09-09 14:15:55 +04:00
Aleksandr Kraiz
832dfcb731 Removed getSwapPair and getSwapSide 2022-09-05 13:29:13 +04:00
Aleksandr Kraiz
ebed263f0b Fix: pools instead ORION_POOL 2022-09-03 14:47:36 +04:00
Aleksandr Kraiz
2cc19a33f3 Added parseExchangeTradeTransaction 2022-08-31 16:14:46 +04:00
Aleksandr Kraiz
ef60ed0f4a networkFeeInFeeAsset / orionFeeInFeeAsset 2022-08-25 15:13:13 +04:00
Aleksandr Kraiz
b4bd644b4a Remove isThroughPoolOptimal 2022-08-25 14:49:59 +04:00
Aleksandr Kraiz
d2a6c9c127 Added getSwapInfo 2022-08-25 11:00:28 +04:00
Dmitry
374ae3fccd OP-2529 Fix poolsInfoSchema (#24) 2022-08-23 11:44:29 +04:00