Get account funding info
[
0, //CHAN_ID
"fiu", //MSG_TYPE
[
"sym", //UPDATE_TYPE
"fUSD", //SYMBOL
[
0.0008595462068208099, //YIELD_LOAN
0, //YIELD_LEND
1.8444560185185186, //DURATION_LOAN
0 //DURATION_LEND
] //FUNDING_INFO_UPDATE_ARRAY
] //UPDATE_ARRAY
]
Funding info update data
Index | Field | Type | Description |
---|---|---|---|
[0] | CHAN_ID | Int | Identification number assigned to the channel for the duration of this connection. |
[1] | MSG_TYPE | String | 'fiu' (funding info update) |
[2] | UPDATE_ARRAY | Array | Funding info 'sym' update |
Update array data (Index [2])
Index | Field | Type | Description |
---|---|---|---|
[0] | UPDATE_TYPE | String | Specifies the type of the update: 'sym' |
[1] | SYMBOL | String | Symbol related to the update |
[2] | FUNDING_INFO_UPDATE_ARRAY | Array | Funding info update array |
Funding info update array (Index [2][2]
Index | Field | Type | Description |
---|---|---|---|
[0] | YIELD_LOAN | float | Weighted average rate for taken funding |
[1] | YIELD_LEND | float | Weighted average rate for provided funding |
[2] | DURATION_LOAN | float | Weighted average duration for taken funding |
[3] | DURATION_LEND | float | Weighted average duration for provided funding |
NOTE
These messages have gained the ability to send the calculation values equal to "null" meaning that the new calculated value is not yet available.
In order to receive those values the user have to actively request for it with a "calc" message.
See calc input dedicated section for more details.