All notable changes to this project will be documented in this file.
- Fixed Trade model unmarshal
- Added buffer to
Ws
sender channel
- Fixed
Ws
lock issue
- Combined mutexes into one for
Ws
client
- Fixed all float64 that were mapped to int64
- Changed destination constants values to start from iota
- Because versioning needs all the numbers!
- Because Golang checksum tool sometimes can not verify the version :)
- Fixed response struct unmarshalling issue
- Fixed response struct unmarshalling issue
- Added WS trade requests
- Fixed
OrderBookWs
structChecksum
field by removing string json tag - Added
InstID
toOrderBook
event struct
- Migrated to
okx.com
- Fixed
PlaceOrder
struct Sz field by changing it to float64 - Added
UnmarshalJSON
toBasic
response struct
- Fixed websocket's client sender racing issue
- Fixed websocket's public
UOrderBook
racing issue - Added
Action
field toOrderBook
struct - Fixed
GetOrderDetail
function parameter
- Fixed nil pointer reference bug on websocket connection
- Fixed typo on
GetSystemTime
func - Added
string
tag toGetCandlesticks
- Removed extra login log entry
- Fixed login process
- Fixed nil assignment issue on login process
- Changed login mechanism
- Added place algo order
- Added cancel algo order
- Added get algo order list and history
- Fixed public data models json tags
- Fixed account models json tags
- Fixed trade models json tags
- Renamed subaccount models filed names
- Fixed api requests json tag issues
- Fixed rest api request json tag issues
- Added status endpoint on rest
- Fixed requests array type conversion
- Fixed requests array type conversion
- Fixed invalid channel name on
private.Order
- Better error handling on
Ws
- Fixed nil assignment on Ws client of Trade
- Added request
ID
to trade requests - Added new event
Success
to handle trade success response
- Revert json tag changes on last version
- Fixed
account_models/Config.PosMode
type
- Fixed typo issue on
funding_requests.go
- Fixed json tag on
account_requests.go
- Fixed JSON tags on
models
- Changed
*Id
intoID
everywhere
- Fixed GET method requests issue
- Forced destination on creating api client
- Added github actions badges to README.md
- Fixed nil assignment on api.go