... | ... | @@ -28,8 +28,8 @@ |
|
|
| `asksize` | The size of the current top ask on the contract. |
|
|
|
| `bidsize` | The size of the current top bid on the contract. Example: `wait asksize > 100, buy 100`. |
|
|
|
| `opensize` | The total value of your **position** + **open orders**. If you have a position open of 1 and orders totalling 100, your opensize will be 101 - **FTX only** |
|
|
|
| `indexprice` | |
|
|
|
| `markprice` | |
|
|
|
| `indexprice` | *Only Binance makes this available over websocket stream* |
|
|
|
| `markprice` | *Only Binance makes this available over websocket stream* |
|
|
|
| `lastprice ` | |
|
|
|
| `premium` | The ratio of mark price over index price. Eg `mark = 11000, index = 10000` - the premium will be `1000/10000 = 0.1` |
|
|
|
| `fundingrate` | The next funding rate %. You could use that as a trigger, `wait fundingrate < -0.003, buy 30%accountvalue` |
|
... | ... | |