Skip to content

Commit

Permalink
Add Amethysts and Starfruit limits
Browse files Browse the repository at this point in the history
  • Loading branch information
jmerle committed Feb 27, 2024
1 parent c9bcdd3 commit 4029e82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/visualizer/PositionChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import { useStore } from '../../store.ts';
import { Chart } from './Chart.tsx';

function getLimit(algorithm: Algorithm, symbol: ProsperitySymbol): number {
const knownLimits: Record<string, number> = {};
const knownLimits: Record<string, number> = {
AMETHYSTS: 20,
STARFRUIT: 20,
};

if (knownLimits[symbol] !== undefined) {
return knownLimits[symbol];
Expand Down

0 comments on commit 4029e82

Please sign in to comment.