Releasing an update
Steps to release a new version

1. Increment the version number in Item Attributes

It's a good practice to use semantic versioning that is a universal and widely used way of software versioning. It contains three components, in the format of Major.Minor.Patch where:
  • Major version when you make incompatible API changes.
  • Minor version when you add functionality in a backward-compatible manner.
  • Patch version when you make backward-compatible bug fixes.
1
[Item(ID, Name = "Sample Indicator", Version = "1.1.0")]
Copied!

2. Build your assembly and create a new distribution file

To create a distribution file, please follow the steps below that are different for each trading platform.
cTrader
NinjaTrader 8
  1. 1.
    Navigate to Automate tab in the left sidebar
  2. 2.
    Select an indicator/robot you wish to export
  3. 3.
    Press Build (Do NOT use Build with Source Code which would make your code unprotected!)
After you finish building your indicator/cBot you will find the distribution file as a .algo file located in %UserProfile%\Documents\cAlgo\Sources\ in Indicators or Robots folder.
  1. 1.
    From the Control Center window select the menu Tools > Export > NinjaScript Add-On… to open the “Export NinjaScript” dialog window
  2. 2.
    Select the option “Export as compiled assembly”
  3. 3.
    Select “Protect compiled assembly” (For information on protection read here)
  4. 4.
    Press Add button
  5. 5.
    Select all of the files required, including References – PoshTrader.Author and press OK
  6. 6.
    A list of all files that will be exported will be shown
  7. 7.
    Press the Export button to export the selected files
  8. 8.
    A file dialog will open where you can choose the location to create your distribution file.
  9. 9.
    Add PoshTrader.Author.dll to the exported archive file.
By default, the NinjaScript Archive File (.zip) file will be created in %UserProfile%\Documents\NinjaTrader 8\bin\Custom\ExportNinjaScript

3. Update your product on PoshTrader Marketplace

The last step is updating product details listed on the marketplace.
  1. 1.
    Navigate to your Author Dashboard products listing
  2. 2.
    Click Edit on the product you are updating
  3. 3.
    Update Download File by uploading the new one
  4. 4.
    Change product Version to match Item Attributes of the file uploaded
  5. 5.
    Add details about what changed in the Changelog
  6. 6.
    Click SUBMIT to save changes

4. Your customers will be notified that there's a new version

Once you submitted the changes, all your customers will be able to Update their copy of the product.