home

Editing pages on Myshare

To create a page, you need to log in, so create a new account first. Your username forms part of the address of pages you create which become /p/**username**/page.

Then go to any existing page from the Pages menu, and press the edit button.

The new page will be renamed, from /p/ai/page to /p/username/page so you will be editing a new page. The page format is generally markdown, but you can insert python script in between.

You can change the name of the page by entering a new name just above the save button, and pressing save. To delete a page, simply delete the content and save a blank page, and the page will be deleted. You can see your pages by clicking `My Pages`

script language

The python script goes between double braces `{ { python script }} `

The script is given several parameters that you can use including `sym` the current symbol, `ex` the exchange, `usr` the page's owner, `param` an extra parameter in the url like `/p/ai/page/param` Other variables include `grp`, `id` and `days` which are provided to indicate news groups, news id and days for forecast predictions

table function

The most useful function we provide is `table()` this allows access to generate tables of information, and we will be adding new functions over time.

Currently tables can be `table('news'), table('group')` or `table('forecast')` Once you save the page, it will show you what the table looks like, and also show you parameters that you can add or change.

table parameters

you can provide the following table parameters `heading columns data sort where filter layout count param sym news ex value`

The editor will also show you some suggestions for parameters as follows:

(( None default, columns (column) , cols (category, sector, name, title, url, macro, symbol, summary, price, micro, link, source, date, minus, day, stock) , layouts (layout) , wheres (where, find) , filters (micro, important, stock, veryimportant, general) , sorts (sort, date) , heading, datas (data) ))

so you could put `{ {table('news',columns='symbol|title|source',filter='micro',sort='date')}}`

columns

The column parameter allows you to select the columns you want to include. These are seperated by pipes `|` for each column. If you want two things in one column, use `/` to put them on a new line, or `;` for the same line

You can also format the item by putting a format character just to the left, like #symbol The format characters are: # = bold, _ = millions, 1,2,3,4,5,6,7 are heading 1,2,3,4,5,6,7 and $ means two decimal places

feedback

If you need help or any script function added, please let us know using the feedback button at the bottom of the page

By using this site, you agree never to hold us liable for anything, especially if we get it wrong, lose your data or make a mistake. Its a new site and things happen.