Some basic create commands
This commit is contained in:
		@@ -1,14 +1,42 @@
 | 
			
		||||
# Table of Contents
 | 
			
		||||
* [Action Statements](#action-statements)
 | 
			
		||||
    * [CREATE EXCHANGE](#create-exchange-statement)
 | 
			
		||||
    * [CREATE PRODUCT](#create-product-statement)
 | 
			
		||||
    * [SELL](#sell-statement)
 | 
			
		||||
    * [BUY](#buy-statement)
 | 
			
		||||
* [Functions](#functions)
 | 
			
		||||
    * [PURCHASING_POWER](#purchasing_power)
 | 
			
		||||
    * [CURRENT_PRICE](#current_price)
 | 
			
		||||
* [Types of Exchange](#types-of-exchange)
 | 
			
		||||
    * [IB_API](#ib_api)
 | 
			
		||||
    * [HIVE](#hive)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Action Statements
 | 
			
		||||
 | 
			
		||||
## CREATE EXCHANGE Statement
 | 
			
		||||
```
 | 
			
		||||
CREATE EXCHANGE [Name] TYPE [ExchangeType]
 | 
			
		||||
    URI [API CALLBACK URI]
 | 
			
		||||
    [...Exchange type-specific PARAMS]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Examples
 | 
			
		||||
```
 | 
			
		||||
CREATE EXCHANGE 'IB' TYPE IB_API
 | 
			
		||||
    URI 'https://127.0.0.1:11590/'
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## CREATE PRODUCT Statement
 | 
			
		||||
```
 | 
			
		||||
CREATE PRODUCT [Name] AS [Exchange].[Product]
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Examples
 | 
			
		||||
```
 | 
			
		||||
CREATE PRODUCT 'QQQ' AS "IB"."QQQ"
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## SELL Statement
 | 
			
		||||
```
 | 
			
		||||
[SELL] [Units] OF [Product]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user