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

πŸ”΄ Binance remove support for backwards compatible defaultType #20361

Open
frosty00 opened this issue Dec 13, 2023 · 1 comment
Open

πŸ”΄ Binance remove support for backwards compatible defaultType #20361

frosty00 opened this issue Dec 13, 2023 · 1 comment

Comments

@frosty00
Copy link
Member

frosty00 commented Dec 13, 2023

We will remove support for the backwards compatible Binance defaultType. So in the future the following backwards compatible code will no longer work:


$${\textbf{\color{red}↓ ↓ ↓ DEPRECATED ↓ ↓ ↓}}$$

binance.options['defaultType'] = 'future'
binance.options['defaultType'] = 'delivery'

$${\textbf{\color{red}↑ ↑ ↑ DEPRECATED ↑ ↑ ↑}}$$


Use either the unified defaultSubTypes and defaultTypes or use the unified symbols:

binance.options['defaultType'] = 'swap'
binance.options['defaultSubType'] = 'linear'
binance.options['defaultSubType'] = 'inverse'

DO NOT USE the market ids like 'ETHUSDT' to reference a swap market with the old defaultType of future and delivery

Use the unified market symbols such as 'ETH/USDT:USDT' where possible to avoid any conflicts between spot and swap markets

@frosty00 frosty00 self-assigned this Dec 13, 2023
@frosty00 frosty00 pinned this issue Jan 4, 2024
@frosty00
Copy link
Member Author

frosty00 commented Jan 4, 2024

The change is estimated to happen by the end of January

@ttodua ttodua changed the title Binance remove support for backwards compatible defaultType πŸ”΄ Binance remove support for backwards compatible defaultType Jan 5, 2024
@samgermain samgermain unpinned this issue May 6, 2024
@samgermain samgermain pinned this issue May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant