PoshTrader - Help Center
  • What is PoshTrader
  • 📌Getting started
    • Community guidelines
  • 🛠️ Accounts
    • Account settings
    • Recover your account
  • 💳Billing & Payments
    • Billing and accepted payments
    • Refund Policy
  • 📦Products
    • How to install?
    • Updates and support
    • License activation
      • Free 7-day trial
  • 💼Authors
    • FAQ
    • Royalty details
    • Adding a product
    • Releasing an update
  • 🕹️ Developers
    • Best practices
    • Licensing library
      • Integration
        • cTrader
        • NinjaTrader 8
  • 📚Resources
    • Glossary
Powered by GitBook
On this page
  • 1. Increment the version number in Item Attributes
  • 2. Build your assembly and create a new distribution file
  • 3. Update your product on PoshTrader Marketplace
  • 4. Your customers will be notified that there's a new version

Was this helpful?

  1. Authors

Releasing an update

Steps to release a new version

PreviousAdding a productNextBest practices

Last updated 4 years ago

Was this helpful?

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.

[Item(ID, Name = "Sample Indicator", Version = "1.1.0")]

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.

  1. Navigate to Automate tab in the left sidebar

  2. Select an indicator/robot you wish to export

  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. From the Control Center window select the menu Tools > Export > NinjaScript Add-On… to open the “Export NinjaScript” dialog window

  2. Select the option “Export as compiled assembly”

  3. Select “Protect compiled assembly” (For information on protection )

  4. Press Add button

  5. Select all of the files required, including References – PoshTrader.Author and press OK

  6. A list of all files that will be exported will be shown

  7. Press the Export button to export the selected files

  8. A file dialog will open where you can choose the location to create your distribution file.

  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. Click Edit on the product you are updating

  2. Update Download File by uploading the new one

  3. Change product Version to match Item Attributes of the file uploaded

  4. Add details about what changed in the Changelog

  5. Click SUBMIT to save changes

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

Navigate to your products listing

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

💼
read here
Author Dashboard
Update