Commit Graph

15 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
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
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
Aleksandr Kraiz
1913a84f1e Types improvements 2022-11-28 13:43:55 +04:00
Aleksandr Kraiz
533e18901e Instant settlement (#22)
* instantSettlement impl

* Fixed poolOnly
2022-08-19 11:52:49 +04:00
Aleksandr Kraiz
1702910a26 Update format 2022-05-28 12:29:12 +04:00
Aleksandr Kraiz
fd212d2366 poolOnly 2022-05-28 11:17:18 +04:00
Aleksandr Kraiz
9205f4cd63 Fix build issue 2022-05-19 01:15:31 +04:00
Aleksandr Kraiz
4e2b980a8c Fix OrionAggregator ws url 2022-05-17 23:17:39 +04:00
Aleksandr Kraiz
dd9a3051a3 New init / new config / options 2022-05-17 22:06:30 +04:00
Aleksandr Kraiz
4fa91465f6 errorSchema moved to schemas directory 2022-05-13 20:25:13 +04:00
Aleksandr Kraiz
d4c790c8bf Bump zod version 2022-05-12 23:24:45 +04:00
Aleksandr Kraiz
545caa77e9 Added new Orion Aggregator methods 2022-05-10 23:04:52 +04:00
Aleksandr Kraiz
883bcf928f New fetchWithValidation / introducing simpleFetch 2022-05-10 11:44:09 +04:00
Aleksandr Kraiz
106b702d21 Initial commit 2022-04-20 23:41:04 +04:00