Some basic commands
This commit is contained in:
parent
0a280e0acb
commit
0acbda9a7a
@ -2,6 +2,8 @@
|
||||
* [Action Statements](#action-statements)
|
||||
* [CREATE EXCHANGE](#create-exchange-statement)
|
||||
* [CREATE SPREAD](#create-spread-statement)
|
||||
* [UPDATE TRIGGER](#update-trigger-statement)
|
||||
* [LIST TRIGGERS](#nop)
|
||||
* [SELL](#sell-statement)
|
||||
* [BUY](#buy-statement)
|
||||
* [Functions](#functions)
|
||||
@ -10,6 +12,7 @@
|
||||
* [Types of Exchange](#types-of-exchange)
|
||||
* [IB_API](#ib_api)
|
||||
* [HIVE](#hive)
|
||||
* [MOCK](#mock-exchange)
|
||||
|
||||
|
||||
# Action Statements
|
||||
@ -40,6 +43,11 @@ CREATE SPREAD OF 10 BTC FOR QQQToken FROM "CryptoExchange"
|
||||
HEDGE QQQToken FOR QQQ FROM "StockExchange"
|
||||
```
|
||||
|
||||
## UPDATE TRIGGER
|
||||
```
|
||||
TODO
|
||||
```
|
||||
|
||||
|
||||
## SELL Statement
|
||||
```
|
||||
@ -197,3 +205,9 @@ SELL 1 BTC OF BTC
|
||||
FROM "CryptoExchange"
|
||||
FOR EVERY 1 BTC OF BTC BOUGHT FROM "CryptoExchange"
|
||||
```
|
||||
|
||||
# Types of Exchange
|
||||
|
||||
## Mock Exchange
|
||||
The mock exchange is an exchange for testing purpose
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user