GMX v2 - Trading (#7)

* Move PrivateKeys.cs

* Update gitignore

* Update gitignore

* updt

* Extract GmxServiceTests.cs

* Refact

* update todo

* Update code

* Fix hashdata

* Replace static token hashed datas

* Set allowance

* Add get orders

* Add get orders tests

* Add ignore

* add close orders

* revert

* Add get gas limit

* Start increasePosition. Todo: Finish GetExecutionFee and estimateGas

* little refact

* Update gitignore

* Fix namespaces and clean repo

* Add tests samples

* Add execution fee

* Add increase position

* Handle backtest on the frontend

* Add tests

* Update increase

* Test increase

* fix increase

* Fix size

* Start get position

* Update get positions

* Fix get position

* Update rpc and trade mappers

* Finish close position

* Fix leverage
This commit is contained in:
Oda
2025-01-30 23:06:22 +07:00
committed by GitHub
parent ecaa89c67b
commit 65bdb8e34f
156 changed files with 11253 additions and 4073 deletions

View File

@@ -15,9 +15,9 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1"/>
<PackageReference Include="NBitcoin" Version="7.0.36"/>
<PackageReference Include="Nethereum.HdWallet" Version="4.20.0"/>
<PackageReference Include="Nethereum.Hex" Version="4.21.3"/>
<PackageReference Include="Nethereum.StandardTokenEIP20" Version="4.20.0"/>
<PackageReference Include="Nethereum.Web3" Version="4.21.2"/>
<PackageReference Include="Nethereum.Hex" Version="4.28.0"/>
<PackageReference Include="Nethereum.StandardTokenEIP20" Version="4.28.0"/>
<PackageReference Include="Nethereum.Web3" Version="4.28.0"/>
</ItemGroup>
<ItemGroup>