Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/add_tia_usdt_spot_market #263

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ poetry run pytest -v
```

### Changelogs
**0.9.4**
* Added TIA/USDT spot market in mainnet and testnet ini file

**0.9.3**
* Updated TIA/USDT-30NOV2023 market id in denoms_mainnet.ini file

Expand Down
13 changes: 13 additions & 0 deletions pyinjective/denoms_mainnet.ini
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,15 @@ min_display_price_tick_size = 9.999999999999999e-05
min_quantity_tick_size = 100000
min_display_quantity_tick_size = 0.1

[0x35fd4fa9291ea68ce5eef6e0ea8567c7744c1891c2059ef08580ba2e7a31f101]
description = 'Mainnet Spot TIA/USDT'
base = 6
quote = 6
min_price_tick_size = 0.001
min_display_price_tick_size = 9.999999999999999e-05
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could it be 0.001? (although it won't effect API result)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @vinhphuctadang, I had to release a new version of the SDK including the market in a rush, and I did not get to see your comment on time.
I will apply the change in a separate PR tomorrow my time

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no worries, I checked it won't effect trading API so please help when you're up, thank you

min_quantity_tick_size = 100000
min_display_quantity_tick_size = 0.1

[0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce]
description = 'Mainnet Derivative BTC/USDT PERP'
base = 0
Expand Down Expand Up @@ -768,3 +777,7 @@ decimals = 6
[USDTkv]
peggy_denom = ibc/4ABBEF4C8926DDDB320AE5188CFD63267ABBCEFC0583E4AE05D6E5AA2401DDAB
decimals = 6

[TIA]
peggy_denom = ibc/F51BB221BAA275F2EBF654F70B005627D7E713AFFD6D86AFD1E43CAA886149F4
decimals = 6
13 changes: 13 additions & 0 deletions pyinjective/denoms_testnet.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ min_display_price_tick_size = 1e-05
min_quantity_tick_size = 100000
min_display_quantity_tick_size = 0.1

[0xa283fc94a9055a01a58bb6229b1e56a8bb54069a0debfce7fbd1e6c25a95330c]
description = 'Testnet Spot TIA/USDT'
base = 6
quote = 6
min_price_tick_size = 0.001
min_display_price_tick_size = 1e-05
min_quantity_tick_size = 0.001
min_display_quantity_tick_size = 0.1

[0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6]
description = 'Testnet Derivative INJ/USDT PERP'
base = 0
Expand Down Expand Up @@ -195,3 +204,7 @@ decimals = 8
[FRCOIN]
peggy_denom = factory/inj1d3jc5pr6nsf9twyzjh9w5nj7nn235ysllwtpq7/frcoin
decimals = 6

[TIA]
peggy_denom = factory/inj17vytdwqczqz72j65saukplrktd4gyfme5agf6c/tia
decimals = 6
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "injective-py"
version = "0.9.3"
version = "0.9.4"
description = "Injective Python SDK, with Exchange API Client"
authors = ["Injective Labs <[email protected]>"]
license = "Apache-2.0"
Expand Down
Loading