wisespace-io / binance-rs

Rust Library for the Binance API
Other
636 stars 287 forks source link

support TimeInForce's GTX type in futures orders #191

Closed oudingfan closed 1 year ago

oudingfan commented 1 year ago

Currently, the TimeInForce enum used to place futures orders is written for spot, which lacks a GTX type. A new enum is created for futures in this commit. I have tested it and it works fine for placing orders.