Skip to content

nijna/polaris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polaris

Polaris is copy trading platform that tries to bring the trust in traders for investors.

Project is made out of 3 canisters.

Trader

Trader is a user who has a possibility of investing funds of third parties called Investors

Investor

Investor is a user who has a possibility of following Traders and investing in positions suggested by those Traders

Position

Position is an object that stores information about investment suggested by a trader (spot price, target price, stop loss price, exchange, pair, metadata, etc.)

Running the project locally

If you want to test your project locally, you can use the following commands:

# Starts the replica, running in the background
dfx start --background

# Deploys your canisters to the replica and generates your candid interface
dfx deploy

Additionally, if you are making frontend changes, you can start a development server with

npm start

Which will start a server at http://localhost:8080, proxying API requests to the replica at port 8000.

Helpful links

TODO

  • add unittests
  • change Array.append to Buffer.append
  • move some functions from main.mo of each canister to utils.mo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors