-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zaki/moreDocs' of https://github.com/PeggyJV/cellar-con…
…tracts into zaki/moreDocs
- Loading branch information
Showing
2 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Positions | ||
|
||
A Position is an instantiation for an adapter for a specific asset. A cellar may have multiple positions using the same adapter. | ||
A Position is an instantiation of an adapter for a specific asset. A cellar may have multiple positions using the same adapter. | ||
|
||
The process for setting up a position is as follows: | ||
|
||
1. A cellar add an adapter that has been trusted by Registry with `AddAdapterToCatalogue` | ||
1. A cellar add an adapter that has been trusted by Registry with `AddAdapterToCatalogue`, | ||
2. A cellar adds a position that has been trusted by Registry with `AddAdapterToCatalogue` | ||
3. `AddPosition` places the the position in the internal index and passes configuration data to the adapter. This connected to things like holding position, withdrawal order etc. | ||
3. `AddPosition` places the position in the internal index and passes configuration data to the adapter. This is connected to things like holding position, withdrawal order, etc. |