Market-simulator A market simulator using real price information from the bitfinex rest end point so I can build and test and automate my trading strategies without relying on paid charting software like tradingview.
Bitfinex does have a python library already, and I'll eventually use it but this is a project I've wanted to do for a long time do I'm going to see what I can produce on my own as much as possible before using their library so I can see what problems I run into first.
NodeJS - Instead of running off my PC in a terminal window I'll have this running on NodeJS somewhere
Bring over Icarus and other indicators from tradingview (image below) to work natively with my application

Right now just run the main.py to start and a simple text output will show you how things are going.

Position size
File: main.py
Variable: posSize
Default Value: 1
Position target
File: position.py
Variable: exitPrice
When a position is created i.e pos = Position(posSize, entryPrice, target, stopLoss) is used.
target are multiplied as follows exitPrice * (1 + target) or Position(1, close[0], 0.01, 0.03)
Position stopLoss
File: position.py
Variable: stopPrice
When a position is created i.e pos = Position(posSize, entryPrice, target, stopLoss) is used.
stopLoss are multiplied as follows stopPrice * (1 - stopLoss) or Position(1, close[0], 0.01, 0.03)